:root {
  --bg: #0a0d0c;
  --bg-2: #0f1513;
  --card: #141a18;
  --card-2: #1a211e;
  --line: rgba(255, 255, 255, 0.08);
  --fg: #f2f6f4;
  --muted: #93a69d;
  --accent: #3fbf86;
  --accent-2: #7cf0b8;
  --radius: 22px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent {
  background: linear-gradient(92deg, var(--accent-2) 0%, #33b57a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 13, 12, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.3px; }
.brand img { width: 30px; height: 30px; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700;
  font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(145deg, #4fd596, #22885a); color: #04110a; box-shadow: 0 10px 30px rgba(46, 158, 107, 0.35); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--fg); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav nav a.btn-primary { color: #04110a; }
.nav nav a.btn-primary:hover { color: #04110a; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 40px; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--accent-2); background: rgba(63, 191, 134, .1); border: 1px solid rgba(124, 240, 184, .18); }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -3px; margin: 22px 0 0; font-weight: 800; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 540px; margin: 22px 0 0; }
.cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: var(--accent); }

.device-stage { position: relative; height: 720px; }
.phone { position: absolute; width: 300px; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #2b3137, #141719 60%); box-shadow: 0 50px 100px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone .screen { border-radius: 38px; overflow: hidden; background: #16191d; }
.phone .sb { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 26px; font-size: 13px; font-weight: 700; }
.phone .sb i { width: 12px; height: 12px; border-radius: 50%; background: #000; }
.phone .sb .ic { display: flex; gap: 5px; align-items: center; }
.phone .sb svg { width: 13px; height: 13px; fill: #fff; }
.phone .sb b { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid #fff; padding: 1px; display: block;
  background: linear-gradient(90deg, #fff 78%, transparent 78%); background-clip: content-box; }
.phone.front { left: 50%; top: 10px; transform: translateX(-40%); z-index: 2; }
.phone.back { left: 50%; top: 60px; transform: translateX(-82%) rotate(-7deg); opacity: .6; }
.hero h1, .hero .lead { position: relative; z-index: 3; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px;
  background: rgba(26, 32, 30, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.float .ci { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, #4fd596, #22885a); }
.float .ci svg { width: 22px; height: 22px; fill: #fff; }
.float b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.3px; line-height: 1.15; }
.float small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -2px; line-height: 1.08; margin: 16px 0 0; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .ci { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(63, 191, 134, .12); border: 1px solid rgba(124, 240, 184, .16); }
.feature .ci svg { width: 26px; height: 26px; fill: var(--accent-2); }
.feature h3 { font-size: 20px; margin: 20px 0 8px; letter-spacing: -.4px; }
.feature p { color: var(--muted); margin: 0; font-size: 15.5px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-size: 36px; letter-spacing: -1.5px; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 18px;
  max-width: var(--max); margin: 0 auto; scrollbar-width: thin; }
.gallery img { width: 260px; flex: none; border-radius: 22px; scroll-snap-align: center; border: 1px solid var(--line); }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

.final { text-align: center; position: relative; overflow: hidden; border-radius: 32px; margin: 0 24px; padding: 80px 24px;
  background: radial-gradient(80% 120% at 50% 0%, #1d3a2d, #101614 70%); border: 1px solid var(--line); }
.final h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -2px; margin: 0; line-height: 1.05; }
.final p { color: var(--muted); font-size: 18px; margin: 18px 0 30px; }

footer { padding: 60px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---------- document pages (privacy, credits, support) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 40px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -2px; line-height: 1.05; margin: 0; }
.doc .meta { color: var(--muted); margin-top: 12px; }
.doc h2 { font-size: 22px; letter-spacing: -.5px; margin: 40px 0 10px; }
.doc p, .doc li { color: #c6d2cc; }
.doc li { margin: 6px 0; }
.doc .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 22px; }
.doc code { background: var(--card-2); padding: 2px 8px; border-radius: 8px; font-size: 14px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta, .trust { justify-content: center; }
  .device-stage { height: 720px; max-width: 460px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .device-stage { height: 600px; }
  .phone.back { display: none; }
  .phone.front { transform: translateX(-50%); }
  .float.f2 { display: none; }
  section { padding: 64px 0; }
}
