/* ==========================================================================
   FITTRACK — IMMERSIVE HERO
   ========================================================================== */

.hx-hero {
    --hx-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hx-lime: #84cc16;
    --hx-lime-hi: #bef264;
    --hx-ink: #05070a;

    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: var(--hx-ink);
    color: var(--text-main, #f1f5f9);
}

/* Soft fade into the next section. */
.hx-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 12, 0), var(--bg-dark, #080a0c));
}

/* ── Stage (background depth layers) ───────────────────────────────────── */
.hx-stage {
    --mx: 66%;
    --my: 46%;
    --hx-r: 460px;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hx-stage::after {
    content: '';
    position: absolute;
    z-index: 5;
    left: var(--mx);
    top: var(--my);
    width: clamp(190px, 48vw, 360px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(163, 230, 53, .12) 0%, rgba(163, 230, 53, .04) 36%, transparent 62%),
        radial-gradient(circle, transparent 53%, rgba(190, 242, 100, .9) 53.5%, transparent 54.5%, transparent 69%, rgba(132, 204, 22, .55) 69.5%, transparent 70.5%);
    filter: drop-shadow(0 0 12px rgba(132, 204, 22, .5));
    transform: translate(-50%, -50%) scale(.22);
}

.hx-stage.is-tap-splash::after {
    animation: hxTapSplash 850ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes hxTapSplash {
    0% {
        opacity: .95;
        transform: translate(-50%, -50%) scale(.22);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.35);
    }
}

.hx-dolly,
.hx-drift {
    position: absolute;
    will-change: transform;
}

/* Oversized so pointer drift never exposes an edge. */
.hx-dolly {
    inset: -4%;
    transform-origin: 50% 56%;
}

.hx-drift {
    inset: 0;
}

.hx-photo {
    width: 100%;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: 50% 58%;
    opacity: 1;
    transform: scale(1.04);
    filter: brightness(0.92) saturate(1.15);
    transition:
        transform 2.6s var(--hx-ease),
        opacity 1.4s ease,
        filter 2.6s ease;
}

.hx-hero:not(.is-pending) .hx-photo {
    animation: hxKenBurns 30s ease-in-out 2.6s infinite alternate;
}

.hx-hero.is-pending .hx-photo {
    opacity: 0;
    transform: scale(1.18);
    filter: brightness(0.3) saturate(1);
}

/* The "flashlight": the gym stays in shadow except around the light. */
.hx-dim {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 7, 0.9);
    -webkit-mask-image: radial-gradient(circle var(--hx-r) at var(--mx) var(--my),
            transparent 0%, rgba(0, 0, 0, 0.72) 48%, #000 100%);
    mask-image: radial-gradient(circle var(--hx-r) at var(--mx) var(--my),
            transparent 0%, rgba(0, 0, 0, 0.72) 48%, #000 100%);
}

.hx-glow {
    position: absolute;
    inset: 0;
    mix-blend-mode: screen;
    background: radial-gradient(circle calc(var(--hx-r) * 0.7) at var(--mx) var(--my),
            rgba(163, 230, 53, 0.2), rgba(163, 230, 53, 0) 70%);
}

.hx-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

/* Keeps the copy readable wherever the light wanders. */
.hx-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.72) 34%, rgba(5, 7, 10, 0.1) 66%, rgba(5, 7, 10, 0) 100%),
        linear-gradient(180deg, rgba(5, 7, 10, 0.75) 0%, rgba(5, 7, 10, 0) 24%),
        radial-gradient(130% 100% at 55% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hx-grain {
    position: absolute;
    inset: -50%;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: hxGrain 0.9s steps(3) infinite;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.hx-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: clamp(112px, 15vh, 150px) 0 clamp(96px, 13vh, 140px);
}

.hx-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
}

.hx-copy {
    max-width: 640px;
    will-change: transform, opacity;
}

