/* Gold Standard Local SEO - Interactive GBP Course Design System */
:root {
  --bg-primary: #060911;
  --bg-surface: #0c1220;
  --bg-surface-lift: #121a2d;
  --bg-card-inner: #090e1a;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-gold: rgba(212, 175, 55, 0.42);
  --border-cyan: rgba(0, 242, 254, 0.36);
  --gold: #d4af37;
  --gold-light: #f5d77f;
  --cyan: #00f2fe;
  --cyan-soft: #67e8f9;
  --green: #10b981;
  --green-soft: #34d399;
  --amber: #f59e0b;
  --red: #ef4444;
  --red-soft: #fca5a5;
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.55);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(0, 242, 254, 0.11), transparent 65%),
    radial-gradient(ellipse 65% 40% at 85% 18%, rgba(212, 175, 55, 0.09), transparent 60%);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 9, 17, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.top-links a:hover {
  color: var(--gold-light);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37 0%, #f5d77f 100%);
  color: #060911;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.38);
}

/* Sticky Live Scorecard Progress Strip */
.score-sticky-bar {
  position: sticky;
  top: 68px;
  z-index: 50;
  background: rgba(12, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}

.score-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.score-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.grade-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.grade-pill.grade-mid {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.55);
  color: #fde68a;
}

.grade-pill.grade-high {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
}

.score-track-wrap {
  flex: 1 1 200px;
  max-width: 380px;
  height: 10px;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.score-track-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 48%, #10b981 100%);
  transition: width 0.35s ease;
}

.score-jump-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-cyan);
  background: rgba(0, 242, 254, 0.08);
  color: var(--cyan-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.score-jump-btn:hover {
  background: rgba(0, 242, 254, 0.16);
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 18px 0 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--gold-light);
}

/* Hero Section */
.course-hero {
  padding: 24px 0 38px;
}

.course-track-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 20px;
}

.track-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.18s ease;
}

.track-tab.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.1));
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.track-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.09);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.course-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 16px;
}

.gold-accent {
  background: linear-gradient(90deg, #f5d77f 0%, #d4af37 55%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.direct-answer-text {
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.hero-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.hero-stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-light);
}

.hero-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Trade / Business Switcher Panel */
.switcher-panel {
  background: linear-gradient(135deg, rgba(18, 26, 45, 0.96), rgba(12, 18, 32, 0.96));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.switcher-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.switcher-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.switcher-note {
  font-size: 0.82rem;
  color: var(--cyan-soft);
}

.switcher-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trade-pill {
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-inner);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.trade-pill:hover {
  border-color: var(--gold);
  color: #ffffff;
}

.trade-pill.active {
  background: linear-gradient(135deg, #d4af37 0%, #f5d77f 100%);
  border-color: #f5d77f;
  color: #060911;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

/* Module Shell */
.course-module {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.course-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 100%);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.module-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.module-header h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin-bottom: 6px;
}

.module-lead {
  color: var(--text-body);
  max-width: 780px;
  margin: 0 0 22px;
}

.module-progress-tag {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-soft);
  white-space: nowrap;
}

/* Module 1: Category Blueprint Cards */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.blueprint-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.blueprint-card.good {
  border-color: rgba(16, 185, 129, 0.4);
}

.blueprint-card.warn {
  border-color: rgba(239, 68, 68, 0.4);
}

.blueprint-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.blueprint-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 242, 254, 0.09);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--cyan-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.name-compare {
  display: grid;
  gap: 10px;
}

.name-row {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.name-row.pass {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #d1fae5;
}

.name-row.fail {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fee2e2;
}

/* Interactive Tap-to-Inspect Accordion Cards (Mobile-Safe Replacement for Tooltips) */
.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.acc-item {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.acc-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.acc-item.open .acc-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #060911;
}

.acc-panel {
  display: none;
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--text-body);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.acc-item.open .acc-panel {
  display: block;
  padding-top: 12px;
}

/* Interactive 25-Pin Geo-Grid Simulator */
.sim-box {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.sim-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sim-toggle-group {
  display: inline-flex;
  background: #050810;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.sim-mode-btn {
  min-height: 44px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-mode-btn.active-red {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.55);
}

.sim-mode-btn.active-green {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.55);
}

.geogrid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: center;
}

.geogrid-canvas {
  position: relative;
  border-radius: 14px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.12), rgba(6, 9, 17, 0.94) 72%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.06) 0 1px, transparent 1px 40px);
  border: 1px solid var(--border-cyan);
}

.geogrid-ring-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pin-grid-5x5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 340px;
  margin: 0 auto;
}

