/* ═══════════════════════════════════════════════════════
   mosaic Landing Page — Design System
   ═══════════════════════════════════════════════════════ */

/* ─── Mosaic Landing Visualization ─── */
.mosaic-landing-viz {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.ml-ambient-lighting {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ml-glow {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    pointer-events: none;
}

.ml-glow-1 {
    top: 33%;
    left: 25%;
    width: 40rem;
    height: 40rem;
    background: rgba(234, 88, 12, 0.3);
    filter: blur(160px);
    opacity: 0.5;
    animation: ml-pulse-glow 10s infinite;
    transition: background 1s ease-in-out;
}

.ml-glow-2 {
    bottom: 0;
    right: 25%;
    width: 35rem;
    height: 35rem;
    background: rgba(99, 102, 241, 0.4);
    filter: blur(140px);
    animation: ml-pulse-glow 12s infinite reverse;
}

@keyframes ml-pulse-glow {

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

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Hero app mockup: subtle 3D tilt that flattens on hover. Replaces the old
   inline onmouseover/onmouseout handlers so the effect is CSS-driven and also
   responds to keyboard focus inside the mockup. */
.hero-mockup-tilt {
    transform: rotateY(-5deg) rotateX(2deg);
}

.hero-mockup-tilt:hover,
.hero-mockup-tilt:focus-within {
    transform: rotateY(0deg) rotateX(0deg);
}

.ml-perspective-container {
    perspective: 2500px;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 650px;
    padding: 0 1rem;
    z-index: 10;
}

.ml-scene-wrapper {
    animation: ml-scene-pan 18s ease-in-out infinite;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes ml-scene-pan {

    0%,
    100% {
        transform: rotateY(-4deg) rotateX(2deg) translateY(0px);
    }

    50% {
        transform: rotateY(4deg) rotateX(-1deg) translateY(-15px);
    }
}

.ml-panel {
    position: absolute;
    border-radius: 1rem;
    background: rgba(15, 17, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.5s;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.ml-panel:hover {
    opacity: 1;
}

.ml-panel-left {
    left: 50%;
    top: 50%;
    width: 460px;
    height: 520px;
    margin-left: -230px;
    margin-top: -260px;
    transform: translateX(-120%) translateZ(-350px) rotateY(20deg) rotateX(4deg);
    animation: ml-float-ambient 8s ease-in-out infinite;
    display: flex;
    flex-direction: column;
}

.ml-panel-right {
    left: 50%;
    top: 50%;
    width: 400px;
    height: 480px;
    margin-left: -200px;
    margin-top: -240px;
    transform: translateX(120%) translateZ(-250px) rotateY(-18deg) rotateX(2deg);
    animation: ml-float-ambient-delayed 10s ease-in-out infinite;
    animation-delay: -2s;
    display: flex;
    flex-direction: column;
}

.ml-panel-center {
    left: 50%;
    top: 50%;
    width: 900px;
    height: 580px;
    margin-left: -450px;
    margin-top: -290px;
    transform: translateZ(100px) rotateY(0deg) rotateX(0deg);
    animation: ml-float-ambient-center 9s ease-in-out infinite;
    animation-delay: -4s;
    display: flex;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

@keyframes ml-float-ambient {

    0%,
    100% {
        transform: translateX(-120%) translateZ(-350px) rotateY(20deg) rotateX(4deg) translateY(0px);
    }

    50% {
        transform: translateX(-120%) translateZ(-350px) rotateY(20deg) rotateX(4deg) translateY(-10px);
    }
}

@keyframes ml-float-ambient-delayed {

    0%,
    100% {
        transform: translateX(120%) translateZ(-250px) rotateY(-18deg) rotateX(2deg) translateY(0px);
    }

    50% {
        transform: translateX(120%) translateZ(-250px) rotateY(-18deg) rotateX(2deg) translateY(-12px);
    }
}

@keyframes ml-float-ambient-center {

    0%,
    100% {
        transform: translateZ(100px) rotateY(0deg) rotateX(0deg) translateY(0px);
    }

    50% {
        transform: translateZ(100px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    }
}

.ml-panel-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
}

.ml-panel-filters {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ml-panel-grid {
    flex: 1;
    padding: 1.25rem;
    overflow: hidden;
}

.ml-panel-integrations {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ml-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 12, 16, 0.6);
    padding: 1.25rem;
    position: relative;
    z-index: 20;
}

.ml-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ml-sidebar-libraries {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.ml-sidebar-profile {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ml-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: rgba(19, 21, 31, 0.8);
}

.ml-hero-banner {
    position: relative;
    height: 340px;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(234, 88, 12, 0.5), rgba(127, 29, 29, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    transition: background 1s ease-in-out;
}

.ml-poster {
    width: 160px;
    height: 240px;
    border-radius: 0.75rem;
    background: rgba(32, 34, 48, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    transform: translateY(-1rem);
    transition: box-shadow 1s ease-in-out;
}

.ml-lower-content {
    flex: 1;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

/* Responsive adjustments - handled by JavaScript for smooth scaling */

/* ─── Tokens ─── */
:root {
    --bg: #08080f;
    --bg-card: rgba(255 255 255 / .04);
    --bg-glass: rgba(255 255 255 / .06);
    --border: rgba(255 255 255 / .08);

    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-bright: #f8fafc;

    --primary: #818cf8;
    --primary-dim: rgba(129 140 248 / .15);
    --secondary: #f472b6;
    --secondary-dim: rgba(244 114 182 / .15);
    --magic: #a78bfa;
    --magic-dim: rgba(167 139 250 / .15);

    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --container: 1200px;
    --gap: clamp(2rem, 4vw, 4rem);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    /* `proximity` (not `mandatory`): sections still snap when a scroll lands
       near their edge, but short sections (stats, pricing, newsletter) and
       small viewports are never force-jumped past content. */
    scroll-snap-type: y proximity;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* ─── Utilities ─── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-magic {
    color: var(--magic) !important;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.grad-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--magic));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    line-height: 1.15;
    color: var(--text-bright);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* ─── Ambient Background ─── */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .2;
    will-change: transform, opacity;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -10%;
    left: -8%;
    animation: drift 20s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: 10%;
    right: -5%;
    animation: drift 25s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--magic);
    top: 50%;
    left: 40%;
    animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -40px) scale(1.15);
    }
}

/* ─── Glass ─── */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════  NAVBAR  ═══════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.navbar.scrolled {
    background: rgba(8 8 15 / .8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cta {
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: background .25s, border-color .25s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    white-space: nowrap;
}

.lang-btn:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
}

.lang-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.lang-selector.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    background: rgba(15, 17, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 101;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--bg-glass);
    color: var(--text-bright);
}

.lang-option.active {
    background: var(--primary-dim);
    color: var(--primary);
}

/* ═══════════════════════════════  BUTTONS  ═══════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    padding: .75rem 1.75rem;
    border-radius: 100px;
    transition: transform .2s, box-shadow .3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--magic));
    color: #fff;
    box-shadow: 0 4px 20px rgba(129 140 248 / .35);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(129 140 248 / .5);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-ghost {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--text-bright);
    background: var(--primary-dim);
}

/* ═══════════════════════════════  HERO  ═══════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 0 3rem;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: translate3d(0, 0, 0);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Pill badge */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 500;
    padding: .45rem 1.1rem;
    border-radius: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.pill-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .2rem .55rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    color: #fff;
}

h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 6vw, 5rem) !important;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual-wrap {
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto 0;
    position: relative;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    opacity: .35;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Floating tags */
.float-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 600;
    padding: .5rem .9rem;
    z-index: 5;
    animation: tag-float 4s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.float-tag i,
.float-tag svg {
    width: 16px;
    height: 16px;
}

.tag-1 {
    top: 8%;
    left: 6%;
    animation-delay: 0s;
}

.tag-2 {
    top: 15%;
    right: 8%;
    animation-delay: 1s;
}

.tag-3 {
    bottom: 18%;
    left: 10%;
    animation-delay: 2s;
}

.tag-4 {
    bottom: 10%;
    right: 12%;
    animation-delay: .5s;
}

@keyframes tag-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ═══════════════════════════════  DEVICE FRAMES  ═══════ */
.device {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255 255 255 / .1);
    background: rgba(12 12 24 / .7);
    box-shadow: 0 20px 60px rgba(0 0 0 / .5), 0 0 0 1px rgba(255 255 255 / .04);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.feat-visual:hover .device {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0 0 0 / .6), 0 0 0 1px rgba(255 255 255 / .06);
    backface-visibility: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-screen {
    background: linear-gradient(145deg, rgba(255 255 255 / .02), rgba(255 255 255 / .005));
}

.screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Notebook */
.device.notebook {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius) var(--radius) 4px 4px;
}

.device.notebook::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    height: 10px;
    background: linear-gradient(180deg, rgba(255 255 255 / .08), rgba(255 255 255 / .03));
    border-radius: 0 0 6px 6px;
}

/* iPad */
.device.ipad {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
}

/* Mobile */
.device.mobile {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 9 / 18;
    border-radius: 28px;
}

/* Enhancements for real screenshot integration */
.device-with-screen {
    background: #000;
    padding: 6px;
    border: 1px solid rgba(255 255 255 / .15);
    box-shadow: 0 24px 64px rgba(0 0 0 / .6), inset 0 0 0 1px rgba(255 255 255 / .2), inset 0 0 2px 2px rgba(255 255 255 / .05);
}

.device-with-screen .screen {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #08080f;
}

.screen-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255 255 255 / .08) 0%, rgba(255 255 255 / 0) 35%, rgba(255 255 255 / 0) 100%);
    box-shadow: inset 0 0 16px rgba(0 0 0 / .6);
    z-index: 8;
}

/* Hero device */
.hero-device {
    max-width: 700px;
    z-index: 3;
    background: rgba(12 12 24 / .92);
}

.hero-device .glass-screen {
    background: linear-gradient(145deg, rgba(255 255 255 / .015), rgba(255 255 255 / .005));
}

/* Placeholder content inside screens */
.ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    height: 100%;
    padding: 1.5rem;
}

