/* ── Reset & Variables ──────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #050a12;
    --surface: #0a1020;
    --blue: #2d7ff9;
    --cyan: #33e8d0;
    --white: #f0f2f5;
    --muted: #9ca3af;
    --subtle: #1a2235;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Fixed background — oversized to prevent resize/jump on mobile toolbar show/hide */
body::before {
    content: '';
    position: fixed;
    top: -15vh;
    left: -15vw;
    width: 130vw;
    height: 130vh;
    background: url('assets/bg-soundwave.jpg') center center / cover no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ───────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 0 48px;
    height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.4s ease;
}

.nav.scrolled,
.nav.nav-solid {
    background: rgba(5, 10, 18, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-brand {
    font-size: 12px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--white);
}

.nav-menu {
    display: flex; gap: 36px; list-style: none;
}

.nav-menu a {
    font-size: 12px; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--white); }

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 28px; height: 20px;
    position: relative;
}

.nav-toggle span {
    display: block; width: 100%; height: 1.5px;
    background: var(--white);
    position: absolute; left: 0;
    transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* ── Section shared ────────────────────────── */
.section {
    position: relative;
    padding: 120px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 24px;
}

/* ── Divider ───────────────────────────────── */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.divider hr {
    border: none;
    height: 1px;
    background: var(--subtle);
}

/* ── Footer ────────────────────────────────── */
.footer {
    position: relative;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--subtle);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 12px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.footer-links a {
    font-size: 12px;
    color: var(--muted);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

/* ── Animations ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero entrance */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-tagline {
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-scroll {
    opacity: 0;
}

/* ── Responsive (shared) ───────────────────── */
@media (max-width: 640px) {
    .nav { padding: 0 24px; }
    .nav-menu { display: none; }
    .nav-menu.open {
        display: flex; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: rgba(5, 10, 18, 0.97);
        backdrop-filter: blur(24px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-toggle { display: block; }

    .section { padding: 80px 24px; }

    .footer {
        flex-direction: column;
        gap: 20px;
        padding: 32px 24px;
        text-align: center;
    }
}
