/* ── Design Tokens ─────────────────────────────────────── */
:root {
    --hot-pink: #d85c27;
    --hot-pink-dim: rgba(216, 92, 39, 0.15);
    --moonstone: #d4a373;
    --moonstone-dim: rgba(212, 163, 115, 0.12);
    --bg: #0a0a09;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --text: #e8e6e1;
    --muted: rgba(232, 230, 225, 0.45);
    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Syne', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--hot-pink);
    color: #fff;
}

/* ── Grain Overlay ─────────────────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
    0% {
        background-position: 0 0;
    }

    20% {
        background-position: -50px -25px;
    }

    40% {
        background-position: 25px -50px;
    }

    60% {
        background-position: -25px 50px;
    }

    80% {
        background-position: 50px 25px;
    }

    100% {
        background-position: 0 0;
    }
}

/* ── CRT Scanlines ─────────────────────────────────────── */
.crt-lines {
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.08) 3px,
            rgba(0, 0, 0, 0.08) 4px);
}

/* ── NAVBAR ────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(237, 39, 136, 0.15);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-badge {
    background: rgba(237, 39, 136, 0.1);
    border-color: rgba(237, 39, 136, 0.4);
    box-shadow: 0 0 20px rgba(237, 39, 136, 0.3);
    transform: translateY(-1px);
}

.logo-bracket {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.logo-prompt {
    color: var(--hot-pink);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-cursor {
    color: var(--hot-pink);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 1px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--hot-pink);
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #ff3d9b;
    transform: translateY(-1px);
}

/* ── HERO ──────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
}

/* Radial glow bg */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-glow-pink {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(237, 39, 136, 0.12) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-glow-blue {
    width: 500px;
    height: 500px;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(60, 162, 200, 0.09) 0%, transparent 70%);
    animation: pulseGlow 5s ease-in-out 1s infinite alternate-reverse;
}

@keyframes pulseGlow {
    from {
        opacity: 0.6;
        transform: translate(-50%, -55%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1.05);
    }
}

/* Floating film frame deco */
.hero-frame {
    position: absolute;
    border: 1px solid rgba(237, 39, 136, 0.15);
    pointer-events: none;
    animation: floatDrift 8s ease-in-out infinite;
}

.hero-frame-1 {
    width: 160px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-duration: 7s;
}

.hero-frame-2 {
    width: 120px;
    height: 80px;
    top: 20%;
    right: 10%;
    border-color: rgba(60, 162, 200, 0.15);
    animation-duration: 9s;
    animation-delay: -3s;
}

.hero-frame-3 {
    width: 90px;
    height: 60px;
    bottom: 18%;
    left: 12%;
    border-color: rgba(237, 39, 136, 0.10);
    animation-duration: 11s;
    animation-delay: -5s;
}

.hero-frame-4 {
    width: 140px;
    height: 90px;
    bottom: 22%;
    right: 8%;
    border-color: rgba(60, 162, 200, 0.12);
    animation-duration: 8s;
    animation-delay: -1s;
}

@keyframes floatDrift {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-18px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(-1deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hot-pink);
    border: 1px solid rgba(237, 39, 136, 0.3);
    background: rgba(237, 39, 136, 0.07);
    padding: 6px 14px;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hot-pink);
    animation: blink 1.5s step-end infinite;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.15s ease-out both;
}

.hero-headline .line-white {
    color: #fff;
}

.hero-headline .line-gradient {
    background: linear-gradient(135deg, var(--hot-pink) 0%, #ff7ac6 50%, var(--moonstone) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    animation: fadeUp 0.8s 0.25s ease-out both;
}

/* Typewriter */
.hero-typewriter {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--moonstone);
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    min-height: 1.6em;
    animation: fadeUp 0.8s 0.35s ease-out both;
}

.typewriter-prefix {
    color: var(--muted);
}

.typewriter-text {
    color: var(--moonstone);
}

.typewriter-cursor {
    display: inline-block;
    width: 0.6em;
    height: 1.1em;
    background: var(--moonstone);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.8s 0.45s ease-out both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: var(--hot-pink);
    padding: 14px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(237, 39, 136, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 13px 24px;
    transition: all 0.25s;
    background: var(--surface);
}

.btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.8s 0.8s ease-out both;
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(237, 39, 136, 0.6), transparent);
    animation: scrollDrop 1.5s ease-in-out infinite;
}