.ph-icon {
    opacity: .45;
}

.ph-icon i,
.ph-icon svg {
    width: 40px;
    height: 40px;
}

.ph-label {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-dim);
    opacity: .5;
    font-family: var(--font-display);
    letter-spacing: .02em;
}

/* Glows behind visuals */
.glow-bg {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
    top: 15%;
    left: 15%;
    pointer-events: none;
    transition: opacity .5s;
}

.feat-visual:hover .glow-bg {
    opacity: .5;
}

.glow-primary {
    background: var(--primary);
}

.glow-secondary {
    background: var(--secondary);
}

.glow-magic {
    background: var(--magic);
}

/* Float animations */
.float-a {
    animation: floatA 6s ease-in-out infinite;
}

.float-b {
    animation: floatB 7s ease-in-out infinite;
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ═══════════════════════════════  FEATURES  ═══════ */
.features {
    padding: 0 0;
}

.feat {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--gap) 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Subtle divider between features */
.feat+.feat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 40%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

/* Alt layout swaps columns */
.feat.alt .feat-grid {
    direction: rtl;
}

.feat.alt .feat-grid>* {
    direction: ltr;
}

.feat-text {
    position: relative;
    /* Keep copy readable: text always paints above any decorative visual
       overflow (e.g. collections covers / share box spilling out of an
       `.alt` section's visual column). */
    z-index: 2;
}

.feat-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-dim);
    color: var(--primary);
    margin-bottom: 1rem;
}

.feat-text p {
    font-size: clamp(.95rem, 1.5vw, 1.08rem);
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 520px;
}

.feat-text strong {
    color: var(--text-bright);
    font-weight: 600;
}

.feat-text em {
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
}

.feat-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    /* Creates a stacking context so the high inline z-indexes JS assigns to
       inner cards stay contained here and never paint over `.feat-text`. */
    z-index: 1;
}

/* Integration logos row */
.integration-logos {
    display: flex;
    gap: .65rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.int-logo {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-dim);
}

.int-logo i,
.int-logo svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ──── Installable app / PWA (feature 08) ──── */
.pwa-viz {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    border-radius: var(--radius);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 18%, rgba(129 140 248 / .09), transparent 55%),
        radial-gradient(ellipse at 78% 88%, rgba(244 114 182 / .07), transparent 50%),
        #0a0b12;
    border: 1px solid var(--border);
    padding: 3rem 2rem 3.75rem;
}

.pwa-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(129 140 248 / .14);
    filter: blur(90px);
    pointer-events: none;
}

.pwa-center {
    position: relative;
    width: 250px;
    flex: none;
    z-index: 2;
}

.pwa-phone {
    width: 100%;
    max-width: 100%;
}

.pwa-screen {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .7rem;
    padding: .85rem .85rem .9rem;
    background: linear-gradient(165deg, #0e0f1a, #08080f);
}

.pwa-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .15rem;
}

.pwa-time {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255 255 255 / .8);
    letter-spacing: .02em;
}

.pwa-sysicons {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.pwa-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 1.5px;
}

.pwa-signal i {
    display: block;
    width: 2.5px;
    border-radius: 1px;
    background: rgba(255 255 255 / .55);
}

.pwa-signal i:nth-child(1) { height: 4px; }
.pwa-signal i:nth-child(2) { height: 6px; }
.pwa-signal i:nth-child(3) { height: 8px; }

.pwa-battery {
    display: inline-block;
    width: 18px;
    height: 9px;
    border: 1px solid rgba(255 255 255 / .45);
    border-radius: 2.5px;
    position: relative;
}

.pwa-battery::before {
    content: '';
    position: absolute;
    left: 1.5px;
    top: 1.5px;
    bottom: 1.5px;
    width: 68%;
    border-radius: 1px;
    background: rgba(255 255 255 / .75);
}

.pwa-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2.5px;
    width: 2px;
    height: 3px;
    border-radius: 0 1px 1px 0;
    background: rgba(255 255 255 / .45);
}

.pwa-notif {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: rgba(255 255 255 / .07);
    border: 1px solid rgba(255 255 255 / .12);
    border-radius: 14px;
    padding: .6rem .65rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0 0 0 / .35);
    animation: pwa-notif-in .6s cubic-bezier(.16, 1, .3, 1) .35s both;
}

@keyframes pwa-notif-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pwa-notif-icon {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--magic));
}

.pwa-notif-icon i,
.pwa-notif-icon svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.pwa-notif-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.pwa-notif-text strong {
    font-size: .68rem;
    font-weight: 600;
    color: #fff;
}

.pwa-notif-text span {
    font-size: .62rem;
    color: var(--text-dim);
    line-height: 1.35;
}

.pwa-notif-time {
    margin-left: auto;
    flex: none;
    font-size: .58rem;
    color: var(--text-dim);
    opacity: .7;
}

.pwa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    flex: 1;
    align-content: start;
}

.pwa-tile {
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255 255 255 / .05);
}

