/* Prisma-style scroll experience — Phantom monochrome */

.page-landing-cinematic .mesh-blob {
    opacity: 0.22 !important;
    visibility: visible;
    filter: blur(40px);
}

.page-landing-cinematic .landing-aurora {
    opacity: 0.5 !important;
    visibility: visible;
}

.page-landing-cinematic .landing-scanline {
    opacity: 0.28 !important;
    visibility: visible;
}

.page-landing-cinematic .fade-grid,
.page-landing-cinematic .fade-grid-bottom {
    opacity: 0.35 !important;
    visibility: visible;
}

.page-landing-cinematic .bg-base-glow {
    background:
        radial-gradient(ellipse 90% 60% at var(--spot-x, 50%) var(--spot-y, 40%), rgba(255, 255, 255, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(148, 163, 184, 0.06) 0%, transparent 60%);
}

.page-landing-cinematic .landing-particles {
    opacity: 1;
}

.page-landing-cinematic .landing-hero--3d {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.landing-nav {
    z-index: 50;
}

.landing-marquee {
    position: relative;
    z-index: 12;
    margin: -24px 0 8px;
}

/* ── Hero + 3D particle panel ── */
.landing-hero--3d {
    position: relative;
    z-index: 10;
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.landing-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: center;
    gap: clamp(28px, 5vw, 56px);
}

.landing-hero-content {
    text-align: left;
}

.landing-hero-content .landing-hero-badge {
    margin-bottom: 24px;
}

.landing-hero-content h1 {
    text-align: left;
    margin-bottom: 18px;
}

.landing-hero-content p {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 32px;
    max-width: 34rem;
}

.landing-hero-title-stack {
    display: block;
    position: relative;
    transform-style: preserve-3d;
    perspective: 800px;
}

.landing-hero-title-layer {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: inherit;
    line-height: 1.05;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.landing-hero-title-layer--deep {
    color: rgba(0, 0, 0, 0.55);
    transform: translate3d(4px, 6px, -28px) scale(1.01);
    filter: blur(1px);
}

.landing-hero-title-layer--mid {
    color: rgba(148, 163, 184, 0.35);
    transform: translate3d(2px, 3px, -14px);
}

.landing-hero-title-gradient {
    display: block;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #64748b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
    animation: landing-title-shimmer 5s ease-in-out infinite;
}

@keyframes landing-title-shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

.landing-hero-scene-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--panel-size, 320px);
}

.phantom-hero-warp {
    position: absolute;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -5%;
    pointer-events: none;
    opacity: 0.32;
    mix-blend-mode: screen;
    z-index: 0;
}

.phantom-hero-shards span {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform-style: preserve-3d;
    animation: phantom-shard-float 7s ease-in-out infinite;
}

.phantom-hero-shards span:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; }
.phantom-hero-shards span:nth-child(2) { right: 6%; top: 22%; animation-delay: -1.2s; width: 14px; height: 6px; }
.phantom-hero-shards span:nth-child(3) { left: 14%; bottom: 12%; animation-delay: -2.4s; }
.phantom-hero-shards span:nth-child(4) { right: 18%; bottom: 20%; animation-delay: -3.1s; width: 8px; height: 16px; }
.phantom-hero-shards span:nth-child(5) { left: 42%; top: 4%; animation-delay: -4s; }
.phantom-hero-shards span:nth-child(6) { right: 38%; bottom: 6%; animation-delay: -5.2s; }

@keyframes phantom-shard-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(35deg) rotateY(45deg);
        opacity: 0.35;
    }
    50% {
        transform: translate3d(8px, -14px, 24px) rotateX(55deg) rotateY(75deg);
        opacity: 0.85;
    }
}

.landing-hero-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.landing-hero-hint {
    margin-top: 14px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.phantom-3d-viewport {
    --panel-size: clamp(260px, 34vw, 420px);
    --panel-half: calc(var(--panel-size) / 2);
    --panel-depth: clamp(72px, 11vw, 108px);
    position: relative;
    z-index: 2;
    perspective: 1400px;
    perspective-origin: 50% 42%;
    width: var(--panel-size);
    height: var(--panel-size);
    touch-action: none;
    cursor: grab;
    overflow: visible;
}

.phantom-3d-viewport:active {
    cursor: grabbing;
}

.phantom-3d-world {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(-16deg) rotateY(22deg);
    will-change: transform;
    animation: phantom-world-breathe 6s ease-in-out infinite;
}

@keyframes phantom-world-breathe {
    0%, 100% { filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.5)); }
    50% { filter: drop-shadow(0 36px 70px rgba(255, 255, 255, 0.08)); }
}

