/* =========================================================
   eKlinik — Landing page
   ========================================================= */
:root {
  --ink: #061719;
  --ink-2: #0a2427;
  --ink-3: #113538;
  --ink-line: rgba(153, 246, 228, 0.12);
  --teal: #0d9488;
  --teal-2: #14b8a6;
  --mint: #5eead4;
  --mint-2: #ccfbf1;
  --paper: #f4f8f7;
  --card: #ffffff;
  --line: #e2ebe9;
  --text: #0b1f22;
  --muted: #5a6d6f;
  --red: #f43f5e;
  --red-soft: #fff1f3;
  --amber: #f59e0b;
  --amber-soft: #fff8e6;
  --sky: #38bdf8;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(6, 23, 25, .06), 0 12px 32px -12px rgba(6, 23, 25, .18);
  --shadow-lg: 0 2px 4px rgba(6, 23, 25, .08), 0 40px 80px -24px rgba(6, 23, 25, .45);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
}

/* ---------- Language switching ---------- */
html[data-lang="ms"] body [lang="en"],
html[data-lang="en"] body [lang="ms"] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #2dd4bf, var(--teal));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 30px -8px rgba(20, 184, 166, .7);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 16px 40px -8px rgba(20, 184, 166, .85); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn .kbd-in { font-family: var(--mono); font-size: 12px; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.18); }

