/* ═══════════════════════════════════════════════════════════════
   TRICOLOR LAB — Cyberpunk Colombian Jersey Landing Page
   Single Sticky Viewport Architecture
   ═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
    /* Void */
    --void-deep: #050505;
    --void-mid: #0a0a0a;
    --void-soft: #0f0f0f;
    --void-surface: #141414;
    --void-elevated: #1a1a1a;
    --void-border: #222222;

    /* Accents */
    --cyan: #00FFFF;
    --cyan-dim: #00cccc;
    --cyan-glow: rgba(0, 255, 255, 0.25);
    --cyan-subtle: rgba(0, 255, 255, 0.08);
    --magenta: #FF00FF;
    --magenta-dim: #cc00cc;
    --magenta-glow: rgba(255, 0, 255, 0.25);
    --magenta-subtle: rgba(255, 0, 255, 0.08);

    /* Text */
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --text-dim: #444444;

    /* Fonts */
    --font-display: 'Rajdhani', 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Glass */
    --glass-bg: rgba(10, 10, 10, 0.55);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(0, 255, 255, 0.15);
    --glass-blur: 20px;
    --glass-shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

html {
    font-size: 16px;
    scroll-behavior: auto;
    overflow-x: clip;
    /* clip instead of hidden — doesn't break sticky */
    background: var(--void-deep);
    scrollbar-width: thin;
    scrollbar-color: var(--cyan-dim) var(--void-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--void-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* overflow-x removed — breaks position: sticky */
}

::selection {
    background: var(--cyan);
    color: var(--void-deep);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--void-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan-dim);
    border-radius: 3px;
}

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

/* ─── GRAIN OVERLAY ─────────────────────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    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-repeat: repeat;
    mix-blend-mode: overlay;
}

/* ─── SCROLL PROGRESS ───────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    z-index: 10001;
    will-change: width;
    transition: none;
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 clamp(1rem, 4vw, 3rem);
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out-expo), background 0.4s ease;
}

.nav-main.hidden {
    transform: translateY(-100%);
}

.nav-main.scrolled {
    background: rgba(5, 5, 5, 0.85);
    border-bottom-color: rgba(0, 255, 255, 0.08);
}

.nav-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.nav-logo-tri {
    color: var(--cyan);
}

.nav-logo-color {
    color: var(--text-primary);
}

.nav-logo-lab {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--magenta);
    margin-left: 4px;
    padding: 1px 5px;
    border: 1px solid var(--magenta);
    border-radius: 2px;
    vertical-align: super;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: clamp(0.8rem, 2vw, 2rem);
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--cyan);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--magenta);
    color: var(--magenta);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.nav-cta:hover {
    background: var(--magenta);
    color: var(--void-deep);
    box-shadow: 0 0 20px var(--magenta-glow);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL TIMELINE & STICKY VIEWPORT
   The backbone of the continuous scroll experience.
   ═══════════════════════════════════════════════════════════════ */
.scroll-timeline {
    position: relative;
    width: 100%;
    height: 1600vh;
    /* 5 segments × 300vh scroll + 100vh viewport.
       dvh stabilises mobile scroll-range across iOS URL-bar collapses. */
    height: 1600dvh;
    background: var(--void-deep);
}

.sticky-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--void-deep);
    z-index: 1;
}

/* ─── VIDEO LAYERS ──────────────────────────────────────────── */
.vp-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity;
    z-index: 0;
}

.vp-video.vp-active {
    opacity: 1;
}

.vp-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(5, 5, 5, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ─── UI LAYERS ─────────────────────────────────────────────── */
.ui-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    pointer-events: none;
    padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 6rem);
    opacity: 0;
    will-change: opacity, transform;
}

/* ── Mobile: short CSS transitions sync with the 0.4–0.8s GSAP tween. ── */
/* Video crossfades and UI/holo opacity flips are smoothed by these
   transitions while currentTime scrubs frame-by-frame in JS. */