.pwa-tile.t1 { background: linear-gradient(160deg, #312e81, #1e1b4b); }
.pwa-tile.t2 { background: linear-gradient(160deg, #7f1d1d, #450a0a); }
.pwa-tile.t3 { background: linear-gradient(160deg, #065f46, #022c22); }
.pwa-tile.t4 { background: linear-gradient(160deg, #92400e, #451a03); }
.pwa-tile.t5 { background: linear-gradient(160deg, #4c1d95, #2e1065); }
.pwa-tile.t6 { background: linear-gradient(160deg, #0e7490, #164e63); }
.pwa-tile.t7 { background: linear-gradient(160deg, #9d174d, #500724); }
.pwa-tile.t8 { background: linear-gradient(160deg, #1d4ed8, #172554); }
.pwa-tile.t9 { background: linear-gradient(160deg, #65a30d, #1a2e05); }

.pwa-homebar {
    width: 84px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255 255 255 / .35);
    margin: .1rem auto 0;
}

.pwa-install-pos {
    position: absolute;
    left: 50%;
    bottom: -2rem;
    transform: translateX(-50%);
    z-index: 3;
}

.pwa-install {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: rgba(20 20 30 / .94);
    border: 1px solid rgba(255 255 255 / .18);
    border-radius: 16px;
    padding: .6rem .7rem;
    box-shadow: 0 20px 50px rgba(0 0 0 / .55);
    backdrop-filter: blur(16px);
    white-space: nowrap;
}

.pwa-install-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.pwa-install-icon i,
.pwa-install-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.pwa-install-text {
    display: flex;
    flex-direction: column;
    gap: .05rem;
}

.pwa-install-text strong {
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
}

.pwa-install-text span {
    font-size: .62rem;
    color: var(--text-dim);
}

.pwa-install-btn {
    flex: none;
    padding: .42rem .95rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    box-shadow: 0 4px 14px rgba(129 140 248 / .4);
}

.pwa-chips {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    z-index: 2;
}

.pwa-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    background: rgba(20 20 30 / .85);
    border: 1px solid rgba(255 255 255 / .12);
    font-size: .74rem;
    font-weight: 500;
    color: var(--text);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0 0 0 / .4);
    white-space: nowrap;
}

.pwa-chip i,
.pwa-chip svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

/* ──── Final feature (platform badges) ──── */
.feat-final {
    padding: var(--gap) 0 calc(var(--gap) * .5);
}

.feat-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stores {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.4rem;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: transform .2s, border-color .3s;
}

.store-badge:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.store-badge i,
.store-badge svg {
    width: 24px;
    height: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: .7rem;
    color: var(--text-dim);
    letter-spacing: .03em;
}

.store-text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-bright);
}

.upcoming-badge {
    opacity: .7;
}

.upcoming-badge:hover {
    opacity: 1;
}

/* ═══════════════════════════════  FOOTER  ═══════ */
.footer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 2.5rem;
    content-visibility: auto;
    contain-intrinsic-size: 0 300px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.footer-cta {
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--radius);
    margin-bottom: 3rem;
    background: linear-gradient(145deg, rgba(129 140 248 / .08), rgba(167 139 250 / .04));
    border: 1px solid rgba(129 140 248 / .15);
}

.footer-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: .6rem;
}

.footer-cta p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-copy {
    font-size: .8rem;
    color: var(--text-dim);
}

/* ═══════════════════════════════  ANIMATIONS  ═══════ */
/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

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

.reveal.d1 {
    transition-delay: .15s;
}

.reveal.d2 {
    transition-delay: .3s;
}

.reveal.d3 {
    transition-delay: .45s;
}

/* Hero entrance */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
    animation: appear .8s cubic-bezier(.16, 1, .3, 1) forwards;
}

.d1 {
    animation-delay: .15s;
}

.d2 {
    animation-delay: .3s;
}

.d3 {
    animation-delay: .45s;
}

.d4 {
    animation-delay: .6s;
}

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

/* ──── One Hub Animations ──── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-slow {

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

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes merge-in {

    0%,
    100% {
        transform: translateX(var(--start-dist)) scale(0.45);
        opacity: 0;
    }

    12% {
        opacity: 0.75;
        transform: translateX(calc(var(--start-dist) * 0.75)) scale(0.95);
    }

    28% {
        opacity: 0.9;
        transform: translateX(100px) scale(1);
    }

    40% {
        transform: translateX(20px) scale(0.35);
        opacity: 0;
    }
}

/* ──── Hub Components ──── */
.hub-visual {
    position: relative;
    width: 100%;
    min-height: 400px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    isolation: isolate;
}

@media (min-width: 768px) {
    .hub-visual {
        min-height: 500px;
    }
}

.hub-glow-indigo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(300px, 60%);
    height: min(300px, 60%);
    background: rgba(99, 102, 241, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.hub-glow-blue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(150px, 30%);
    height: min(150px, 30%);
    background: rgba(59, 130, 246, 0.2);
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
}

.hub-flow-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hub-central {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 8vw, 4rem);
    background: rgba(19, 25, 44, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3rem;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    will-change: transform;
    overflow: hidden;
    contain: layout paint;
}

.hub-central::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.3), transparent 50%),
        radial-gradient(circle at 78% 82%, rgba(148, 163, 184, 0.2), transparent 45%);
    opacity: 0.55;
    pointer-events: none;
}

.hub-glass-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06) 58%, rgba(255, 255, 255, 0.12)),
        rgba(19, 25, 44, 0.32);
    backdrop-filter: blur(20px) saturate(135%) contrast(105%);
    -webkit-backdrop-filter: blur(20px) saturate(135%) contrast(105%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hub-glass-layer {
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1) 58%, rgba(255, 255, 255, 0.14)),
            rgba(19, 25, 44, 0.56);
    }
}

.hub-logo-group {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.hub-logo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, #2563eb, #818cf8);
    filter: blur(24px);
    opacity: 0.6;
    border-radius: 50%;
    transition: opacity 0.5s;
}

.hub-logo-group:hover .hub-logo-glow {
    opacity: 1;
}

.hub-logo-img {
    position: relative;
    z-index: 10;
    width: clamp(3.5rem, 10vw, 5rem);
    height: clamp(3.5rem, 10vw, 5rem);
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    transition: transform 0.5s;
}

.hub-logo-group:hover .hub-logo-img {
    transform: scale(1.1);
}

/* ──── Flow Logo Styles ──── */
.flow-logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1.5rem;
    margin-left: -2rem;
    width: 4rem;
    height: 3rem;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .flow-logo-wrapper {
        margin-top: -2rem;
        margin-left: -3rem;
        width: 6rem;
        height: 4rem;
    }
}

.flow-logo-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.flow-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.5s ease-out;
}

.flow-logo-item:hover .flow-logo-img {
    opacity: 1;
    transform: scale(1.25);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

.flow-logo-label {
    color: #71717a;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
    transition: color 0.30s;
}

@media (min-width: 640px) {
    .flow-logo-label {
        font-size: 12px;
    }
}

.flow-logo-item:hover .flow-logo-label {
    color: #fff;
}

/* ─── Creators Visualization ─── */
.creators-section {
    position: relative;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

#scale-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
}

#viz-canvas {
    width: 1152px;
    height: 800px;
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: top center;
    flex-shrink: 0;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateX(-50%) translate3d(0, 0, 0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 6s ease-in-out 2s infinite;
}

@keyframes creator-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes creator-ring-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(244, 63, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    }
}

.animate-creator-float {
    animation: creator-float 6s ease-in-out infinite;
}

.animate-creator-float-delayed {
    animation: creator-float 6s ease-in-out 2s infinite;
}

.viz-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.viz-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    opacity: 0.2;
}

.viz-orb-1 {
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: #1e3a8a;
    /* blue-900 */
}

.viz-orb-2 {
    top: 60%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: #581c87;
    /* purple-900 */
}

.viz-orb-3 {
    top: 40%;
    left: 30%;
    width: 30%;
    height: 30%;
    background: #064e3b;
    /* emerald-900 */
}

.viz-noise {
    position: absolute;
    inset: 0;
    background-image: url('images/noise.svg');
    opacity: 0.2;
    filter: brightness(100%) contrast(150%);
    mix-blend-mode: overlay;
}

.creators-viz-area {
    position: relative;
    width: min(75vw, 70vh, 500px);
    height: min(75vw, 70vh, 500px);
    margin: 0 auto;
}

