/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #3b0764 0%, #581c87 25%, #7e22ce 50%, #6b21a8 75%, #3b0764 100%);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar ── */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(107, 33, 168, 0.08);
}
.navbar-scrolled .nav-logo-text { color: #581c87; }
.navbar-scrolled .nav-link { color: #581c87; }
.navbar-scrolled .nav-link:hover { color: #d97706; }

/* ── Hero Animations ── */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}
@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 15px) scale(1.03); }
}
@keyframes float-fast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}
.hero-blob-1 { animation: float-slow 8s ease-in-out infinite; }
.hero-blob-2 { animation: float-medium 10s ease-in-out infinite; }
.hero-blob-3 { animation: float-fast 6s ease-in-out infinite; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.hero-title { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.hero-subtitle { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.hero-ctas { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.hero-stats { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }

/* ── CTA Pattern ── */
.cta-pattern { background-size: 24px 24px; }

/* ── Testimonial Blobs ── */
.testimonial-blob-1 { animation: float-medium 12s ease-in-out infinite; }
.testimonial-blob-2 { animation: float-slow 14s ease-in-out infinite; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf5ff; }
::-webkit-scrollbar-thumb { background: #c084fc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9333ea; }

/* ── Selection ── */
::selection { background: #e9d5ff; color: #3b0764; }