@media (max-width: 768px) {
    .vp-video {
        transition: opacity 0.25s ease-out;
    }

    .ui-layer {
        transition: opacity 0.25s ease-out, transform 0.25s ease-out;
    }

    .holo-copy {
        transition: opacity 0.25s ease-out;
    }

    .holo-line {
        transition: width 0.35s ease-out, opacity 0.25s ease-out;
    }
}

/* Hero starts visible (animated by intro timeline) */
.ui-hero {
    opacity: 1;
}

.ui-layer>* {
    pointer-events: auto;
}

/* When hidden via JS, disable child interactions */
.ui-layer.ui-hidden>* {
    pointer-events: none !important;
}

/* ─── HERO UI ───────────────────────────────────────────────── */
.ui-hero {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.2rem, 3vh, 2rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    padding: 6px 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 2px;
    background: var(--cyan-subtle);
    opacity: 0;
    transform: translateY(20px);
}

.badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 4px var(--cyan);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 12px var(--cyan);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(40px);
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--text-primary);
}

.title-accent {
    color: var(--cyan);
    text-shadow: 0 0 40px var(--cyan-glow), 0 0 80px rgba(0, 255, 255, 0.1);
}

.title-dot {
    color: var(--magenta);
    text-shadow: 0 0 20px var(--magenta-glow);
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.6vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: clamp(2rem, 4vh, 3rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--cyan));
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}

.scroll-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--text-dim);
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    letter-spacing: 0.12em;
    padding: clamp(14px, 2vh, 18px) clamp(28px, 4vw, 40px);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

.btn-cyan {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-cyan:hover {
    background: var(--cyan);
    color: var(--void-deep);
    box-shadow: 0 0 30px var(--cyan-glow), 0 0 60px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px) !important;
}

.btn-cyan:active {
    transform: translateY(0px) scale(0.98) !important;
}

.btn-magenta {
    background: linear-gradient(135deg, var(--magenta), #cc00aa);
    color: var(--void-deep);
    font-weight: 700;
}

.btn-magenta:hover {
    box-shadow: 0 0 30px var(--magenta-glow), 0 0 60px rgba(255, 0, 255, 0.15);
    transform: translateY(-2px) !important;
}

.btn-magenta:active {
    transform: translateY(0px) scale(0.98) !important;
}

.btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cyan .btn-glow {
    box-shadow: inset 0 0 20px var(--cyan-glow);
}

.btn-magenta .btn-glow {
    box-shadow: inset 0 0 20px var(--magenta-glow);
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-buy {
    width: 100%;
    justify-content: center;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    padding: 16px 32px;
    animation: pulse-magenta 3s ease-in-out infinite;
    opacity: 1;
    transform: none;
}

@keyframes pulse-magenta {

    0%,
    100% {
        box-shadow: 0 0 10px var(--magenta-glow);
    }

    50% {
        box-shadow: 0 0 30px var(--magenta-glow), 0 0 50px rgba(255, 0, 255, 0.1);
    }
}

.btn-buy-final {
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    padding: 20px 48px;
    animation: pulse-magenta 3s ease-in-out infinite;
    opacity: 1;
    transform: none;
}

/* ─── SECTION COMMON TEXT ───────────────────────────────────── */
/* NOTE: opacity/transform removed — parent ui-layer controls visibility */
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--cyan);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: clamp(0.8rem, 2vh, 1.5rem);
}