.viz-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.viz-svg line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke-width: 2;
    stroke: url(#viz-lineGrad);
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.viz-svg .pulse-line {
    stroke-width: 3;
    stroke-dasharray: 50 150;
    opacity: 0;
    transition: opacity 0.5s ease;
    stroke: url(#viz-pulseGrad);
}

.viz-node {
    position: absolute;
    z-index: 20;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.viz-user-node {
    top: 50%;
    left: 50%;
}

.viz-avatar-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.viz-avatar-glow {
    position: absolute;
    inset: -1rem;
    border-radius: 9999px;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s;
}

.viz-avatar-wrap:hover .viz-avatar-glow {
    opacity: 0.3;
}

.viz-avatar-inner {
    position: relative;
    width: clamp(2.25rem, 8vw, 3rem);
    height: clamp(2.25rem, 8vw, 3rem);
    background: linear-gradient(to bottom right, #1f2937, #000);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.viz-user-node .viz-avatar-inner {
    width: clamp(3.5rem, 12vw, 5rem);
    height: clamp(3.5rem, 12vw, 5rem);
}

.viz-avatar-inner i,
.viz-avatar-inner svg {
    width: 50%;
    height: 50%;
    color: #9ca3af;
}

.viz-creator-node .viz-avatar-inner {
    padding: 3px;
    background: rgba(0, 0, 0, 0.5);
}

.viz-icon-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
}

.viz-icon-box i,
.viz-icon-box svg {
    position: relative;
    z-index: 10;
    color: rgba(255, 255, 255, 0.8);
}

.viz-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.viz-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.75rem;
    text-align: center;
    width: max-content;
}

.viz-name {
    font-size: clamp(0.45rem, 1.5vw, 0.6rem);
    font-weight: 600;
    color: #e5e7eb;
}

.viz-sub {
    font-size: clamp(0.35rem, 1.2vw, 0.5rem);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 2px;
}

.viz-sub i,
.viz-sub svg {
    width: 0.75rem;
    height: 0.75rem;
}

.viz-card-node {
    position: absolute;
    z-index: 30;
    transform: translate(-50%, -50%) scale(0.9) translateY(1rem);
    opacity: 0;
    transition: all 0.7s ease-out;
}

.viz-card {
    position: relative;
    width: clamp(4.5rem, 14vw, 7.5rem);
    aspect-ratio: 2/3;
    will-change: transform;
}

.viz-card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 0.75rem;
    filter: blur(10px);
    opacity: 0.2;
    transition: opacity 0.5s;
}

.viz-card:hover .viz-card-glow {
    opacity: 0.4;
}

.viz-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
}

.viz-card:hover .viz-card-inner {
    transform: translateY(-0.5rem);
    border-color: rgba(255, 255, 255, 0.2);
}

.viz-card-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 30;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.viz-card-badge i,
.viz-card-badge svg {
    width: 0.6rem;
    height: 0.6rem;
    color: white;
}

.viz-card-badge span {
    font-size: 0.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Make badge text smaller on mobile to prevent wrapping */
@media (max-width: 639px) {
    .creators-viz-area {
        width: 90vw;
        height: 90vw;
        max-width: 400px;
        max-height: 400px;
    }

    .viz-card {
        width: clamp(80px, 25vw, 110px);
    }

    .viz-card-inner {
        border-radius: 0.6rem;
    }

    .viz-card-badge {
        top: 0.4rem;
        left: 0.4rem;
        padding: 2px 4px;
        border-radius: 0.3rem;
    }

    .viz-card-badge i,
    .viz-card-badge svg {
        width: 0.6rem;
        height: 0.6rem;
    }

    .viz-card-badge span {
        font-size: 0.45rem;
        letter-spacing: 0.05em;
    }

    .viz-card-content {
        padding: 0.5rem;
    }

    .viz-card-type {
        font-size: 0.45rem;
        margin-bottom: 2px;
        letter-spacing: 0.05em;
    }

    .viz-card-title {
        font-size: 0.6rem;
        line-height: 1.2;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow-wrap: anywhere;
    }

    .viz-card-author {
        font-size: 0.45rem;
        gap: 4px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 0.8;
    }

    .viz-card-author .dot {
        width: 2px;
        height: 2px;
    }

    .viz-name {
        font-size: 0.45rem;
    }

    .viz-sub {
        font-size: 0.35rem;
    }

    .viz-label {
        margin-top: 0.4rem;
    }
}

@media (max-width: 400px) {
    .viz-card-badge span {
        display: none;
        /* Only show icon on very small screens */
    }

    .viz-card-badge {
        padding: 2px;
    }
}

.viz-card-media {
    aspect-ratio: 2/3;
    position: relative;
    background: #111827;
    overflow: hidden;
}

.viz-card-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.8;
    filter: blur(40px);
    transform: scale(1.5);
}

.viz-card:hover .viz-card-gradient {
    transform: scale(1.25) rotate(12deg);
}

.viz-card-noise {
    position: absolute;
    inset: 0;
    background-image: url('images/noise.svg');
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.viz-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, black, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0.9;
    z-index: 10;
}

.viz-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 20;
}

.viz-card:hover .viz-play-btn {
    opacity: 1;
}

.viz-play-btn i,
.viz-play-btn svg {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-left: 2px;
    backdrop-filter: blur(8px);
}

.viz-card-content {
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 20;
}

.viz-card-type {
    font-size: 0.5rem;
    color: #9ca3af;
    margin-bottom: 1px;
}

.viz-card-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.viz-card-author {
    font-size: 0.5rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.viz-card-author .dot {
    width: 3px;
    height: 3px;
    border-radius: 9999px;
    background: #6b7280;
}

/* Cinematic Media Visualization Animations */
@keyframes silkyRevealImage {
    0% {
        filter: blur(30px);
        opacity: 0;
        transform: scale(1.1);
    }

    50% {
        opacity: 1;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slowPan {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-1%, -1%);
    }

    100% {
        transform: scale(1.05) translate(0, 0);
    }
}

@keyframes cinematicFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes cinematicFloatDelayed {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

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

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

/* Cinematic Animation Classes */
.animate-silky-backdrop {
    animation: silkyRevealImage 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, slowPan 30s ease-in-out infinite alternate;
}

.animate-silky-poster {
    animation: silkyRevealImage 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.animate-cinematic-float {
    animation: cinematicFloat 6s ease-in-out infinite;
}

.animate-cinematic-float-delayed {
    animation: cinematicFloatDelayed 7s ease-in-out infinite 1s;
}

.stagger-1 {
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    opacity: 0;
}

.stagger-2 {
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

.stagger-3 {
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
    opacity: 0;
}

.stagger-4 {
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
    opacity: 0;
}

.blurred-text-block {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 4s infinite linear;
    border-radius: 4px;
    filter: blur(1px);
}

/* Cinematic Visualization Container */
.cinematic-viz {
    position: relative;
    min-height: 500px;
    width: 100%;
    background: #050505;
    border-radius: 20px;
    overflow: hidden;
}

.cinematic-attribution {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    z-index: 5;
    width: min(90%, 42rem);
    margin: 0;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.6875rem;
    line-height: 1.45;
    text-align: center;
}

.cinematic-background {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.cinematic-overlays {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.cinematic-content {
    position: relative;
    z-index: 30;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
}

.cinematic-poster-container {
    perspective: 1000px;
}

.cinematic-poster {
    position: relative;
    width: 100% !important;
    max-width: 320px;
    aspect-ratio: 2/3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease-out;
    will-change: transform;
}

@media (min-width: 768px) {
    .cinematic-poster {
        max-width: 500px !important;
    }
}

@media (min-width: 1024px) {
    .cinematic-poster {
        max-width: 600px !important;
    }
}

.cinematic-poster:hover {
    transform: scale(1.02);
}

.cinematic-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cinematic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cinematic-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cinematic-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.cinematic-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cinematic-play-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    filter: blur(1px);
}

.cinematic-play-btn:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    filter: blur(0.8px);
}

.cinematic-play-btn i,
.cinematic-play-btn span {
    filter: blur(1.5px);
}

.cinematic-secondary-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: blur(1px);
}

.cinematic-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    filter: blur(0.8px);
}

.cinematic-secondary-btn i {
    filter: blur(1.5px);
}

.cinematic-synopsis {
    max-width: 48rem;
}

.cinematic-synopsis-line {
    height: 1rem;
    margin-bottom: 0.75rem;
}

.cinematic-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 48rem;
}

.cinematic-cast-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: background 0.3s ease;
}

.cinematic-cast-item:hover {
    background: rgba(0, 0, 0, 0.4);
}

.cinematic-cast-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.cinematic-cast-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.cinematic-cast-name {
    height: 0.75rem;
}

.cinematic-cast-role {
    height: 0.5rem;
    width: 50%;
}

/* Letterbox bars */
.cinematic-letterbox-top,
.cinematic-letterbox-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2rem;
    background: black;
    z-index: 50;
}