/* Generic entrance for copy pieces (delay via --d). */
.hx-reveal {
    transition:
        opacity 0.9s ease var(--d, 0ms),
        transform 1.1s var(--hx-ease) var(--d, 0ms);
}

.hx-hero.is-pending .hx-reveal {
    opacity: 0;
    transform: translateY(18px);
}

/* ── Eyebrow ───────────────────────────────────────────────────────────── */
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.75rem;
    padding: 0.42rem 0.95rem 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #cbd5e1;
}

.hx-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hx-lime);
    box-shadow: 0 0 10px var(--hx-lime);
    flex: none;
}

.hx-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--hx-lime);
    animation: hxPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ── Headline ──────────────────────────────────────────────────────────── */
.hx-title {
    margin: 0 0 1.6rem;
    font-size: clamp(2.4rem, 5.2vw + 0.5rem, 4.6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #fff;
    font-feature-settings: 'ss01', 'cv11', 'calt';
    text-wrap: balance;
}

/* Each line is a mask; its inner text slides up into view. */
.hx-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.hx-line-accent {
    white-space: nowrap;
}

.hx-line-inner {
    display: block;
    transition: transform 1.15s var(--hx-ease);
    transition-delay: calc(var(--i, 0) * 110ms + 250ms);
}

.hx-hero.is-pending .hx-line-inner {
    transform: translateY(112%);
}

/* Rotating verb — words share one grid cell; JS animates the width. */
.hx-rotator {
    position: relative;
    display: inline-grid;
    overflow: hidden;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
    transition: width 0.7s var(--hx-ease);
}

.hx-word {
    grid-area: 1 / 1;
    justify-self: start;
    white-space: nowrap;
    padding-right: 0.04em;
    background: linear-gradient(100deg, #ecfccb 0%, var(--hx-lime-hi) 30%, var(--hx-lime) 70%, #65a30d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(100%);
    filter: blur(8px) drop-shadow(0 0 28px rgba(132, 204, 22, 0.35));
    transition:
        transform 0.75s var(--hx-ease),
        opacity 0.5s ease,
        filter 0.6s ease;
}

.hx-word.is-active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0) drop-shadow(0 0 28px rgba(132, 204, 22, 0.35));
}

.hx-word.is-leaving {
    opacity: 0;
    transform: translateY(-100%);
    filter: blur(8px) drop-shadow(0 0 28px rgba(132, 204, 22, 0.35));
}

/* ── Supporting copy ───────────────────────────────────────────────────── */
.hx-sub {
    max-width: 33rem;
    margin: 0 0 2.25rem;
    font-size: clamp(1rem, 0.35vw + 0.92rem, 1.15rem);
    font-weight: 450;
    line-height: 1.65;
    color: #aab6c5;
}

.hx-sub-desktop {
    display: inline;
}

.hx-sub-mobile {
    display: none;
}

.hx-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.hx-btn {
    --tx: 0px;
    --ty: 0px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 56px;
    padding: 0 1.55rem;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transform: translate3d(var(--tx), var(--ty), 0);
    transition:
        transform 0.45s var(--hx-ease),
        box-shadow 0.35s ease,
        background-color 0.25s ease;
}

.hx-btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.hx-btn-primary {
    background: var(--hx-lime);
    color: #0b1200;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 0 0 1px rgba(190, 242, 100, 0.6),
        0 12px 32px -10px rgba(132, 204, 22, 0.7),
        0 0 70px -18px rgba(132, 204, 22, 0.65);
}

/* Periodic light sweep across the primary button. */
.hx-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: hxSheen 5s ease-in-out 3.2s infinite;
    pointer-events: none;
}

.hx-btn-primary:hover {
    background: #96dc22;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 0 1px rgba(190, 242, 100, 0.8),
        0 18px 40px -10px rgba(132, 204, 22, 0.85),
        0 0 90px -12px rgba(132, 204, 22, 0.8);
}