.phantom-3d-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--panel-size) * 1.15);
    height: calc(var(--panel-size) * 1.15);
    margin: calc(var(--panel-size) * -0.575) 0 0 calc(var(--panel-size) * -0.575);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform-style: preserve-3d;
    pointer-events: none;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.04);
    opacity: 0.55;
}

.phantom-3d-orbit--a {
    transform: rotateX(72deg) rotateZ(0deg) translateZ(calc(var(--panel-depth) * -1.2));
    animation: phantom-orbit-spin 14s linear infinite;
}

.phantom-3d-orbit--b {
    width: calc(var(--panel-size) * 1.35);
    height: calc(var(--panel-size) * 1.35);
    margin: calc(var(--panel-size) * -0.675) 0 0 calc(var(--panel-size) * -0.675);
    border-color: rgba(148, 163, 184, 0.2);
    transform: rotateX(58deg) rotateY(32deg) translateZ(calc(var(--panel-depth) * -1.5));
    animation: phantom-orbit-spin-b 22s linear infinite reverse;
}

.phantom-3d-orbit--c {
    width: calc(var(--panel-size) * 0.92);
    height: calc(var(--panel-size) * 0.92);
    margin: calc(var(--panel-size) * -0.46) 0 0 calc(var(--panel-size) * -0.46);
    border-style: dashed;
    opacity: 0.65;
    transform: rotateX(88deg) translateZ(calc(var(--panel-depth) * -0.8));
    animation: phantom-orbit-spin-c 9s linear infinite;
}

@keyframes phantom-orbit-spin {
    to { transform: rotateX(72deg) rotateZ(360deg) translateZ(calc(var(--panel-depth) * -1.2)); }
}

@keyframes phantom-orbit-spin-b {
    to { transform: rotateX(58deg) rotateY(32deg) rotateZ(-360deg) translateZ(calc(var(--panel-depth) * -1.5)); }
}

@keyframes phantom-orbit-spin-c {
    to { transform: rotateX(88deg) rotateZ(360deg) translateZ(calc(var(--panel-depth) * -0.8)); }
}

.phantom-3d-core-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    height: 40%;
    margin: -20% 0 0 -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    transform: translateZ(-20px);
    animation: phantom-core-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes phantom-core-pulse {
    0%, 100% { opacity: 0.35; transform: translateZ(-20px) scale(0.9); }
    50% { opacity: 0.75; transform: translateZ(-10px) scale(1.15); }
}

.phantom-3d-panel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.phantom-3d-face {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.phantom-3d-face--front {
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    transform: translateZ(calc(var(--panel-depth) / 2));
    transform-style: preserve-3d;
    background: radial-gradient(ellipse 80% 80% at 50% 45%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.45));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(255, 255, 255, 0.04);
    animation: phantom-face-edge 4s ease-in-out infinite;
}

@keyframes phantom-face-edge {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 255, 255, 0.03); }
    50% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 255, 255, 0.12); }
}

.phantom-3d-face--back {
    inset: 0;
    border-radius: 18px;
    transform: rotateY(180deg) translateZ(calc(var(--panel-depth) / 2));
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(145deg, rgba(40, 44, 58, 0.9), rgba(0, 0, 0, 0.65));
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.phantom-3d-face--right,
.phantom-3d-face--left {
    top: 0;
    left: 50%;
    width: var(--panel-depth);
    height: 100%;
    margin-left: calc(var(--panel-depth) / -2);
    border-radius: 6px;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.2),
            rgba(90, 98, 120, 0.12) 45%,
            rgba(0, 0, 0, 0.4)
        );
    box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.06);
}

.phantom-3d-face--right {
    transform: rotateY(90deg) translateZ(var(--panel-half));
}

.phantom-3d-face--left {
    transform: rotateY(-90deg) translateZ(var(--panel-half));
}

.phantom-3d-face--top,
.phantom-3d-face--bottom {
    top: 50%;
    left: 0;
    width: 100%;
    height: var(--panel-depth);
    margin-top: calc(var(--panel-depth) / -2);
    border-radius: 6px;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.3)
        );
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.phantom-3d-face--top {
    transform: rotateX(90deg) translateZ(var(--panel-half));
}

.phantom-3d-face--bottom {
    transform: rotateX(-90deg) translateZ(var(--panel-half));
}

