/* Kinetix Labs website. Plain CSS, no libraries, system fonts (works offline). */
:root {
  --brand: #04449A;
  --brand-2: #0a5bd1;
  --sky: #4d9bff;
  --cyan: #38d6ff;
  --ink: #0b1630;
  --ink-2: #33415c;
  --muted: #5d6b85;
  --line: #e3e8f2;
  --bg: #ffffff;
  --tint: #f3f6fc;
  --navy: #050f24;
  --navy-2: #0a1a3a;
  --ok: #18a058;
  --warn: #f0a020;
  --bad: #e5484d;
  --r: 18px;
  --shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 12px 32px -12px rgba(11, 22, 48, .18);
  --shadow-lg: 0 40px 80px -30px rgba(4, 30, 80, .55), 0 18px 36px -18px rgba(0, 0, 0, .4);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-d: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 650; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn.full { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 24px -8px rgba(10, 91, 209, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(10, 91, 209, .85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { color: inherit; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(5, 15, 36, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: .06em; margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand b { font-weight: 800; }
.links { display: flex; gap: 26px; font-size: 15px; font-weight: 550; }
.links a:not(.btn) { opacity: .82; transition: opacity .2s; position: relative; }
.links a:not(.btn):hover { opacity: 1; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--sky); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.links a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.only-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 700px at 75% 10%, #0b3a8a 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, #062a66 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, #071a3f 100%); padding: 120px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.g1 { width: 420px; height: 420px; background: rgba(56, 120, 255, .45); top: -120px; right: 8%; animation: drift 14s ease-in-out infinite alternate; }
.g2 { width: 340px; height: 340px; background: rgba(56, 214, 255, .22); bottom: 0; left: -80px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.g3 { width: 520px; height: 520px; background: rgba(10, 91, 209, .35); top: -200px; left: 50%; translate: -50% 0; }
.g4 { width: 460px; height: 460px; background: rgba(56, 214, 255, .16); bottom: -160px; right: -100px; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; min-height: min(78vh, 720px); }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #cfe0ff; margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62, 224, 143, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; }
.grad { background: linear-gradient(100deg, #7ab8ff 0%, var(--cyan) 50%, #a9c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4d3ee; max-width: 560px; margin-bottom: 30px; }
.lead b { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #b6c6e6; }
.hero-ticks li { display: flex; align-items: center; gap: 7px; }
.hero-ticks svg { color: #3ee08f; stroke-width: 2.4; }

/* 3D stage */
.stage { perspective: 1600px; height: 540px; position: relative; }
.stage-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-18deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.layer { position: absolute; transform-style: preserve-3d; }
.device.laptop { width: 92%; left: 4%; top: 70px; transform: translateZ(0); }
.laptop .screen { border-radius: 14px; padding: 10px; background: linear-gradient(160deg, #26324a, #0b1222); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12); }
.laptop .screen img { border-radius: 6px; width: 100%; height: auto; }
.laptop .base { height: 16px; margin: 0 -5%; background: linear-gradient(180deg, #4a5670, #1b2438); border-radius: 0 0 16px 16px; transform-origin: top; transform: rotateX(-70deg); box-shadow: 0 30px 40px -10px rgba(0,0,0,.6); }
.float-card { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.scan-card { left: -4%; top: 330px; width: 270px; animation: bob 6s ease-in-out infinite; }
.scan-card b { display: block; font-size: 15px; }
.scan-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.scan-card small.ok { color: var(--ok); font-weight: 650; }
.sc-av { position: relative; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #2fbf71, #128a4a); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.sc-av i, .k-av i { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ok); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.sc-av i svg { width: 14px; height: 14px; stroke-width: 3; }
.stat-card { right: 2%; top: 10px; width: 200px; flex-direction: column; align-items: flex-start; gap: 2px; animation: bob 7s ease-in-out -2s infinite; }
.stat-card small { font-size: 12px; color: var(--muted); }
.stat-card b { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.mini-bars { display: flex; gap: 5px; align-items: flex-end; height: 34px; width: 100%; margin-top: 4px; }
.mini-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 3px 3px 1px 1px; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.7,.2,1) both; }
.mini-bars i:nth-child(2) { animation-delay: .1s } .mini-bars i:nth-child(3) { animation-delay: .2s } .mini-bars i:nth-child(4) { animation-delay: .3s } .mini-bars i:nth-child(5) { animation-delay: .4s } .mini-bars i:nth-child(6) { animation-delay: .5s } .mini-bars i:nth-child(7) { animation-delay: .6s }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes bob { 50% { translate: 0 -10px; } }
.device.phone { right: -2%; top: 200px; width: 186px; height: 360px; border-radius: 34px; padding: 10px; background: linear-gradient(150deg, #3a4660, #0b1222); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.18); animation: bob 8s ease-in-out -4s infinite; }
.phone .notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 54px; height: 14px; border-radius: 10px; background: #0b1222; z-index: 2; }
.ph-in { height: 100%; border-radius: 26px; background: linear-gradient(170deg, #0a5bd1 0%, #04449A 55%, #04306d 100%); display: flex; flex-direction: column; align-items: center; padding: 34px 14px 16px; text-align: center; }
.ph-head { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-bottom: 14px; }
.ph-head img { width: 16px; }
.qr { width: 120px; height: 120px; background: #fff; border-radius: 12px; padding: 9px; margin-bottom: 12px; }
.qr svg { width: 100%; height: 100%; stroke: none; fill: var(--ink); }
.ph-in b { font-size: 14px; }
.ph-in small { font-size: 11px; opacity: .8; margin-bottom: 8px; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag.ok { background: #3ee08f; color: #053b20; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding: 28px 0 8px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; color: #aebfdf; }
.trust span { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--sky); }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; isolation: isolate; }
.sec.tint { background: var(--tint); }
.sec.dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.eyebrow.light { color: #8cc0ff; }
.sub { font-size: 18px; color: var(--muted); }
.dark .sub, .sub.light { color: #b4c4e2; }
.sub.left { max-width: 540px; }
.small { font-size: 15px; color: var(--muted); }
.small.light { color: #9db0d4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { color: var(--ok); stroke-width: 2.6; margin-top: 4px; }
.dark .ticks svg { color: #3ee08f; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 20px -8px rgba(4, 68, 154, .6), inset 0 1px 0 rgba(255,255,255,.3); }
.ico svg { width: 24px; height: 24px; }
.ico.big { width: 60px; height: 60px; border-radius: 18px; }
.ico.big svg { width: 30px; height: 30px; }
.ico.alt { background: linear-gradient(135deg, #22b8ff, #0a6fd1); }
.ico.muted { background: linear-gradient(135deg, #8a97b2, #5d6b85); }

/* Tilt (3D hover) */
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s; will-change: transform; }
.tilt > * { transform: translateZ(0); }

/* Products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.prod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.prod > h3 { font-size: 24px; transform: translateZ(30px); }
.prod > p { color: var(--ink-2); }
.prod-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; transform: translateZ(50px); }
.badge { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.badge.live { background: #e3f7ec; color: #0e7a40; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-2); }
.more svg { transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
.prod.soon { background: linear-gradient(180deg, #fbfcfe, #f3f6fc); border-style: dashed; }
.shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 155, 255, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.tilt:hover .shine { opacity: 1; }

/* Pain points */
.prod-logo { width: 54px; margin: 0 auto 14px; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 26px; }
.pain p { color: #b4c4e2; font-size: 15.5px; margin: 0; }
.pain .x { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(229, 72, 77, .16); color: #ff8a8e; font-weight: 800; margin-bottom: 14px; }
.pain h3 { font-size: 18px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: center; }
.numbers b { display: block; font-family: var(--font-d); font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #8cc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: #9db0d4; font-size: 15px; }

/* Check-in demo */
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); margin: 6px 0 12px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: 15px; font-weight: 650; border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11,22,48,.12); }
.seg-note { font-weight: 600; color: var(--ink-2); min-height: 3.2em; }
.kiosk-wrap { perspective: 1400px; }
.kiosk { background: radial-gradient(600px 300px at 50% 0%, #0d2c5c, #07142b); border-radius: 26px; padding: 22px; color: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.k-top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.k-top b { display: block; font-size: 16px; }
.k-top small { color: #95a7c8; font-size: 12.5px; }
.k-logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); display: grid; place-items: center; flex: none; }
.k-time { margin-left: auto; font-weight: 750; font-variant-numeric: tabular-nums; }
.k-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.k-cam { position: relative; border-radius: 18px; background: #02060d; min-height: 250px; display: grid; place-items: center; overflow: hidden; color: #5b6f94; border: 1px solid rgba(255,255,255,.08); }
.k-cam > svg { width: 64px; height: 64px; stroke-width: 1.4; }
.k-scan { position: absolute; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 16px 2px rgba(56,214,255,.6); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 18%; } 50% { top: 80%; } }
.k-res { border-radius: 18px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; transition: background .4s; transform-style: preserve-3d; }
.k-res.ok { background: linear-gradient(160deg, #1e9a5c, #137a47); }
.k-res.soon { background: linear-gradient(160deg, #e29512, #b86f05); }
.k-res.bad { background: linear-gradient(160deg, #df4146, #a8262b); }
.k-res.flip { animation: flip .6s cubic-bezier(.3,.7,.3,1); }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.k-av { position: relative; width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.2); border: 3px solid rgba(255,255,255,.85); display: grid; place-items: center; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.k-av i { width: 28px; height: 28px; }
.k-res.soon .k-av i { color: #b86f05; } .k-res.bad .k-av i { color: var(--bad); }
.k-av i svg { width: 16px; height: 16px; stroke-width: 3; }
.k-res b { font-size: 20px; }
.k-res span { font-weight: 600; }
.k-res small { opacity: .85; font-size: 13px; }

/* Tour */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 650; border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: #b9c6dd; }
.tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(4,68,154,.7); }
.shot-stage { perspective: 1800px; max-width: 1000px; margin: 0 auto; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 7px; flex: 1; max-width: 300px; }
.browser img { width: 100%; height: auto; transition: opacity .25s; }
#shotFrame { transform: rotateX(8deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
#shotFrame.in { transform: rotateX(0); }
.cap { text-align: center; color: var(--muted); margin-top: 22px; min-height: 3.2em; }

/* Video */
.lang { margin-top: 20px; }
.video-stage { perspective: 1800px; max-width: 1000px; margin: 0 auto; }
.video-frame { position: relative; border-radius: 22px; overflow: hidden; background: #03122b; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(4,68,154,.15); transform: rotateX(10deg) scale(.96); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.video-frame.in { transform: none; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #03122b; }
.play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding-bottom: 9%; border: 0; cursor: pointer; color: #fff; font: inherit; background: linear-gradient(180deg, transparent 45%, rgba(3,18,43,.55)); transition: opacity .3s; }
.play span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 0 0 10px rgba(255,255,255,.14), 0 20px 40px -10px rgba(0,0,0,.6); transition: transform .25s; animation: ring 2.4s infinite; }
.play span svg { width: 36px; height: 36px; fill: #fff; stroke: none; margin-left: 5px; }
.play:hover span { transform: scale(1.08); }
.play b { font-size: 17px; display: flex; gap: 8px; align-items: center; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.play small { font-weight: 600; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 13px; }
.video-frame.playing .play { opacity: 0; pointer-events: none; }
@keyframes ring { 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.05), 0 20px 40px -10px rgba(0,0,0,.6); } }
#video .cap .more { display: inline-flex; }
@media (max-width: 560px) {
  .video-frame { border-radius: 14px; }
  .play span { width: 64px; height: 64px; box-shadow: 0 0 0 6px rgba(255,255,255,.14); }
  .play span svg { width: 26px; height: 26px; }
  .play { padding-bottom: 6%; gap: 8px; } .play b { font-size: 14px; }
}

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.feat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.feat .ico { margin-bottom: 16px; transform: translateZ(40px); }
.feat h3 { font-size: 17.5px; transform: translateZ(20px); }
.feat p { margin: 0; font-size: 15px; color: var(--muted); }

/* Staff & Pay */
.pay-list { display: grid; gap: 16px; margin: 6px 0 22px; }
.pay-list > div { display: flex; gap: 14px; align-items: flex-start; color: #c4d3ee; }
.pay-list b { color: #fff; }
.pay-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(77,155,255,.14); color: #8cc0ff; }
.payslip-wrap { position: relative; perspective: 1400px; display: flex; justify-content: center; }
.payslip { width: min(400px, 100%); background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 50px 90px -30px rgba(0,0,0,.7); transform: rotateY(-14deg) rotateX(6deg); }
.ps-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px dashed var(--line); margin-bottom: 14px; }
.ps-head small { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--brand-2); }
.ps-head b { display: block; font-size: 20px; }
.ps-head span { font-size: 13px; color: var(--muted); }
.ps-head img { width: 34px; }
.ps-rows p { display: flex; justify-content: space-between; margin: 0; padding: 6px 0; font-size: 14.5px; border-bottom: 1px solid #f0f3f8; }
.ps-rows span { color: var(--ink-2); }
.ps-rows b { font-variant-numeric: tabular-nums; font-weight: 650; }
.ps-rows .neg b { color: var(--bad); }
.ps-net { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.ps-net b { font-size: 24px; font-variant-numeric: tabular-nums; }
.chip { position: absolute; display: flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.chip svg { color: var(--ok); stroke-width: 3; }
.chip.c1 { top: 8%; left: 0; } .chip.c2 { bottom: 10%; right: 0; animation-delay: -3s; }

/* Cloud */
.cloud-stage { perspective: 1600px; }
.cloud-in { position: relative; aspect-ratio: 1.2 / 1; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(8deg); transition: transform .5s ease-out; }
.c-back, .c-front { position: absolute; width: 76%; }
.c-back { top: 0; left: 0; transform: translateZ(-60px); opacity: .9; }
.c-front { bottom: 0; right: 0; transform: translateZ(60px); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 5vw, 54px); box-shadow: var(--shadow); align-items: center; }
.rng { display: block; margin-bottom: 20px; }
.rng span { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.rng b { color: var(--brand); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2) var(--p, 50%), #e3e8f2 var(--p, 50%)); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-2); box-shadow: 0 3px 10px rgba(4,68,154,.35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-2); cursor: pointer; }
.calc-out { border-radius: 22px; padding: 32px; color: #fff; text-align: center; background: radial-gradient(400px 260px at 50% 0%, #0a5bd1, #04306d); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; }
.calc-out small { color: #b8cdf0; }
.calc-out b { font-family: var(--font-d); font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-out b.yr { font-size: clamp(30px, 3.6vw, 38px); color: #9fd0ff; }
.calc-out span { color: #d4e2fa; }
.calc-out hr { width: 60%; border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: 16px 0; }
.calc-out .btn { margin-top: 20px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--brand-2), var(--cyan)); opacity: .35; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step .n { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 20px; font-size: 24px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 14px 26px -10px rgba(4,68,154,.7), inset 0 1px 0 rgba(255,255,255,.3); transform: rotate(-6deg); }
.step:nth-child(even) .n { transform: rotate(6deg); }
.step p { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.bill { display: inline-flex; margin-top: 18px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bill button { font: inherit; font-size: 15px; font-weight: 650; color: #b4c4e2; background: none; border: 0; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.bill button.on { background: #fff; color: var(--brand); }
.bill em { font-style: normal; font-size: 12px; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #3ee08f; color: #053b20; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; perspective: 1400px; }
.price { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; }
.price.best { background: #fff; color: var(--ink); border: 0; box-shadow: 0 40px 80px -30px rgba(10,91,209,.8); }
.price.best .ticks svg { color: var(--ok); }
.ribbon { position: absolute; top: -13px; left: 50%; translate: -50% 0; font-size: 12.5px; font-weight: 750; padding: 5px 14px; border-radius: 99px; background: linear-gradient(135deg, #3ee08f, #18a058); color: #053b20; white-space: nowrap; }
.pdesc { color: #9db0d4; font-size: 15px; }
.best .pdesc { color: var(--muted); }
.amt { margin: 6px 0 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.amt b { font-family: var(--font-d); font-size: 46px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.amt span { color: #9db0d4; }
.best .amt span, .best .amt small { color: var(--muted); }
.amt small { width: 100%; color: #9db0d4; font-size: 13px; margin-top: -4px; }
.amt.quote { flex-direction: column; align-items: flex-start; gap: 0; }
.amt.quote b { font-size: 34px; }
.amt.quote span { font-size: 14.5px; }
.mail-link { color: #8cc0ff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq .mail-link { color: var(--brand-2); }
.foot .mail-link { color: #8cc0ff; text-decoration: none; }
.price .ticks { font-size: 15.5px; flex: 1; }
.price .btn { width: 100%; }
.best .btn-ghost { color: var(--brand); }
.fine { text-align: center; color: #8ea2c8; font-size: 14px; max-width: 760px; margin: 34px auto 0; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard { padding: 26px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.tcard > svg { width: 34px; height: 34px; color: var(--brand-2); margin-bottom: 14px; }
.tcard h3 { font-size: 18px; }
.tcard p { color: var(--muted); font-size: 15px; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; box-shadow: 0 1px 2px rgba(11,22,48,.04); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 26px; font-weight: 400; color: var(--brand-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* Demo / contact */
.cta-sec { color: #fff; background: radial-gradient(900px 500px at 80% 0%, #0a5bd1 0%, transparent 60%), linear-gradient(160deg, #04449A 0%, #03255a 100%); }
.contact-list { display: grid; gap: 12px; margin-top: 26px; max-width: 420px; }
.contact-list > a, .contact-list > .ci { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .2s, transform .2s; }
.contact-list > a:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.contact-list svg { width: 26px; height: 26px; color: #9fd0ff; }
.contact-list b { display: block; font-size: 15.5px; }
.contact-list small { color: #c4d3ee; font-size: 14px; }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 50px 90px -30px rgba(0,0,0,.6); }
.form h3 { font-size: 24px; margin-bottom: 18px; }
.form label { display: block; font-size: 14.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 14px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(10,91,209,.15); background: #fff; }
.form input.bad { border-color: var(--bad); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: var(--bad); font-size: 14px; font-weight: 600; min-height: 1.2em; margin: 0 0 8px; }
.tiny { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Footer */
.foot { background: var(--navy); color: #9db0d4; padding: 60px 0 26px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.f-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.foot-in > div > a { display: block; margin-bottom: 9px; transition: color .2s; }
.foot-in a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 140%; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 80; transition: translate .4s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); font-weight: 600; }
.toast.show { translate: -50% 0; }

/* Scroll reveal (3D) */
.js .reveal { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(10deg); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.seen { opacity: 1; transform: none; }
.js .reveal.done { transition: transform .25s ease-out, box-shadow .25s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feat-grid, .pain-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stage { height: 460px; }
  .scan-card { top: 280px; }
  .device.phone { width: 160px; height: 310px; top: 170px; }
  .qr { width: 100px; height: 100px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 10px 20px 24px; background: rgba(5,15,36,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .links.open { transform: none; opacity: 1; pointer-events: auto; }
  .links a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 1; }
  .links a:not(.btn)::after { display: none; }
  .only-mobile { display: inline-flex; margin-top: 18px; }
  .hide-mobile { display: none; }
  .menu-btn { display: block; }
  .nav.menu-open { background: rgba(5,15,36,.97); }
  .hero { padding-top: 104px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row, .hero-ticks { justify-content: center; }
  .stage { height: 400px; max-width: 600px; width: 100%; margin: 20px auto 0; }
  .stage-in { transform: rotateX(10deg) rotateY(-10deg); }
  .device.laptop { top: 40px; }
  .scan-card { top: 250px; left: 0; width: 240px; }
  .stat-card { top: -10px; }
  .split, .calc { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .prod-grid, .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .cloud-in { max-width: 560px; margin-inline: auto; }
  .payslip { transform: rotateY(-8deg) rotateX(4deg); }
}
@media (max-width: 560px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .hero h1 { font-size: 40px; }
  .btn-lg { padding: 14px 22px; font-size: 16px; }
  .cta-row .btn { flex: 1 1 100%; }
  .trust { gap: 10px 18px; font-size: 14px; justify-content: flex-start; }
  .trust span { width: calc(50% - 9px); }
  .stage { height: 300px; }
  .stage-in { transform: rotateX(8deg) rotateY(-6deg); }
  .device.laptop { width: 100%; left: 0; top: 30px; }
  .laptop .screen { padding: 5px; border-radius: 10px; }
  .scan-card { top: 200px; left: -2px; width: 210px; padding: 10px 12px; }
  .scan-card .sc-av { width: 38px; height: 38px; font-size: 13px; }
  .stat-card { width: 150px; padding: 10px 12px; top: -16px; right: 0; }
  .stat-card b { font-size: 19px; }
  .mini-bars { height: 22px; }
  .device.phone { width: 116px; height: 226px; top: 110px; right: -2px; border-radius: 24px; padding: 7px; }
  .ph-in { border-radius: 18px; padding: 24px 8px 10px; }
  .phone .notch { top: 10px; width: 38px; height: 10px; }
  .ph-head { font-size: 8px; margin-bottom: 8px; }
  .qr { width: 74px; height: 74px; padding: 6px; border-radius: 8px; margin-bottom: 8px; }
  .ph-in b { font-size: 11px; } .ph-in small { font-size: 9px; margin-bottom: 4px; } .tag { font-size: 9px; }
  .feat-grid, .pain-grid, .trust-grid, .steps { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px; }
  .feat .ico { grid-row: span 2; margin: 0; }
  .feat h3 { margin-bottom: 4px; }
  .k-body { grid-template-columns: 1fr; }
  .k-cam { min-height: 150px; }
  .k-top small { display: none; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .cloud-in { transform: rotateY(-8deg) rotateX(5deg); }
  .chip { font-size: 12.5px; padding: 7px 11px; }
  .chip.c1 { top: -14px; left: 4px; } .chip.c2 { bottom: -14px; right: 4px; }
  .form .two { grid-template-columns: 1fr; gap: 0; }
  .amt b { font-size: 40px; }
  .foot-in { grid-template-columns: 1fr; }
  .head { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-frame { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