.hx-btn-primary .hx-btn-arrow {
    transition: transform 0.35s var(--hx-ease);
}

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

.hx-btn-ghost {
    padding-left: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hx-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hx-play {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.hx-play svg {
    width: 13px;
    height: 13px;
    margin-left: 2px;
}

.hx-btn-ghost:hover .hx-play {
    background: var(--hx-lime);
    color: #0b1200;
}

.hx-btn:focus-visible {
    outline: 2px solid var(--hx-lime-hi);
    outline-offset: 3px;
}

.hx-cues {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.35rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: #8492a6;
}

.hx-cues li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hx-cues svg {
    width: 14px;
    height: 14px;
    color: var(--hx-lime);
}

/* ── Live product HUD ──────────────────────────────────────────────────── */
.hx-hud {
    position: relative;
    height: 540px;
    perspective: 1400px;
}

.hx-float {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
    transition:
        opacity 1s ease var(--d, 0ms),
        translate 1.4s var(--hx-ease) var(--d, 0ms),
        scale 1.4s var(--hx-ease) var(--d, 0ms);
}

.hx-hero.is-pending .hx-float {
    opacity: 0;
    translate: 0 48px;
    scale: 0.95;
}

.hx-float-rev {
    --d: 900ms;
    top: 1%;
    left: 0;
    z-index: 1;
}

.hx-float-feed {
    --d: 650ms;
    top: 15%;
    right: 0;
    z-index: 2;
}

.hx-float-scan {
    --d: 1150ms;
    bottom: 3%;
    left: 6%;
    z-index: 3;
}

.hx-card {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(24, 29, 39, 0.8), rgba(12, 15, 21, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 30px 80px -24px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    color: #e2e8f0;
    animation: hxBob 7s ease-in-out infinite;
}

.hx-float-rev .hx-card {
    animation-duration: 8.5s;
    animation-delay: -3s;
}

.hx-float-scan .hx-card {
    animation-duration: 6.5s;
    animation-delay: -1.5s;
}

.hx-kicker {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #7c8a9c;
}

.hx-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hx-lime);
    box-shadow: 0 0 8px var(--hx-lime);
    animation: hxBlink 1.6s ease-in-out infinite;
}

/* Feed card */
.hx-feed {
    width: 340px;
    padding: 1.1rem 1.1rem 0.7rem;
}

.hx-feed::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190, 242, 100, 0.85), transparent);
}

.hx-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-card-title {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f1f5f9;
}

.hx-count {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hx-count.is-bump {
    animation: hxBump 0.55s var(--hx-ease);
}

.hx-feed-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hx-feed-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    max-height: 64px;
    margin: 0 -0.55rem;
    padding: 0.55rem;
    border-radius: 12px;
    overflow: hidden;
}

.hx-feed-row.is-new {
    animation:
        hxRowIn 0.65s var(--hx-ease) both,
        hxRowFlash 2.6s ease both;
}

.hx-feed-row.is-out {
    animation: hxRowOut 0.45s ease forwards;
}

.hx-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0b0f14;
    background: linear-gradient(135deg, hsl(var(--h, 90) 78% 70%), hsl(var(--h, 90) 62% 46%));
}

.hx-feed-meta {
    min-width: 0;
}

.hx-feed-meta b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
    font-weight: 700;
    color: #f1f5f9;
}

.hx-feed-meta small {
    display: block;
    font-size: 0.74rem;
    color: #7c8a9c;
}

.hx-status {
    font-style: normal;
    font-weight: 600;
    color: #a3e635;
}

.hx-status.is-warn {
    color: #fbbf24;
}

.hx-feed-time {
    font-size: 0.72rem;
    font-weight: 600;
    color: #5b6778;
    font-variant-numeric: tabular-nums;
}

.hx-feed-row.is-new .hx-feed-time {
    color: #a3e635;
}

/* Revenue card */
.hx-rev {
    width: 250px;
    padding: 1rem 1.1rem 0;
    overflow: hidden;
}

