/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fff; color: #1a1a2e; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Colors ── */
:root {
  --blue: #1a56db;
  --blue-dark: #1342b8;
  --blue-light: #eff6ff;
  --accent: #16a34a;
  --yellow: #fbbf24;
  --bg-dark: #0f172a;
  --bg-mid: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
}

/* ── Utilities ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.text-center { text-align: center; }
.text-accent { color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; border: none; border-radius: 8px;
  cursor: pointer; transition: all .15s ease; text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,.45); }
.btn-ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-light); }
.btn-sm { font-size: 14px; padding: 8px 18px; }
.btn-xl { font-size: 18px; padding: 16px 36px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── Flash Banner ── */
.flash-banner {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff; text-align: center; padding: 10px 16px; font-size: 14px;
}
.flash-fire { margin-right: 6px; }
.countdown-timer { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.countdown-timer2 { font-weight: 700; color: #dc2626; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-brand { font-size: 20px; font-weight: 800; color: var(--blue); flex-shrink: 0; }
.nav-tooth { margin-left: 4px; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: #475569; }
.nav-links a:hover { color: var(--blue); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
  color: #fff; padding: 72px 0 80px;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); border-radius: 100px;
  padding: 6px 18px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
  letter-spacing: .5px;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 60px); font-weight: 900; line-height: 1.1;
  margin-bottom: 20px; max-width: 800px;
}
.hero-headline .text-accent { color: #93c5fd; }
.hero-sub {
  font-size: 18px; color: #cbd5e1; max-width: 660px; margin-bottom: 32px; line-height: 1.65;
}
.hero-price {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px;
}
.price-was { font-size: 24px; color: #94a3b8; text-decoration: line-through; }
.price-now { font-size: 52px; font-weight: 900; color: #fff; }
.price-save {
  background: #16a34a; color: #fff; padding: 4px 12px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
}
.price-note { font-size: 14px; color: #94a3b8; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-ctas .btn-primary { font-size: 20px; padding: 18px 40px; }
.hero-ctas .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; font-size: 18px; padding: 16px 28px; }
.hero-ctas .btn-ghost:hover { background: rgba(255,255,255,.1); }

.trust-badges {
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px;
  color: #94a3b8; margin-bottom: 48px;
}

/* ── Stat grid (hero) ── */
.stat-grid-hero {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 700px;
}
.stat-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.stat-num { font-size: 26px; font-weight: 800; color: #fff; }
.stat-label { font-size: 12px; color: #94a3b8; margin-top: 4px; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-light { background: #f8fafc; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-pricing { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.section-final-cta { background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); color: #fff; padding: 80px 0; }
.section-final-cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.section-final-cta p { font-size: 18px; color: #93c5fd; margin-bottom: 32px; }
.cta-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; }

.section-title {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; text-align: center;
  margin-bottom: 12px;
}
.section-dark .section-title { color: #fff; }
.section-sub {
  font-size: 17px; color: var(--text-muted); text-align: center;
  max-width: 600px; margin: 0 auto 48px;
}
.section-dark .section-sub { color: #94a3b8; }
.sub-title { font-size: 20px; font-weight: 700; margin: 40px 0 20px; }

/* ── Features grid ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  margin-bottom: 40px;
}
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-2px); }
.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.formats-bar {
  background: var(--blue-light); border-radius: var(--radius);
  padding: 16px 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  font-size: 14px;
}
.formats-bar strong { color: var(--blue); }
.formats-bar span { background: #fff; border: 1px solid #bfdbfe; border-radius: 6px; padding: 4px 10px; font-weight: 500; }

/* ── Opportunity ── */
.opportunity-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  margin-bottom: 40px;
}
.opp-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px;
}
.opp-icon { font-size: 32px; margin-bottom: 12px; }
.opp-card h3 { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.opp-card ul { color: #94a3b8; font-size: 14px; line-height: 1.8; }
.opp-card ul li::before { content: '›  '; color: #3b82f6; font-weight: 700; }
.roi-callout {
  background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.3);
  border-radius: var(--radius); padding: 20px 24px; text-align: center;
  font-size: 16px; color: #86efac;
}

/* ── Use cases ── */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.use-case {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.use-case h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.use-case p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── State / specialty charts ── */
.state-chart { margin-bottom: 40px; }
.loading-bar { text-align: center; color: var(--text-muted); padding: 32px; }
.state-bars { display: flex; flex-direction: column; gap: 8px; }
.state-bar-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.state-bar-label { width: 36px; font-weight: 600; text-align: right; color: #475569; }
.state-bar-track { flex: 1; background: #e2e8f0; border-radius: 4px; height: 20px; overflow: hidden; }
.state-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #60a5fa); border-radius: 4px; }
.state-bar-count { width: 70px; text-align: right; color: var(--text-muted); font-size: 13px; }

.specialty-bars { display: flex; flex-direction: column; gap: 8px; }
.spec-bar-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.spec-bar-label { width: 220px; font-weight: 500; color: #475569; }
.spec-bar-track { flex: 1; background: #e2e8f0; border-radius: 4px; height: 16px; overflow: hidden; }
.spec-bar-fill { height: 100%; background: linear-gradient(90deg, #16a34a, #4ade80); border-radius: 4px; }
.spec-bar-count { width: 70px; text-align: right; color: var(--text-muted); font-size: 13px; }

/* ── Data table ── */
.table-scroller { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  background: #f8fafc; padding: 10px 14px; text-align: left; font-size: 12px;
  font-weight: 700; color: #475569; border-bottom: 2px solid var(--border); white-space: nowrap;
}
.data-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; color: #1e293b;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8fafc; }
.table-note { font-size: 13px; color: var(--text-muted); }
.table-note a { color: var(--blue); font-weight: 600; }

/* ── Pricing card ── */
.pricing-card {
  background: #fff; border: 2px solid var(--blue); border-radius: 20px;
  padding: 40px; text-align: center; max-width: 520px; margin: 0 auto 40px;
  box-shadow: 0 20px 60px rgba(26,86,219,.15);
}
.pricing-badge {
  display: inline-block; background: #dc2626; color: #fff;
  border-radius: 100px; padding: 4px 16px; font-size: 13px; font-weight: 700;
  margin-bottom: 12px;
}
.pricing-title { font-size: 14px; font-weight: 700; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 4px; }
.pricing-price .was { font-size: 22px; color: #94a3b8; text-decoration: line-through; }
.pricing-price .now { font-size: 64px; font-weight: 900; color: var(--blue); }
.pricing-save { color: #16a34a; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.pricing-note { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  text-align: left; margin: 24px 0 20px;
}
.pf { font-size: 14px; color: #374151; }

.sale-countdown { text-align: center; font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

/* ── Comparison table ── */
.comparison-table { max-width: 520px; margin: 0 auto; text-align: center; }
.comparison-table h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.comparison-table p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.comp-table th { padding: 10px 16px; background: #f8fafc; font-weight: 700; font-size: 13px; color: #64748b; }
.comp-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
.comp-bad td { color: #94a3b8; }
.comp-good { background: #eff6ff; }
.comp-good td { color: var(--blue); font-size: 17px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 20px; font-size: 16px; font-weight: 600; display: flex;
  justify-content: space-between; align-items: center; font-family: inherit;
  color: #1a1a2e;
}
.faq-q:hover { background: #f8fafc; }
.faq-q span { font-size: 20px; color: var(--blue); transition: transform .2s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 20px 18px; font-size: 15px; color: var(--text-muted);
  line-height: 1.7; border-top: 1px solid var(--border);
}
.faq-a.visible { display: block; }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: #94a3b8; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-update { font-size: 12px; color: #475569; }
.footer h4 { color: #e2e8f0; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; font-size: 13px; text-align: center; }

/* ── Success page ── */
.success-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f8fafc; padding: 40px 24px; }
.success-card { background: #fff; border-radius: 20px; padding: 48px; max-width: 560px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-card h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #1a1a2e; }
.success-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }
.download-box { background: var(--blue-light); border: 2px solid var(--blue); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.download-box h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.spinner { border: 3px solid #e2e8f0; border-top-color: var(--blue); border-radius: 50%; width: 32px; height: 32px; animation: spin 1s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 768px) {
  .stat-grid-hero { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-features { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .spec-bar-label { width: 140px; font-size: 12px; }
}
