:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--indigo-600); transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-light { background: #fff; color: var(--indigo); }
.btn-light:hover { background: #eef2ff; }
.btn-ghost { display: inline-flex; align-items: center; font-weight: 600; color: var(--slate); padding: 10px 14px; }
.btn-ghost:hover { color: var(--ink); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; display: inline-flex; }
.brand img { height: 30px; display: block; }
.brand span { color: var(--indigo); }
.footer .brand img { height: 26px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--slate); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* Hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 480px at 80% -10%, #eef2ff 0%, #fff 55%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: #eef2ff;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 38ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--muted); font-size: 0.92rem; margin-top: 16px; }

/* Hero mockup */
.hero-visual { position: relative; }
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #f87171; } .dot.a { background: #fbbf24; } .dot.g { background: #34d399; }
.mock-title { margin-left: 10px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.mock-grid { padding: 8px; }
.mock-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 6px; align-items: center; padding: 6px; }
.mock-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.mock-row .area { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; }
.area .d { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.d.bar { background: #f59e0b; } .d.kit { background: #ef4444; } .d.grd { background: #10b981; }
.cell { display: flex; }
.cell.empty { color: #cbd5e1; font-weight: 700; justify-content: center; }
.chip { font-size: 0.72rem; font-weight: 700; padding: 5px 8px; border-radius: 7px; width: 100%; text-align: center; }
.chip.amber { background: #fef3c7; color: #b45309; }
.chip.red { background: #fee2e2; color: #b91c1c; }
.chip.green { background: #d1fae5; color: #047857; }
.chip.open { background: #fff7ed; color: #c2410c; border: 1px dashed #fdba74; }
.mock-foot { display: flex; gap: 18px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); font-weight: 600; }

.mock-phone {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 150px;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 24px 40px -16px rgba(15, 23, 42, 0.5);
  border: 5px solid #1e293b;
}
.phone-top { font-size: 0.7rem; font-weight: 700; color: #34d399; letter-spacing: 0.08em; }
.phone-timer { font-size: 1.7rem; font-weight: 800; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.phone-btn { background: #ef4444; border-radius: 9px; padding: 8px; font-size: 0.8rem; font-weight: 700; }

/* Strip */
.strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip p { text-align: center; color: var(--muted); margin: 0; font-weight: 500; }

/* Sections */
section { scroll-margin-top: 80px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin: 8px 0 0; }
.section-sub { color: var(--slate); margin-top: 12px; }

/* Features */
.features { padding: 88px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s, transform 0.2s; }
.feature:hover { box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.25); transform: translateY(-3px); }
.ficon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--slate); }
.feature-wide { grid-column: 1 / -1; background: linear-gradient(135deg, #f5f3ff, #eef2ff); border-color: #ddd6fe; }
@media (max-width: 880px) { .feature-wide { grid-column: auto; } }
.feature-note { margin-top: 10px !important; font-size: 0.95rem; color: var(--slate); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-badge {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #c7d2fe;
  font-size: 0.85rem; font-weight: 600; color: var(--indigo-600);
}
.pay-badge-soft { background: transparent; border-style: dashed; border-color: var(--muted); color: var(--slate); font-weight: 500; }

/* How */
.how { padding: 88px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 8px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--indigo); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--slate); }

/* Pricing */
.pricing { padding: 88px 0; }
.price-card { max-width: 440px; margin: 0 auto; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.35); }
.price-top { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-name { font-weight: 700; color: var(--indigo); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.price-amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 0; }
.price-amount .cur { font-size: 1.6rem; vertical-align: super; }
.price-amount .per { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--slate); margin: 6px 0 0; }
.price-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.price-list li { padding-left: 28px; position: relative; color: var(--slate); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 800; }
.price-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 16px 0 0; }
.price-note a { color: var(--indigo); font-weight: 600; }

/* CTA */
.cta { padding: 80px 0; }
.cta-inner { background: linear-gradient(135deg, var(--indigo), #7c3aed); color: #fff; border-radius: 26px; padding: 60px 40px; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.cta p { margin: 0 0 26px; opacity: 0.9; font-size: 1.1rem; }

/* Legal / content pages */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--slate); line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--indigo); font-weight: 600; }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--slate); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-tag { color: var(--muted); margin: 8px 0 0; max-width: 30ch; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--slate); font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; padding-top: 20px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; gap: 8px; }
.footer-base a { color: var(--indigo); font-weight: 600; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 30px; }
  .lead { max-width: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mock-phone { right: 8px; bottom: -20px; width: 130px; }
}