.hx-rev-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.hx-rev-value {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hx-trend {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(132, 204, 22, 0.13);
    font-size: 0.7rem;
    font-weight: 700;
    color: #a3e635;
}

.hx-spark {
    display: block;
    width: calc(100% + 2.2rem);
    height: 72px;
    margin: 0.55rem -1.1rem 0;
    overflow: visible;
}

.hx-spark-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.2s var(--hx-ease) 1.5s;
}

.hx-spark-area {
    transition: opacity 1.4s ease 2.3s;
}

.hx-spark-dot {
    transition: opacity 0.4s ease 3.2s;
}

.hx-hero.is-pending .hx-spark-line {
    stroke-dashoffset: 1;
}

.hx-hero.is-pending .hx-spark-area,
.hx-hero.is-pending .hx-spark-dot {
    opacity: 0;
}

.hx-spark-ping {
    transform-box: fill-box;
    transform-origin: center;
    animation: hxSparkPing 2s ease-out 3.4s infinite;
    opacity: 0;
}

/* QR scan card */
.hx-scan {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 262px;
    padding: 0.85rem 1rem 0.85rem 0.85rem;
}

.hx-scan::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 0 1px rgba(163, 230, 53, 0.75), 0 0 44px rgba(132, 204, 22, 0.35);
}

.hx-scan.is-flash::after {
    animation: hxFlash 1.1s ease;
}

.hx-qr {
    position: relative;
    flex: none;
    width: 64px;
    height: 64px;
    padding: 6px;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.hx-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hx-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(132, 204, 22, 0), rgba(132, 204, 22, 0.55));
    border-bottom: 2px solid var(--hx-lime);
    animation: hxScan 2.4s ease-in-out infinite;
}

.hx-scan-info {
    min-width: 0;
}

.hx-scan-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.hx-scan-title svg {
    width: 16px;
    height: 16px;
    padding: 3px;
    border-radius: 50%;
    background: var(--hx-lime);
    color: #0b1200;
    flex: none;
}

.hx-scan-sub {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.15rem;
    font-size: 0.74rem;
    color: #7c8a9c;
}

/* ── Bottom band: scroll cue + capability marquee ──────────────────────── */
.hx-bottom {
    position: relative;
    z-index: 2;
    transition: opacity 1s ease 1.3s;
}

.hx-hero.is-pending .hx-bottom {
    opacity: 0;
}

.hx-scroll {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 1.4rem);
    translate: -50% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hx-scroll:hover {
    color: #cbd5e1;
}

.hx-scroll-line {
    position: relative;
    width: 1px;
    height: 44px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.hx-scroll-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, rgba(163, 230, 53, 0), #a3e635);
    animation: hxDrip 2.2s var(--hx-ease) infinite;
}

.hx-marquee {
    overflow: hidden;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.75));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hx-marquee-track {
    display: flex;
    width: max-content;
    animation: hxMarquee 48s linear infinite;
}

.hx-marquee:hover .hx-marquee-track {
    animation-play-state: paused;
}

.hx-marquee ul {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    margin: 0;
    padding: 0 2.75rem 0 0;
    list-style: none;
}

.hx-marquee li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7f8c9d;
}

.hx-marquee li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--hx-lime);
    box-shadow: 0 0 10px rgba(132, 204, 22, 0.75);
    transform: rotate(45deg);
}

/* ── Keyframes ─────────────────────────────────────────────────────────── */
@keyframes hxKenBurns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes hxGrain {
    0%   { transform: translate3d(0, 0, 0); }
    33%  { transform: translate3d(-4%, 3%, 0); }
    66%  { transform: translate3d(3%, -5%, 0); }
    100% { transform: translate3d(-2%, 2%, 0); }
}

@keyframes hxPing {
    75%, 100% { transform: scale(2.6); opacity: 0; }
}

@keyframes hxBlink {
    50% { opacity: 0.35; }
}