.cinematic-letterbox-top {
    top: 0;
    transform: translateY(-100%);
    transition: transform 0.5s ease-out;
}

.cinematic-letterbox-top.visible {
    transform: translateY(0);
}

.cinematic-letterbox-bottom {
    bottom: 0;
    transform: translateY(100%);
    animation: slideUp 1s ease-out 1s forwards;
}

/* Where to Watch Visualization Animations */
@keyframes vizFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(-50%);
    }

    50% {
        transform: translateY(-15px) translateX(-50%);
    }
}

@keyframes vizDrawLine {
    from {
        stroke-dashoffset: 400;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
}

@keyframes vizPulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4), inset 0 0 20px rgba(16, 185, 129, 0.2);
    }

    50% {
        box-shadow: 0 0 40px 15px rgba(16, 185, 129, 0), inset 0 0 0px rgba(16, 185, 129, 0);
    }
}

@keyframes vizCinematicTilt {

    0%,
    100% {
        transform: translate(-50%, -50%) perspective(1200px) rotateX(4deg) rotateY(-4deg) scale3d(1, 1, 1);
    }

    50% {
        transform: translate(-50%, -50%) perspective(1200px) rotateX(-2deg) rotateY(6deg) scale3d(1.03, 1.03, 1.03);
    }
}

@keyframes vizCameraPan {

    0%,
    100% {
        transform: scale(1) translate(0px, 0px);
    }

    50% {
        transform: scale(1.05) translate(-15px, 8px);
    }
}

@keyframes vizSweep {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }

    50%,
    100% {
        transform: translateX(150%) skewX(-20deg);
    }
}

.viz-draw {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.viz-draw.active {
    animation: vizDrawLine 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.viz-best-deal-pulse {
    animation: vizPulseGlow 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Where to Watch Container */
.wtw-viz {
    position: relative;
    width: 100%;
    overflow: visible;
}

.wtw-stage {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
}

@media (min-width: 640px) {
    .wtw-stage {
        transform: scale(0.65);
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .wtw-stage {
        transform: scale(0.8);
        height: 600px;
    }
}

.wtw-content-wrapper {
    position: relative;
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    animation: vizCameraPan 20s ease-in-out infinite;
}

.wtw-ambient-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    filter: blur(120px);
    transition: all 1.5s ease-in-out;
    opacity: 0;
    display: none;
}

.wtw-ambient-core-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    filter: blur(60px);
    transition: all 1s ease-in-out;
    opacity: 0;
    display: none;
}

.wtw-svg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
}

.wtz-platform-node {
    position: absolute;
    z-index: 20;
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wtz-node-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    border-width: 1px;
    transition: all 0.7s;
}

.wtz-node-content.best-deal {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    transform: scale(1.1);
}

.wtz-node-content.normal-deal {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.wtz-node-icon {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.625rem;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wtz-node-info {
    display: flex;
    flex-direction: column;
    padding-right: 0.75rem;
}

.wtz-node-action {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.wtz-node-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.wtz-node-price {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wtz-node-price-value {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.wtz-node-price-value.best-deal-price {
    color: #34d399;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.8));
}

.wtz-node-price-value.normal-deal-price {
    color: #e5e7eb;
}

.wtz-best-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: #10b981;
    color: white;
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.7s;
    transform: scale(0) opacity-0 translate-y-1rem;
}

.wtz-best-badge.visible {
    transform: scale(1) opacity-100 translate-y-0;
}

.wtz-center-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 30;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.wtz-card-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11rem;
    height: 15rem;
    border-radius: 1rem;
    padding: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05), transparent);
    backdrop-filter: blur(12px);
    overflow: visible;
    animation: vizCinematicTilt 12s ease-in-out infinite alternate;
    transform-style: preserve-3d;
    will-change: transform;
}

@media (min-width: 640px) {
    .wtz-card-wrapper {
        width: 13rem;
        height: 18rem;
    }
}

.wtz-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wtz-card-glossy {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0, 0, 0, 0.6), transparent, rgba(255, 255, 255, 0.3));
    pointer-events: none;
    mix-blend-mode: overlay;
}

.wtz-card-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: vizSweep 6s ease-in-out infinite;
}

.wtz-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transform: translateZ(20px);
}

.wtz-card-icon {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.wtz-card-title {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: white;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .wtz-card-title {
        font-size: 1.5rem;
    }
}

.wtz-card-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.wtz-film-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 50;
    display: none;
}

.wtz-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .wtz-platform-node {
        transform: scale(0.8);
    }

    .wtz-node-content {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .wtz-node-name {
        font-size: 0.75rem;
    }

    .wtz-node-price-value {
        font-size: 1rem;
    }
}

