/* ============================================================
   ClearGrade — v4 Platform Landing Page
   Dark premium theme with trust-first design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Tokens --- */
:root {
  --bg: #0F172A;
  --bg-card: #1E293B;
  --bg-elevated: #334155;
  --text: #F1F5F9;
  --text-dim: #94A3B8;
  --text-muted: #64748B;
  --accent: #3B82F6;
  --accent-hover: #60A5FA;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-glow-s: rgba(59, 130, 246, 0.25);
  --cta: #F97316;
  --cta-hover: #FB923C;
  --cta-glow: rgba(249, 115, 22, 0.25);
  --success: #22C55E;
  --warning: #EAB308;
  --danger: #EF4444;
  --warm: #F97316;
  --warm-glow: rgba(249, 115, 22, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(255, 255, 255, 0.14);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  --max-w: 1200px;
  --nav-h: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { position: relative; z-index: 1; }
.overline {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.sh { /* section heading */
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.sd { /* section description */
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.7;
}

/* --- Animations --- */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,15,26,.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo { font-family: var(--serif); font-size: 1.35rem; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--text-dim); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-btn {
  padding: 8px 20px; border-radius: 8px; background: var(--cta);
  color: #fff; font-weight: 700; font-size: .85rem;
  transition: background .2s, box-shadow .2s;
}
.nav-links .nav-btn:hover { background: var(--cta-hover); box-shadow: 0 0 20px var(--cta-glow); }
.hamburger { display: none; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mob-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,15,26,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 24px; z-index: 999;
}
.mob-menu.open { display: flex; flex-direction: column; gap: 16px; }
.mob-menu a { font-size: 1rem; font-weight: 500; color: var(--text-dim); padding: 8px 0; }
.mob-menu .nav-btn {
  display: inline-block; text-align: center; padding: 12px 20px;
  border-radius: 8px; background: var(--cta); color: #fff; font-weight: 700;
}

/* ============================================================
   HERO — centered, CSS-only background
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Ambient glow orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; right: 20%;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: calc(var(--nav-h) + 40px) 24px 48px;
  text-align: center;
}

.hero .overline {
  opacity: 0;
  animation: fadeUp .6s ease forwards;
  animation-delay: .2s;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .7s ease forwards;
  animation-delay: .4s;
}
.hero h1 em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cta), #FBBF24, var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.3));
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp .6s ease forwards;
  animation-delay: .7s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp .6s ease forwards;
  animation-delay: .9s;
}

/* Hero URL input form */
.hero-url-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-h);
  background: var(--bg-card);
  transition: border-color .2s, box-shadow .2s;
}
.hero-url-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 8px 32px rgba(0,0,0,.3);
}
.hero-url-form input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
}
.hero-url-form input::placeholder { color: var(--text-muted); }
.hero-url-form button {
  padding: 16px 28px;
  background: var(--cta);
  color: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.hero-url-form button:hover {
  background: var(--cta-hover);
  box-shadow: 0 0 24px var(--cta-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 10px;
  background: var(--cta);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background .2s, box-shadow .2s, transform .15s;
  text-decoration: none;
}
.btn:hover {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: 0 0 32px var(--cta-glow);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 32px var(--accent-glow-s);
}

.hero-trust {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp .5s ease forwards;
  animation-delay: 1.1s;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp .5s ease forwards;
  animation-delay: 1.3s;
}
.hero-badges span {
  font-size: .82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.hero-badges .check {
  color: var(--success);
  margin-right: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.proof-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 1;
  position: relative;
}
.proof-bar p {
  text-align: center;
  font-size: .88rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.proof-bar strong { color: var(--text); font-weight: 500; }
.proof-count {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================
   WHAT WE AUDIT
   ============================================================ */
.audit-dims {
  padding: 72px 0 48px;
}
.dims-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.dim-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color .25s, transform .25s;
}
.dim-item:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}
.dim-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.dim-icon svg { width: 24px; height: 24px; }
.dim-item span {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why-matters {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Stats bar */
.stat-row {
  display: flex; justify-content: center; align-items: center;
  gap: 0; margin: 40px 0;
  padding: 32px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
}
.stat-block { flex: 1; text-align: center; padding: 8px 24px; }
.stat-num {
  display: block;
  font-family: var(--sans); font-size: 2.4rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: .82rem; color: var(--text-dim); line-height: 1.4;
}
.stat-divider {
  width: 1px; height: 48px; background: var(--border); flex-shrink: 0;
}

/* Benefits grid */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 40px 0;
}
.benefit-card {
  padding: 28px 24px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.benefit-card:hover { transform: translateY(-3px); border-color: var(--border-h); }
.benefit-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(59,130,246,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 {
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.benefit-card p {
  font-size: .88rem; color: var(--text-dim); line-height: 1.6;
}

/* AI Search callout */
.ai-callout {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(249,115,22,.05));
  border: 1px solid rgba(59,130,246,.15);
  margin-top: 8px;
}
.ai-callout-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(59,130,246,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.ai-callout-content h3 {
  font-family: var(--sans); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.ai-callout-content p {
  font-size: .92rem; color: var(--text-dim); line-height: 1.7;
}

/* ============================================================
   DELIVERABLES
   ============================================================ */
.deliverables {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(17,24,39,1) 30%, rgba(17,24,39,1) 70%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.del-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.del-card {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,24,39,1), rgba(14,20,33,1));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  transition: transform .35s ease, border-color .3s, box-shadow .35s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.del-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
/* Color accents per card */
.del-card:nth-child(1) { border-left-color: var(--accent); }
.del-card:nth-child(2) { border-left-color: var(--success); }
.del-card:nth-child(3) { border-left-color: #a78bfa; }
.del-card:nth-child(4) { border-left-color: var(--warm); }

.del-card .card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
}
.del-card .card-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.del-card:nth-child(1) .card-icon-wrap { background: rgba(56,189,248,.12); }
.del-card:nth-child(2) .card-icon-wrap { background: rgba(52,211,153,.12); }
.del-card:nth-child(3) .card-icon-wrap { background: rgba(167,139,250,.12); }
.del-card:nth-child(4) .card-icon-wrap { background: rgba(245,158,11,.12); }
.del-card .card-icon-wrap svg { width: 26px; height: 26px; }
.del-card:nth-child(2) .card-icon-wrap svg { stroke: var(--success); }
.del-card:nth-child(3) .card-icon-wrap svg { stroke: #a78bfa; }
.del-card:nth-child(4) .card-icon-wrap svg { stroke: var(--warm); }

.del-card .card-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.del-card:hover .card-arrow { border-color: var(--accent); color: var(--accent); }

.del-card h3 {
  font-family: var(--sans); font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 12px;
}
.del-card p {
  font-size: .88rem; color: var(--text-dim); line-height: 1.6;
  margin-bottom: auto; padding-bottom: 20px;
}

/* Stats row at bottom */
.card-stats-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-stat-item { display: flex; flex-direction: column; }
.card-stat-val {
  font-family: var(--sans); font-size: 1.1rem; font-weight: 700; line-height: 1.2;
}
.del-card:nth-child(1) .card-stat-val { color: var(--accent); }
.del-card:nth-child(2) .card-stat-val { color: var(--success); }
.del-card:nth-child(3) .card-stat-val { color: #a78bfa; }
.del-card:nth-child(4) .card-stat-val { color: var(--warm); }
.card-stat-label {
  font-size: .65rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-top: 2px;
}
/* Revenue impact disclaimer */
.card-stat-note {
  font-size: .65rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 4px;
  font-style: italic;
}
/* "Example from a recent audit" label */
.card-example-label {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 12px;
  letter-spacing: .02em;
  font-style: italic;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */
.who-for {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.who-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color .25s, transform .25s;
}
.who-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
}
.who-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.who-icon svg { width: 22px; height: 22px; }
.who-card p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 72px 0;
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 36px; position: relative;
}
/* Animated progress line — two segments that gap around each circle */
.steps::before, .steps::after {
  content: ''; position: absolute; top: 31px; height: 2px;
}
/* Segment 1: step 1 circle edge → step 2 circle edge */
.steps::before {
  left: calc(16.67% + 36px); right: calc(50% + 36px);
  background: rgba(56,189,248,.1);
}
/* Segment 2: step 2 circle edge → step 3 circle edge */
.steps::after {
  left: calc(50% + 36px); right: calc(16.67% + 36px);
  background: rgba(56,189,248,.1);
}
/* Animated overlays on each segment */
.step-line-1, .step-line-2 {
  position: absolute; top: 31px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.4,0,.2,1);
}
.step-line-1 {
  left: calc(16.67% + 36px); right: calc(50% + 36px);
}
.step-line-2 {
  left: calc(50% + 36px); right: calc(16.67% + 36px);
  transition-delay: .6s;
}
.steps.line-animate .step-line-1,
.steps.line-animate .step-line-2 { transform: scaleX(1); }

.step { text-align: center; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(56,189,248,.15);
  font-family: var(--serif); font-size: 1.5rem; color: var(--text-muted);
  margin-bottom: 16px; position: relative; z-index: 1;
  transition: border-color .5s, color .5s, box-shadow .5s;
}
.step.step-active .step-num {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.step h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--text-dim); line-height: 1.5; max-width: 260px; margin: 0 auto; }

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
.preview { padding: 72px 0; }
.toggle-row { display: flex; gap: 8px; margin: 20px 0 24px; }
.tog {
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--border);
  background: transparent; color: var(--text-dim); font-family: var(--sans);
  font-size: .88rem; font-weight: 500; transition: .25s;
}
.tog.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }
.tog:hover:not(.active) { border-color: var(--border-h); color: var(--text); }

.prev-card {
  background: linear-gradient(180deg, var(--bg-card), rgba(14,20,33,1));
  border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; max-width: 900px;
}

/* Gauge */
.gauge-row {
  display: flex; align-items: center; gap: 32px;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.gauge-wrap { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 10; }
.gauge-fill {
  fill: none; stroke-width: 10; stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1), stroke .4s;
}
.gauge-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge-score { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.gauge-grade { font-family: var(--sans); font-size: .85rem; font-weight: 700; margin-top: 4px; }
.gauge-info h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 4px; }
.gauge-info p { font-size: .9rem; color: var(--text-dim); }

/* Dimension bars */
.dims { margin-bottom: 20px; }
.dim {
  display: flex; align-items: center; gap: 12px; padding: 7px 0;
}
.dim-label { font-size: .85rem; color: var(--text-dim); width: 180px; flex-shrink: 0; text-align: right; }
.dim-track { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
.dim-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.dim-val { font-size: .85rem; font-weight: 700; width: 32px; text-align: right; }

/* Quick wins */
.qw-label {
  font-size: .72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 16px;
}
.qw-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.qw {
  padding: 16px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
}
.qw-n { font-family: var(--serif); font-size: 1.2rem; color: rgba(56,189,248,.3); margin-bottom: 6px; }
.qw h4 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.qw p { font-size: .8rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }
.tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em;
}
.tag-h { background: rgba(52,211,153,.12); color: var(--success); }
.tag-m { background: rgba(251,191,36,.12); color: var(--warning); }

.prev-cta {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.prev-cta .btn-report {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.prev-cta .btn-report:hover {
  background: var(--accent-hover); color: #fff;
  box-shadow: 0 0 28px var(--accent-glow-s); transform: translateY(-2px);
}
.prev-cta .report-note {
  font-size: .82rem; color: var(--text-dim); line-height: 1.4;
}

/* ============================================================
   PRICING COMPARISON
   ============================================================ */
.pricing { padding: 72px 0; border-top: 1px solid var(--border); }
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 32px; max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.price-col {
  padding: 32px 28px; border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}
.price-col.muted { opacity: .7; }
.price-col.highlight {
  border-color: var(--cta);
  background: linear-gradient(180deg, rgba(249,115,22,0.06) 0%, var(--bg-card) 100%);
  opacity: 1;
}
.price-col.highlight::before {
  content: 'RECOMMENDED';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 100px;
  background: var(--cta); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
}
.price-col h3 {
  font-family: var(--sans); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-dim); margin-bottom: 16px;
}
.price-amount {
  font-family: var(--sans); font-size: 2.2rem; font-weight: 800;
  color: var(--text); margin-bottom: 20px; line-height: 1.2;
}
.price-amount .strike {
  font-size: 1.1rem; color: var(--text-muted);
  text-decoration: line-through; margin-right: 8px; font-weight: 500;
}
.price-list { list-style: none; padding: 0; }
.price-list li {
  font-size: .9rem; color: var(--text-dim); padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.price-list li:last-child { border-bottom: none; }
.price-list .icon-yes { color: var(--success); flex-shrink: 0; }
.price-list .icon-no { color: var(--text-muted); flex-shrink: 0; }
.price-footer {
  text-align: center; margin-top: 32px; max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.price-footer p {
  font-size: .95rem; color: var(--text-dim); margin-bottom: 16px;
}

/* ============================================================
   PRODUCT SUITE / TOOLS
   ============================================================ */
.tools { padding: 72px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 32px;
}
.tool-card {
  padding: 28px 24px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--border-h); }
.tool-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tool-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.tool-icon svg { width: 22px; height: 22px; }
.tool-card:nth-child(1) .tool-icon { background: rgba(34,197,94,.12); color: var(--success); }
.tool-card:nth-child(2) .tool-icon { background: rgba(59,130,246,.12); color: var(--accent); }
.tool-card:nth-child(3) .tool-icon { background: rgba(168,85,247,.12); color: #A855F7; }
.tool-card:nth-child(4) .tool-icon { background: rgba(249,115,22,.12); color: var(--cta); }
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.status-live { background: rgba(34,197,94,.12); color: var(--success); }
.status-beta { background: rgba(59,130,246,.12); color: var(--accent); }
.status-soon { background: rgba(100,116,139,.12); color: var(--text-muted); }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.tool-card h3 {
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.tool-card p {
  font-size: .85rem; color: var(--text-dim); line-height: 1.5;
  margin-bottom: auto; padding-bottom: 16px;
}
.tool-price {
  font-family: var(--sans); font-size: 1.1rem; font-weight: 800;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.tool-card:nth-child(1) .tool-price { color: var(--success); }
.tool-card:nth-child(2) .tool-price { color: var(--accent); }
.tool-card:nth-child(3) .tool-price { color: #A855F7; }
.tool-card:nth-child(4) .tool-price { color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform .3s ease, color .2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 0 0 20px;
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.faq-a a { color: var(--accent); }
.faq-a a:hover { color: var(--accent-hover); }

/* ============================================================
   FORM
   ============================================================ */
.form-sect {
  padding: 72px 0;
  position: relative;
  border-top: 1px solid var(--border);
}
.form-sect::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
/* Tier toggle */
.tier-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-bottom: 20px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.tier-btn {
  padding: 14px 16px; border: none;
  background: transparent; color: var(--text-dim);
  font-family: var(--sans); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: background .2s, color .2s;
}
.tier-btn.active {
  background: var(--accent-glow);
  color: var(--text);
}
.tier-btn:hover:not(.active) { background: rgba(255,255,255,0.03); }
.tier-label { font-size: .82rem; font-weight: 600; }
.tier-price { font-size: 1.2rem; font-weight: 800; }
.tier-btn.active .tier-price { color: var(--accent); }
.tier-btn[data-tier="paid"].active .tier-price { color: var(--cta); }
.tier-desc {
  font-size: .88rem; color: var(--text-dim); margin-bottom: 24px;
  line-height: 1.5;
}
/* Hide paid-only fields when free tier is selected */
.form-card[data-tier="free"] .paid-only { display: none; }
.form-card[data-tier="paid"] .paid-only { display: block; }

.form-wrap { max-width: 560px; margin: 32px auto 0; }
.form-card {
  padding: 40px 36px; border-radius: 16px;
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.fg { margin-bottom: 20px; }
.fg label { display: block; font-size: .82rem; font-weight: 500; color: var(--text-dim); margin-bottom: 8px; }
.fg input {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); font-family: var(--sans); font-size: .95rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.fg input::placeholder { color: rgba(139,149,168,.5); }
.fg input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.fg input.err { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.f-err { font-size: .78rem; color: var(--danger); margin-top: 6px; display: none; }
.f-err.show { display: block; }
/* Honeypot — off-screen but not display:none so bots still see it */
.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.f-btn {
  width: 100%; padding: 16px; margin-top: 8px; border-radius: 10px;
  background: var(--cta); border: none; color: #fff;
  font-size: 1rem; font-weight: 700;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.f-btn:hover { background: var(--cta-hover); box-shadow: 0 8px 28px var(--cta-glow); transform: translateY(-1px); }
.f-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.f-note { text-align: center; font-size: .82rem; color: var(--text-dim); margin-top: 16px; }
.f-ok { display: none; text-align: center; padding: 32px 16px; }
.f-ok.show { display: block; }
.f-ok-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(52,211,153,.12); border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.f-ok h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.f-ok p { font-size: .95rem; color: var(--text-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
}
.footer-l { display: flex; flex-direction: column; gap: 4px; }
.footer-copy { font-size: .82rem; color: var(--text-dim); }
.footer-tagline { font-size: .75rem; color: var(--text-muted); }
.footer-r { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-links { font-size: .82rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: border-color .2s, color .2s;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.social-link svg { width: 16px; height: 16px; }

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky {
  position: fixed; bottom: -80px; left: 0; right: 0; z-index: 900;
  background: rgba(10,15,26,.92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 12px 24px;
  display: flex; justify-content: center;
  transition: bottom .4s cubic-bezier(.4,0,.2,1);
}
.sticky.vis { bottom: 0; }
.sticky a {
  padding: 10px 28px; border-radius: 8px; background: var(--cta);
  color: #fff; font-weight: 700; font-size: .9rem; transition: background .2s;
}
.sticky a:hover { background: var(--cta-hover); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero { min-height: auto; overflow: visible; }
  .hero-content {
    max-width: 100%;
    padding: calc(var(--nav-h) + 40px) 24px 48px;
  }
  .sd { margin-left: auto; margin-right: auto; }
  .dims-grid { grid-template-columns: repeat(3, 1fr); }
  .del-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before, .steps::after, .step-line-1, .step-line-2 { display: none; }
  .qw-grid { grid-template-columns: 1fr; }
  .gauge-row { flex-direction: column; text-align: center; }
  .dim-label { width: 120px; font-size: .78rem; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .stat-row { flex-direction: column; gap: 16px; }
  .stat-divider { width: 80%; height: 1px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-callout { flex-direction: column; text-align: center; align-items: center; }
  .price-grid { grid-template-columns: 1fr; max-width: 400px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-r { align-items: center; }
  .footer { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-url-form { flex-direction: column; border-radius: 12px; }
  .hero-url-form input { text-align: center; }
  .hero-url-form button { border-radius: 0 0 11px 11px; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .dims-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 2rem; }
  .prev-card { padding: 24px 16px; }
  .gauge-wrap { width: 120px; height: 120px; }
  .gauge-score { font-size: 2.2rem; }
  .toggle-row { flex-direction: column; }
  .tog { text-align: center; }
  .form-card { padding: 28px 20px; }
  .sticky a { width: 100%; text-align: center; display: block; }
  .faq-q { font-size: .88rem; }
  .dim-label { width: 100px; font-size: .72rem; }
  .card-stats-row { gap: 16px; }
  .prev-cta { flex-direction: column; text-align: center; }
  .prev-cta .btn-report { width: 100%; justify-content: center; }
  .tools-grid { grid-template-columns: 1fr; }
  section { padding-left: 0; padding-right: 0; }
}
