/* megobe.com - dark, animated, RTL-safe (logical properties throughout).
   Motion is decoration only: everything is readable with JS off or with
   prefers-reduced-motion, which switches every animation off. */
:root {
  --bg: #060a12;
  --surface: rgba(255, 255, 255, .045);
  --surface2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --text: #e9eef6;
  --muted: #98a6ba;
  --teal: #2dd4bf;
  --grad: linear-gradient(100deg, #5eead4 0%, #60a5fa 45%, #a78bfa 75%, #fbbf24 100%);
  --radius: 22px;
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:lang(zh) { --font: "Plus Jakarta Sans", "Noto Sans SC", system-ui, sans-serif; }
:lang(ar) { --font: "Noto Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }
:lang(hi) { --font: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #99f6e4; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 8s ease-in-out infinite alternate; }
@keyframes gradMove { to { background-position: 100% 0; } }

/* ------------------------------------------------------------------ nav */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled, .top.solid { background: rgba(6, 10, 18, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav > a:hover { color: #fff; background: var(--surface); }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); user-select: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 16px; height: 16px; }
.langs[open] summary { border-color: rgba(45, 212, 191, .5); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 200px; background: #0d1626; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: pop .18s ease-out; }
.langs li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 15px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--surface2); color: #fff; }
.langs li a small { color: var(--muted); font-size: 12px; text-transform: uppercase; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }
@media (max-width: 480px) { .nav .hide-xs { display: none; } .langs summary span { display: none; } }

/* -------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .2s ease, box-shadow .3s ease; font-family: inherit; }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-primary { color: #04121a; background: linear-gradient(100deg, #5eead4, #60a5fa); box-shadow: 0 10px 30px -8px rgba(45, 212, 191, .55); }
.btn-primary:hover { color: #04121a; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(96, 165, 250, .6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; z-index: -1; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; isolation: isolate; }
.hero.short { min-height: 0; padding: 150px 0 80px; }
.aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .5; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 42vmax; height: 42vmax; background: #0f766e; inset-inline-start: 5%; top: 5%; }
.aurora i:nth-child(2) { width: 36vmax; height: 36vmax; background: #1d4ed8; inset-inline-end: 0; top: 20%; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vmax; height: 30vmax; background: #6d28d9; inset-inline-start: 35%; bottom: 0; animation-duration: 26s; animation-delay: -12s; opacity: .7; }
@keyframes drift { 50% { transform: translate(6vmax, -4vmax) scale(1.08); } 100% { transform: translate(-4vmax, 5vmax) scale(.95); } }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%); animation: gridPan 30s linear infinite; }
@keyframes gridPan { to { background-position: 56px 56px, 56px 56px; } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.kicker .live { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0; font-weight: 800; }
.hero.short h1 { font-size: clamp(38px, 5.4vw, 66px); }
:lang(zh) .hero h1, :lang(ar) .hero h1, :lang(hi) .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero p.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 590px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.scroll-cue { position: absolute; bottom: 22px; inset-inline: 0; margin: auto; width: max-content; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 760px), (max-width: 960px) { .scroll-cue { display: none; } }

/* ---------------------------------------------------------- stage+phone */
/* The stage is laid out left-to-right in every language: it is a picture. */
.stage { direction: ltr; position: relative; height: 640px; perspective: 1400px; }
@media (max-width: 960px) { .stage { height: 620px; max-width: 460px; margin-inline: auto; width: 100%; } }
@media (max-width: 420px) { .stage { height: 570px; } }
.stage [dir="rtl"] { direction: rtl; }
.phone { position: absolute; left: 50%; top: 50%; width: 300px; height: 612px; margin: -306px 0 0 -150px; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a3446, #0b111c 40%, #1b2433); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotateY(calc(-10deg + var(--rx, 0deg))) rotateX(calc(5deg + var(--ry, 0deg))); transition: transform .25s ease-out; }
@media (max-width: 420px) { .phone { width: 270px; height: 552px; margin: -276px 0 0 -135px; } }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0b1322; color: #e6edf7; font-size: 12px; line-height: 1.35; }
.notch { position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 3; }
.statusbar { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 11px; font-weight: 700; color: #cbd5e1; height: 40px; }
.app-h { padding: 6px 16px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-h b { font-size: 16px; letter-spacing: -.01em; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; background: rgba(255, 255, 255, .08); color: #cbd5e1; white-space: nowrap; }
.chip.ok { background: rgba(45, 212, 191, .16); color: #5eead4; }
.chip.dim { background: rgba(148, 163, 184, .14); color: #cbd5e1; }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.legend { display: flex; gap: 6px; padding: 0 16px 4px; }

/* arrivals chart inside the phone */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding: 26px 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 6px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5eead4, #0f766e); height: var(--h); transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 90ms); position: relative; }
.bars span.t { background: linear-gradient(180deg, rgba(148, 163, 184, .75), rgba(71, 85, 105, .5)); }
.bars span.peak::after { content: attr(data-v); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: #5eead4; }
@keyframes grow { from { transform: scaleY(0); } }
.axis { display: flex; gap: 6px; padding: 0 16px; color: #64748b; font-size: 9.5px; }
.axis span { flex: 1; text-align: center; }
.rows { padding: 8px 12px; display: grid; gap: 7px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .05); }
.row b { font-size: 12px; }
.row small { color: #94a3b8; font-size: 10.5px; display: block; }
.row .n { font-weight: 800; font-size: 14px; color: #fff; text-align: end; white-space: nowrap; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: flex; justify-content: space-around; align-items: center; background: rgba(8, 14, 26, .94); border-top: 1px solid rgba(255, 255, 255, .06); }
.tabbar i { width: 22px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.tabbar i.on { background: var(--teal); width: 28px; }

/* map + route inside the phone */
.map { position: relative; height: 320px; background: radial-gradient(circle at 30% 30%, #12213a, #0a1426 70%); overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .road { stroke: rgba(148, 163, 184, .16); stroke-width: 6; fill: none; stroke-linecap: round; }
.map .road.thin { stroke-width: 2.5; stroke: rgba(148, 163, 184, .12); }
.map .water { fill: rgba(56, 189, 248, .07); }
.map .route { stroke: url(#rg); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.6s .3s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .car { offset-path: path("M58 262 C 92 222, 66 182, 128 152 S 204 108, 236 58"); offset-rotate: 0deg; animation: drive 2.6s .3s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 15px 18px; background: #0f1a2e; border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 -20px 40px rgba(0, 0, 0, .35); }
.sheet .grab { width: 38px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .2); margin: 0 auto 10px; }
.stop { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.stop .pin { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--teal); flex: none; }
.stop .pin.b { border-color: #fbbf24; border-radius: 3px; }
.stop small { display: block; color: #94a3b8; font-size: 10px; }
.stop b { font-size: 12.5px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 12px; }
.facts div { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 7px 8px; min-width: 0; }
.facts small { display: block; color: #94a3b8; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts b { font-size: 13px; white-space: nowrap; }
.facts .price b { color: #5eead4; }
.mbtn { display: block; text-align: center; padding: 11px; border-radius: 12px; font-weight: 800; font-size: 13px; color: #04121a; background: linear-gradient(100deg, #5eead4, #60a5fa); }

/* radar inside the phone */
.radar { position: relative; height: 270px; margin: 4px 12px; border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 50% 55%, #0f2a3a 0, #0b1628 65%); border: 1px solid rgba(255, 255, 255, .06); }
.radar .ring { position: absolute; left: 50%; top: 55%; border: 1px solid rgba(94, 234, 212, .18); border-radius: 50%; transform: translate(-50%, -50%); }
.radar .sweep { position: absolute; left: 50%; top: 55%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(45, 212, 191, .35), rgba(45, 212, 191, 0) 70deg, transparent 360deg); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar .me { position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(96, 165, 250, .5); }
.blip { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--c, #2dd4bf); box-shadow: 0 0 12px var(--c, #2dd4bf); }
.blip::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c, #2dd4bf); animation: blipA 2.2s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes blipA { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }

/* floating glass cards around the phone */
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 16px; background: rgba(14, 22, 38, .8); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 45px -15px rgba(0, 0, 0, .7); font-size: 13px; white-space: nowrap; max-width: 260px; animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); transform: translate(var(--px, 0), var(--py, 0)); transition: transform .3s ease-out; }
.float > div { min-width: 0; }
.float b { display: block; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.float small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 18px; height: 18px; }
@keyframes bob { 50% { translate: 0 -12px; } }
.f1 { top: 1%; left: -8%; }
.f2 { top: 38%; right: -10%; --d: -2s; }
.f3 { bottom: 13%; left: -12%; --d: -4s; }
.f4 { bottom: 0; right: -4%; --d: -1s; }
@media (max-width: 1180px) { .f2 { right: -2%; } .f3 { left: -3%; } .f1 { left: 0; } }
@media (max-width: 520px) { .float { font-size: 12px; padding: 8px 10px; max-width: 200px; } .float b { font-size: 12.5px; } .float .ic { width: 28px; height: 28px; } .f1 { left: 0; top: 4%; } .f3 { left: 0; } .f2 { right: 0; } .f4 { display: none; } }
.ic.teal { background: rgba(45, 212, 191, .16); color: #5eead4; }
.ic.blue { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.ic.amber { background: rgba(251, 191, 36, .16); color: #fcd34d; }
.ic.violet { background: rgba(167, 139, 250, .16); color: #c4b5fd; }
.glow { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .32), transparent 65%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
.glow.violet { background: radial-gradient(circle, rgba(167, 139, 250, .32), transparent 65%); }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }

/* -------------------------------------------------------------- marquee */
.marquee { direction: ltr; position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(45, 212, 191, .05), rgba(96, 165, 250, .05)); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 50s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-weight: 700; font-size: 18px; color: #cbd5e1; white-space: nowrap; }
.marquee span::after { content: "\2726"; color: var(--teal); font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- sections */
section { position: relative; padding: 110px 0; overflow-x: clip; }
@media (max-width: 720px) { section { padding: 76px 0; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
:lang(zh) .eyebrow, :lang(ar) .eyebrow, :lang(hi) .eyebrow { letter-spacing: .04em; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
:lang(zh) h2, :lang(ar) h2, :lang(hi) h2 { line-height: 1.3; letter-spacing: 0; }
h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: 19px; color: var(--muted); max-width: 660px; margin: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.mt { margin-top: 44px; }

/* stats */
.stats { padding: 80px 0; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat .num { font-size: clamp(42px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* cards with a spotlight that follows the pointer */
.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s ease, border-color .35s ease; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 191, .14), transparent 45%); }
.card:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, .35); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(45, 212, 191, .2), rgba(96, 165, 250, .2)); color: #5eead4; border: 1px solid rgba(94, 234, 212, .25); }
.card .icon svg { width: 24px; height: 24px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: #cbd5e1; display: grid; gap: 8px; font-size: 15px; }
.card ul li { display: flex; gap: 10px; align-items: flex-start; }
.card ul li::before, .ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(45, 212, 191, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* product showcase */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 60px; }
.show + .show { margin-top: 110px; }
.show.rev .show-text { order: 2; }
@media (max-width: 960px) { .show { grid-template-columns: 1fr; gap: 30px; } .show.rev .show-text { order: 0; } }
.show .stage { height: 660px; }
@media (max-width: 960px) { .show .stage { height: 640px; } }
@media (max-width: 420px) { .show .stage { height: 590px; } }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #5eead4; padding: 6px 12px; border-radius: 999px; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .25); margin-bottom: 18px; }
.tag.soon { color: #fcd34d; background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .28); }
.show h3.big { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 16px; }
.show p.desc { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }

/* lab */
.lab { margin-top: 110px; position: relative; border-radius: 30px; padding: 54px; background: linear-gradient(135deg, rgba(167, 139, 250, .1), rgba(96, 165, 250, .06) 50%, rgba(251, 191, 36, .08)); border: 1px solid var(--line); overflow: hidden; }
@media (max-width: 640px) { .lab { padding: 30px 22px; } }
.lab-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lab-grid > *, .show > *, .hero-grid > * { min-width: 0; }
.lab h3, .show h3, .hero h1 { overflow-wrap: break-word; }
@media (max-width: 860px) { .lab-grid { grid-template-columns: 1fr; } }
.lab p { color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { min-width: 0; overflow-wrap: anywhere; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; text-align: center; padding: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: #cbd5e1; animation: bob 7s ease-in-out infinite; line-height: 1.3; }
.tile:nth-child(2) { animation-delay: -2.3s; }
.tile:nth-child(3) { animation-delay: -4.6s; }
.tile svg { width: 38px; height: 38px; margin: 0 auto 8px; }
.tile:nth-child(1) svg { color: #c4b5fd; }
.tile:nth-child(2) svg { color: #93c5fd; }
.tile:nth-child(3) svg { color: #fcd34d; }
@media (max-width: 420px) { .tile { font-size: 12px; } .tile svg { width: 30px; height: 30px; } }

/* statement: words light up as you scroll */
.statement { padding: 140px 0; }
.statement p.big { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.22; font-weight: 800; letter-spacing: -.02em; margin: 0; max-width: 1050px; }
:lang(zh) .statement p.big, :lang(ar) .statement p.big, :lang(hi) .statement p.big { line-height: 1.55; letter-spacing: 0; }
.js .statement .w { opacity: .16; transition: opacity .35s ease; }
.js .statement .w.on { opacity: 1; }

/* about + company */
.company { padding: 30px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(45, 212, 191, .1), rgba(96, 165, 250, .05)); border: 1px solid rgba(94, 234, 212, .2); }
.company dl { margin: 0; display: grid; gap: 16px; }
.company dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.company dd { margin: 2px 0 0; font-weight: 600; }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: #dbe4f0; }

/* contact CTA with an animated gradient border */
.cta { position: relative; padding: 70px 40px; border-radius: 32px; text-align: center; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, #5eead4, #60a5fa, #a78bfa, #fbbf24, #5eead4); animation: spin 8s linear infinite; }
.cta::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 30px; background: radial-gradient(ellipse at top, #10233a, #0a1322 70%); }
.cta h2 { margin-bottom: 12px; }
.cta .lead { margin: 0 auto 30px; }
.mail { font-size: clamp(20px, 3vw, 30px); font-weight: 800; word-break: break-all; }
@media (max-width: 640px) { .cta { padding: 50px 20px; } }

/* product pages */
.features .card h3 { display: flex; gap: 12px; align-items: baseline; }
.features .card h3 .k { font-size: 14px; color: var(--teal); font-weight: 800; flex: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step .k { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04121a; background: linear-gradient(135deg, #5eead4, #60a5fa); margin-bottom: 14px; }
.step p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.note { color: var(--muted); font-size: 14px; padding: 16px 18px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .02); margin-top: 36px; }
.stores { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #fcd34d; font-weight: 700; font-size: 15px; }
.stores svg { width: 18px; height: 18px; }

/* ------------------------------------------------------- document pages */
.doc { max-width: 820px; margin: 0 auto; padding: 140px 0 90px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 46px); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 18px; }
.doc h2 { font-size: 26px; margin: 38px 0 12px; letter-spacing: -.01em; }
.doc h3 { font-size: 20px; margin: 30px 0 10px; }
.doc h4 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #cfd8e5; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.doc th { background: var(--surface2); }
.doc blockquote { margin: 18px 0; padding: 14px 18px; border-inline-start: 3px solid var(--teal); background: var(--surface); border-radius: 12px; }
.doc code { background: var(--surface2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc .note { margin: 0 0 20px; }
.doc .panel { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin: 26px 0; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
.field textarea { min-height: 110px; resize: vertical; }
#result.ok, #result.err { padding: 14px 16px; border-radius: 12px; margin: 0 0 20px; font-weight: 600; }
#result.ok { background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .4); color: #99f6e4; }
#result.err { background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .4); color: #fecdd3; }

/* --------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: linear-gradient(180deg, transparent, rgba(45, 212, 191, .03)); }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { color: var(--muted); font-size: 15px; }
footer a:hover { color: #fff; }
footer p { color: var(--muted); font-size: 15px; }
footer .langlist { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
footer .langlist a { font-size: 14px; }
footer .langlist a[aria-current] { color: var(--teal); }
footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; color: #6b7a90; font-size: 13px; }

/* --------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .bars:not(.in) span, .js .map:not(.in) .route, .js .map:not(.in) .car { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .map .route { stroke-dashoffset: 0; }
  .map .car { offset-distance: 100%; }
  .js .statement .w { opacity: 1; }
  html { scroll-behavior: auto; }
}
