:root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-form: rgba(255, 255, 255, 0.85);
    --border: rgba(99, 102, 241, 0.15);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #ec4899;
    --success: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-hover: #f1f5f9;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
    --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--gradient-bg);
            color: var(--text-dark);
            min-height: 100vh;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated background elements */
        .bg-decoration {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            animation: float 20s ease-in-out infinite;
        }

        .bg-circle-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
            top: -200px;
            right: -200px;
        }

        .bg-circle-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
            bottom: -100px;
            left: -100px;
            animation-delay: -10s;
        }

        .bg-circle-3 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -5s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            33% {
                transform: translateY(-20px) rotate(5deg);
            }

            66% {
                transform: translateY(20px) rotate(-5deg);
            }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header */
        header {
            padding: 20px 0;
            position: sticky;
            top: 0;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            z-index: 100;
            border-bottom: 1px solid rgba(99, 102, 241, 0.1);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo-icon {
            width: 52px;
            height: 52px;
            background: var(--gradient-hero);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: var(--shadow-lg), var(--shadow-glow);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        @keyframes pulse-glow {

            0%,
            100% {
                box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.3);
            }

            50% {
                box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.5);
            }
        }

        .logo-text {
            font-size: 26px;
            font-weight: 800;
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-link {
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-hero);
            transition: width 0.3s ease;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            padding: 80px 0 100px;
            position: relative;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
            padding: 10px 20px;
            border-radius: 100px;
            font-size: 0.9rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 32px;
            border: 1px solid rgba(99, 102, 241, 0.2);
            animation: slideDown 0.8s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 {
            font-size: clamp(3rem, 6vw, 4.5rem);
            font-weight: 900;
            margin-bottom: 24px;
            line-height: 1.1;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 .gradient-text {
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero h1 .gold-text {
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-slogan {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
            animation: fadeInUp 0.8s ease-out 0.4s both;
            letter-spacing: 1px;
        }

        .hero-slogan .highlight {
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-medium);
            max-width: 600px;
            margin: 0 auto 48px;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .hero-cta {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.8s both;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            border-radius: 14px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--gradient-hero);
            color: white;
            box-shadow: var(--shadow-lg), 0 4px 20px rgba(99, 102, 241, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-xl), 0 8px 30px rgba(99, 102, 241, 0.5);
        }

        .btn-secondary {
            background: var(--surface);
            color: var(--text-dark);
            border: 2px solid rgba(99, 102, 241, 0.2);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.05);
            transform: translateY(-3px);
        }

        /* Features Section */
        .features {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-medium);
            max-width: 500px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .feature-card {
            background: var(--surface);
            border-radius: 24px;
            padding: 36px;
            transition: all 0.4s ease;
            border: 1px solid rgba(99, 102, 241, 0.1);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-hero);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl), 0 20px 40px rgba(99, 102, 241, 0.15);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            background: var(--gradient-hero);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin-bottom: 24px;
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
        }

        .feature-card h3 {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        .feature-card p {
            color: var(--text-medium);
            font-size: 1rem;
            line-height: 1.7;
        }

        /* Links Section */
        .links-section {
            padding: 80px 0;
        }

        .links-card {
            background: var(--surface);
            border-radius: 32px;
            padding: 60px;
            text-align: center;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(99, 102, 241, 0.1);
            position: relative;
            overflow: hidden;
        }

        .links-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--gradient-hero);
        }

        .links-card h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .links-card>p {
            color: var(--text-medium);
            margin-bottom: 40px;
        }

        .links-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .link-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 18px 32px;
            background: var(--surface);
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 16px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .link-btn:hover {
            background: var(--surface);
            border-color: var(--primary);
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .link-btn.primary {
            background: var(--gradient-hero);
            color: white;
            border: none;
        }

        .link-btn.primary:hover {
            box-shadow: var(--shadow-xl), 0 8px 30px rgba(99, 102, 241, 0.4);
        }

        /* Footer */
        footer {
            background: #0f172a;
            color: #f8fafc;
            padding: 60px 0 40px;
            margin-top: 40px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand {
            max-width: 300px;
        }

        .footer-brand .logo {
            margin-bottom: 16px;
        }

        .footer-brand .logo-icon {
            width: 44px;
            height: 44px;
            font-size: 22px;
        }

        .footer-brand .logo-text {
            font-size: 22px;
        }

        .footer-brand p {
            color: #cbd5e1;
            font-size: 0.95rem;
        }

        .footer-links-group h4 {
            font-weight: 700;
            margin-bottom: 16px;
            font-size: 1.1rem;
        }

        .footer-links-group a {
            display: block;
            color: #cbd5e1;
            text-decoration: none;
            padding: 6px 0;
            transition: color 0.3s ease;
        }

        .footer-links-group a:hover {
            color: white;
        }

        .footer-bottom {
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        .footer-bottom a {
            color: var(--primary-light);
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block !important;
                background: none;
                border: none;
                font-size: 28px;
                color: var(--text-dark);
                cursor: pointer;
            }
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--surface);
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                align-items: center;
                gap: 20px;
            }
            .nav-links.show {
                display: flex !important;
            }

            .hero {
                padding: 60px 0 80px;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-slogan {
                font-size: 1.2rem;
            }

            .links-card {
                padding: 40px 24px;
            }

            .link-btn {
                width: 100%;
                justify-content: center;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }

            .footer-brand {
                max-width: 100%;
            }
        }
    

        /* Auth Modal Styles */
        .modal-overlay {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15, 23, 42, 0.8); z-index: 1000;
            justify-content: center; align-items: center; backdrop-filter: blur(5px);
        }
        .modal-overlay.active { display: flex; }
        .auth-modal {
            background: var(--surface); padding: 40px; border-radius: 24px;
            width: 100%; max-width: 400px; box-shadow: var(--shadow-xl);
            position: relative;
        }
        .close-modal {
            position: absolute; top: 16px; right: 16px; background: none;
            border: none; font-size: 24px; cursor: pointer; color: var(--text-light);
        }
        .auth-input {
            width: 100%; padding: 14px 16px; margin-bottom: 16px;
            border: 1px solid #cbd5e1; border-radius: 12px;
            font-family: inherit; font-size: 1rem;
        }
        .auth-input:focus {
            outline: none; border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        /* Premium Pricing Glassmorphism Styles */
        .pricing-section { padding: 100px 0; background: var(--surface); position: relative; overflow: hidden; }
        .pricing-section::before {
            content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 50%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255,255,255,0) 70%);
            z-index: 0; pointer-events: none;
        }
        .pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; position: relative; z-index: 1; }
        
        .pricing-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 28px; padding: 45px 35px; text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.15);
            position: relative; display: flex; flex-direction: column;
            flex: 1 1 300px; max-width: 380px; width: 100%;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
        }
        
        .pricing-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.25);
            border: 1px solid rgba(99, 102, 241, 0.3);
        }

        .pricing-card.popular { 
            background: rgba(255, 255, 255, 0.85);
            border: 2px solid transparent; 
            background-clip: padding-box;
            transform: scale(1.05); 
            box-shadow: 0 20px 60px -15px rgba(236, 72, 153, 0.3); 
            z-index: 10; 
        }
        
        .pricing-card.popular::after {
            content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
            background: var(--gradient-hero); z-index: -1; border-radius: 30px;
        }

        .pricing-card.popular:hover {
            transform: translateY(-10px) scale(1.07);
        }

        .pricing-card.popular::before {
            content: 'Most Popular'; position: absolute; top: 16px; right: -35px;
            background: var(--gradient-hero); color: white; padding: 6px 45px;
            font-size: 0.85rem; font-weight: 800; transform: rotate(45deg);
            box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
            letter-spacing: 1px; text-transform: uppercase;
        }
        
        .price-val { font-size: 3rem; font-weight: 900; color: var(--text-dark); margin: 25px 0; letter-spacing: -1px; }
        .price-val span { font-size: 1.1rem; color: var(--text-medium); font-weight: 500; letter-spacing: 0; }
        .pricing-features { text-align: left; margin: 30px 0; flex-grow: 1; padding: 0 10px; }
        .pricing-features li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--text-dark); font-weight: 500; line-height: 1.4; }
        
        /* Interactive Toggle */
        .billing-toggle {
            display: flex; align-items: center; justify-content: center; margin: 0 auto 50px;
            background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 40px;
            padding: 6px; width: fit-content; box-shadow: 0 8px 20px rgba(0,0,0,0.04);
            position: relative; z-index: 1;
        }
        .toggle-btn {
            background: transparent; border: none; padding: 12px 28px; border-radius: 34px;
            font-size: 1rem; font-weight: 700; color: var(--text-medium);
            cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative; z-index: 2;
        }
        .toggle-btn.active { background: var(--gradient-hero); color: white; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
        
        /* Button Styles */
        .pricing-btn {
            width: 100%; padding: 16px 20px; font-size: 1.1rem; font-weight: 700;
            border-radius: 16px; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
        }
        .pricing-btn.primary { background: var(--gradient-hero); color: white; border: none; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }
        .pricing-btn.primary:hover { box-shadow: 0 12px 25px rgba(99, 102, 241, 0.5); transform: translateY(-2px); }
        .pricing-btn.secondary { background: transparent; color: var(--text-dark); border: 2px solid rgba(15, 23, 42, 0.1); }
        .pricing-btn.secondary:hover { border-color: var(--primary); color: var(--primary); background: rgba(99, 102, 241, 0.05); }
    


/* --- Dark Mode Variables --- */
@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --background: #0f172a;
        --surface: #1e293b;
        --surface-hover: #334155;
        --text-dark: #f8fafc;
        --text-medium: #cbd5e1;
        --text-light: #94a3b8;
        --gradient-bg: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
        --glass-bg: rgba(15, 23, 42, 0.9);
        --glass-form: rgba(30, 41, 59, 0.85);
        --border: rgba(99, 102, 241, 0.3);
    }
}

:root.dark {
    --background: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --text-dark: #f8fafc;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --gradient-bg: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    --glass-bg: rgba(15, 23, 42, 0.9);
    --glass-form: rgba(30, 41, 59, 0.85);
    --border: rgba(99, 102, 241, 0.3);
}

:root.dark .feature-card, 
:root.dark .links-card, 
:root.dark .pricing-card, 
:root.dark .auth-modal {
    background: var(--surface);
}

@media(prefers-color-scheme: dark) {
    :root:not(.light) .feature-card, 
    :root:not(.light) .links-card, 
    :root:not(.light) .pricing-card, 
    :root:not(.light) .auth-modal {
        background: var(--surface);
    }
}

/* --- Scroll Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}
