/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #3a1d3a 0%, #7B3F7B 40%, #5a2d5a 70%, #2d1528 100%);
}

/* ── Hero Pattern ── */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ── Hero Orbs ── */
.hero-orb--1 { top: -10%; right: -5%; background: radial-gradient(circle, #fbbf24, transparent 70%); }
.hero-orb--2 { bottom: 10%; left: -5%; background: radial-gradient(circle, #d49dd4, transparent 70%); }
.hero-orb--3 { top: 40%; left: 30%; background: radial-gradient(circle, #fcd34d, transparent 70%); }

/* ── Navigation ── */
#site-header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 63, 123, 0.08);
}

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.menu-line { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
#mobile-menu-btn.active .menu-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
#mobile-menu-btn.active .menu-line:nth-child(2) { opacity: 0; }
#mobile-menu-btn.active .menu-line:nth-child(3) { transform: translateY(-4px) rotate(-45deg); width: 24px; margin-left: 0; }

.mobile-nav-link {
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}
#mobile-menu.open .mobile-nav-link {
    opacity: 1; transform: translateY(0);
}
#mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .animate-bounce { animation: none; }
}

/* ── Form Focus States ── */
input:focus, textarea:focus {
    outline: none;
}

/* ── Selection ── */
::selection { background: rgba(123, 63, 123, 0.15); color: #3a1d3a; }
</style>
