:root {
  --bg: #07090f;
  --bg-2: #0c1020;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f5f6fa;
  --muted: #9aa3b8;
  --faint: #6b7489;
  --accent: #4f7cff;
  --accent-2: #8b5cf6;
  --radius: 20px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.lang {
  font-size: 13px; font-weight: 650; letter-spacing: 0.04em; color: var(--muted);
  padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12);
}
.lang:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.nav .wrap > .lang { margin-left: 0; }
.nav .wrap > .btn { margin-left: -16px; }
@media (max-width: 960px) { .nav .wrap > .lang { margin-left: auto; } .nav .wrap > .btn { margin-left: -4px; } }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0a0d18; }
.btn-ghost { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 380px at 30% 30%, rgba(79, 124, 255, 0.28), transparent 70%),
    radial-gradient(560px 360px at 72% 40%, rgba(139, 92, 246, 0.24), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; color: #c9d3ff;
  background: rgba(79, 124, 255, 0.12); border: 1px solid rgba(79, 124, 255, 0.3);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 10px #5ee08a; }
h1 {
  font-size: clamp(42px, 7vw, 80px); line-height: 1.04; letter-spacing: -0.035em;
  margin: 26px auto 22px; max-width: 900px; font-weight: 750;
}
.grad { background: linear-gradient(100deg, #8fb0ff 0%, #b69cff 55%, #e7a6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.note { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Device frames */
.device {
  position: relative; background: #0d0f14; padding: 1.6%;
  border-radius: 6% / 8.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 0 0 7px #1a1d25, 0 40px 120px -20px rgba(40, 70, 200, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.device img { width: 100%; border-radius: 4.6% / 6.6%; }
.device.portrait { border-radius: 8% / 5.6%; padding: 2.2%; }
.device.portrait img { border-radius: 6.5% / 4.5%; }
.device.fold::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
}
.hero-device { max-width: 980px; margin: 72px auto 0; }

/* Sections */
section { padding: 110px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.kicker { color: #8fb0ff; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 10px 0 16px; font-weight: 720; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

/* Modes */
.modes { display: grid; grid-template-columns: 0.85fr 1.5fr 1fr; gap: 44px; align-items: center; }
.mode figcaption { margin-top: 30px; text-align: center; }
.mode h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.mode p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
}
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(143, 176, 255, 0.25);
}
.card .ic svg { width: 22px; height: 22px; stroke: #c9d6ff; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.keys span {
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; padding: 7px 10px; border-radius: 7px;
  background: #1b2030; border: 1px solid #2a3145; color: #dfe5ff;
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { text-align: left; }
.split p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #d7dcea; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* Privacy band */
.band {
  border-radius: 28px; padding: 64px 48px; text-align: center;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.16), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(143, 176, 255, 0.18);
}
.band h2 { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.stat { background: rgba(7, 9, 15, 0.45); border: 1px solid var(--card-border); border-radius: 18px; padding: 26px; }
.stat b { display: block; font-size: 34px; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 30px; left: 30px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: #fff; color: #0a0d18;
}
.step code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9d6ff; background: #161b2a; padding: 2px 6px; border-radius: 6px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--card-border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; font-size: 19px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--muted); }

/* CTA + footer */
.final { text-align: center; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 20px 60px -10px rgba(79, 124, 255, 0.6); }
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--text); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 24px 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 10px; text-align: left; }
.legal .meta { color: var(--faint); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 23px; margin: 44px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #c3c9d8; }
.legal a { color: #8fb0ff; }
.legal .summary { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 24px 26px; color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .modes { grid-template-columns: 1fr 1fr; }
  .modes .mode:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 12px; }
  .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .hero { padding-top: 64px; }
  section { padding: 76px 0; }
  .grid, .steps, .stats { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; gap: 56px; }
  .modes .device.portrait { max-width: 260px; margin: 0 auto; }
  .band { padding: 44px 22px; }
  .device { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 0 0 4px #1a1d25, 0 30px 80px -20px rgba(40, 70, 200, 0.45); }
}
