:root {
  --primary: #137fec;
  --teal: #00a19c;
  --purple: #9333ea;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #ef4444;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #137fec 0%, #00a19c 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e5e7eb;
    --muted: #94a3b8;
    --line: #1e293b;
    --bg: #0b1220;
    --soft: #101922;
    --card: #1b2733;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(19, 127, 236, .3); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 56px; background:
  radial-gradient(800px 400px at 85% -10%, rgba(0,161,156,.14), transparent 60%),
  radial-gradient(700px 400px at -10% 10%, rgba(19,127,236,.14), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: rgba(19,127,236,.1); color: var(--primary); font-weight: 600; font-size: 13px;
}
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 16px 0; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Phone mockup */
.phone {
  width: 300px; max-width: 100%; margin-inline: auto; border-radius: 40px; padding: 12px;
  background: #0f172a; box-shadow: 0 30px 60px rgba(15,23,42,.35);
}
.screen { border-radius: 30px; overflow: hidden; background: #f6f7f8; color: #0f172a; font-size: 12px; }
.screen-top { background: var(--grad); color: #fff; padding: 22px 16px 16px; }
.screen-top b { font-size: 16px; display: block; }
.screen-body { padding: 12px; display: grid; gap: 10px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { background: #fff; border-radius: 12px; padding: 10px; display: flex; gap: 8px; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.kpi i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; }
.kpi small { color: #64748b; font-size: 9px; letter-spacing: .05em; display: block; }
.kpi strong { font-size: 15px; }
.row { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tag { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.bar { height: 6px; border-radius: 6px; background: #e2e8f0; overflow: hidden; }
.bar > div { height: 100%; width: 72%; background: var(--grad); }

/* Sections */
section { padding: 80px 0; }
.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; margin: 8px 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
}
.i-blue { background: rgba(19,127,236,.12); }
.i-teal { background: rgba(0,161,156,.12); }
.i-purple { background: rgba(147,51,234,.12); }
.i-amber { background: rgba(245,158,11,.14); }
.i-green { background: rgba(22,163,74,.12); }
.i-red { background: rgba(239,68,68,.12); }

/* Types */
.types { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.type { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; }

/* Steps */
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* Pricing */
.price { font-size: 40px; font-weight: 800; margin: 8px 0; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { padding: 6px 0; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 10px; }
.plan.featured { border: 2px solid var(--primary); position: relative; }
.plan.featured .badge {
  position: absolute; top: -12px; right: 20px; background: var(--grad); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA */
.cta {
  background: var(--grad); color: #fff; border-radius: 28px; padding: 56px 32px; text-align: center;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.cta p { opacity: .9; margin: 0 0 24px; font-size: 17px; }
.cta .btn { background: #fff; color: var(--primary); }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.legal h1 { font-size: 34px; }
.legal h2 { margin-top: 36px; }
.legal p, .legal li { color: var(--ink); }
.note { background: rgba(245,158,11,.12); border-radius: 12px; padding: 12px 16px; color: var(--ink); }

/* fixes */
.nav-links a.btn-primary { color: #fff; }
.hero .container > *, .grid > * { min-width: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