@keyframes scrollDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ── STATS BAR ─────────────────────────────────────────── */
#stats {
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    border-right: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item.reveal {
    opacity: 1;
    transform: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.stat-number .stat-accent {
    color: var(--hot-pink);
}

.stat-number .stat-accent-blue {
    color: var(--moonstone);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

/* ── FEATURES ──────────────────────────────────────────── */
#features {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 80px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
}

.feature-card {
    background: #0e0e0e;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, transform 0.2s;
    opacity: 0;
    transform: translateY(30px);
    cursor: default;
}

.feature-card.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s, box-shadow 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(237, 39, 136, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    background: #111;
    z-index: 2;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
}

.feature-icon-pink {
    background: rgba(237, 39, 136, 0.12);
    color: var(--hot-pink);
}

.feature-icon-blue {
    background: rgba(60, 162, 200, 0.12);
    color: var(--moonstone);
}

.feature-icon-green {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.feature-icon-amber {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.feature-icon-purple {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
}

.feature-icon-red {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted);
}

.feature-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1.2rem;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--border);
    color: var(--muted);
}

.feature-tag.pink {
    border-color: rgba(237, 39, 136, 0.3);
    color: var(--hot-pink);
}

.feature-tag.blue {
    border-color: rgba(60, 162, 200, 0.3);
    color: var(--moonstone);
}

.feature-tag.green {
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

/* ── FILM REEL TICKER ──────────────────────────────────── */
#film-reel {
    padding: 5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #060606;
}

.reel-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.reel-subtext {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.reel-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.reel-count {
    font-family: var(--font-mono);
    color: var(--hot-pink);
}

.ticker-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.ticker-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(to right, #060606, transparent);
    z-index: 2;
    pointer-events: none;
}

.ticker-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(to left, #060606, transparent);
    z-index: 2;
    pointer-events: none;
}

.ticker-row {
    display: flex;
    width: max-content;
    gap: 0;
}

.ticker-row-1 {
    animation: marqueeL 40s linear infinite;
}

.ticker-row-2 {
    animation: marqueeR 35s linear infinite;
    margin-top: 0.5rem;
}

@keyframes marqueeL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeR {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.ticker-row:hover {
    animation-play-state: paused;
}

.film-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 10px 20px;
    border-right: 1px solid var(--border);
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
}

.film-chip:hover {
    color: #fff;
    background: var(--surface);
    cursor: default;
}

.film-chip .chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chip-dot-kodak {
    background: #FFC700;
}

.chip-dot-fuji {
    background: #4ade80;
}

.chip-dot-ilford {
    background: #e5e5e5;
}

.chip-dot-retro {
    background: #f87171;
}

.chip-dot-cinema {
    background: var(--moonstone);
}

.chip-dot-boutiq {
    background: var(--hot-pink);
}

.chip-dot-eastern {
    background: #fbbf24;
}

/* ── PHILOSOPHY CTA ────────────────────────────────────── */
#philosophy {
    padding: 7rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-inner {
    border: 2px solid var(--hot-pink);
    box-shadow: 12px 12px 0 var(--moonstone);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.philosophy-inner.reveal {
    opacity: 1;
    transform: none;
}

.philosophy-inner::before {
    content: 'UNMASKED';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}

.phil-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
}

.phil-headline {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.phil-body {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.phil-declarations {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.phil-declarations li {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.phil-check {
    color: var(--hot-pink);
    font-weight: 700;
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--hot-pink);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.2);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid var(--border);
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-inner {
        padding: 2.5rem 1.5rem;
    }

    .hero-frame {
        display: none;
    }

    .scopes-grid {
        grid-template-columns: 1fr;
    }
}

/* ── SCOPES SECTION ─────────────────────────────────── */
#scopes {
    padding: 6rem 2rem;
    background: #050505;
    border-top: 1px solid var(--border);
}

.scopes-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.scopes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    margin-top: 3rem;
}

.scope-card {
    background: #0a0a0a;
    padding: 1.5rem;
    opacity: 1;
}

.scope-card.reveal {
    opacity: 1;
    transform: none;
}

.scope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.scope-title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.scope-live {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scope-live::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    animation: blink 1.5s step-end infinite;
}

.scope-canvas {
    width: 100%;
    display: block;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.scope-meta {
    display: flex;
    gap: 10px;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.scope-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2px 7px;
}

.scope-tag.r {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

.scope-tag.g {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.scope-tag.b {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

.scope-tag.y {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

/* Particles canvas on hero */
#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#hero>*:not(#particles-canvas) {
    position: relative;
    z-index: 1;
}

/* ── FX SHOWCASE ─────────────────────────────────────── */
.fx-tabs-nav {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 1.5px;
    width: fit-content;
}

.fx-tab-btn {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    background: #0a0a0a;
    border: none;
    border-right: 1px solid var(--border);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fx-tab-btn:last-child {
    border-right: none;
}

.fx-tab-btn:hover {
    color: #fff;
    background: #111;
}

.fx-tab-btn.active {
    color: var(--hot-pink);
    background: rgba(237, 39, 136, 0.07);
}

.fx-panel {
    display: none;
}

.fx-panel.active {
    display: block;
    animation: fadeUp 0.35s ease-out;
}

.fx-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--border);
}

.fx-panel-left {
    background: #0a0a0a;
    padding: 2.5rem 2rem;
}

.fx-panel-right {
    background: #060606;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fx-panel-badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--hot-pink);
    border: 1px solid rgba(237, 39, 136, 0.25);
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 1rem;
}

.fx-panel-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.fx-panel-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.fx-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fx-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.fx-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.fx-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.fx-item-desc {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

.fx-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.fx-ctrl {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
}

.fx-ctrl>span:first-child {
    width: 70px;
    flex-shrink: 0;
}

.fx-ctrl>span:last-child {
    width: 28px;
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
}

.fx-slider {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    position: relative;
}

.fx-slider-fill {
    height: 100%;
    background: var(--hot-pink);
    border-radius: 99px;
    position: relative;
}

.fx-slider-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(237, 39, 136, 0.6);
}

.fx-canvas {
    width: 100%;
    display: block;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fx-canvas-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

.fx-lens-demo {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lens-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.lens-ring-1 {
    width: 180px;
    height: 180px;
    border-color: rgba(237, 39, 136, 0.2);
    animation: spinSlow 12s linear infinite;
}

.lens-ring-2 {
    width: 130px;
    height: 130px;
    border-color: rgba(60, 162, 200, 0.15);
    animation: spinSlow 8s linear infinite reverse;
}

.lens-ring-3 {
    width: 80px;
    height: 80px;
    border-color: rgba(237, 39, 136, 0.1);
    animation: spinSlow 5s linear infinite;
}

.lens-center {
    z-index: 1;
}

.lens-flare {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hot-pink);
    top: 20px;
    left: 60px;
    box-shadow: 0 0 12px 4px rgba(237, 39, 136, 0.4);
    animation: flarePulse 2.5s ease-in-out infinite;
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes flarePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.6);
    }
}

.fx-texture-demo {
    justify-content: flex-start;
}

.texture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--border);
    width: 100%;
}

.texture-cell {
    height: 90px;
    display: flex;
    align-items: flex-end;
    padding: 6px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .fx-panel-inner {
        grid-template-columns: 1fr;
    }

    .fx-panel-right {
        display: none;
    }

    .fx-tabs-nav {
        overflow-x: auto;
    }
}

/* ── PRESET SHOWCASE ─────────────────────────────────────── */
.ps-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    align-items: center;
}

