:root {
  --bg-top: #0f3036;
  --bg-bottom: #081a1e;
  --accent: #1fbdf0;     /* cyan */
  --accent2: #34edbd;    /* mint */
  --ink: #f3fbfd;
  --dim: rgba(243, 251, 253, 0.66);
  --faint: rgba(243, 251, 253, 0.42);
  --card: rgba(255, 255, 255, 0.045);
  --stroke: rgba(255, 255, 255, 0.10);
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(31,189,240,0.18), transparent 60%),
    radial-gradient(900px 600px at 8% 18%, rgba(52,237,189,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .12s ease, background .2s ease, border-color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(100deg, var(--accent), var(--accent2)); color: #04222a; box-shadow: 0 10px 30px rgba(31,189,240,0.28); }
.btn-ghost { border-color: var(--stroke); color: var(--ink); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); }
.btn-lg { font-size: 17px; padding: 16px 30px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  backdrop-filter: blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--dim); }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent2);
  border: 1px solid var(--stroke); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
  background: rgba(52,237,189,0.06);
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
.lead { font-size: 19px; color: var(--dim); margin: 20px 0 28px; max-width: 30em; }
.lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-line { margin-top: 20px; font-size: 13px; color: var(--faint); }

/* hero mock window */
.hero-visual { display: flex; justify-content: center; }
.window {
  width: 100%; max-width: 420px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--stroke); background: rgba(8,26,30,0.7);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.window-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--stroke); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.window-bar span:first-child { background: #ff5f57; } .window-bar span:nth-child(2){ background:#febc2e;} .window-bar span:nth-child(3){background:#28c840;}
.window-body { padding: 22px; display: flex; gap: 20px; align-items: center; }
.gauge { width: 104px; height: 104px; flex: none; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--accent2) 0 86%, rgba(255,255,255,0.08) 86% 100%);
  -webkit-mask: radial-gradient(circle 38px at center, transparent 98%, #000 100%);
          mask: radial-gradient(circle 38px at center, transparent 98%, #000 100%);
}
.gauge-num { font-size: 30px; font-weight: 800; } .gauge-label { font-size: 10px; color: var(--accent2); letter-spacing: .12em; }
.rows { flex: 1; display: grid; gap: 9px; }
.row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); }
.row b { color: var(--accent2); } .row.sel { border: 1px solid rgba(31,189,240,0.5); }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; text-align: center; }
.section-sub { text-align: center; color: var(--dim); margin-top: 10px; font-size: 17px; }
.section-sub.small { font-size: 13px; color: var(--faint); margin-top: 22px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 14px; }
.ic { font-size: 22px; margin-bottom: 10px; }

.safety .card h3 { color: var(--accent2); }

/* ---------- pricing ---------- */
.pricing .price { display: flex; flex-direction: column; }
.price .amount { font-size: 34px; font-weight: 800; margin: 6px 0 14px; }
.price .amount span { font-size: 15px; font-weight: 600; color: var(--dim); }
.price ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.price li { font-size: 14px; color: var(--dim); padding-left: 22px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.price li strong { color: var(--ink); }
.price .btn { width: 100%; justify-content: center; }
.price.featured { border-color: rgba(31,189,240,0.55); box-shadow: 0 20px 60px rgba(31,189,240,0.12); position: relative; }
.price .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(100deg, var(--accent), var(--accent2)); color: #04222a; padding: 4px 12px; border-radius: 999px; }

/* ---------- faq ---------- */
.faq { max-width: 740px; margin: 32px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--stroke); border-radius: 12px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent2); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--dim); font-size: 14px; margin-top: 12px; }

/* ---------- download cta ---------- */
.download-cta { text-align: center; }
.download-cta .btn { margin-top: 24px; }
.download-cta .trust-line { text-align: center; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; }
.legal .updated { color: var(--faint); font-size: 13px; margin-top: 8px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--dim); font-size: 15px; margin-top: 10px; }
.legal ul { margin: 6px 0 0 22px; display: grid; gap: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .lead { font-size: 16px; max-width: none; }
.legal .note { margin-top: 28px; padding: 16px 20px; background: var(--card); border: 1px solid var(--stroke);
  border-radius: 12px; font-size: 13px; color: var(--faint); }

/* ---------- footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 56px; border-top: 1px solid var(--stroke);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer nav { display: flex; gap: 22px; color: var(--dim); font-size: 14px; flex: 1; }
.footer nav a:hover { color: var(--ink); }
.footer .copy { color: var(--faint); font-size: 13px; width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .window-body { flex-direction: column; text-align: center; }
}
