:root {
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --blob-1: #ffc4e6;
    --blob-2: #c4dcff;
    --blob-3: #dcc4ff;
}

.dark {
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --blob-1: #4c1d95;
    --blob-2: #1e3a8a;
    --blob-3: #831843;
}

/* Base Styles */
html {
    scroll-padding-top: 100px;
}

body {
    background-color: #f8fafc;
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

.dark body {
    background-color: #0f172a;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, 40px) scale(1.1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* Ambient Background */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--blob-1);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--blob-2);
    animation-delay: -2s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--blob-3);
    animation-delay: -4s;
}

/* Hero Background */
.hero-bg {
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.05) 30%, transparent 70%);
}

.dark .hero-bg {
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, rgba(236, 72, 153, 0.1) 30%, transparent 70%);
}

/* Glass Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dark .glass-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dark .glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.5);
}

.dark .cta-card {
    background: linear-gradient(135deg, #4338ca 0%, #7e22ce 50%, #be185d 100%);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
}

/* Popular Card */
.popular-card {
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid #818cf8;
}

.dark .popular-card {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid #6366f1;
}

/* Gradient Text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, #6366f1, #d946ef, #ec4899);
}

.dark .gradient-text {
    background-image: linear-gradient(135deg, #818cf8, #e879f9, #f472b6);
}

/* Footer */
.footer-dark {
    background-color: #0f172a;
    color: #f3f4f6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Burger Menu */
.burger-line {
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.menu-open .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-open .burger-line:nth-child(2) {
    opacity: 0;
}

.menu-open .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FAQ Accordion */
.faq-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.05);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Testimonials */
.testimonial-card:hover {
    transform: translateY(-5px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}