:root {
  --bg: #071c22;
  --bg-2: #0b262e;
  --surface: #0f2f38;
  --surface-2: #143a45;
  --line: rgba(255, 255, 255, .08);
  --text: #eaf2f1;
  --muted: #9bb3b2;
  --accent: #3be39a;
  --accent-2: #1fb7a6;
  --ink: #04241b;
  --radius: 16px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Header ------------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(7, 28, 34, .72);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: #5cf0b0; }
.btn.ghost { border-color: rgba(255, 255, 255, .18); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(59, 227, 154, .18), transparent 70%),
    radial-gradient(35% 45% at 75% 20%, rgba(31, 183, 166, .2), transparent 70%);
}
.hero-grid > *, .privacy > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(59, 227, 154, .1); color: var(--accent); font-size: 13px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.fine a { color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }

/* App mockup (illustrative, not a real screenshot) -------------------------- */
.mock {
  border-radius: 18px; background: #0d1418; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(59, 227, 154, .06);
  overflow: hidden; aspect-ratio: 16 / 11; display: grid; grid-template-rows: 30px 1fr;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #111b21; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4a52; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-body { display: grid; grid-template-columns: 58px 34% 1fr; min-height: 0; }
.mock-rail { background: #0a1014; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; border-right: 1px solid rgba(255, 255, 255, .06); }
.acct { position: relative; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.acct.on { outline: 2px solid var(--accent); outline-offset: 3px; }
.acct b { position: absolute; top: -5px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #25d366; color: #04241b; font-size: 10px; display: grid; place-items: center; border: 2px solid #0a1014; }
.acct.add { background: transparent; border: 1.5px dashed #3a4a52; color: #6b7f88; font-weight: 400; font-size: 20px; }
.mock-list { background: #111b21; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.mock-search { height: 26px; border-radius: 8px; background: #202c33; margin-bottom: 8px; }
.row { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 7px 6px; border-radius: 8px; }
.row.sel { background: #2a3942; }
.av { width: 30px; height: 30px; border-radius: 50%; }
.lines i { display: block; height: 7px; border-radius: 4px; background: #3b4a54; margin: 4px 0; }
.lines i:first-child { width: 60%; background: #8696a0; }
.lines i:last-child { width: 85%; }
.mock-chat { background: #0b141a; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bub { max-width: 72%; padding: 8px 11px; border-radius: 10px; font-size: 12px; line-height: 1.35; }
.bub.in { background: #202c33; color: #d1d7db; align-self: flex-start; border-top-left-radius: 2px; }
.bub.out { background: #005c4b; color: #e9edef; align-self: flex-end; border-top-right-radius: 2px; }
.mock-input { height: 30px; border-radius: 15px; background: #202c33; margin-top: 6px; }
@media (max-width: 560px) { .mock-body { grid-template-columns: 50px 1fr; } .mock-list { display: none; } }

/* Sections ---------------------------------------------------------------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.logos { padding: 28px 0 8px; }
.logos p { text-align: center; color: var(--muted); font-size: 14px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 227, 154, .12); color: var(--accent); margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Pricing ----------------------------------------------------------------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 22px; }
.toggle button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.toggle .save { color: var(--accent); font-weight: 600; margin-left: 4px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(59, 227, 154, .35); }
.plan .tag { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin: 4px 0 18px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price strong { font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.price-note { color: var(--muted); font-size: 13px; min-height: 20px; margin: 0 0 20px; }
.price-note b { color: var(--text); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(59, 227, 154, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233be39a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.plan.soon { opacity: .75; }
.plans-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Privacy band ------------------------------------------------------------ */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.check .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 227, 154, .12); color: var(--accent); }
.check .ic svg { width: 20px; height: 20px; }
.check h3 { margin: 0 0 2px; font-size: 16px; }
.check p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Final CTA + footer ------------------------------------------------------- */
.final { text-align: center; }
.final .box { padding: 56px 24px; border-radius: 28px; background: linear-gradient(135deg, #0f3a40, #0b262e); border: 1px solid rgba(59, 227, 154, .2); }
.final h2 { margin-bottom: 10px; }
.final p { color: var(--muted); margin: 0 0 26px; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer .company { flex: 1 1 420px; }
footer a:hover { color: var(--text); }
.disclaimer { flex-basis: 100%; font-size: 12px; opacity: .8; }

/* Legal pages --------------------------------------------------------------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #c9d8d6; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text); }
.legal a { color: var(--accent); }
