/* Journey v3: camera flies through a world of screens */
:root { --x-bg: #030914; --x-aq: #19D3C5; --x-bl: #3A8DFF; --x-gr: #45D98C; --x-am: #F5B544; --x-mu: #8FA3C4; --x-ln: rgba(120,170,255,.16); }
html.lenis, html.lenis body { height: auto; }
body:has(#x) main { transform: none !important; animation: none !important; } .lenis.lenis-smooth { scroll-behavior: auto !important; }
.x-intro { position: relative; height: calc(100vh - 68px); min-height: 560px; background: radial-gradient(70% 60% at 50% 110%, rgba(25,211,197,.22), transparent 70%), var(--x-bg); color: #fff; display: grid; place-items: center; text-align: center; overflow: hidden; }
.x-intro-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-intro-in { position: relative; padding: 0 20px; }
.x-eyebrow { font: 600 12px var(--m); letter-spacing: .22em; text-transform: uppercase; color: var(--x-aq); }
.x-intro h1 { margin: 0; font-weight: 700; font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .98; letter-spacing: -0.045em; }
.x-intro h1:first-of-type { margin-top: 22px; }
.x-grad { background: linear-gradient(100deg, #19D3C5 10%, #3A8DFF 60%, #9C7BFF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.x-intro h1.x-grad { background: none; color: #fff; }
.ch.x-grad { background: linear-gradient(100deg, #19D3C5 0%, #3A8DFF 70%, #9C7BFF 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-intro p { color: var(--x-mu); font-size: clamp(1rem, 1.4vw, 1.25rem); margin: 26px auto 0; max-width: 46ch; }
.x-scroll { margin-top: 48px; display: grid; justify-items: center; gap: 10px; font: 500 11px var(--m); letter-spacing: .2em; text-transform: uppercase; color: var(--x-mu); }
.x-scroll i { width: 1px; height: 56px; background: linear-gradient(var(--x-aq), transparent); animation: xdrip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes xdrip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.line { display: block; overflow: hidden; padding-bottom: .06em; } .ch { display: inline-block; will-change: transform; }

.x { position: relative; height: calc(100vh - 68px); background: var(--x-bg); color: #E8EEF8; overflow: hidden; }
.x-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(120% 90% at 60% 50%, transparent 55%, rgba(3,9,20,.85) 100%); }
.x-world { position: absolute; left: 0; top: 0; width: 4400px; height: 3600px; transform-origin: 0 0; will-change: transform; z-index: 2; }
.x-thread { position: absolute; left: 0; top: 0; overflow: visible; }
.x-thread .glow { fill: none; stroke: var(--x-aq); stroke-width: 10; opacity: .18; filter: blur(6px); }
.x-thread .core { fill: none; stroke: url(#xg); stroke-width: 3; stroke-linecap: round; }
.x-thread .flow { fill: none; stroke: #CFFFFA; stroke-width: 2.4; stroke-dasharray: 3 26; stroke-linecap: round; animation: xflow 1.1s linear infinite; opacity: 0; }
@keyframes xflow { to { stroke-dashoffset: -29; } }
.x-thread .ghost { fill: none; stroke: rgba(120,170,255,.12); stroke-width: 2; stroke-dasharray: 2 12; }

.xs { position: absolute; width: 820px; height: 520px; border-radius: 22px; background: linear-gradient(160deg, rgba(18,38,78,.96), rgba(7,17,38,.97)); border: 1px solid rgba(120,170,255,.2); box-shadow: 0 0 0 1px rgba(25,211,197,.05), 0 60px 140px -40px rgba(0,0,0,.8), 0 0 80px -20px rgba(25,211,197,.25); overflow: hidden; opacity: .16; }
.xs::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 45%, transparent 60%); transform: translateX(var(--sheen, -100%)); }
.xs-bar { display: flex; gap: 7px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--x-ln); font: 500 11px var(--m); letter-spacing: .12em; color: var(--x-mu); }
.xs-bar i { width: 9px; height: 9px; border-radius: 50%; background: #22406E; } .xs-bar span { margin-left: 10px; }
.xs-b { position: absolute; inset: 46px 0 0; padding: 30px 36px; display: grid; align-content: center; gap: 20px; }
.cardx, .x1-tbl, .x2, .x3 > div, .x4-a, .x5-data, .x5-m p, .x6, .x8-kp div, .x8-a, .x9 li { background: rgba(16,36,74,.7); border: 1px solid rgba(120,170,255,.2); border-radius: 14px; }

.x0 { display: grid; grid-template-columns: 54px 1fr; gap: 16px; }
.x0 .av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1E3460, #2C5BA0); font: 700 15px var(--f); color: #7FE3DA; }
.x0 small { color: var(--x-mu); font-size: 14px; }
.x0-q { margin: 8px 0 0; font-size: 1.9rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.x0-q .w { display: inline-block; white-space: pre; }
.x0-files { display: flex; flex-wrap: wrap; gap: 12px; border: 1.5px dashed rgba(120,170,255,.35); border-radius: 16px; padding: 18px; }
.x0-files .file { display: inline-flex; gap: 10px; align-items: center; background: #10244A; border: 1px solid #2E4F84; border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.x0-files .file i { width: 16px; height: 20px; border-radius: 3px; background: linear-gradient(#19D3C5, #0B7A72); }

.x1-src { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.x1-src span { text-align: center; background: #10244A; border: 1px solid #2E4F84; border-radius: 10px; padding: 13px; font-size: 15px; }
.x1-flow, .x4-net { width: 100%; height: 76px; margin: -10px 0; overflow: visible; }
.dr { fill: none; stroke: #3A64A8; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.xs svg circle { fill: var(--x-aq); filter: drop-shadow(0 0 5px var(--x-aq)); } .xs svg circle.b { fill: #8FB8FF; }
.x1-tbl { padding: 4px 20px; } .x1-hd { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--x-ln); } .x1-hd span { font: 500 11px var(--m); letter-spacing: .1em; text-transform: uppercase; color: #7FE3DA; }
.x1-r { display: grid; grid-template-columns: 1fr auto 110px; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(120,170,255,.1); align-items: center; font-size: 15px; } .x1-r:last-child { border: 0; }
.x1-r b { font: 600 16px var(--m); color: #fff; } .x1-r em { font-style: normal; color: var(--x-gr); font-size: 13px; text-align: right; }

.x2 { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 22px; }
.x2 .pid { font: 700 14px var(--m); color: #7FE3DA; padding-top: 4px; } .x2 b { color: #fff; font-size: 1.2rem; }
.x2 .hl { display: inline-block; margin: 12px 0 6px; font-style: italic; font-size: 1.15rem; color: #fff; padding: 2px 6px; background: linear-gradient(90deg, rgba(25,211,197,.45), rgba(58,141,255,.3)) no-repeat 0 88% / 0% 48%; }
.x2 p { margin: 4px 0 0; color: var(--x-mu); font-size: 14px; }

.x3 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x3 > div { padding: 20px; display: grid; gap: 12px; align-content: start; }
.x3 small { font: 500 11px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--x-mu); }
.x3 p { margin: 0; padding-top: 12px; border-top: 1px solid var(--x-ln); display: grid; gap: 4px; } .x3 p b { color: #fff; font-size: 1.05rem; } .x3 p span { color: var(--x-mu); font-size: 13.5px; }
.x3-stamp { justify-self: center; font: 800 1.3rem var(--f); color: var(--x-gr); border: 3px solid var(--x-gr); border-radius: 12px; padding: 12px 24px; box-shadow: 0 0 50px rgba(69,217,140,.35), inset 0 0 20px rgba(69,217,140,.15); }

.x4-lead { justify-self: center; display: flex; gap: 12px; align-items: center; background: #10244A; border: 1.5px solid var(--x-aq); border-radius: 14px; padding: 12px 20px; box-shadow: 0 0 0 6px rgba(25,211,197,.1), 0 0 50px rgba(25,211,197,.3); }
.x4-lead i { width: 40px; height: 40px; border-radius: 10px; background: var(--x-aq); color: #04211F; display: grid; place-items: center; font: 800 17px var(--f); font-style: normal; }
.x4-lead b { display: block; color: #fff; font-size: 1.05rem; } .x4-lead span { color: var(--x-mu); font-size: 13px; }
.x4-agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.x4-a { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 20px 12px; }
.x4-a .ring { --r: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--x-aq) calc(var(--r) * 360deg), #1A3158 0); box-shadow: 0 0 calc(var(--r) * 30px) rgba(25,211,197,.45); }
.x4-a .ring i { width: 54px; height: 54px; border-radius: 50%; background: #0B1A33; display: grid; place-items: center; font: 700 13px var(--m); font-style: normal; color: #7FE3DA; }
.x4-a b { color: #fff; font-size: 15px; } .x4-a small { color: var(--x-mu); } .x4-a em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--x-gr); opacity: 0; }

.x5 { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: center; }
.x5-data { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 20px; }
.x5-data p { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px; border-radius: 4px; }
.x5-data p i { display: block; height: 9px; border-radius: 5px; background: #2E4F84; }
.x5-data .scan { position: absolute; left: 0; right: 0; height: 46px; top: -46px; background: linear-gradient(transparent, rgba(25,211,197,.4), transparent); border-bottom: 1px solid var(--x-aq); animation: xscan 2.2s linear infinite; }
@keyframes xscan { to { top: 100%; } }
.x5-m { display: grid; gap: 10px; } .x5-m p { margin: 0; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 14px; font-size: 15px; }
.x5-m i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(69,217,140,.15); color: var(--x-gr); }
.x5-m .back { border-color: rgba(245,181,68,.55); box-shadow: 0 0 30px -10px rgba(245,181,68,.5); } .x5-m .back i { background: rgba(245,181,68,.18); color: var(--x-am); }

.x6 { padding: 26px; display: grid; gap: 18px; } .x6-hd { display: flex; justify-content: space-between; } .x6-hd span { color: var(--x-mu); font-size: 13.5px; }
.x6-q { margin: 0; font-size: 1.45rem; color: #fff; font-weight: 600; }
.x6-bar { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; color: var(--x-mu); }
.x6-bar i { display: block; height: 20px; border-radius: 10px; background: #5B6F94; width: 0; }
.x6-bar.us { color: #fff; font-weight: 600; } .x6-bar.us i { background: linear-gradient(90deg, #0FA99E, #19D3C5); box-shadow: 0 0 30px rgba(25,211,197,.55); }
.x6-bar b { font: 800 1.9rem var(--f); white-space: nowrap; } .x6-bar.us b { color: var(--x-aq); }
.x6-foot { display: flex; gap: 16px; align-items: center; padding-top: 14px; border-top: 1px solid var(--x-ln); }
.x6-foot .delta { font: 800 1.1rem var(--f); color: #04210F; background: var(--x-gr); border-radius: 999px; padding: 8px 16px; box-shadow: 0 0 40px rgba(69,217,140,.5); white-space: nowrap; }
.x6-foot p { margin: 0; } .x6-foot b { color: var(--x-gr); }

.x7 { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: center; }
.orb { position: relative; width: 250px; height: 250px; display: grid; place-items: center; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(25,211,197,.35); animation: xspin 9s linear infinite; }
.orb i::before { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--x-aq); box-shadow: 0 0 14px var(--x-aq); }
.orb i:nth-child(2) { inset: 30px; animation-duration: 6s; animation-direction: reverse; border-color: rgba(58,141,255,.4); } .orb i:nth-child(2)::before { background: #8FB8FF; box-shadow: 0 0 14px #8FB8FF; }
.orb i:nth-child(3) { inset: 60px; animation-duration: 4s; }
@keyframes xspin { to { transform: rotate(360deg); } }
.lk { position: relative; width: 64px; height: 50px; border-radius: 10px; background: linear-gradient(135deg, #19D3C5, #0B7A72); margin-top: 26px; box-shadow: 0 0 60px rgba(25,211,197,.6); }
.lk b { position: absolute; left: 12px; top: -34px; width: 40px; height: 38px; border: 7px solid #19D3C5; border-bottom: 0; border-radius: 22px 22px 0 0; box-sizing: border-box; transform: translateY(-16px); }
.x7 code { display: inline-block; font: 600 1.9rem var(--m); color: #fff; background: rgba(25,211,197,.1); border: 1px solid rgba(25,211,197,.55); padding: 12px 18px; border-radius: 12px; }
.x7 code em { font-style: normal; color: var(--x-aq); font-size: .65em; }
.x7 p { color: #7FE3DA; margin: 12px 0 16px; font: 500 12px var(--m); letter-spacing: .12em; text-transform: uppercase; }
.x7 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; } .x7 li { padding-left: 26px; position: relative; } .x7 li::before { content: "✓"; position: absolute; left: 0; color: var(--x-gr); font-weight: 700; }

.x8-kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .x8-kp div { padding: 14px 16px; display: grid; gap: 6px; }
.x8-kp small { color: var(--x-mu); } .x8-kp b { font: 800 2.2rem/1 var(--f); } .c-am { color: var(--x-am); } .c-gr { color: var(--x-gr); }
.x8-chart { display: flex; gap: 10px; align-items: flex-end; height: 80px; border-bottom: 1px solid var(--x-ln); }
.x8-chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(#19D3C5, rgba(25,211,197,.15)); height: var(--h); transform-origin: bottom; transform: scaleY(0); }
.x8-u { margin: 0; justify-self: end; background: #1E3460; padding: 11px 15px; border-radius: 12px 12px 2px 12px; font-size: 15px; }
.x8-a { margin: 0; padding: 13px 16px; font-size: 15px; } .x8-a span { display: block; font: 500 10px var(--m); letter-spacing: .14em; color: #7FE3DA; text-transform: uppercase; margin-bottom: 4px; }

.x9-line { width: 100%; height: 150px; } .x9-line path { fill: none; stroke: var(--x-aq); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px var(--x-aq)); stroke-dasharray: 1000 1000; animation: xpulse 3.5s linear infinite; }
@keyframes xpulse { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: -1000; } }
.x9 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .x9 li { padding: 16px; border-top: 3px solid var(--x-aq) !important; font-size: 15px; }

.x-hud { position: absolute; z-index: 5; left: 5vw; top: 0; bottom: 0; width: min(34vw, 480px); display: grid; align-content: center; pointer-events: none; }
.x-count { display: flex; align-items: baseline; gap: 10px; font-family: var(--m); margin-bottom: 18px; }
.x-count b { font-size: 15px; color: var(--x-aq); letter-spacing: .1em; } .x-count span { color: var(--x-mu); font-size: 13px; }
.x-titles { position: relative; height: 330px; }
.x-t { position: absolute; inset: 0; }
.x-t h2 { margin: 0; font-weight: 700; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: .95; letter-spacing: -0.045em; color: #fff; }
.x-t p { margin: 22px 0 0; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.45; color: #B9C7DD; max-width: 30ch; }
.x-prog { position: absolute; z-index: 5; left: 5vw; right: 5vw; bottom: 34px; height: 2px; background: rgba(120,170,255,.15); }
.x-prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #19D3C5, #3A8DFF); box-shadow: 0 0 14px rgba(25,211,197,.8); }
.x-cta { position: absolute; z-index: 6; right: 5vw; bottom: 64px; background: var(--x-aq); color: #04211F; font-weight: 700; text-decoration: none; padding: 16px 24px; border-radius: 12px; box-shadow: 0 0 60px rgba(25,211,197,.5); opacity: 0; visibility: hidden; }

@media (max-width: 900px) {
  .x-hud { left: 20px; right: 20px; width: auto; top: 18px; bottom: auto; align-content: start; }
  .x-count { margin-bottom: 8px; } .x-titles { height: 150px; }
  .x-t h2 { font-size: 2.3rem; } .x-t p { font-size: .98rem; margin-top: 10px; max-width: none; }
  .x-prog { bottom: 18px; } .x-cta { left: 20px; right: 20px; bottom: 40px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .x-thread .flow, .x5-data .scan, .orb i, .x9-line path, .x-scroll i { animation: none; } }