.color-blue {
    background: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.border-blue {
    border-color: rgba(59, 130, 246, 0.4);
}

.bg-blue {
    background: #1e3a8a;
}

.grad-blue {
    background: linear-gradient(to right, #3b82f6, #22d3ee);
}

.grad-blue-dark {
    background: linear-gradient(to bottom right, #2563eb, #1e293b, #164e63);
}

.color-emerald {
    background: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.border-emerald {
    border-color: rgba(16, 185, 129, 0.4);
}

.bg-emerald {
    background: #064e3b;
}

.grad-emerald {
    background: linear-gradient(to right, #10b981, #34d399);
}

.grad-emerald-dark {
    background: linear-gradient(to bottom right, #059669, #134e4a, #064e3b);
}

.color-purple {
    background: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.border-purple {
    border-color: rgba(168, 85, 247, 0.4);
}

.bg-purple {
    background: #581c87;
}

.grad-purple {
    background: linear-gradient(to right, #a855f7, #f472b6);
}

.grad-purple-dark {
    background: linear-gradient(to bottom right, #9333ea, #701a75, #9d174d);
}

.color-rose {
    background: #f43f5e;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.5);
}

.border-rose {
    border-color: rgba(244, 63, 94, 0.4);
}

.bg-rose {
    background: #881337;
}

.grad-rose {
    background: linear-gradient(to right, #f43f5e, #fb923c);
}

.grad-rose-dark {
    background: linear-gradient(to bottom right, #e11d48, #7f1d1d, #9a3412);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseData {
    0% {
        stroke-dashoffset: 200;
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.2;
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* ═══════════════════════════════  RESPONSIVE  ═══════ */
@media (max-width: 768px) {

    .navbar,
    .ml-panel,
    .glass,
    .ph,
    .hub-central,
    .glass-panel,
    .glass-screen,
    .cinematic-play-btn,
    .cinematic-secondary-btn,
    .wtz-node-content {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar.scrolled {
        background: rgba(8, 8, 15, 0.95);
    }

    .ml-panel {
        background: rgba(15, 17, 26, 0.9);
    }

    .glass {
        background: rgba(255, 255, 255, 0.12);
    }

    .hub-central {
        background: rgba(255, 255, 255, 0.05);
    }

    .glass-panel {
        background: rgba(255, 255, 255, 0.08);
    }

    .glass-screen {
        background: rgba(255, 255, 255, 0.05);
    }

    .cinematic-play-btn,
    .cinematic-secondary-btn {
        background: rgba(255, 255, 255, 0.2);
    }

    .wtz-node-content.normal-deal {
        background: rgba(0, 0, 0, 0.8);
    }
}

@media (min-width: 901px) and (max-width: 1280px) {
    .ul-viz-container {
        padding: 0 1rem;
        min-width: 0;
    }

    .ul-viz-container .relative.z-10 {
        max-width: 100%;
        min-width: 0;
    }

    .ul-viz-container .max-w-\[960px\] {
        max-width: 100%;
        min-width: 0;
    }

    .ul-viz-container #grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1281px) {
    .ul-viz-container {
        padding: 0 1rem;
        min-width: 0;
    }

    .ul-viz-container .relative.z-10 {
        max-width: 100%;
        min-width: 0;
    }

    .ul-viz-container .max-w-\[960px\] {
        max-width: 100%;
        min-width: 0;
    }

    .ul-viz-container #grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .feat-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feat.alt .feat-grid {
        direction: ltr;
    }

    .feat-visual {
        min-height: 240px;
    }

    .device.notebook {
        max-width: 420px;
    }

    .device.ipad {
        max-width: 360px;
    }

    .device.mobile {
        max-width: 200px;
    }

    .pwa-viz {
        flex-direction: column;
        min-height: 0;
        gap: 2.75rem;
        padding: 2.5rem 1.25rem 2.25rem;
    }

    .pwa-center {
        width: 210px;
    }

    .pwa-chips {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: .5rem;
    }

    .pwa-chip {
        padding: .5rem .8rem;
        font-size: .7rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-cta,
    .lang-btn {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    h1 {
        font-size: clamp(2rem, 12vw, 2.4rem) !important;
        margin-bottom: 1rem;
    }

    .pill {
        margin-bottom: 1rem;
    }

    .hero-sub {
        margin-bottom: 1.35rem;
        line-height: 1.55;
    }

    .btn-lg {
        padding: 0.85rem 1.35rem;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 100svh;
        height: 100svh;
        padding: 5.25rem 0 1.25rem;
        justify-content: flex-start;

        scroll-snap-align: start;
        scroll-snap-stop: always;
        transform: translate3d(0, 0, 0);
    }

    .float-tag {
        display: none;

        backface-visibility: hidden;
        transform: translate3d(0, 0, 0);
    }

    .feat {
        padding: 3rem 0;

        min-height: 100vh;
        display: flex;
        align-items: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .hero-visual-wrap {
        margin-top: 1.25rem;
        overflow: hidden;
    }

    .hero-device {
        max-width: 100%;
    }

    .stores {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: .8rem;
        text-align: center;
    }

    .device.notebook {
        max-width: 100%;
    }

    .device.ipad {
        max-width: 100%;
    }

    .device.mobile {
        max-width: 180px;
    }
}

/* ─── Collections Visualizer ─── */
#collections-visualizer {
    position: relative;
    width: 100%;
    max-width: 400px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.noise-bg {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animate-pulse-ring {
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-pulse-ring-delayed {
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 1s;
}

.animate-stream-particle {
    animation: stream-particle 2s ease-out infinite;
}

.animate-stream-particle-delayed {
    animation: stream-particle 2s ease-out infinite 0.4s;
}

.animate-stream-particle-more-delayed {
    animation: stream-particle 2s ease-out infinite 0.8s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

@keyframes stream-particle {
    0% {
        transform: translateX(0) scale(0);
        opacity: 0;
    }

    20% {
        transform: translateX(20px) scale(1);
        opacity: 1;
    }

    80% {
        transform: translateX(120px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(150px) scale(0);
        opacity: 0;
    }
}

/* ─── Fresh Picks Feature ─── */
#fresh-picks-visualizer {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transform: scale(0.7);
}

.fp-perspective {
    perspective: 2000px;
    transform-style: preserve-3d;
}

.fp-card-3d {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* Hide last two cards on mobile */
@media (max-width: 639px) {

    #fp-card-2,
    #fp-card-3 {
        display: none;
    }
}

.fp-flipping {
    transform: rotateY(90deg) scale(0.8) translateZ(-100px);
    opacity: 0;
    filter: brightness(2) blur(10px);
}

.fp-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: fp-grid-move 30s linear infinite;
}

.fp-glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}


@keyframes fp-float {

    0%,
    100% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-20px) rotateX(-2deg) rotateY(2deg);
    }
}

@keyframes fp-float-delayed {

    0%,
    100% {
        transform: translateY(0px) rotateX(-2deg) rotateY(2deg);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-2deg);
    }
}

@keyframes fp-pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 50px 10px rgba(16, 185, 129, 0.4);
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes fp-pulse-flash {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ─── Viewport-Based Animation Control ─── */
header:not(.in-view) *,
section:not(.in-view) *,
footer:not(.in-view) * {
    animation-play-state: paused !important;
}

/* ─── Ultimate Library Visualization ─── */
.ul-viz-container {
    position: relative;
    width: 100%;
    min-height: 640px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Sheen Animation */
.card-sheen {
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.25) 25%, transparent 30%);
    background-size: 200% 200%;
    transition: background-position 0.8s ease-out;
    background-position: 150% 150%;
}

.group:hover .card-sheen {
    background-position: -50% -50%;
}

/* Card Entrance Animation */
@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(1rem);
    }

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

.animate-card {
    animation: cardEnter 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ═══════════════════════════════  FEATURE OVERVIEW  ═══════ */
.feat-overview {
    padding: calc(var(--gap) * 1.4) 0 calc(var(--gap) * .7);
    position: relative;
    scroll-snap-align: start;
}

.overview-head {
    max-width: 680px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.overview-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(129 140 248 / .25);
    padding: .45rem 1.05rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.overview-eyebrow svg {
    width: 14px;
    height: 14px;
}

.overview-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important;
}

.overview-head p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

.ov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
}

.ov-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.05rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    text-decoration: none;
    position: relative;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .3s, background .3s, box-shadow .3s;
}

.ov-item:hover {
    transform: translateY(-3px);
    border-color: rgba(129 140 248 / .45);
    background: rgba(129 140 248 / .07);
    box-shadow: 0 12px 32px rgba(0 0 0 / .35), 0 0 0 1px rgba(129 140 248 / .1);
}

.ov-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .8rem;
    color: var(--text-dim);
    opacity: .65;
    min-width: 1.5rem;
    transition: color .3s, opacity .3s;
}

.ov-item:hover .ov-num {
    color: var(--primary);
    opacity: 1;
}

.ov-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 12px;
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid rgba(129 140 248 / .2);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.ov-icon svg {
    width: 20px;
    height: 20px;
}

.ov-item:hover .ov-icon {
    transform: scale(1.1) rotate(-4deg);
}

.ov-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.ov-text strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-bright);
    letter-spacing: -.01em;
}

.ov-desc {
    font-size: .85rem;
    color: var(--text-dim);
    line-height: 1.45;
}

.ov-arrow {
    width: 18px;
    height: 18px;
    flex: none;
    margin-left: auto;
    color: var(--primary);
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity .25s, transform .25s;
}

.ov-item:hover .ov-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.ov-item-new .ov-icon {
    background: var(--magic-dim);
    color: var(--magic);
    border-color: rgba(167 139 250 / .25);
}

.ov-item-new .ov-num {
    color: var(--magic);
    opacity: 1;
}

.ov-item-new::after {
    content: 'NEW';
    position: absolute;
    top: .55rem;
    right: .7rem;
    font-family: var(--font-display);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--magic);
    background: var(--magic-dim);
    border: 1px solid rgba(167 139 250 / .3);
    padding: .18rem .5rem;
    border-radius: 100px;
}

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

/* ═══════════════════════════════  FRANCHISE HUBS (09)  ═══════ */
.fh-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.5rem;
}

.fh-type-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: .5rem 1rem;
    border-radius: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: color .25s, border-color .25s, transform .25s;
}

.fh-type-chip:hover {
    color: var(--text-bright);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.fh-type-chip svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.fh-viz {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 28% 18%, rgba(129 140 248 / .09), transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(167 139 250 / .07), transparent 50%),
        #0a0b12;
    border: 1px solid var(--border);
    padding: 2.75rem 2rem 3.25rem;
}

.fh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.fh-glow-a {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
    background: rgba(129 140 248 / .16);
    animation: fh-drift 14s ease-in-out infinite;
}

.fh-glow-b {
    width: 380px;
    height: 380px;
    bottom: -140px;
    left: -100px;
    background: rgba(167 139 250 / .13);
    animation: fh-drift 18s ease-in-out infinite reverse;
}

@keyframes fh-drift {

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

    50% {
        transform: translate(-30px, 24px) scale(1.08);
    }
}

.fh-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255 255 255 / .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255 255 255 / .035) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}

.fh-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 470px;
}

.fh-card-inner {
    background: rgba(13 14 22 / .88);
    border: 1px solid rgba(255 255 255 / .09);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: 0 30px 80px rgba(0 0 0 / .55);
    backdrop-filter: blur(14px);
    transition: opacity .45s ease, transform .45s ease;
}

.fh-card-inner.fh-swapping {
    opacity: 0;
    transform: translateY(12px) scale(.98);
}

.fh-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.fh-emblem {
    width: 56px;
    height: 56px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(129 140 248 / .35);
    transition: box-shadow .5s;
}

.fh-emblem svg {
    width: 28px;
    height: 28px;
}

.fh-heading {
    min-width: 0;
}

.fh-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(129 140 248 / .25);
    padding: .25rem .65rem;
    border-radius: 100px;
    margin-bottom: .45rem;
}

.fh-badge svg {
    width: 11px;
    height: 11px;
}

.fh-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text-bright);
    letter-spacing: -.01em;
    line-height: 1.1;
    margin: 0;
}