.ps-canvas-side {
    position: relative;
}

.ps-canvas-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    overflow: hidden;
}

.ps-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ps-canvas-b {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.ps-canvas-b.visible {
    opacity: 1;
}

.ps-film-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    z-index: 10;
}

.ps-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    z-index: 10;
}

.ps-corner-tl {
    top: 0;
    left: 0;
    border-top: 1px solid rgba(237, 39, 136, 0.4);
    border-left: 1px solid rgba(237, 39, 136, 0.4);
}

.ps-corner-tr {
    top: 0;
    right: 0;
    border-top: 1px solid rgba(237, 39, 136, 0.4);
    border-right: 1px solid rgba(237, 39, 136, 0.4);
}

.ps-corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid rgba(237, 39, 136, 0.4);
    border-left: 1px solid rgba(237, 39, 136, 0.4);
}

.ps-corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid rgba(237, 39, 136, 0.4);
    border-right: 1px solid rgba(237, 39, 136, 0.4);
}

.ps-info-side {
    padding: 2rem 2rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ps-brand {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--hot-pink);
}

.ps-name {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.0;
}

.ps-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 380px;
}

.ps-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ps-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
}

.ps-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.ps-meta-item {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ps-progress-wrap {
    margin-top: 0.5rem;
}

.ps-progress-bar {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    margin-bottom: 8px;
}

.ps-progress-fill {
    height: 100%;
    background: var(--hot-pink);
    width: 0%;
    transition: width 0.1s linear;
}

.ps-progress-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.ps-dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.ps-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.ps-dot.active {
    background: var(--hot-pink);
    transform: scale(1.3);
}

.ps-nav-btns {
    display: flex;
    gap: 8px;
    margin-top: 0.5rem;
}

.ps-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: #0a0a0a;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}

.ps-nav-btn:hover {
    background: #111;
    color: #fff;
    border-color: rgba(237, 39, 136, 0.3);
}

.ps-play-btn {
    margin-left: auto;
}

@media (max-width: 768px) {
    .ps-wrap {
        grid-template-columns: 1fr;
    }

    .ps-info-side {
        padding: 1.5rem 0 0;
    }
}