.section-body {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.3vw, 1.05rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

/* ─── PULLOUT UI ────────────────────────────────────────────── */
.ui-pullout {
    align-items: center;
    justify-content: flex-end;
}

.pullout-content {
    max-width: 480px;
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.spec-item:hover {
    border-color: var(--glass-border-hover);
    background: rgba(0, 255, 255, 0.03);
}

.spec-bracket {
    color: var(--cyan);
    font-weight: 700;
}

.spec-text {
    flex: 1;
    color: var(--text-primary);
}

.spec-status {
    color: var(--cyan);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    padding: 2px 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 2px;
}

/* ─── SPIN UI ───────────────────────────────────────────────── */
.ui-spin {
    align-items: center;
    justify-content: flex-start;
}

.spin-content {
    max-width: 420px;
}

/* ─── GLASS PANEL ───────────────────────────────────────────── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: var(--glass-shadow-inner), 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
}

/* ─── PERSONALIZATION FORM ──────────────────────────────────── */
.personalization-form {
    padding: clamp(1.2rem, 2.5vh, 2rem);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
}

.form-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.dot-cyan {
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
}

.dot-magenta {
    background: var(--magenta);
    box-shadow: 0 0 6px var(--magenta-glow);
}

.input-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.input-name {
    flex: 2;
}

.input-number {
    flex: 1;
}

.glass-input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.05em;
}

.glass-input::placeholder {
    color: var(--text-dim);
    font-style: italic;
}

.glass-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.1), inset 0 0 8px rgba(0, 255, 255, 0.03);
}

.glass-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300FFFF' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.glass-select option {
    background: var(--void-mid);
    color: var(--text-primary);
}

/* Size Selector */
.size-selector {
    width: 100%;
}

.size-options {
    display: flex;
    gap: 6px;
}

.size-btn {
    flex: 1;
    padding: 8px 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.size-btn:hover {
    border-color: var(--cyan);
    color: var(--text-primary);
}

.size-btn.active {
    border-color: var(--cyan);
    background: var(--cyan-subtle);
    color: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
}

/* ─── SECTION 4 — STAT GRID ────────────────────────────────── */
.ui-section4 {
    align-items: center;
    justify-content: flex-end;
}

.s4-content {
    max-width: 500px;
    /* Glass panel — segment 4's video (Adidas embroidery) is bright yellow,
       which washes out plain white text. The panel adds legibility without
       hiding the animation behind it. */
    padding: clamp(1.25rem, 2.6vh, 2rem) clamp(1.4rem, 2.6vw, 2.2rem);
    background: linear-gradient(135deg,
            rgba(5, 5, 5, 0.62) 0%,
            rgba(5, 5, 5, 0.42) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 40px rgba(0, 0, 0, 0.4);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 20px var(--cyan-glow);
}

.stat-unit {
    font-size: 0.5em;
    color: var(--text-tertiary);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    line-height: 1.3;
}

/* ─── SECTION 5 — FEATURE LIST ──────────────────────────────── */
.ui-section5 {
    align-items: center;
    justify-content: flex-start;
}

.s5-content {
    max-width: 440px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--glass-border-hover);
    background: rgba(0, 255, 255, 0.02);
    transform: translateX(4px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--cyan);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    display: block;
}

.feature-desc {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    display: block;
}

/* ─── SECTION 6 — FINAL CTA ────────────────────────────────── */
.ui-section6 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.s6-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 3vh, 2.5rem);
}

.s6-title-large {
    font-size: clamp(2.5rem, 7vw, 6rem);
    text-align: center;
}

.title-accent-gradient {
    background: linear-gradient(135deg, var(--cyan), #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent-gradient-alt {
    background: linear-gradient(135deg, var(--magenta), #ff6699);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════
   PURCHASE SECTION — Appears after all scroll animations
   ═══════════════════════════════════════════════════════════════ */
.purchase-section {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, var(--void-deep) 0%, #080810 50%, var(--void-deep) 100%);
    padding: clamp(4rem, 8vh, 8rem) clamp(1.5rem, 6vw, 6rem);
    border-top: 1px solid var(--void-border);
}

.purchase-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

/* ── Product Image ── */
.purchase-image-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.purchase-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.purchase-image {
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.purchase-image:hover {
    transform: scale(1.03) rotate(-1deg);
}

.purchase-badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
}

.purchase-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 2px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.2);
    color: var(--magenta);
}

.purchase-badge.badge-green {
    background: rgba(0, 200, 100, 0.1);
    border-color: rgba(0, 200, 100, 0.2);
    color: #00cc66;
}

/* ── Product Info ── */
.purchase-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vh, 1.5rem);
}