.fh-meta {
    font-size: .8rem;
    color: var(--text-dim);
    margin: .3rem 0 0;
}

.fh-lanes {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.fh-lane {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .55rem .7rem;
    border-radius: 14px;
    background: rgba(255 255 255 / .03);
    border: 1px solid rgba(255 255 255 / .05);
    transition: border-color .3s, background .3s;
}

.fh-lane:hover {
    border-color: rgba(129 140 248 / .3);
    background: rgba(129 140 248 / .05);
}

.fh-lane-label {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 88px;
    flex: none;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.fh-lane-label svg {
    width: 14px;
    height: 14px;
}

.fh-chips {
    display: flex;
    gap: .5rem;
    flex: 1;
    min-width: 0;
}

.fh-chip {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex: 1;
    min-width: 0;
    padding: .35rem .55rem .35rem .4rem;
    border-radius: 10px;
    background: rgba(0 0 0 / .35);
    border: 1px solid rgba(255 255 255 / .06);
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .25s;
}

.fh-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255 255 255 / .2);
}

.fh-chip-cover {
    width: 26px;
    height: 38px;
    flex: none;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0 0 0 / .4);
    position: relative;
    overflow: hidden;
}

.fh-chip-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255 255 255 / .3), transparent 45%);
}

.fh-chip-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-chip-title {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fh-chip-year {
    font-size: .62rem;
    color: var(--text-dim);
}

.fh-dots {
    position: absolute;
    bottom: 1.15rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .45rem;
    z-index: 20;
}

.fh-dot {
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: rgba(255 255 255 / .18);
    transition: width .35s cubic-bezier(.16, 1, .3, 1), background .35s;
}

.fh-dot.active {
    width: 20px;
    background: var(--primary);
}

@media (max-width: 640px) {
    .fh-viz {
        min-height: 0;
        padding: 1.75rem 1rem 2.5rem;
    }

    .fh-lane-label {
        min-width: 72px;
    }

    .fh-chip-title {
        font-size: .64rem;
    }
}

/* ═══════════════════════════════  STATS STRIP  ═══════ */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(129 140 248 / .04), transparent);
    padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-bright), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: .8rem;
    color: var(--text-dim);
    letter-spacing: .02em;
}

@media (max-width: 640px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.5rem;
    }
}

/* ═══════════════════════════════  LIVE LINKS  ═══════ */
.feat-live-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid rgba(129 140 248 / .35);
    padding-bottom: 2px;
    transition: color .25s, border-color .25s;
}

.feat-live-link i,
.feat-live-link svg {
    width: 15px;
    height: 15px;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.feat-live-link:hover {
    color: var(--text-bright);
    border-color: var(--text-bright);
}

.feat-live-link:hover i,
.feat-live-link:hover svg {
    transform: translate(2px, -2px);
}

/* ═══════════════════════════════  REVIEWS VIZ (feat-9)  ═══════ */
.rv-viz {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rv-glow {
    position: absolute;
    inset: -10% -5%;
    background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(251 191 36 / .12), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(129 140 248 / .14), transparent 70%);
    pointer-events: none;
}

.rv-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    backdrop-filter: blur(12px);
}

.rv-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .8rem;
    flex-wrap: wrap;
}

.rv-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dim), var(--magic-dim));
    border: 1px solid rgba(129 140 248 / .3);
    color: var(--primary);
    flex-shrink: 0;
}

.rv-avatar i,
.rv-avatar svg {
    width: 18px;
    height: 18px;
}

.rv-author {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-right: auto;
}

.rv-author strong {
    font-size: .85rem;
    color: var(--text-bright);
}

.rv-stars {
    display: flex;
    gap: 2px;
}

.rv-star {
    width: 13px;
    height: 13px;
    color: rgba(255 255 255 / .15);
}

.rv-star.filled {
    color: #fbbf24;
    fill: currentColor;
}

.rv-media-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-dim);
    background: rgba(255 255 255 / .05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .3rem .7rem;
}

.rv-media-chip i,
.rv-media-chip svg {
    width: 12px;
    height: 12px;
    color: var(--secondary);
}

.rv-text {
    font-size: .92rem;
    line-height: 1.65;
    color: var(--text-dim);
    font-style: italic;
}

.rv-scores {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    backdrop-filter: blur(12px);
}

.rv-score-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .9rem;
}

.rv-score-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-dim);
    min-width: 108px;
}

.rv-score-label i,
.rv-score-label svg {
    width: 13px;
    height: 13px;
}

.rv-bar {
    height: 6px;
    border-radius: 100px;
    background: rgba(255 255 255 / .07);
    overflow: hidden;
}

.rv-bar-fill {
    height: 100%;
    border-radius: 100px;
    transform-origin: left;
    animation: rv-bar-grow 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

.rv-bar-fill.critic {
    background: linear-gradient(90deg, var(--primary), var(--magic));
}

.rv-bar-fill.community {
    background: linear-gradient(90deg, var(--secondary), #fb7185);
    animation-delay: .2s;
}

@keyframes rv-bar-grow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.rv-score-num {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-bright);
    min-width: 30px;
    text-align: right;
}

@media (max-width: 640px) {
    .rv-score-label {
        min-width: 88px;
    }
}

/* ═══════════════════════════════  SOCIAL COLLECTIONS VIZ (feat-11)  ═══════ */
.sc-viz {
    position: relative;
    width: 100%;
}

.sc-glow {
    position: absolute;
    inset: -10% -5%;
    background: radial-gradient(ellipse 55% 45% at 70% 25%, rgba(167 139 250 / .14), transparent 70%),
        radial-gradient(ellipse 45% 40% at 20% 85%, rgba(34 211 238 / .1), transparent 70%);
    pointer-events: none;
}

.sc-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sc-head-text {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--magic);
    background: var(--magic-dim);
    border: 1px solid rgba(167 139 250 / .3);
    border-radius: 100px;
    padding: .25rem .65rem;
}

.sc-badge i,
.sc-badge svg {
    width: 11px;
    height: 11px;
}

.sc-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
}

.sc-avatars {
    display: flex;
    align-items: center;
}

.sc-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg);
    margin-left: -8px;
}

.sc-avatar:first-child {
    margin-left: 0;
}

