/* ============================================================
   LEANPROTOCOL — STYLES
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0f172a;
  --bg2:       #1e293b;
  --bg3:       #263045;
  --accent:    #22d3ee;
  --accent2:   #0891b2;
  --green:     #10b981;
  --white:     #f8fafc;
  --muted:     #94a3b8;
  --border:    #334155;
  --red:       #ef4444;
  --gold:      #f59e0b;
  --radius:    12px;
  --radius-lg: 20px;
  --font:      'Inter', system-ui, sans-serif;
  --max:       1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-block;
  background: rgba(34,211,238,.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(34,211,238,.25);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
}
.text-center { text-align: center; }
.accent { color: var(--accent); }
.green { color: var(--green); }
.gold { color: var(--gold); }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--accent2) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(34,211,238,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #059669; transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 36px; font-size: 18px; border-radius: 14px; }

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.trust-item .check {
  width: 18px; height: 18px;
  background: rgba(16,185,129,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--green);
  flex-shrink: 0;
}

.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-wrap img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.hero-img-badge {
  position: absolute;
  bottom: 32px;
  left: -16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  z-index: 2;
  min-width: 180px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.badge-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.badge-val { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.2; }
.badge-sub { font-size: 12px; color: var(--green); font-weight: 600; }

/* ── STATS BAR ───────────────────────────────────────────── */
#stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.02em;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── PROBLEM ─────────────────────────────────────────────── */
#problem { padding: 100px 0; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.problem-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.problem-icon {
  width: 40px; height: 40px;
  background: rgba(239,68,68,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.problem-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.problem-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.fact-box {
  background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(34,211,238,.02));
  border: 1px solid rgba(34,211,238,.2);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.fact-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.04em;
}
.fact-label { font-size: 18px; font-weight: 700; margin: 12px 0 16px; }
.fact-desc { font-size: 15px; color: var(--muted); line-height: 1.6; }
.fact-source { font-size: 12px; color: var(--border); margin-top: 20px; }

/* ── SOLUTION ────────────────────────────────────────────── */
#solution { padding: 100px 0; background: var(--bg2); }
.solution-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(34,211,238,.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── ABOUT ───────────────────────────────────────────────── */
#about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--border);
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg2);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  gap: 8px;
}
.about-img-placeholder span { font-size: 32px; }
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.cred-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── RESULTS / TESTIMONIALS ──────────────────────────────── */
#results { padding: 100px 0; background: var(--bg2); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
}
.ba-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  font-size: 12px;
  color: var(--muted);
  gap: 6px;
  border: 2px dashed var(--border);
}
.ba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-photo span { font-size: 28px; }
.ba-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ba-before .ba-label { color: var(--red); }
.ba-after .ba-label { color: var(--green); }
.result-info { padding: 20px; }
.result-name { font-weight: 700; font-size: 15px; }
.result-stat { font-size: 22px; font-weight: 900; color: var(--green); margin: 4px 0; }
.result-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.result-quote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* ── PRICING ─────────────────────────────────────────────── */
#pricing { padding: 100px 0; }
.pricing-warning {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.price-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(34,211,238,.06), var(--bg2));
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier-name { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.price-amount { font-size: 42px; font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.price-amount sup { font-size: 22px; vertical-align: super; }
.price-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.price-feature .icon { color: var(--green); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.price-card.vip { border-color: var(--gold); background: linear-gradient(135deg, rgba(245,158,11,.06), var(--bg2)); }
.price-card.vip .price-amount { color: var(--gold); }

/* ── LEAD MAGNET ─────────────────────────────────────────── */
#leadmagnet {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(34,211,238,.02));
  border-top: 1px solid rgba(34,211,238,.15);
  border-bottom: 1px solid rgba(34,211,238,.15);
}
.lm-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.lm-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.lm-form input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s;
}
.lm-form input:focus { border-color: var(--accent); }
.lm-form input::placeholder { color: var(--muted); }
.lm-disclaimer { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { padding: 100px 0; }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  gap: 16px;
  user-select: none;
}
.faq-q .chevron { color: var(--accent); font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── FINAL CTA ───────────────────────────────────────────── */
#finalcta {
  padding: 100px 0;
  background: var(--bg2);
  text-align: center;
}
.finalcta-inner { max-width: 640px; margin: 0 auto; }
.finalcta-inner .section-title { margin-bottom: 20px; }
.finalcta-inner .section-sub { margin-bottom: 40px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 18px; font-weight: 900; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--muted); width: 100%; text-align: center; margin-top: 24px; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.modal input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius);
  outline: none;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.modal input:focus { border-color: var(--accent); }
.modal input::placeholder { color: var(--muted); }
.modal .disclaimer { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ── TOAST ───────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  transition: transform .3s, opacity .3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── STRIPE NOTE BANNER ──────────────────────────────────── */
.stripe-note {
  background: rgba(245,158,11,.08);
  border: 1px dashed rgba(245,158,11,.4);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--gold);
  text-align: center;
  margin-top: 10px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid,
  .problem-grid,
  .about-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { order: -1; }
  .hero-img-wrap img { max-width: 340px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-placeholder { aspect-ratio: 4/3; max-width: 400px; }
  .solution-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-bottom { grid-template-columns: 1fr; max-width: 420px; }
  .results-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 560px) {
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .lm-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