/* Particle dust on cube sides (matches front canvas look) */
.phantom-3d-face--back::after,
.phantom-3d-face--right::after,
.phantom-3d-face--left::after,
.phantom-3d-face--top::after,
.phantom-3d-face--bottom::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.85) 0.45px, transparent 0.55px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.65) 0.4px, transparent 0.5px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.5) 0.35px, transparent 0.45px);
    background-size: 5px 5px, 7px 7px, 4px 4px;
    mix-blend-mode: screen;
}

.phantom-particle-logo--card {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: translate(-50%, -50%) translateZ(36px);
    transform-style: preserve-3d;
    z-index: 3;
    pointer-events: none;
}

.phantom-particle-logo--card .brand-mark--lg {
    width: 96px;
    height: 96px;
}

@media (max-width: 960px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
    }

    .landing-hero-content {
        text-align: center;
    }

    .landing-hero-content h1,
    .landing-hero-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero-actions {
        justify-content: center;
    }
}

/* ── Full scroll scene (liquid glass stack) ── */
.page-landing {
    scroll-behavior: smooth;
}

.prisma-scroll {
    position: relative;
    z-index: 10;
    height: 720vh;
}

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

.prisma-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 82% 68% at 50% 46%, transparent 55%, rgba(0, 0, 0, 0.22) 100%);
}

.prisma-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: prisma-orb-drift 14s ease-in-out infinite;
}

.prisma-orb--a {
    width: 280px;
    height: 280px;
    top: 18%;
    left: 12%;
    background: rgba(255, 255, 255, 0.08);
}

.prisma-orb--b {
    width: 320px;
    height: 320px;
    bottom: 10%;
    right: 8%;
    background: rgba(148, 163, 184, 0.12);
    animation-delay: -6s;
    animation-duration: 18s;
}

.prisma-orb--c {
    width: 200px;
    height: 200px;
    top: 42%;
    left: 58%;
    background: rgba(255, 255, 255, 0.06);
    animation-delay: -3s;
    animation-duration: 11s;
    opacity: 0.25;
}

.prisma-scroll-floor {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%) rotateX(78deg) translateZ(-120px);
    transform-origin: center center;
    opacity: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 55% 45% at 50% 50%, #000 20%, transparent 72%);
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 0;
}

.prisma-scroll-beams {
    position: absolute;
    inset: -20%;
    background:
        conic-gradient(from 210deg at 50% 40%, transparent 0deg, rgba(255, 255, 255, 0.04) 25deg, transparent 55deg),
        conic-gradient(from 20deg at 48% 55%, transparent 0deg, rgba(148, 163, 184, 0.05) 18deg, transparent 42deg);
    animation: prisma-beams-spin 28s linear infinite;
    opacity: 0.7;
}

@keyframes prisma-beams-spin {
    to { transform: rotate(360deg); }
}

.prisma-scroll-rail {
    position: absolute;
    right: max(16px, calc((100vw - 1100px) / 2));
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: min(42vh, 320px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    z-index: 6;
    overflow: hidden;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.06);
}

.prisma-scroll-rail-fill {
    display: block;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.95));
    border-radius: inherit;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.prisma-scroll-counter {
    position: absolute;
    top: 22px;
    right: max(24px, calc((100vw - 1100px) / 2 + 24px));
    z-index: 6;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.prisma-scroll-counter-sep,
.prisma-scroll-counter-total {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

.prisma-scroll-chips {
    position: absolute;
    top: 22px;
    left: max(24px, calc((100vw - 1100px) / 2 + 24px));
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 6;
    max-width: 280px;
}

.prisma-scroll-chips span {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(203, 213, 225, 0.9);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.prisma-scroll-chips span.is-active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.prisma-card-bullets {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.prisma-card-bullets li {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.85);
}

.prisma-card-bullets li::before {
    content: '▸ ';
    color: rgba(255, 255, 255, 0.45);
}

@keyframes prisma-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(24px, -18px) scale(1.08); }
}

.prisma-scroll-kicker {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
    opacity: 0;
    will-change: opacity, transform;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
}

.prisma-scroll-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    perspective: 1600px;
    perspective-origin: 50% 38%;
}

.prisma-scroll-pin::before {
    content: '';
    position: absolute;
    inset: 8% 6%;
    border-radius: 28px;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(120, 140, 180, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -20px 50px rgba(0, 0, 0, 0.1),
        0 40px 100px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(28px) saturate(1.35);
    -webkit-backdrop-filter: blur(28px) saturate(1.35);
    opacity: 0.75;
}

.prisma-scroll-3d-frame {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(520px, 92vw);
    height: min(520px, 72vh);
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    will-change: transform, opacity;
}

.prisma-scroll-spotlight {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) translateZ(-80px);
    background: radial-gradient(ellipse 50% 42% at 50% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
    filter: blur(8px);
}

.prisma-scroll-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 24px rgba(255, 255, 255, 0.06),
        inset 0 0 20px rgba(255, 255, 255, 0.04);
    transform-style: preserve-3d;
}