.geo-pin {
  aspect-ratio: 1 / 1;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.geo-pin:hover,
.geo-pin.selected {
  transform: scale(1.12);
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.geo-pin.rank-top {
  background: radial-gradient(circle at 30% 30%, #34d399, #059669);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}

.geo-pin.rank-mid {
  background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
  color: #060911;
}

.geo-pin.rank-low {
  background: radial-gradient(circle at 30% 30%, #f87171, #b91c1c);
}

.geo-pin.pin-hq {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.8), 0 0 20px rgba(212, 175, 55, 0.5);
}

.geogrid-inspector {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geogrid-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.geo-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.geo-metric-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-light);
}

.geo-metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pin-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px;
}

.pin-detail-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.pin-detail-body {
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}

/* Interactive Before/After Photo Drag-Slider */
.photo-compare-wrap {
  margin-bottom: 18px;
}

.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #02050b;
  user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-tag {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 4;
}

.ba-tag-before {
  left: 14px;
  background: rgba(185, 28, 28, 0.85);
  color: #ffffff;
  border: 1px solid rgba(252, 165, 165, 0.5);
}

.ba-tag-after {
  right: 14px;
  background: rgba(5, 150, 105, 0.88);
  color: #ffffff;
  border: 1px solid rgba(110, 231, 183, 0.6);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.85);
  z-index: 5;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f5d77f);
  color: #060911;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
  border: 2px solid #ffffff;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.photo-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.hotspot-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.hotspot-btn {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.hotspot-btn.active {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  color: #ffffff;
}

.hotspot-output {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(12, 18, 32, 0.9);
  border-left: 3px solid var(--cyan);
  font-size: 0.9rem;
  color: var(--text-body);
}

.truth-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  font-size: 0.9rem;
  color: var(--text-body);
}

.truth-callout strong {
  color: var(--gold-light);
}

/* Module 3: Review Velocity Simulator & SMS Builder */
.review-sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

.control-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.slider-field {
  margin-bottom: 16px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.slider-val {
  color: var(--gold-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

input[type="range"].course-range {
  width: 100%;
  accent-color: var(--gold);
  height: 8px;
  cursor: pointer;
}

.pill-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-pill.active {
  background: rgba(0, 242, 254, 0.14);
  border-color: var(--cyan);
  color: #ffffff;
}

.bar-compare {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.bar-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.bar-fill.comp {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.bar-fill.you {
  background: linear-gradient(90deg, #d4af37, #10b981);
}

.sms-builder-box {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
}

.sms-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.sms-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: #ffffff;
  font-size: 0.9rem;
}

.sms-preview {
  background: #0d1b2a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px 14px 14px 4px;
  padding: 16px;
  font-size: 0.94rem;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.btn-copy {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}

.btn-copy:hover {
  background: var(--gold);
  color: #060911;
}

/* Module 4: 5-Second Missed Call Game + Revenue Leak Calculator */
.speed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.phone-sim-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.timer-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--gold);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), rgba(6, 9, 17, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease;
}

.timer-ring.ringing {
  border-color: var(--green);
  animation: gsPulse 1.1s infinite;
}

.timer-ring.missed {
  border-color: var(--red);
}

@keyframes gsPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 18px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.timer-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.timer-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.sim-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-primary-gold {
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #d4af37, #f5d77f);
  color: #060911;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-answer-green {
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #04130d;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-ghost-dark {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-body);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}

.rescue-bubble {
  display: none;
  text-align: left;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: #d1fae5;
}

.rescue-bubble.show {
  display: block;
}

.calc-result-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-top: 14px;
}

.calc-leak-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fca5a5;
}

.calc-roi-note {
  font-size: 0.86rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-top: 4px;
}

/* Inline Module Checklist */
.module-checklist {
  background: rgba(6, 9, 17, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 20px;
}

.checklist-head {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.check-items {
  display: grid;
  gap: 10px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.check-label:hover {
  border-color: var(--gold);
}

.check-label.checked {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.09);
  color: #ecfdf5;
}

.check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #10b981;
  flex-shrink: 0;
  cursor: pointer;
}

/* Module Implementation CTA Bar */
.module-cta-bar {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(0, 242, 254, 0.06));
  border: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.module-cta-copy {
  font-size: 0.9rem;
  color: var(--text-body);
}

.module-cta-copy strong {
  color: #ffffff;
}

/* Authority Tables */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin: 18px 0;
}

.authority-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 620px;
  background: var(--bg-card-inner);
}

.authority-table th {
  text-align: left;
  padding: 13px 15px;
  background: #10182b;
  color: var(--gold-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-gold);
}

.authority-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: top;
}

.authority-table tr:last-child td {
  border-bottom: none;
}

/* Full Scorecard Panel */
.scorecard-panel {
  background: linear-gradient(145deg, #0d1526, #070b14);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-card);
}

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.bucket-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
}

.bucket-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.bucket-score {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-light);
}

.bottleneck-box {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Option A Plans Section */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 12px;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12), #0c1220 55%);
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
}

.plan-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
  margin: 6px 0;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.plan-list li::before {
  content: "✓ ";
  color: var(--green-soft);
  font-weight: 800;
}

.lockout-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* FAQ & AI Guide Section */
.faq-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.faq-item {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 1.04rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.faq-a {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-body);
}

.ai-guide-section {
  margin-bottom: 36px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04060c;
  padding: 36px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.sr-only-price-ref {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-stats-row,
  .scorecard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .geogrid-layout,
  .review-sim-grid,
  .speed-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .hotspot-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .course-module,
  .scorecard-panel,
  .faq-section {
    padding: 20px 16px;
  }
  .blueprint-grid,
  .accordion-grid,
  .sms-inputs {
    grid-template-columns: 1fr;
  }
  .pin-grid-5x5 {
    gap: 6px;
  }
  .geo-pin {
    min-width: 40px;
    min-height: 40px;
    font-size: 0.82rem;
  }
  .header-cta {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}