.purchase-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--cyan);
}

.purchase-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.purchase-description {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Price */
.purchase-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.purchase-price-old {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.purchase-price {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
}

.purchase-currency {
    font-size: 0.5em;
    color: var(--text-tertiary);
    font-weight: 400;
}

.purchase-discount {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    background: rgba(0, 200, 100, 0.12);
    border: 1px solid rgba(0, 200, 100, 0.2);
    color: #00cc66;
    border-radius: 2px;
}

/* Options */
.purchase-option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.purchase-label-optional {
    color: var(--text-dim);
    font-size: 0.55rem;
}

.purchase-sizes {
    display: flex;
    gap: 8px;
}

.p-size-btn {
    width: 48px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.p-size-btn:hover {
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
}

.p-size-btn.active {
    border-color: var(--cyan);
    background: var(--cyan-subtle);
    color: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
}

.purchase-personalize-row {
    display: flex;
    gap: 10px;
}

.purchase-input {
    flex: 1;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.purchase-input::placeholder {
    color: var(--text-dim);
}

.purchase-input:focus {
    border-color: var(--cyan);
}

.purchase-input-num {
    flex: 0 0 80px;
}

/* CTA Buttons */
.purchase-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.btn-purchase-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--void-deep);
    background: linear-gradient(135deg, var(--cyan), #00bbff);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-purchase-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.25);
}

.btn-purchase-main .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-purchase-main:hover .btn-glow {
    transform: translateX(100%);
}

.btn-purchase-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-purchase-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

.btn-purchase-whatsapp svg {
    flex-shrink: 0;
}

/* Trust badges */
.purchase-trust {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--void-border);
    margin-top: 0.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.trust-item svg {
    color: var(--cyan);
    flex-shrink: 0;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 5;
    /* above fixed viewport */
    background: var(--void-deep);
    border-top: 1px solid var(--void-border);
    padding: clamp(2rem, 4vh, 3rem) clamp(2rem, 6vw, 6rem);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-license {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--cyan);
}

.footer-divider {
    color: var(--void-border);
    font-size: 0.7rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--void-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.footer-code {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--void-border);
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════
   HOLOGRAPHIC COPY OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.holo-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 6rem);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

.holo-copy.active {
    pointer-events: auto;
}

/* Sections 3 & 5 (holo-pullout & holo-section4): the central animation
   has the main visual element (jersey pull-out, embroidered crest), so
   the holo overlay aligns left on desktop instead of center, leaving
   the right half of the screen for the animation. Mobile uses .m-block
   so this rule only takes effect on desktop. */
@media (min-width: 769px) {

    #holo-pullout,
    #holo-section4 {
        justify-content: flex-start;
    }

    #holo-pullout .holo-content,
    #holo-section4 .holo-content {
        max-width: 460px;
    }
}

/* ── Holographic Scanlines ── */
.holo-lines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: none;
    z-index: 0;
}

.holo-line {
    display: block;
    width: 0;
    height: 1px;
    opacity: 0;
    will-change: width, opacity;
}

.holo-line-1 {
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 8px var(--cyan-glow), 0 0 20px rgba(0, 255, 255, 0.08);
    margin-bottom: 120px;
}

.holo-line-2 {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.holo-line-3 {
    background: linear-gradient(90deg, transparent, var(--magenta), transparent);
    box-shadow: 0 0 8px var(--magenta-glow), 0 0 20px rgba(255, 0, 255, 0.08);
    margin-top: 120px;
}

/* ── Holographic Content Container ── */
.holo-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: clamp(2rem, 4vh, 3rem);
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 255, 255, 0.08);
    border-radius: 4px;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 60px rgba(0, 255, 255, 0.03);
}

/* Holographic shimmer edges */
.holo-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
    opacity: 0.6;
    animation: holo-shimmer 4s ease-in-out infinite;
}