.prisma-scroll-ring--a {
    width: 105%;
    height: 105%;
    margin: -52.5% 0 0 -52.5%;
    transform: rotateX(72deg) translateZ(-40px);
}

.prisma-scroll-ring--b {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    transform: rotateX(72deg) rotateZ(45deg) translateZ(20px);
    border-color: rgba(255, 255, 255, 0.2);
}

.prisma-scroll-ring--c {
    width: 72%;
    height: 72%;
    margin: -36% 0 0 -36%;
    transform: rotateY(68deg) translateZ(60px);
    border-style: dashed;
    opacity: 0.65;
}

.prisma-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, 78vw);
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    will-change: transform, opacity;
    z-index: 4;
    pointer-events: none;
}

.prisma-logo-tilt {
    width: 100%;
    transform-style: preserve-3d;
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.phantom-particle-stage--scroll-tile {
    aspect-ratio: 1 / 1;
    min-height: 280px;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
    clip-path: inset(0 round 22px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(168deg, rgba(22, 26, 38, 0.92) 0%, rgba(10, 12, 18, 0.88) 55%, rgba(6, 8, 14, 0.94) 100%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -16px 36px rgba(0, 0, 0, 0.35);
}

.phantom-particle-stage--scroll-tile .prisma-tile-grain {
    display: none;
}

.phantom-particle-stage--scroll-tile #phantom-logo-particles {
    mask-image: radial-gradient(ellipse 90% 72% at 50% 44%, #000 50%, transparent 92%);
    -webkit-mask-image: radial-gradient(ellipse 90% 72% at 50% 44%, #000 50%, transparent 92%);
}

.prisma-tile-grain {
    position: absolute;
    inset: -20%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 0.5px, transparent 0.6px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.7) 0.45px, transparent 0.55px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.5) 0.4px, transparent 0.5px);
    background-size: 5px 5px, 7px 7px, 4px 4px;
    mix-blend-mode: screen;
    animation: prisma-grain-shift 1.2s steps(6) infinite;
}

@keyframes prisma-grain-shift {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -2%); }
    60% { transform: translate(-1%, 3%); }
    80% { transform: translate(3%, 1%); }
    100% { transform: translate(0, 0); }
}

.phantom-particle-logo--float {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1.05);
    transform-origin: center center;
    filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.22));
    pointer-events: none;
}

.phantom-particle-logo--float .brand-mark--lg {
    width: 100px;
    height: 100px;
}

.phantom-particle-stage--hero {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.phantom-particle-stage {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#phantom-hero-particles,
#phantom-logo-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.phantom-particle-stage--hero .phantom-particle-logo--card {
    filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.22));
}

/* --card / --float must stay absolute centered (base .phantom-particle-logo overrides below) */
.phantom-particle-stage .phantom-particle-logo--card {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%) translateZ(36px);
    transform-origin: center center;
}

.phantom-particle-logo:not(.phantom-particle-logo--card):not(.phantom-particle-logo--float) {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 48px rgba(255, 255, 255, 0.18));
    transform: scale(1.45);
}

.phantom-particle-logo:not(.phantom-particle-logo--card):not(.phantom-particle-logo--float) .brand-mark--lg {
    width: 150px;
    height: 150px;
}

.prisma-cards-stage {
    position: absolute;
    inset: 0;
    perspective: 1800px;
    perspective-origin: 50% 44%;
    transform-style: preserve-3d;
    transform-origin: 50% 46%;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
}

.prisma-card {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(420px, 92vw);
    margin-left: calc(min(420px, 92vw) / -2);
    margin-top: calc(min(420px, 92vw) * -0.12);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 45%, rgba(180, 200, 230, 0.08) 100%);
    backdrop-filter: blur(36px) saturate(1.5);
    -webkit-backdrop-filter: blur(36px) saturate(1.5);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -16px 36px rgba(255, 255, 255, 0.04);
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    opacity: 0;
    pointer-events: auto;
    overflow: hidden;
}

.prisma-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.06) 100%);
    opacity: 0.65;
    z-index: 1;
}

.prisma-card.is-focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.45),
        0 0 48px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -20px 48px rgba(255, 255, 255, 0.08);
}