@keyframes hxBob {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -9px, 0); }
}

@keyframes hxSheen {
    0%       { transform: translateX(-120%); }
    30%, 100% { transform: translateX(120%); }
}

@keyframes hxBump {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.14); color: #bef264; }
    100% { transform: scale(1); }
}

@keyframes hxRowIn {
    from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; transform: translateY(-10px); }
    to   { max-height: 64px; opacity: 1; transform: none; }
}

@keyframes hxRowFlash {
    0%, 30% { background-color: rgba(132, 204, 22, 0.12); }
    100%    { background-color: rgba(132, 204, 22, 0); }
}

@keyframes hxRowOut {
    to { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
}

@keyframes hxSparkPing {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3.2); opacity: 0; }
}

@keyframes hxFlash {
    0%   { opacity: 0; }
    20%  { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes hxScan {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(340%); }
}

@keyframes hxDrip {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(240%); }
}

@keyframes hxMarquee {
    to { transform: translateX(-50%); }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1240px) {
    .hx-grid {
        grid-template-columns: minmax(0, 1fr) 440px;
    }

    .hx-hud {
        height: 480px;
        transform: scale(0.88);
        transform-origin: right center;
    }
}

@media (max-width: 1080px) {
    .hx-hero {
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hx-hero::after {
        height: 80px;
    }

    .hx-body {
        align-items: center;
        justify-content: center;
        padding: clamp(84px, 12vh, 120px) 0 clamp(48px, 8vh, 80px);
        flex: 1 0 auto;
    }

    .hx-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 1.5rem;
    }

    .hx-copy {
        max-width: 44rem;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hx-title {
        text-align: center;
    }

    .hx-sub {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hx-ctas {
        justify-content: center;
    }

    .hx-cues {
        justify-content: center;
    }

    .hx-hud {
        display: none !important;
    }

    .hx-shade {
        background:
            linear-gradient(180deg, rgba(5, 7, 10, 0.88) 0%, rgba(5, 7, 10, 0.6) 45%, rgba(5, 7, 10, 0.85) 100%),
            radial-gradient(130% 100% at 50% 40%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    }

    .hx-scroll {
        display: none;
    }
}

@media (max-width: 768px) {
    .hx-sub-desktop {
        display: none !important;
    }

    .hx-sub-mobile {
        display: inline !important;
        color: #cbd5e1;
    }

    .hx-cue-desktop {
        display: none !important;
    }

    .trust-section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 640px) {
    .hx-hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hx-hero::after {
        height: 60px;
    }

    .hx-body {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: clamp(64px, 8vh, 88px) 0 clamp(32px, 5vh, 44px);
    }

    .hx-copy {
        width: 100%;
        max-width: 480px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .hx-bottom {
        display: none;
    }

    .hx-eyebrow {
        margin-bottom: 0.95rem;
        font-size: 0.72rem;
        padding: 0.32rem 0.75rem;
    }

    .hx-title {
        text-align: center;
        font-size: clamp(2rem, 8.8vw, 2.5rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
        margin-bottom: 0.95rem;
    }

    .hx-sub {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.52;
        max-width: 380px;
    }

    .hx-ctas {
        width: 100%;
        max-width: 360px;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hx-btn {
        width: 100%;
        height: 52px;
        font-size: 0.96rem;
        border-radius: 14px;
    }

    .hx-cues {
        margin-top: 1.15rem;
        justify-content: center;
        gap: 0.45rem 1rem;
        font-size: 0.78rem;
    }

    .hx-hud {
        display: none !important;
    }

    .hx-marquee {
        padding: 0.75rem 0;
    }
}

/* ── Reduced motion: static, fully composed hero ───────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .hx-hero *,
    .hx-hero *::before,
    .hx-hero *::after {
        animation: none !important;
        transition: none !important;
    }

    .hx-particles,
    .hx-grain {
        display: none;
    }
}