.holo-content::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 30%;
    right: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--magenta), var(--cyan), transparent);
    opacity: 0.4;
    animation: holo-shimmer 4s ease-in-out infinite reverse;
}

@keyframes holo-shimmer {

    0%,
    100% {
        left: 20%;
        right: 20%;
        opacity: 0.3;
    }

    50% {
        left: 10%;
        right: 10%;
        opacity: 0.7;
    }
}

/* ── Holo Text Elements ── */
.holo-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.8rem;
}

.holo-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: clamp(0.8rem, 1.5vh, 1.2rem);
    background: linear-gradient(135deg, var(--text-primary) 60%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.holo-body {
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: clamp(1.2rem, 2vh, 1.8rem);
}

.holo-body strong {
    color: var(--cyan);
    font-weight: 500;
}

.holo-body em {
    color: var(--magenta);
    font-style: normal;
    font-weight: 500;
}

/* ── Holo Highlight Callout ── */
.holo-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-left: 2px solid var(--cyan);
    border-radius: 2px;
}

.holo-highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: grayscale(0.2);
}

.holo-highlight-text {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* ── Holo Detail Grid ── */
.holo-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.holo-detail-item {
    display: grid;
    grid-template-columns: 6px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.holo-detail-item:hover {
    border-color: rgba(0, 255, 255, 0.15);
    background: rgba(0, 255, 255, 0.02);
    transform: translateX(4px);
}

.holo-detail-marker {
    grid-row: 1 / -1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
    align-self: center;
}

.holo-detail-item:nth-child(2) .holo-detail-marker {
    background: var(--magenta);
    box-shadow: 0 0 8px var(--magenta-glow);
}

.holo-detail-item:nth-child(3) .holo-detail-marker {
    background: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.holo-detail-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.holo-detail-desc {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ─── MOBILE PERFORMANCE — Critical optimizations ──────────── */
/* Touch control on the sticky viewport — prevents iOS native scroll fight */
.sticky-viewport {
    touch-action: pan-x;
    /* allow horizontal but intercept vertical via JS */
}

/* ─── MOBILE RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .ui-layer {
        padding: clamp(5rem, 10vh, 7rem) clamp(1.2rem, 4vw, 2rem);
    }

    .ui-pullout,
    .ui-section4 {
        justify-content: flex-start;
    }

    .pullout-content,
    .s4-content,
    .s5-content,
    .spin-content {
        max-width: 100%;
    }

    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .holo-copy {
        padding: clamp(5rem, 10vh, 7rem) clamp(1.2rem, 4vw, 2rem);
    }

    .holo-content {
        max-width: 100%;
        padding: clamp(1.5rem, 3vh, 2rem);
    }

    .holo-line-1 {
        margin-bottom: 80px;
    }

    .holo-line-3 {
        margin-top: 80px;
    }

    /* ── PERFORMANCE: Remove all backdrop-filter on mobile ── */
    /* backdrop-filter: blur() is the #1 GPU killer on mobile */
    .nav-main {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 5, 5, 0.92);
    }

    .glass-panel {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 10, 10, 0.88);
    }

    .spec-item {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 10, 10, 0.85);
    }

    .feature-item {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 10, 10, 0.85);
    }

    .holo-content {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 5, 5, 0.92);
    }

    /* ── PERFORMANCE: Kill expensive glow animations on mobile ── */
    .badge-pulse {
        animation: none;
        opacity: 1;
        box-shadow: 0 0 4px var(--cyan);
    }

    @keyframes pulse-magenta {

        0%,
        100% {
            box-shadow: 0 0 8px var(--magenta-glow);
        }

        50% {
            box-shadow: 0 0 8px var(--magenta-glow);
        }
    }

    /* ── PERFORMANCE: Simplify holo shimmer on mobile ── */
    .holo-content::before,
    .holo-content::after {
        animation: none;
    }

    /* ── PERFORMANCE: Disable grain overlay on mobile (SVG filter) ── */
    .grain-overlay {
        display: none;
    }

    /* ── PERFORMANCE: Remove will-change on mobile (saves VRAM) ── */
    .vp-video,
    .ui-layer,
    .holo-copy,
    .holo-line,
    .scroll-progress {
        will-change: auto;
    }

    /* ── PERFORMANCE: Disable hover transforms on touch ── */
    .feature-item:hover {
        transform: none;
    }

    .holo-detail-item:hover {
        transform: none;
    }

    /* ── PERFORMANCE: Simplify box-shadows ── */
    .stat-value {
        text-shadow: none;
    }

    .title-accent {
        text-shadow: none;
    }

    .title-dot {
        text-shadow: none;
    }

    /* ── Purchase section mobile (already stacked at 992px below) ── */
    .purchase-image {
        max-width: 280px;
    }

    .purchase-image:hover {
        transform: none;
    }

    .purchase-image-glow {
        filter: none;
        display: none;
    }

    .purchase-info {
        text-align: left;
    }

    .purchase-trust {
        justify-content: center;
    }
}