.prisma-card.is-focus h3 {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.prisma-card.is-focus p,
.prisma-card.is-focus .orbit-card-tag,
.prisma-card.is-focus .prisma-card-bullets li {
    color: #e2e8f0;
}

.prisma-scroll-pin .prisma-caption {
    display: none;
}

.prisma-card-inner {
    position: relative;
    z-index: 2;
    padding: 22px 22px 20px;
    transform-style: preserve-3d;
    transform: translateZ(18px);
}

.prisma-card-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.14) 48%,
        rgba(255, 255, 255, 0.04) 52%,
        transparent 65%
    );
    transform: translateX(-120%);
    opacity: 0;
}

.prisma-card.is-focus .prisma-card-shine {
    opacity: 1;
    animation: prisma-card-glint 3.2s ease-in-out infinite;
}

@keyframes prisma-card-glint {
    0%, 55%, 100% { transform: translateX(-120%); opacity: 0; }
    65% { opacity: 1; }
    85% { transform: translateX(120%); opacity: 0.6; }
}

.prisma-card h3,
.story-slide h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.prisma-card p,
.story-slide p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.orbit-card-tag {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.orbit-card-preview {
    margin-top: 16px;
    height: 96px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(ellipse 80% 70% at 50% 35%, rgba(255, 255, 255, 0.08), transparent 65%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(12, 16, 24, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    position: relative;
    overflow: hidden;
    overflow: hidden;
}

.orbit-card-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    animation: prisma-preview-sweep 4s ease-in-out infinite;
}

@keyframes prisma-preview-sweep {
    0%, 70%, 100% { transform: translateX(-100%); }
    85% { transform: translateX(100%); }
}

.prisma-caption {
    position: absolute;
    left: max(24px, calc((100vw - 1100px) / 2 + 24px));
    bottom: 88px;
    max-width: 360px;
    padding: 18px 20px;
    z-index: 4;
    opacity: 0;
    transform: translateY(24px);
    will-change: transform, opacity;
    pointer-events: none;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(32px) saturate(1.35);
    -webkit-backdrop-filter: blur(32px) saturate(1.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 20px 50px rgba(0, 0, 0, 0.35);
}

.prisma-caption-tag {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 8px;
}

.prisma-caption-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
}

.prisma-caption-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.prisma-caption--swap {
    animation: prisma-caption-flip 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes prisma-caption-flip {
    0% {
        opacity: 0.45;
        filter: blur(4px);
    }

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

.landing-showcase-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.landing-showcase-dots--progress {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.prisma-dots-track {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
}

.prisma-dots-track span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.95));
    border-radius: inherit;
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-showcase-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.landing-showcase-dots button.active {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.prisma-scroll-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.85);
    z-index: 5;
    padding: 10px 16px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    animation: prisma-hint-pulse 2.4s ease-in-out infinite;
    transition: opacity 0.45s ease;
}

.prisma-scroll-hint-wheel {
    width: 22px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    position: relative;
}

.prisma-scroll-hint-wheel::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.75);
    animation: prisma-wheel-scroll 1.8s ease-in-out infinite;
}

@keyframes prisma-wheel-scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(10px); opacity: 0.2; }
}

@keyframes prisma-hint-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.85; }
}

.landing-features-compact {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.landing-features-compact .feature-card {
    padding: 20px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s ease;
}

.landing-features-compact .feature-card:hover {
    transform: translateY(-6px) rotateX(8deg) rotateY(-6deg) scale(1.02);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .prisma-scroll {
        height: auto;
    }

    .prisma-scroll-pin {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 100px 0 48px;
        flex-direction: column;
    }

    .prisma-logo-wrap {
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        margin-bottom: 24px;
    }

    .prisma-logo-tilt {
        transform: none !important;
    }

    .prisma-cards-stage {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 20px;
        perspective: none;
    }

    .prisma-card {
        position: relative;
        left: auto;
        top: auto;
        margin: 0;
        width: 100%;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .prisma-caption {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 20px 20px 0;
        opacity: 1;
        transform: none;
        max-width: none;
    }

    .landing-showcase-dots,
    .prisma-scroll-hint {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-top: 20px;
    }

    .prisma-scroll-rail,
    .prisma-scroll-counter,
    .prisma-scroll-chips,
    .prisma-scroll-kicker {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        margin: 12px 20px 0;
    }

    .prisma-scroll-chips {
        max-width: none;
        justify-content: center;
    }

    .prisma-scroll-floor,
    .prisma-scroll-beams {
        display: none;
    }

    .landing-features-compact {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prisma-scroll {
        height: auto;
    }

    .prisma-scroll-hint {
        animation: none;
    }
}