.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 24px; padding: 0 7px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px;
  background: #fff; color: var(--muted);
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin: 16px 0 18px; }
.section-head h2 .serif { font-size: 1.12em; color: var(--teal); }
.section-head p { font-size: 19px; color: var(--muted); }
.dark { background: var(--ink); color: #e6f2f1; }
.dark .section-head p { color: #9db5b4; }
.dark .eyebrow { color: var(--mint); }
.dark .section-head h2 .serif { color: var(--mint); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s;
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav.scrolled { background: rgba(6, 23, 25, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--ink-line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: #fff; letter-spacing: -0.03em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--mint); font-weight: 800; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { color: #b5cac9; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  position: relative; display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}
.lang-toggle button { position: relative; z-index: 1; padding: 6px 13px; font-size: 13px; font-weight: 800; color: #9db5b4; border-radius: 999px; transition: color .25s; letter-spacing: .04em; }
.lang-toggle button[aria-pressed="true"] { color: var(--ink); }
.lang-toggle .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--mint); transition: transform .35s cubic-bezier(.6,.2,.1,1.2); }
html[data-lang="en"] .lang-toggle .thumb { transform: translateX(100%); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 150px 0 120px;
  isolation: isolate;
}
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: 52%; top: 4%; background: radial-gradient(circle, rgba(20,184,166,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 460px; height: 460px; left: 72%; top: 30%; background: radial-gradient(circle, rgba(56,189,248,.35), transparent 65%); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: -6%; top: 40%; background: radial-gradient(circle, rgba(94,234,212,.22), transparent 65%); animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(-60px, 50px, 0) scale(1.12); } }

.ecg { position: absolute; left: 0; right: 0; bottom: 70px; height: 120px; z-index: -1; opacity: .5; pointer-events: none; }
.ecg path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ecg 5.5s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 1600; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.badge-new {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(94, 234, 212, .08); box-shadow: 0 0 0 1px rgba(94, 234, 212, .25) inset;
  font-size: 14px; color: var(--mint-2); font-weight: 600;
}
.badge-new b { background: var(--mint); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .05em; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.045em; margin: 26px 0 24px; line-height: 1.0; }
.hero h1 .serif { color: var(--mint); font-size: 1.1em; letter-spacing: -0.02em; }
.hero h1 .strike { position: relative; color: #6f8c8b; }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 6px; background: var(--red); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: strike .8s .9s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes strike { to { transform: scaleX(1) rotate(-3deg); } }
.hero-sub { font-size: 20px; color: #a9c1c0; max-width: 560px; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; margin: 36px 0 34px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #8fabaa; font-size: 14px; font-weight: 600; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--mint); }

/* Hero visual */
.hero-visual { position: relative; perspective: 1600px; }
.stage-3d { transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .6s ease; }
.hero-visual:hover .stage-3d { transform: rotateY(-4deg) rotateX(2deg); }
.float { position: absolute; z-index: 3; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- UI mock primitives ---------- */
.ui {
  background: #fff; color: var(--text); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  font-size: 13px; line-height: 1.45;
}
.ui-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #f7faf9; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1e7e6; }
.dots i:nth-child(1) { background: #ff6b6b; } .dots i:nth-child(2) { background: #ffc145; } .dots i:nth-child(3) { background: #2dd4bf; }
.ui-url { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); font-family: var(--mono); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; max-width: 280px; margin: 0 auto; }
.ui-shell { display: grid; grid-template-columns: 52px 1fr; min-height: 100%; }
.ui-side { background: #f7faf9; border-right: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ui-side i { width: 30px; height: 30px; border-radius: 9px; background: #e9f0ef; display: block; }
.ui-side i.on { background: var(--teal); box-shadow: 0 6px 14px -4px rgba(13,148,136,.6); }
.ui-main { padding: 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ui-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-h h4 { font-size: 15px; letter-spacing: -0.01em; }
.ui-muted { color: var(--muted); font-size: 12px; }
.ui-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.ui-label { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill.teal { background: #e6faf6; color: #0f766e; }
.pill.red { background: var(--red-soft); color: #be123c; }
.pill.amber { background: var(--amber-soft); color: #b45309; }
.pill.sky { background: #e8f6fe; color: #0369a1; }
.pill.gray { background: #eef2f2; color: #475a5c; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ui-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: var(--teal); color: #fff; font-weight: 700; font-size: 12px; }
.ui-btn .kbd { height: 18px; min-width: 20px; font-size: 10px; background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.25); }
.ui-btn.ghost { background: #eef4f3; color: var(--text); }
.ui-btn.ghost .kbd { background: #fff; color: var(--muted); border-color: var(--line); }
.ui-input { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--teal-2); border-radius: 10px; padding: 9px 11px; box-shadow: 0 0 0 4px rgba(20,184,166,.12); font-size: 13px; }
.ui-input .kbd { height: 20px; }
.caret { display: inline-block; width: 1.5px; height: 15px; background: var(--teal); vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.alert-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--red-soft); color: #9f1239; font-weight: 700; font-size: 12.5px; border: 1px solid #fecdd3; }
.alert-bar svg { width: 16px; height: 16px; flex: none; }
.vitals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vital { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.vital small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vital b { font-size: 16px; font-family: var(--mono); font-weight: 600; letter-spacing: -0.02em; }
.vital.flag { border-color: #fcd34d; background: var(--amber-soft); }
.vital.flag b { color: #b45309; }
.rx { display: grid; gap: 6px; }
.rx-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f7faf9; }
.rx-row b { font-size: 12.5px; }
.rx-row .ui-muted { font-size: 11px; }
.rx-row .qty { font-family: var(--mono); font-weight: 600; color: var(--teal); font-size: 12px; }
.rx-row.blocked { background: var(--red-soft); outline: 1px dashed #fda4af; }
.rx-row.blocked b { color: #be123c; text-decoration: line-through; text-decoration-color: rgba(190,18,60,.4); }
.ui-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ui-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ui-table td:last-child { text-align: right; font-family: var(--mono); }
.ui-table tr.total td { border-bottom: 0; font-weight: 800; font-size: 15px; padding-top: 10px; }

/* Hero composition */
.hero-ui { width: 100%; }
.hero-ui .ui-main { padding: 16px 18px; }
.f-queue { top: -28px; right: -18px; width: 210px; }
.f-mc { bottom: 34px; left: -48px; width: 230px; animation-delay: -2s; }
.f-cash { bottom: -34px; right: 6px; width: 228px; animation-delay: -4s; }
.glass {
  background: rgba(10, 36, 39, .78); color: #fff;
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 0 0 1px rgba(153,246,228,.18) inset, 0 24px 50px -18px rgba(0,0,0,.6);
}
.glass .lbl { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8fb5b3; font-weight: 700; }
.q-num { font-family: var(--mono); font-size: 42px; font-weight: 600; line-height: 1; margin: 6px 0 4px; color: var(--mint); letter-spacing: -0.04em; }
.q-num.flash { animation: flash .8s ease; }
@keyframes flash { 0% { transform: scale(.85); opacity: .2; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.q-room { font-size: 13px; color: #cfe4e3; font-weight: 600; }
.mc-wrap { display: flex; gap: 12px; align-items: center; }
.mc-qr { width: 64px; height: 64px; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.mc-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mint); margin-top: 4px; }
.cash-v { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.spark { height: 34px; margin-top: 8px; }
.toast {
  position: absolute; left: 50%; top: 52%; z-index: 4; width: min(88%, 360px);
  transform: translate(-50%, 10px) scale(.96); opacity: 0; pointer-events: none;
  background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 0 0 2px var(--red), 0 30px 60px -20px rgba(244,63,94,.55);
  transition: all .45s cubic-bezier(.2,.9,.3,1.2);
  color: var(--text); font-size: 13px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast-h { display: flex; align-items: center; gap: 8px; color: #be123c; font-weight: 800; font-size: 13.5px; margin-bottom: 4px; }
.toast-h svg { width: 18px; height: 18px; }
.toast-a { display: flex; gap: 8px; margin-top: 10px; }
.toast-a span { padding: 6px 10px; border-radius: 8px; font-weight: 700; font-size: 11.5px; background: #f1f5f4; }
.toast-a span:first-child { background: var(--red); color: #fff; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink-2); color: #9fc0be; border-block: 1px solid var(--ink-line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--teal-2); font-size: 12px; margin-left: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pain vs gain ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.cmp-col { border-radius: var(--radius); padding: 36px; }
.cmp-old { background: #fff; border: 1px dashed #cfd9d7; }
.cmp-new { background: linear-gradient(160deg, #0b2b2e, #061719); color: #e6f2f1; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cmp-new::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 65%); }
.cmp-col h3 { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.cmp-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cmp-col li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.cmp-col li .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.cmp-old li .ic { background: #f3f5f5; color: #93a3a4; }
.cmp-old li { color: #6b7d7f; }
.cmp-new li .ic { background: rgba(94,234,212,.14); color: var(--mint); }
.cmp-new li b { color: #fff; }
.cmp-mid { display: grid; place-items: center; }
.cmp-arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(13,148,136,.7); }
.cmp-arrow svg { width: 26px; height: 26px; }

/* ---------- Journey (sticky scroll) ---------- */
.journey { background: linear-gradient(180deg, var(--paper), #eaf3f1 50%, var(--paper)); }
.journey-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
.steps { position: relative; padding-left: 56px; }
.track { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: #d3e2df; border-radius: 2px; }
.track-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--teal-2), var(--teal)); border-radius: 2px; transition: height .2s linear; }
.track-dot { position: absolute; left: -9px; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(20,184,166,.25), 0 0 0 2px var(--teal) inset; transition: top .2s linear; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .5s ease; }
.step.active { opacity: 1; }
.step-num { position: absolute; left: -56px; top: 0; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--muted); transition: all .4s; margin-top: -4px; }
.step.active .step-num { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.step-head { position: relative; }
.step-tag { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.step h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 8px 0 14px; }
.step > p, .step-head + p { color: var(--muted); font-size: 18px; max-width: 480px; }
.step ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.step li { display: flex; gap: 12px; font-size: 16px; }
.step li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }
.step li .kbd { margin: 0 2px; vertical-align: 1px; }
.step-visual { display: none; }
.stage { position: sticky; top: 110px; height: calc(100vh - 160px); max-height: 680px; min-height: 520px; }
.stage-inner { position: relative; height: 100%; }
.stage .screen { position: absolute; inset: 0; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.stage .screen.on { opacity: 1; transform: none; pointer-events: auto; }
.stage-glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(20,184,166,.28), transparent); filter: blur(30px); z-index: -1; }
.screen .ui { position: relative; }
.screen-extra { position: absolute; z-index: 2; }

/* Queue list */
.qlist { display: grid; gap: 6px; }
.qrow { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f7faf9; font-size: 12.5px; }
.qrow .no { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.qrow.new { background: #e6faf6; box-shadow: 0 0 0 1.5px var(--teal-2) inset; animation: slidein .6s cubic-bezier(.2,.9,.3,1.2); }
@keyframes slidein { from { transform: translateX(-16px); opacity: 0; } }
.ic-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: #0f766e; font-weight: 700; background: #e6faf6; padding: 3px 8px; border-radius: 6px; }

/* Ticket */
.ticket { width: 170px; background: #fff; border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 62%; width: 18px; height: 18px; background: var(--paper); border-radius: 50%; }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket small { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.ticket b { display: block; font-family: var(--mono); font-size: 38px; color: var(--ink); line-height: 1.1; margin: 4px 0 10px; letter-spacing: -0.04em; }
.ticket hr { border: 0; border-top: 2px dashed var(--line); margin: 10px -4px; }
.ticket span { font-size: 11px; color: var(--muted); }

/* Label sticker */
.label-sticker { width: 260px; min-height: 156px; background: #fff; border-radius: 6px; padding: 10px 12px; font-size: 9.5px; line-height: 1.35; box-shadow: var(--shadow-lg); border: 1px solid #eee; font-family: var(--mono); color: #111; transform: rotate(-4deg); }
.label-sticker b { font-size: 11px; display: block; }
.label-sticker .lh { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding-bottom: 3px; margin-bottom: 4px; font-weight: 700; }

/* Receipt */
.receipt { width: 200px; background: #fff; padding: 16px 14px 22px; font-family: var(--mono); font-size: 10px; color: #222; box-shadow: var(--shadow-lg); line-height: 1.5;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 6px 100%, transparent 98%, #000) bottom/12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 6px 100%, transparent 98%, #000) bottom/12px 8px repeat-x; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
.receipt .r { display: flex; justify-content: space-between; }
.receipt .big { font-size: 13px; font-weight: 700; }

/* Bars */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 10px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--teal-2), #99e6da); height: var(--h); transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.bars i:last-child { background: linear-gradient(180deg, var(--ink-3), var(--ink)); }
@keyframes grow { from { transform: scaleY(0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { font-size: 10.5px; color: var(--muted); font-weight: 700; display: block; }
.kpi b { font-family: var(--mono); font-size: 19px; letter-spacing: -0.03em; }
.kpi.warn { background: var(--amber-soft); border-color: #fde68a; }
.kpi.alert { background: var(--red-soft); border-color: #fecdd3; }

/* ---------- Playground ---------- */
.playground { position: relative; overflow: hidden; }
.playground::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(20,184,166,.22), transparent 70%); pointer-events: none; }
.pg-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; position: relative; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; max-width: 460px; }
.key {
  position: relative; height: 92px; border-radius: 18px; text-align: left; padding: 14px 16px;
  background: linear-gradient(180deg, #17393c, #0e2b2e); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 0 #041012, 0 12px 24px -6px rgba(0,0,0,.6);
  transition: transform .08s ease, box-shadow .08s ease, background .2s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.key b { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.key small { font-size: 12px; color: #8fb5b3; font-weight: 600; line-height: 1.2; }
.key:hover { background: linear-gradient(180deg, #1d4649, #12363a); }
.key.down, .key:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 0 #041012, 0 4px 10px -4px rgba(0,0,0,.6); background: linear-gradient(180deg, #0f766e, #0d5f59); }
.key.down small { color: var(--mint-2); }
.pg-hint { margin-top: 22px; font-size: 14px; color: #8fb5b3; display: flex; align-items: center; gap: 10px; }
.pg-hint .live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94,234,212,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94,234,212,0); } 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); } }
.pg-screen .ui { min-height: 440px; }
.pg-screen .ui-main { gap: 14px; }
.pg-log { font-family: var(--mono); font-size: 11.5px; background: #061719; color: #a7d8d2; border-radius: 12px; padding: 12px 14px; height: 116px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.pg-log div { animation: slidein .35s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-log .t { color: #4f8580; margin-right: 8px; }
.pg-log .k { color: var(--mint); }
.pg-search-results { display: grid; gap: 6px; }
.pg-overlay { position: absolute; inset: 0; background: rgba(6,23,25,.55); backdrop-filter: blur(3px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 5; }
.pg-overlay.show { opacity: 1; pointer-events: auto; }
.pg-overlay .ui-card { width: 78%; box-shadow: var(--shadow-lg); }
.pg-overlay .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.pg-toast { position: absolute; right: 14px; bottom: 14px; z-index: 6; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; transform: translateY(20px); opacity: 0; transition: all .35s cubic-bezier(.2,.9,.3,1.2); box-shadow: var(--shadow-lg); }
.pg-toast.show { transform: none; opacity: 1; }
.pg-toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-2); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.timer { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--mono); }
.timer b { font-size: 28px; color: var(--mint); font-weight: 600; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile .t-ic { width: 46px; height: 46px; border-radius: 14px; background: #e6faf6; color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.tile .t-ic svg { width: 24px; height: 24px; }
.t-span2 { grid-column: span 2; } .t-span3 { grid-column: span 3; } .t-span4 { grid-column: span 4; }
.t-row2 { grid-row: span 2; }
.tile.ink { background: var(--ink); color: #e6f2f1; border-color: var(--ink); }
.tile.ink p { color: #93b0af; }
.tile.ink .t-ic { background: rgba(94,234,212,.12); color: var(--mint); }
.tile.mint { background: linear-gradient(150deg, #ccfbf1, #e8fbf7); border-color: #b5ece1; }

.tv { margin-top: 22px; background: #020c0d; border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; box-shadow: 0 0 0 8px #10292b, 0 30px 50px -20px rgba(0,0,0,.6); }
.tv-now small { color: #6f9e9a; font-weight: 700; letter-spacing: .14em; font-size: 11px; text-transform: uppercase; }
.tv-now b { display: block; font-family: var(--mono); font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--mint); margin: 8px 0; letter-spacing: -0.05em; text-shadow: 0 0 30px rgba(94,234,212,.5); }
.tv-now span { color: #cde6e3; font-weight: 700; }
.tv-next { display: grid; gap: 8px; align-content: start; }
.tv-next div { display: flex; justify-content: space-between; background: #0b2022; border-radius: 10px; padding: 9px 12px; font-family: var(--mono); color: #9cc7c2; font-size: 14px; }

.mc-demo { display: flex; gap: 20px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.mc-paper { width: 150px; aspect-ratio: 148/210; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 12px; font-size: 7px; color: #555; position: relative; flex: none; }
.mc-paper .ln { height: 4px; background: #e9eeee; border-radius: 2px; margin: 5px 0; }
.mc-paper .ln.s { width: 60%; } .mc-paper .ln.h { height: 6px; background: #cfe9e5; width: 70%; }
.mc-paper .qr { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; }
.scanline { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--teal-2); box-shadow: 0 0 12px 2px var(--teal-2); top: 10%; opacity: 0; }
.mc-paper.scanning .scanline { opacity: 1; animation: scan 1s ease-in-out; }
@keyframes scan { from { top: 10%; } to { top: 90%; } }
.verify { flex: 1; min-width: 200px; }
.verify-card { border-radius: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; opacity: .35; filter: blur(1px); transition: all .5s; }
.verify-card.ok { opacity: 1; filter: none; border-color: #99f6e4; box-shadow: 0 10px 30px -12px rgba(20,184,166,.5); }
.verify-card .vh { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #0f766e; margin-bottom: 6px; }
.verify-card .vr { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; color: var(--muted); }
.verify-card .vr b { color: var(--text); }
.scan-btn { margin-top: 12px; }

.fefo { margin-top: 20px; display: grid; gap: 8px; }
.fefo-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 13.5px; }
.fefo-row .bar { grid-column: 1 / -1; height: 6px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.fefo-row .bar i { display: block; height: 100%; width: var(--w); background: var(--mint); border-radius: 4px; }
.fefo-row.first { background: rgba(94,234,212,.1); box-shadow: 0 0 0 1px rgba(94,234,212,.35) inset; }
.fefo-row.exp .bar i { background: var(--red); }
.fefo-row.near .bar i { background: var(--amber); }

.roles { display: grid; gap: 10px; margin-top: 20px; }
.role { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f7faf9; font-size: 14px; }
.role .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.role .perm { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

.lang-demo { display: grid; gap: 10px; margin-top: 20px; }
.lang-demo div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; }
.lang-demo span:last-child { color: var(--muted); font-weight: 500; text-align: right; }

.device-row { display: flex; gap: 14px; align-items: flex-end; margin-top: 22px; }
.dev { background: var(--ink); border-radius: 12px; padding: 6px; }
.dev i { display: block; background: linear-gradient(160deg, #ccfbf1, #fff); border-radius: 7px; height: 100%; }
.dev.desk { width: 120px; height: 78px; }
.dev.tab { width: 70px; height: 92px; border-radius: 12px; }
.dev.tv2 { width: 96px; height: 60px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.vault { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; width: 100%; }
.ring { position: absolute; inset: 0; border-radius: 50%; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(94,234,212,.3); animation: spin 40s linear infinite; }
.ring:nth-child(2) { inset: 14%; }
.ring:nth-child(2)::before { border-style: solid; border-color: rgba(94,234,212,.16); border-top-color: rgba(94,234,212,.7); animation-duration: 9s; animation-direction: reverse; }
.ring:nth-child(3) { inset: 28%; }
.ring:nth-child(3)::before { border-color: rgba(94,234,212,.45); animation-duration: 18s; }
.ring b { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ink-3); color: var(--mint-2); border: 1px solid rgba(94,234,212,.3); font-size: 11.5px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; font-family: var(--mono); font-weight: 600; z-index: 1; }
.ring:nth-child(2) b { top: auto; bottom: -14px; }
.ring:nth-child(3) b { top: 50%; left: auto; right: -40px; transform: translateY(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }
.core { position: absolute; inset: 38%; border-radius: 30%; background: linear-gradient(150deg, var(--teal-2), #0f5c57); display: grid; place-items: center; box-shadow: 0 0 80px rgba(20,184,166,.5), 0 0 0 1px rgba(255,255,255,.2) inset; }
.core svg { width: 46%; height: 46%; color: #fff; }
.cipher { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 120%); margin-top: 70px; font-family: var(--mono); font-size: 12px; color: var(--mint); white-space: nowrap; background: rgba(6,23,25,.8); padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(94,234,212,.25); }
.sec-list { display: grid; gap: 14px; }
.sec-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--ink-line); transition: background .3s; }
.sec-item:hover { background: rgba(94,234,212,.06); }
.sec-item .t-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(94,234,212,.12); color: var(--mint); display: grid; place-items: center; }
.sec-item .t-ic svg { width: 22px; height: 22px; }
.sec-item h4 { font-size: 17px; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }
.sec-item p { color: #93b0af; font-size: 15px; }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.roi-in { background: #fff; padding: 48px; }
.roi-out { background: var(--ink); color: #fff; padding: 48px; position: relative; overflow: hidden; }
.roi-out::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 65%); }
.field { margin-bottom: 30px; }
.field-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 700; }
.field-h output { font-family: var(--mono); font-size: 24px; color: var(--teal); font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--teal-2) var(--p, 50%), #e2ebe9 var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 4px 12px rgba(13,148,136,.4); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); cursor: grab; }
.field small { color: var(--muted); font-size: 13px; display: block; margin-top: 8px; }
.roi-big { position: relative; }
.roi-big small { color: #8fb5b3; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.roi-big b { display: block; font-family: var(--mono); font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--mint); letter-spacing: -0.05em; font-weight: 600; margin: 10px 0; }
.roi-big > span { color: #cfe4e3; font-size: 17px; }
.roi-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; position: relative; }
.roi-stats div { background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); border-radius: 16px; padding: 16px; }
.roi-stats b { font-family: var(--mono); font-size: 26px; display: block; color: #fff; letter-spacing: -0.03em; font-weight: 600; }
.roi-stats span { color: #8fb5b3; font-size: 13.5px; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.price-card { position: relative; border-radius: 28px; padding: 44px; background: var(--ink); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--mint) 75%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --a: 360deg; } }
.price-card .tag { display: inline-block; background: var(--mint); color: var(--ink); font-weight: 800; padding: 5px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.price-card h3 { font-size: 26px; margin: 18px 0 6px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.price .cur { font-size: 24px; font-weight: 700; color: #9db5b4; }
.price b { font-size: 96px; line-height: 1; letter-spacing: -0.06em; font-weight: 800; }
.price span { color: #9db5b4; font-weight: 600; }
.price-note { color: #9db5b4; font-size: 15px; }
.price-note b { color: var(--mint); }
.price-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.price-list li { display: flex; gap: 10px; font-size: 15px; color: #d7e9e7; }
.price-list svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }
.price-card .btn { width: 100%; }
.roadmap { background: #fff; border-radius: 28px; padding: 40px; border: 1px solid var(--line); }
.roadmap h3 { font-size: 22px; margin-bottom: 6px; }
.roadmap > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.phase { position: relative; padding-left: 26px; padding-bottom: 22px; }
.phase::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -2px; width: 2px; background: var(--line); }
.phase:last-child::before { display: none; }
.phase::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.phase.done::after { background: var(--teal); }
.phase h4 { font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.phase .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.phase .chips span { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; background: #f1f6f5; color: #3d5254; font-weight: 600; }
.phase.done .chips span { background: #e6faf6; color: #0f766e; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #eef6f4; color: var(--teal); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 720px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 120px 0; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 20% 30%, rgba(20,184,166,.35), transparent 70%), radial-gradient(ellipse 40% 60% at 90% 80%, rgba(56,189,248,.2), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.cta h2 .serif { color: var(--mint); }
.cta p.lead { color: #a9c1c0; font-size: 19px; margin-top: 20px; max-width: 520px; }
.cta-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta-points span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); font-size: 14px; font-weight: 600; color: #cfe4e3; }
.form { background: #fff; color: var(--text); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 22px; margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form input, .form select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfdfc; font-size: 16px; margin-bottom: 16px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(20,184,166,.14); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; margin-top: 4px; }
.form small { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Footer ---------- */
footer { background: #031012; color: #7f9d9c; padding: 56px 0 40px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .pg-grid, .sec-grid, .cta-grid, .price-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 80px; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-span2, .t-span3, .t-span4 { grid-column: span 2; }
  .t-row2 { grid-row: auto; }
  .bento .tile.half { grid-column: span 1; }
  .journey-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: auto; opacity: 1; padding: 36px 0 48px; }
  .step-visual { display: block; margin-top: 30px; position: relative; }
  .step-visual .screen { position: relative; }
  .track { display: none; }
  .steps { padding-left: 0; }
  .step-num { position: static; margin-bottom: 14px; background: var(--ink); color: var(--mint); border-color: var(--ink); }
  .roi { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { background: rgba(6, 23, 25, .97); }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: rgba(6, 23, 25, .97); margin: 0; border-bottom: 1px solid var(--ink-line); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--ink-line); }
  .compare { grid-template-columns: 1fr; }
  .cmp-mid { transform: rotate(90deg); }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 120px 0 90px; }
  .hero-sub { font-size: 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stage-3d { transform: none !important; }
  .f-queue { top: -44px; right: -6px; width: 156px; padding: 10px 12px; }
  .f-queue .q-num { font-size: 30px; }
  .f-mc { display: none; }
  .f-cash { bottom: -44px; right: auto; left: -6px; width: 180px; padding: 10px 12px; }
  .cash-v { font-size: 20px; }
  .ui { font-size: 12px; }
  .ui-shell { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-main { padding: 12px; }
  .vitals { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .t-span2, .t-span3, .t-span4, .bento .tile.half { grid-column: auto; }
  .tile { padding: 22px; }
  .tv { grid-template-columns: 1fr; padding: 16px; }
  .keys { gap: 10px; }
  .key { height: 80px; padding: 10px 12px; }
  .key b { font-size: 18px; }
  .roi-in, .roi-out { padding: 28px 22px; }
  .price-card, .roadmap { padding: 28px 22px; }
  .price b { font-size: 76px; }
  .price-list { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .form .row2 { grid-template-columns: 1fr; gap: 0; }
  .cmp-col { padding: 26px 20px; }
  .screen-extra { transform: scale(.78); }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; }
  .lang-toggle button { padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
