body {
    background: #0a0b0f !important;
    color: white;
    font-family: 'Outfit', sans-serif;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.space-glow {
    background: 
        radial-gradient(circle at 20% 35%, rgba(109, 40, 217, 0.08), transparent 25%),
        radial-gradient(circle at 75% 25%, rgba(79, 70, 229, 0.08), transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(236, 72, 153, 0.08), transparent 25%),
        radial-gradient(circle at 30% 65%, rgba(6, 182, 212, 0.08), transparent 25%);
}

.text-gradient {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

::selection {
    background: #6d28d9;
    color: white;
}

.glass-nav {
    backdrop-filter: blur(12px);
    background: rgba(10, 11, 15, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scrolled .glass-nav {
    background: rgba(10, 11, 15, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100% !important;
    opacity: 1 !important;
}

nav a[href^="#"] {
    position: relative;
    transition: all 0.3s ease;
}

nav a[href^="#"].active {
    color: white !important;
}

nav a[href^="#"].active .absolute.bottom-0 {
    width: 100% !important;
    opacity: 1 !important;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: white !important;
    border-left-color: #8b5cf6 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.menu-icon {
    position: relative;
    width: 32px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.language-dropdown {
    margin-top: 0.5rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-dropdown.active {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-shimmer:hover::before {
    left: 100%;
}

.dark-card {
    background: rgba(17, 24, 39, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dark-card:hover {
    background: rgba(17, 24, 39, 0.5) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.content-card {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.highlight-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.warning-box {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(109, 40, 217, 0.1);
        border-color: rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 15px rgba(109, 40, 217, 0.2);
        border-color: rgba(109, 40, 217, 0.1);
    }
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0b0f;
}

::-webkit-scrollbar-thumb {
    background: #5b21b6;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 50;
    border: none;
    box-shadow: 0 0 15px rgba(109, 40, 217, 0.5);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(109, 40, 217, 0.7);
}

footer h4.relative.inline-block::after {
    content: '' !important;
    position: absolute !important;
    bottom: -0.5rem !important;
    left: 0 !important;
    width: 2rem !important;
    height: 2px !important;
    background: linear-gradient(90deg, #9333ea, #3b82f6) !important;
    border-radius: 9999px !important;
    display: block !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

footer .absolute.-bottom-2.left-0 {
    position: absolute !important;
    bottom: -0.5rem !important;
    left: 0 !important;
    width: 2rem !important;
    height: 2px !important;
    background: linear-gradient(90deg, #9333ea, #3b82f6) !important;
    border-radius: 9999px !important;
    display: block !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.section-divider {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    height: 1px;
}

.content-card h2 {
    position: relative;
}

.content-card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #4f46e5);
    border-radius: 2px;
}

@media (max-width: 768px) {
    #home {
        padding-bottom: 3rem !important;
        min-height: 90vh !important;
    }

    #home h1 span.text-6xl {
        font-size: 3rem !important; 
        line-height: 1.1 !important;
    }

    #home p.text-xl {
        font-size: 1.125rem !important; 
        margin-bottom: 2rem !important; 
    }

    #home .max-w-7xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #home h1 {
        margin-bottom: 1.5rem !important; 
    }

    #home .flex.flex-wrap a {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important; 
        margin-bottom: 1rem !important;
    }

    #home .flex.flex-wrap {
        margin-bottom: 3rem !important; 
        gap: 0.75rem !important;
    }

    .dark-card {
        padding: 1rem !important;
    }

    .dark-card .w-12.h-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
        margin-bottom: 0.75rem !important;
        font-size: 1rem !important;
    }

    .dark-card .text-4xl {
        font-size: 2rem !important; 
    }

    #home .grid.gap-6 {
        gap: 1rem !important;
        margin-top: 2rem !important;
    }

    #features .text-4xl {
        font-size: 2rem !important;
    }

    #features .text-lg {
        font-size: 1rem !important;
    }

    #features .rounded-2xl {
        padding: 1.25rem !important;
    }

    .mobile-menu a {
        padding: 0.625rem 1rem !important;
    }

    .mobile-menu .inline-flex {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    #home h1 span.text-6xl {
        font-size: 2.5rem !important;
    }

    #home .max-w-7xl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    #home .flex.flex-wrap a {
        padding: 0.625rem 1rem !important;
        font-size: 0.8rem !important;
    }

    .dark-card {
        padding: 0.875rem !important;
    }
}