.sc-avatar.a1 {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.sc-avatar.a2 {
    background: linear-gradient(135deg, #06b6d4, #0e7490);
}

.sc-avatar.a3 {
    background: linear-gradient(135deg, #d946ef, #a21caf);
}

.sc-avatar.more {
    background: rgba(255 255 255 / .1);
    color: var(--text-dim);
    font-size: .62rem;
}

.sc-avatar.xs {
    width: 16px;
    height: 16px;
    font-size: .5rem;
    border-width: 1px;
    margin-left: 0;
    vertical-align: middle;
}

.sc-avatar.sm {
    width: 26px;
    height: 26px;
    font-size: .62rem;
    margin-left: 0;
    flex-shrink: 0;
}

.sc-items {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.sc-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem .65rem;
    border-radius: var(--radius-xs);
    background: rgba(255 255 255 / .03);
    border: 1px solid rgba(255 255 255 / .05);
    transition: background .25s, transform .25s;
}

.sc-item:hover {
    background: rgba(255 255 255 / .06);
    transform: translateX(4px);
}

.sc-cover {
    width: 34px;
    height: 46px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0 0 0 / .4);
}

.sc-item-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.sc-item-text strong {
    font-size: .85rem;
    color: var(--text-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-added {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    color: var(--text-dim);
}

.sc-comment {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .75rem .9rem;
    border-radius: var(--radius-sm);
    background: rgba(6 182 212 / .06);
    border: 1px solid rgba(6 182 212 / .15);
}

.sc-comment p {
    font-size: .82rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.55;
}

/* ═══════════════════════════════  NOTIFICATIONS VIZ (feat-8)  ═══════ */
.nt-viz {
    position: relative;
    width: 100%;
}

.nt-glow {
    position: absolute;
    inset: -10% -5%;
    background: radial-gradient(ellipse 55% 45% at 50% 15%, rgba(52 211 153 / .1), transparent 70%),
        radial-gradient(ellipse 50% 45% at 60% 90%, rgba(129 140 248 / .12), transparent 70%);
    pointer-events: none;
}

.nt-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nt-toast {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: rgba(20 20 28 / .9);
    border: 1px solid rgba(255 255 255 / .1);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    box-shadow: 0 16px 40px rgba(0 0 0 / .5);
    backdrop-filter: blur(16px);
    transition: opacity .3s, transform .3s;
}

.nt-toast.nt-swap {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
}

.nt-app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    color: #fff;
    flex-shrink: 0;
}

.nt-app-icon i,
.nt-app-icon svg {
    width: 18px;
    height: 18px;
}

.nt-toast-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
    flex: 1;
}

.nt-toast-text strong {
    font-size: .82rem;
    color: var(--text-bright);
}

.nt-toast-text span {
    font-size: .75rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-time {
    font-size: .65rem;
    color: var(--text-dim);
    align-self: flex-start;
    flex-shrink: 0;
}

.nt-digest {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.nt-digest-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--border);
}

.nt-digest-head i,
.nt-digest-head svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

.nt-digest-head strong {
    font-family: var(--font-display);
    font-size: .92rem;
    color: var(--text-bright);
    margin-right: auto;
}

.nt-digest-chip {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(52 211 153 / .12);
    border: 1px solid rgba(52 211 153 / .25);
    border-radius: 100px;
    padding: .2rem .55rem;
}

.nt-digest-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
}

.nt-digest-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nt-digest-dot.movie {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245 158 11 / .6);
}

.nt-digest-dot.game {
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167 139 250 / .6);
}

.nt-digest-dot.book {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52 211 153 / .6);
}

.nt-digest-name {
    color: var(--text-dim);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-digest-date {
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-bright);
    background: rgba(255 255 255 / .06);
    border-radius: 6px;
    padding: .15rem .45rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════  PRICING  ═══════ */
.pricing-band {
    padding: calc(var(--gap) * 1.5) 0;
    position: relative;
    scroll-snap-align: start;
}

.pr-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.pr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(129 140 248 / .25);
    border-radius: 100px;
    padding: .4rem .9rem;
    margin-bottom: 1.25rem;
}

.pr-eyebrow i,
.pr-eyebrow svg {
    width: 14px;
    height: 14px;
}

.pr-head p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.6rem;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}

.pr-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255 255 255 / .16);
}

.pr-card.featured {
    border-color: rgba(129 140 248 / .45);
    background: linear-gradient(160deg, rgba(129 140 248 / .1), rgba(167 139 250 / .04) 60%, var(--bg-glass));
    box-shadow: 0 20px 60px rgba(99 102 241 / .15);
}

.pr-card.featured:hover {
    border-color: rgba(129 140 248 / .7);
}

.pr-card.ultra:hover {
    border-color: rgba(234 179 8 / .5);
}

.pr-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    border-radius: 100px;
    padding: .35rem .85rem;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(129 140 248 / .4);
}

.pr-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.pr-card.featured .pr-name {
    color: var(--primary);
}

.pr-card.ultra .pr-name {
    color: #eab308;
}

.pr-price {
    display: flex;
    align-items: baseline;
    gap: .55rem;
}

.pr-price strong {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-bright);
    letter-spacing: -.02em;
}

.pr-price span {
    font-size: .8rem;
    color: var(--text-dim);
}

.pr-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pr-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    color: var(--text-dim);
}

.pr-list li i,
.pr-list li svg {
    width: 16px;
    height: 16px;
    color: #34d399;
    flex-shrink: 0;
}

.pr-btn {
    width: 100%;
    justify-content: center;
    margin-top: .5rem;
}

@media (max-width: 900px) {
    .pr-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .pr-card.featured {
        order: -1;
    }
}

/* ═══════════════════════════════  NEWSLETTER  ═══════ */
.newsletter-band {
    padding: 0 0 calc(var(--gap) * 1.5);
    scroll-snap-align: start;
}

.nl-card {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.25rem);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(52 211 153 / .06), rgba(129 140 248 / .06) 55%, var(--bg-glass));
    border: 1px solid rgba(129 140 248 / .18);
}

.nl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--magic));
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(129 140 248 / .35);
}

.nl-icon i,
.nl-icon svg {
    width: 26px;
    height: 26px;
}

.nl-card h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    margin-bottom: .6rem;
}

.nl-sub {
    color: var(--text-dim);
    font-size: .98rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

.nl-form {
    display: flex;
    gap: .65rem;
    max-width: 480px;
    margin: 0 auto;
}

.nl-form input[type="email"] {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: .92rem;
    color: var(--text-bright);
    background: rgba(255 255 255 / .05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .8rem 1.1rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}

.nl-form input[type="email"]::placeholder {
    color: rgba(148 163 184 / .6);
}

.nl-form input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(129 140 248 / .18);
}

/* Honeypot — visually hidden, present in DOM for bots */
.nl-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nl-form.loading #nl-submit {
    opacity: .6;
    cursor: wait;
}

.nl-status {
    min-height: 1.4rem;
    margin: .9rem 0 0;
    font-size: .85rem;
    color: var(--text-dim);
}

.nl-status.success {
    color: #34d399;
}

.nl-status.error {
    color: #fb7185;
}

@media (max-width: 560px) {
    .nl-form {
        flex-direction: column;
    }

    .nl-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════  FOOTER LINKS  ═══════ */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.1rem, 3vw, 2.25rem);
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color .25s;
}

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

.footer-lang {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
}

.footer-lang a {
    color: var(--text-dim);
    transition: color .25s;
}

.footer-lang a:hover {
    color: var(--primary);
}

.footer-lang-sep {
    color: rgba(148 163 184 / .4);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: .9rem;
        text-align: center;
    }
}

/* ─── Accessibility ─── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════  CHANGELOG PAGE  ═══════ */
.cl-page {
    padding: 150px 0 5rem;
    min-height: 70vh;
}

.cl-head {
    max-width: 640px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cl-head h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--text-bright);
    margin: 1rem 0 .8rem;
}

.cl-head p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cl-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2rem;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    border-left: 1px solid var(--border);
}

.cl-entry {
    position: relative;
}

.cl-entry::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 5.5px);
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(129 140 248 / .18), 0 0 12px rgba(129 140 248 / .5);
}

.cl-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .45rem;
}

.cl-date {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.cl-tag {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(129 140 248 / .25);
    border-radius: 100px;
    padding: .2rem .6rem;
}

.cl-entry-title {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem) !important;
    margin-bottom: .5rem;
}

.cl-entry p {
    color: var(--text-dim);
    font-size: .95rem;
    line-height: 1.75;
    max-width: 60ch;
}

.cl-back {
    margin-top: 3.5rem;
}

.cl-back a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary);
    transition: color .25s;
}

.cl-back a i,
.cl-back a svg {
    width: 16px;
    height: 16px;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.cl-back a:hover {
    color: var(--text-bright);
}

.cl-back a:hover i,
.cl-back a:hover svg {
    transform: translateX(-3px);
}

@media (max-width: 640px) {
    .cl-page {
        padding-top: 120px;
    }

    .cl-timeline {
        padding-left: 1.4rem;
    }

    .cl-entry::before {
        left: calc(-1.4rem - 5.5px);
    }
}

/* Compact footer variant (changelog & subpages) */
.footer.footer-compact {
    min-height: 0;
    padding: 3rem 0 2.25rem;
    scroll-snap-align: none;
}