/* ─── TABLET RESPONSIVE (Prevents purchase section breaking on Medium screens) ─── */
@media (max-width: 992px) {
    .purchase-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .purchase-image-wrap {
        order: -1;
    }
}


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

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-title .title-line {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .s6-title-large {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .holo-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .purchase-personalize-row {
        flex-direction: column;
    }

    .purchase-input-num {
        flex: 1;
    }

    .purchase-sizes {
        flex-wrap: wrap;
    }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE SECTIONS REDESIGN — line + numbered kicker + copy
   Replaces heavy text panels with a thin horizontal anchor line,
   monospaced numeral kicker, uppercase title, short body, outline
   CTA. Position alternates per stop (top/middle/bottom) for rhythm.
   Background animation stays ~85% visible.
   ═══════════════════════════════════════════════════════════════ */

/* Tokens used by the mobile redesign */
:root {
    --m-accent: var(--cyan);
    --m-accent-2: var(--magenta);
    --m-line: #ffffff;
    --m-line-opacity: 0.95;
    --m-text-shadow-title: 0 2px 22px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
    --m-text-shadow-title-glow: 0 0 32px rgba(0, 255, 255, 0.35), 0 2px 22px rgba(0, 0, 0, 0.75);
    --m-text-shadow-body: 0 1px 10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.5);
    --m-fs-kicker: 11px;
    --m-fs-body: 14px;
    --m-fs-cta: 12px;
    --m-fs-meta: 10px;
}

/* Hidden on desktop — only renders inside the mobile media query */
.m-block {
    display: none;
}

@media (max-width: 768px) {

    /* ── Hide all original ui-layer / holo-copy children ─────── */
    .ui-layer>*:not(.m-block),
    .holo-copy>*:not(.m-block) {
        display: none !important;
    }

    /* Show the mobile block */
    .m-block {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        padding: 0 22px;
        z-index: 4;
        pointer-events: auto;
        color: #fff;
        font-family: var(--font-body);
    }

    /* ── Vertical positioning per data-pos ───────────────────── */
    [data-pos="top"]>.m-block {
        top: 14%;
    }

    [data-pos="middle"]>.m-block {
        top: 50%;
        transform: translateY(-50%);
    }

    [data-pos="bottom"]>.m-block {
        bottom: 11%;
    }

    /* ── Local legibility gradient — only behind the block ──── */
    .ui-layer[data-pos]::before,
    .holo-copy[data-pos]::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        pointer-events: none;
        z-index: 1;
    }

    .ui-layer[data-pos="bottom"]::before,
    .holo-copy[data-pos="bottom"]::before {
        bottom: 0;
        height: 55%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0));
    }

    .ui-layer[data-pos="top"]::before,
    .holo-copy[data-pos="top"]::before {
        top: 0;
        height: 48%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0));
    }

    .ui-layer[data-pos="middle"]::before,
    .holo-copy[data-pos="middle"]::before {
        top: 22%;
        height: 56%;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.55) 50%,
                rgba(0, 0, 0, 0) 100%);
    }

    /* ── Counter — small mono indicator, top-right of block ──── */
    .m-counter {
        display: block;
        position: absolute;
        right: 24px;
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.55);
        pointer-events: none;
    }

    /* Counter sits above kicker for top/middle, below CTA for bottom */
    [data-pos="top"]>.m-block .m-counter,
    [data-pos="middle"]>.m-block .m-counter {
        top: -28px;
    }

    [data-pos="bottom"]>.m-block .m-counter {
        bottom: -22px;
    }

    /* ── Kicker: 01 — LABEL ──────────────────────────────────── */
    .m-kicker {
        display: flex;
        align-items: center;
        gap: 9px;
        font-family: var(--font-mono);
        font-size: var(--m-fs-kicker);
        font-weight: 500;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.95);
        margin-bottom: 12px;
        text-transform: uppercase;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    }

    .m-kicker .m-pulse {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--m-accent);
        box-shadow: 0 0 6px var(--m-accent);
        animation: m-pulse 2s ease-in-out infinite;
        flex-shrink: 0;
    }

    @keyframes m-pulse {

        0%,
        100% {
            opacity: 1;
            box-shadow: 0 0 4px var(--m-accent);
        }

        50% {
            opacity: 0.45;
            box-shadow: 0 0 14px var(--m-accent);
        }
    }

    .m-kicker .m-num {
        color: var(--m-accent);
        font-weight: 700;
        letter-spacing: 0.1em;
    }

    .m-kicker .m-dash {
        width: 10px;
        height: 1px;
        background: #fff;
        opacity: 0.55;
        flex-shrink: 0;
    }

    .m-kicker .m-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 110px);
    }

    /* ── The thin line ───────────────────────────────────────── */
    .m-line {
        position: relative;
        height: 1px;
        margin-bottom: 18px;
        background: var(--m-line);
        opacity: var(--m-line-opacity);
        box-shadow: 0 0 18px rgba(0, 255, 255, 0.55), 0 0 4px rgba(0, 255, 255, 0.85);
    }

    .m-line .m-dot-start {
        position: absolute;
        left: 0;
        top: -2.5px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--m-accent);
        box-shadow: 0 0 10px var(--m-accent), 0 0 4px #fff;
    }

    .m-line .m-dot-end {
        position: absolute;
        right: 0;
        top: -1.5px;
        width: 32px;
        height: 4px;
        background: var(--m-accent);
        opacity: 0.75;
        box-shadow: 0 0 8px var(--m-accent);
    }

    /* ── Title — two-tone, dramatic ──────────────────────────── */
    .m-title {
        margin: 0;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(30px, 10.5vw, 46px);
        line-height: 0.95;
        letter-spacing: -0.025em;
        text-transform: uppercase;
        color: #fff;
    }

    .m-title .m-line-1 {
        display: inline-block;
        color: #fff;
        text-shadow: var(--m-text-shadow-title);
    }

    .m-title .m-line-2 {
        display: inline-block;
        color: var(--m-accent);
        text-shadow: var(--m-text-shadow-title-glow);
    }

    .m-title .m-period {
        color: var(--m-accent-2);
        text-shadow: 0 0 18px rgba(255, 0, 255, 0.6), 0 2px 18px rgba(0, 0, 0, 0.6);
    }

    .m-title .m-line-1 .m-period {
        color: var(--m-accent-2);
    }

    /* ── Body ────────────────────────────────────────────────── */
    .m-body {
        margin: 14px 0 0;
        font-family: var(--font-body);
        font-size: var(--m-fs-body);
        font-weight: 400;
        line-height: 1.4;
        max-width: 94%;
        color: rgba(255, 255, 255, 0.97);
        text-shadow: var(--m-text-shadow-body);
    }

    /* ── Meta line — sales microcopy (price/stats/urgency) ───── */
    .m-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
        margin-top: 14px;
        font-family: var(--font-mono);
        font-size: var(--m-fs-meta);
        font-weight: 600;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.78);
        text-transform: uppercase;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    }

    .m-meta>span:not(.m-meta-dot):first-child {
        color: var(--m-accent);
    }

    .m-meta .m-meta-warn {
        color: var(--m-accent-2);
        animation: m-pulse-warn 2.4s ease-in-out infinite;
    }

    @keyframes m-pulse-warn {

        0%,
        100% {
            opacity: 1;
            text-shadow: 0 0 8px rgba(255, 0, 255, 0.5), 0 1px 6px rgba(0, 0, 0, 0.85);
        }

        50% {
            opacity: 0.65;
            text-shadow: 0 0 16px rgba(255, 0, 255, 0.85), 0 1px 6px rgba(0, 0, 0, 0.85);
        }
    }

    .m-meta-dot {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        flex-shrink: 0;
    }

    /* ── CTA — striking outline + glow ───────────────────────── */
    .m-cta {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-top: 22px;
        padding: 14px 20px;
        min-width: 220px;
        border: 1.5px solid var(--m-accent);
        font-family: var(--font-mono);
        font-weight: 700;
        font-size: var(--m-fs-cta);
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #fff;
        text-decoration: none;
        background: rgba(0, 255, 255, 0.06);
        box-shadow:
            0 0 0 1px rgba(0, 255, 255, 0.12),
            0 0 24px rgba(0, 255, 255, 0.18),
            inset 0 0 12px rgba(0, 255, 255, 0.04);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
        transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    }

    .m-cta .m-cta-text {
        flex: 1;
    }

    .m-cta .m-arrow {
        color: var(--m-accent);
        font-size: 14px;
        text-shadow: 0 0 8px var(--m-accent);
        transition: transform 0.25s ease;
    }

    .m-cta:active {
        background: rgba(0, 255, 255, 0.16);
        transform: scale(0.98);
    }

    .m-cta:active .m-arrow {
        transform: translateX(3px);
    }

    /* Final / primary CTA — magenta accent for "buy now" intent */
    .m-cta-final {
        border-color: var(--m-accent-2);
        background: rgba(255, 0, 255, 0.08);
        box-shadow:
            0 0 0 1px rgba(255, 0, 255, 0.18),
            0 0 28px rgba(255, 0, 255, 0.22),
            inset 0 0 14px rgba(255, 0, 255, 0.05);
        animation: m-cta-glow 2.6s ease-in-out infinite;
    }

    .m-cta-final .m-arrow {
        color: var(--m-accent-2);
        text-shadow: 0 0 8px var(--m-accent-2);
    }

    .m-cta-final:active {
        background: rgba(255, 0, 255, 0.18);
    }

    @keyframes m-cta-glow {

        0%,
        100% {
            box-shadow:
                0 0 0 1px rgba(255, 0, 255, 0.18),
                0 0 24px rgba(255, 0, 255, 0.18),
                inset 0 0 14px rgba(255, 0, 255, 0.05);
        }

        50% {
            box-shadow:
                0 0 0 1px rgba(255, 0, 255, 0.32),
                0 0 36px rgba(255, 0, 255, 0.32),
                inset 0 0 18px rgba(255, 0, 255, 0.08);
        }
    }

    /* Title size scales fluidly via clamp() above — no hard breaks needed */

    /* ── Tighten on very small devices (≤360px) ──────────────── */
    @media (max-width: 360px) {
        .m-block {
            padding: 0 18px;
        }

        .m-body {
            font-size: 13px;
        }

        .m-cta {
            min-width: 200px;
            padding: 13px 16px;
            letter-spacing: 0.14em;
        }

        .m-meta {
            font-size: 9px;
            gap: 6px 8px;
        }
    }

    /* ── Reduced motion: kill all loop animations ────────────── */
    @media (prefers-reduced-motion: reduce) {

        .vp-video,
        .ui-layer,
        .holo-copy {
            transform: none !important;
        }

        .m-pulse,
        .m-meta-warn,
        .m-cta-final {
            animation: none !important;
        }
    }
}