:root {
  --bg: #0D1117;
  --surface: #161B22;
  --border: #21262D;
  --fg: #F0F6FC;
  --fg-muted: #8B949E;
  --accent: #0F766E;
  --accent-bright: #14B8A6;
  --accent-dim: rgba(15, 118, 110, 0.15);
  --text-dim: rgba(240, 246, 252, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 90px;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 28px;
}
.label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-ledge {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 52px;
}
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  max-width: 680px;
}
.supply-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.supply-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 12px;
  align-items: center;
}
.supply-icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
}
.supply-item > span:nth-child(2) {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  font-family: 'Manrope', sans-serif;
}
.supply-level {
  grid-column: 2;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.supply-level::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 2px;
  width: calc(var(--fill, 1) * 100%);
  transition: width 0.6s ease;
}
.supply-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.supply-status.ok {
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.1);
}
.supply-status.low {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
}
.reorder-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  animation: reorder-pulse 3s ease-in-out infinite;
}
@keyframes reorder-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* ===== PROBLEM ===== */
.problem {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.problem-label, .features-label, .how-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.problem-headline {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
  color: var(--fg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.problem-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-headline {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 16px;
}
.features-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 56px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.feature-item:last-child { border-bottom: none; }
.feature-number {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-bright);
  background: var(--accent-dim);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.feature-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ===== HOW ===== */
.how {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.how-step {
  position: relative;
}
.step-connector {
  display: none;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.how-step h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 28px;
}
.closing-headline {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--fg);
  max-width: 700px;
  line-height: 1.12;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== SAMPLE SCORECARD DEMO ===== */
.scorecard-demo {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.scorecard-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Intro banner */
.sc-intro {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.sc-intro-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sc-intro-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CTA bars */
.sc-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sc-cta-note {
  font-size: 13px;
  color: var(--fg-muted);
}
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.sc-cta-btn:hover { background: #0d9488; }
.sc-cta-bottom {
  margin-top: 48px;
  margin-bottom: 0;
}
.sc-cta-bottom-inner {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sc-cta-bottom-copy {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 520px;
}
.sc-cta-bottom-copy strong { color: var(--fg); }
.sc-cta-btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

/* Section wrapper */
.sc-section {
  margin-bottom: 64px;
}
.sc-section-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.sc-section-num {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-bright);
  background: var(--accent-dim);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.sc-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.sc-section-sub {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ── Scorecard Grid ── */
.sc-grid-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  overflow-x: auto;
  position: relative;
}
.sc-grid {
  min-width: 640px;
}
.sc-grid-header, .sc-grid-row {
  display: grid;
  grid-template-columns: 220px repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  align-items: center;
}
.sc-col-label, .sc-col-retailer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 6px 4px;
}
.sc-col-retailer { text-align: center; }
.sc-sku-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  padding: 2px 4px;
  line-height: 1.4;
}
.sc-cell {
  border-radius: 7px;
  padding: 7px 4px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: default;
  transition: transform 0.1s, box-shadow 0.1s;
  outline: none;
}
.sc-cell:hover, .sc-cell:focus {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.4);
  z-index: 2;
  position: relative;
}
/* Green */
.sc-cell.sc-g {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
/* Yellow */
.sc-cell.sc-y {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
/* Red */
.sc-cell.sc-r {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Legend */
.sc-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.sc-legend-item {
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.sc-legend-dot.sc-g { background: #34d399; }
.sc-legend-dot.sc-y { background: #fbbf24; }
.sc-legend-dot.sc-r { background: #f87171; }

/* Tooltip */
.sc-tooltip {
  display: none;
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--fg);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Gap Finder Table ── */
.sc-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  overflow-x: auto;
}
.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 540px;
}
.sc-table thead th {
  background: var(--bg);
  color: var(--fg-muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.sc-table tbody td {
  padding: 14px 16px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.sc-table tbody tr:last-child td { border-bottom: none; }
.sc-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.sc-retailer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}
.sc-rb-wf { background: rgba(16,185,129,0.12); color: #34d399; }
.sc-rb-sp { background: rgba(245,158,11,0.12); color: #fbbf24; }
.sc-rb-kr { background: rgba(99,102,241,0.12); color: #a5b4fc; }
.sc-rb-sf { background: rgba(236,72,153,0.12); color: #f9a8d4; }
.sc-rb-fm { background: rgba(14,165,233,0.12); color: #7dd3fc; }

.sc-vol-opp {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--accent-bright);
}

.sc-gap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.sc-gap-total {
  font-size: 14px;
  color: var(--fg-muted);
}
.sc-gap-total strong { color: var(--accent-bright); }
.sc-export-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
}
.sc-export-btn:hover { background: var(--accent-dim); }

/* ── Stockout Alerts ── */
.sc-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  border-left-width: 3px;
}
.sc-alert-high { border-left-color: #f87171; }
.sc-alert-med  { border-left-color: #fbbf24; }
.sc-alert-low  { border-left-color: #60a5fa; }
.sc-alert-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.sc-severity {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}
.sc-sev-high { background: rgba(239,68,68,0.15); color: #f87171; }
.sc-sev-med  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.sc-sev-low  { background: rgba(96,165,250,0.15); color: #93c5fd; }
.sc-alert-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.4;
}
.sc-alert-meta {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.sc-alert-time {
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Competitor Comparison ── */
.sc-comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.sc-comp-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.sc-comp-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
}
.sc-bar-group, .sc-wow-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sc-bar-row, .sc-wow-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-bar-brand {
  font-size: 11px;
  font-weight: 600;
  width: 120px;
  flex-shrink: 0;
  line-height: 1.3;
}
.sc-brand-nw { color: var(--accent-bright); }
.sc-brand-ca { color: #a5b4fc; }
.sc-brand-cb { color: var(--fg-muted); }
.sc-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.sc-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}
.sc-brand-nw-fill { background: var(--accent-bright); }
.sc-brand-ca-fill { background: #818cf8; }
.sc-brand-cb-fill { background: var(--fg-muted); }
.sc-bar-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.sc-wow {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
}
.sc-wow-pos { color: #34d399; background: rgba(16,185,129,0.12); }
.sc-wow-neg { color: #f87171; background: rgba(239,68,68,0.12); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero { padding: 56px 20px 64px; }
  .hero-visual { padding: 20px; }
  .supply-row { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
  .feature-item { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-headline { letter-spacing: -1px; }
  .problem-card { padding: 24px; }
}

/* ===== HERO CTA ROW ===== */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.2px;
  transition: background 0.15s;
}
.hero-cta-btn:hover { background: #0d6660; }
.hero-cta-secondary {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.hero-cta-secondary:hover { color: var(--fg); }

/* ===== BOOK MODAL ===== */
.book-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.book-modal-card {
  background: var(--surface-raised, #1a2a2a);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  padding: 40px 40px 36px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.book-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}
.book-modal-close:hover { color: var(--fg); border-color: var(--fg-muted); }
.book-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-bright, #14b8a6);
  background: rgba(15,118,110,0.12);
  border: 1px solid rgba(15,118,110,0.25);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.book-modal-title {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.book-modal-sub {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0 0 28px;
}
.book-modal-header { margin-bottom: 4px; }

/* ===== BOOK FORM ===== */
.book-form { display: flex; flex-direction: column; gap: 16px; }
.book-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-label { font-size: 13px; font-weight: 600; color: var(--fg); }
.book-label-opt { font-weight: 400; color: var(--fg-muted); }
.book-req { color: var(--accent-bright, #14b8a6); }
.book-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.book-input::placeholder { color: var(--fg-muted); opacity: 0.55; }
.book-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.18);
}
.book-select { cursor: pointer; }
.book-textarea { resize: vertical; min-height: 80px; }
.book-field-hint { font-size: 12px; color: #fb923c; margin-top: 2px; }
.book-error {
  font-size: 13px;
  color: #f87171;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px;
  padding: 10px 14px;
}
.book-submit {
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 0;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, opacity 0.15s;
  margin-top: 4px;
}
.book-submit:hover { background: #0d6660; }
.book-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.book-spinner { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.book-spin-icon { animation: bookspin 0.8s linear infinite; }
@keyframes bookspin { to { transform: rotate(360deg); } }

/* Honeypot — visually hidden */
.book-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }

/* ===== SUCCESS STATE ===== */
.book-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 0; }
.book-success-icon { margin-bottom: 20px; }
.book-success-title {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 10px;
}
.book-success-body { font-size: 15px; color: var(--fg-muted); margin: 0 0 24px; max-width: 380px; }
.book-success-cta {
  color: var(--accent-bright, #14b8a6);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(20,184,166,0.35);
  padding-bottom: 1px;
}
.book-success-cta:hover { border-color: var(--accent-bright); }

/* ===== MOBILE STICKY BAR ===== */
.book-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--surface-raised, #1a2a2a);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}
.book-sticky-bar.book-sticky-visible { transform: translateY(0); }
.book-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 600px; margin: 0 auto; }
.book-sticky-copy { font-size: 14px; font-weight: 600; color: var(--fg); }
.book-sticky-btn {
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== BOOK PAGE ===== */
.book-page-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  padding: 80px 24px 80px;
}
.book-page-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.book-page-headline {
  font-family: 'Manrope', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1px;
  margin: 0 0 14px;
  line-height: 1.15;
}
.book-page-sub { font-size: 16px; color: var(--fg-muted); margin: 0 0 28px; line-height: 1.6; }
.book-page-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.book-page-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.book-page-bullets svg { flex-shrink: 0; margin-top: 1px; }
.book-page-form-wrap {
  background: var(--surface-raised, #1a2a2a);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  .book-form-row { grid-template-columns: 1fr; }
  .book-modal-card { padding: 28px 22px 24px; }
  .book-page-inner { grid-template-columns: 1fr; gap: 32px; }
  .book-page-section { padding: 48px 20px 60px; }
  .book-page-headline { font-size: 28px; }
  .book-sticky-bar { display: block; }
}

/* ===== REPORT DOWNLOAD SECTION ===== */
.report-section {
  padding: 96px 24px 80px;
  background: var(--bg);
}
.report-inner {
  max-width: 960px;
  margin: 0 auto;
}
.report-badge {
  display: inline-block;
  background: rgba(15,118,110,0.12);
  color: var(--accent-bright);
  border: 1px solid rgba(15,118,110,0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.report-headline {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  line-height: 1.18;
}
.report-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin: 0 0 40px;
  max-width: 540px;
  line-height: 1.65;
}
.report-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.report-preview {
  padding: 36px 32px;
  background: linear-gradient(160deg, #0a3330 0%, #0e2825 100%);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.report-cover-badge {
  display: inline-block;
  background: rgba(79,222,206,0.15);
  color: #4fdece;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.report-cover-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.report-cover-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}
.report-toc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-toc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.report-toc-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(15,118,110,0.4);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #4fdece;
  margin-top: 1px;
}
.report-form-wrap {
  padding: 36px 32px;
}
.report-form-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.report-form-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.report-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.report-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.report-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}
.report-input::placeholder { color: var(--fg-muted); opacity: 0.55; }
.report-submit {
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s, opacity 0.15s;
}
.report-submit:hover { background: var(--accent-bright); color: #0a3330; }
.report-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.report-privacy {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.6;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}
.report-error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
  color: #dc2626;
  margin-top: 4px;
}
.report-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 0 8px;
}
.report-success-icon {
  width: 48px;
  height: 48px;
  background: rgba(15,118,110,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-bright);
}
.report-success-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.report-success-body {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
}
.report-dl-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  margin-top: 4px;
}
.report-dl-btn:hover { background: var(--accent-bright); color: #0a3330; }

@media (max-width: 768px) {
  .report-card { grid-template-columns: 1fr; }
  .report-preview { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .report-headline { font-size: 26px; }
  .report-section { padding: 64px 20px 56px; }
}
