:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef3fb;
  --surface: #ffffff;
  --text: #0b1220;
  --text-2: #2a3346;
  --muted: #5b667a;
  --line: #e6eaf2;
  --line-strong: #d6dbe6;

  --primary: #1f6feb;
  --primary-2: #2e86ff;
  --primary-strong: #0f5bd1;
  --cyan: #38bdf8;
  --ink: #0b1220;
  --ink-2: #131c2e;

  --emerald: #10b981;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --red: #ef4444;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, 0.12);
  --shadow-xl: 0 40px 90px rgba(15, 30, 70, 0.18);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1180px;
  --grad-blue: linear-gradient(135deg, #1f6feb 0%, #38bdf8 100%);
  --grad-soft: radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
               radial-gradient(900px 500px at -10% 10%, rgba(31, 111, 235, 0.14), transparent 60%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 234, 242, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand img { border-radius: 8px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 8px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.18);
}
.btn-primary:hover { background: #19243d; box-shadow: 0 10px 26px rgba(11, 18, 32, 0.22); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #b9c1d1; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); background: rgba(11, 18, 32, 0.04); }

/* HERO */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
  background: var(--grad-soft), var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.15);
}
.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  max-width: 14ch;
}
.lead {
  margin: 0;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  color: var(--muted);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions.center { justify-content: center; }
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 28px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-meta strong { color: var(--text); font-weight: 700; }

/* PHONE MOCKUPS */
.hero-visual {
  position: relative;
  height: clamp(520px, 60vw, 640px);
}
.phone {
  position: absolute;
  width: 280px;
  height: 560px;
  border-radius: 42px;
  background: linear-gradient(180deg, #0f1729 0%, #0a111f 100%);
  padding: 10px;
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f7f9fc;
  border-radius: 34px;
  overflow: hidden;
  padding: 22px 16px 18px;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #0a111f;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-front {
  right: 0;
  top: 20px;
  z-index: 2;
  transform: rotate(2deg);
}
.phone-back {
  left: -10px;
  top: 70px;
  width: 240px;
  height: 480px;
  transform: rotate(-6deg);
  opacity: 0.92;
}

.mock-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 14px; }
.mock-eyebrow { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mock-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-top: 2px; }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #1f6feb, #38bdf8); }

.mock-tabs { display: flex; gap: 6px; background: #eef2f9; border-radius: 999px; padding: 4px; margin: 0 4px 14px; }
.mock-tabs span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 7px 0; border-radius: 999px; }
.mock-tabs span.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.mock-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
.mock-card-tinted { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 6px 2px; }
.mock-grow { flex: 1; min-width: 0; }
.mock-icon {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 14px;
}
.icon-blue { background: linear-gradient(135deg, #1f6feb, #38bdf8); }
.icon-emerald { background: linear-gradient(135deg, #059669, #10b981); }
.icon-violet { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.icon-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }

.mock-strong { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mock-muted { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.mock-amount { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mock-amount.red { color: var(--red); }
.mock-divider { height: 1px; background: var(--line); margin: 6px 0; }

.mock-line { height: 8px; border-radius: 4px; background: #e8edf6; margin: 4px 0; }
.mock-line.muted { background: #eef2f8; }
.w-30 { width: 30%; } .w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; }

.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 10px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #1f6feb, #38bdf8); opacity: 0.85; }

.mock-insight {
  margin-top: 14px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  background: linear-gradient(135deg, rgba(31,111,235,0.08), rgba(56,189,248,0.08));
  border: 1px solid rgba(31,111,235,0.18);
  border-radius: 16px;
}
.mock-insight-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad-blue); color: #fff;
  display: grid; place-items: center; font-weight: 700;
  flex-shrink: 0;
}

/* TRUST */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
}
.trust-grid > div { display: inline-flex; align-items: center; gap: 8px; }
.trust-grid span { color: var(--primary); font-size: 16px; }

/* SECTIONS */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow.small { font-size: 11.5px; }
h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}
h3 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 800;
  color: var(--ink);
}
h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.section-head p, .feature-copy p, .mobile-grid p { color: var(--muted); font-size: 16.5px; }

.features { padding: clamp(64px, 9vw, 110px) 0; }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-blue);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.95);
}

.card-flat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

/* Scan card */
.scan-strip {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f6fc, #eaf0fa);
  padding: 22px;
  overflow: hidden;
}
.scan-doc { display: grid; gap: 8px; }
.scan-doc .r { height: 8px; border-radius: 4px; background: #d8e0ee; }
.scan-doc .r-strong { height: 12px; border-radius: 4px; background: var(--ink); }
.scan-line {
  position: absolute; left: 0; right: 0; top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 18px rgba(31,111,235,0.5);
}
.scan-result {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding: 12px 4px 4px;
}
.scan-result .mock-amount { font-size: 18px; }

/* Insights card */
.insights-card { display: grid; gap: 12px; }
.ins-row { display: grid; grid-template-columns: 110px 1fr 60px; align-items: center; gap: 14px; font-size: 13.5px; color: var(--text-2); }
.ins-row b { text-align: right; color: var(--ink); font-weight: 700; }
.ins-row .bar { height: 8px; background: #eef2f9; border-radius: 999px; overflow: hidden; }
.ins-row .bar i { display: block; height: 100%; background: var(--grad-blue); border-radius: 999px; }

/* Sub card */
.sub-card { display: grid; gap: 6px; }
.sub-row {
  display: grid; grid-template-columns: 14px 1fr auto;
  align-items: center; gap: 14px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sub-row:last-child { border-bottom: 0; }
.sub-row b { display: block; color: var(--ink); font-weight: 700; font-size: 14px; }
.sub-row em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.sub-row span:last-child { font-weight: 700; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.violet { background: var(--violet); }
.dot.blue { background: var(--primary); }
.dot.emerald { background: var(--emerald); }
.dot.amber { background: var(--amber); }

/* AI card */
.ai-card { background: linear-gradient(160deg, #ffffff 60%, #eef4ff 100%); }
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31,111,235,0.1);
  color: var(--primary-strong);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.ai-card h4 { font-size: 20px; }
.ai-card p { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }
.ai-actions { display: flex; gap: 18px; font-weight: 600; font-size: 13.5px; color: var(--primary-strong); }
.ai-actions .muted { color: var(--muted); }

/* MOBILE FIRST */
.mobile-first {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mobile-first::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31,111,235,0.22), transparent 60%);
  pointer-events: none;
}
.mobile-first .container { position: relative; }
.mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.mobile-first h2 { color: #fff; }
.mobile-first .eyebrow { color: #7dd3fc; }
.mobile-first p { color: #aab4c8; max-width: 48ch; }
.mobile-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mobile-points > div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px;
}
.mobile-points b { display: block; font-size: 15px; margin-bottom: 4px; }
.mobile-points span { color: #aab4c8; font-size: 13.5px; }

/* PRICING */
.pricing { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.plan:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.plan-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-blue) border-box;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.plan-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--ink); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.plan-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.price .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.price .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-tag { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.plan-features { list-style: none; padding: 22px 0 24px; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan-features li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2); }
.plan-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
  color: #fff; background: var(--grad-blue);
  border-radius: 50%;
}
.plan-features li.off { color: var(--muted); }
.plan-features li.off::before { content: "—"; background: #cfd6e3; color: #fff; font-weight: 700; }

.extra-pack {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding: 24px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.extra-pack h4 { margin: 6px 0 4px; }
.extra-pack p { color: var(--muted); margin: 0; font-size: 14.5px; }
.extra-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* FINAL CTA */
.final-cta { padding: clamp(48px, 7vw, 96px) 0; }
.final-card {
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 48px);
  position: relative;
  overflow: hidden;
}
.final-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(56,189,248,0.22), transparent 60%),
    radial-gradient(600px 320px at 10% 100%, rgba(31,111,235,0.28), transparent 60%);
  pointer-events: none;
}
.final-card > * { position: relative; }
.final-card img { margin: 0 auto 16px; border-radius: 16px; box-shadow: var(--shadow-md); }
.final-card h2 { color: #fff; margin: 0 auto 12px; max-width: 18ch; }
.final-card p { color: #aab4c8; max-width: 52ch; margin: 0 auto; }
.final-card .btn-ghost { color: #cfd6e3; }
.final-card .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid h5 {
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-grid a {
  display: block;
  font-size: 14px; color: var(--text-2);
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 32ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 460px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; padding: 40px 0; }
  .feature-row.reverse .feature-copy { order: initial; }
  .feature-row.reverse .feature-visual { order: initial; }
  .mobile-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .header-cta .btn-ghost { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-meta { gap: 14px; font-size: 12.5px; }
  .phone { width: 240px; height: 480px; }
  .phone-back { width: 200px; height: 400px; left: -6px; top: 60px; }
  .trust-grid { justify-content: flex-start; }
  .extra-pack { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
