:root {
  /* Gold — unchanged both modes */
  --gold: #C9A84C;
  --gold-light: #D9BA6A;
  --gold-pale: #E8CE90;
  --gold-dark: #9A7A30;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* DARK MODE (default) */
  --navy: #060C18;
  --navy-2: #0D1525;
  --navy-3: #152035;
  --gold-glow: rgba(201,168,76,0.12);
  --gold-border: rgba(201,168,76,0.25);
  --white: #FFFFFF;
  --gray-1: #F7F5F0;
  --gray-3: #A8A098;
  --gray-5: #6A6258;
  --green: #4ADE80;
  --green-bg: rgba(34,120,70,0.12);
  --green-border: rgba(34,120,70,0.3);
  --red: #F87171;
  --bg: var(--navy);
  --text: var(--white);
  --nav-bg: rgba(6,12,24,0.92);
  --card-bg: var(--navy-2);
  --card-border: rgba(255,255,255,0.06);
  --section-alt-bg: var(--navy-3);
}

/* LIGHT MODE */
html.light {
  --navy: #F0EDE6;
  --navy-2: #FFFFFF;
  --navy-3: #E8E3D8;
  --gold-glow: rgba(160,120,40,0.10);
  --gold-border: rgba(160,120,40,0.30);
  --white: #1A1410;
  --gray-1: #1A1410;
  --gray-3: #4A4540;
  --gray-5: #7A7268;
  --green: #15803D;
  --green-bg: rgba(34,120,70,0.08);
  --green-border: rgba(34,120,70,0.25);
  --red: #B91C1C;
  --bg: var(--navy);
  --text: var(--white);
  --nav-bg: rgba(240,237,230,0.95);
  --card-bg: #FFFFFF;
  --card-border: rgba(0,0,0,0.08);
  --section-alt-bg: #E8E3D8;
}

/* ══════════════════════════════════════════════════════
   LIGHT MODE — COMPREHENSIVE TEXT FIXES
   Covers all rgba(255,255,255,X) class-level colors +
   inline style overrides + section backgrounds.
══════════════════════════════════════════════════════ */

/* ── Hero section ── */
html.light .hero-desc          { color: #4A4540 !important; }
html.light .hero-desc strong   { color: #1A1410 !important; }
html.light .hero-sub           { color: #5A5248 !important; }
html.light .hero-stat-label    { color: #6A6258 !important; }

/* ── Section-level text ── */
html.light .section-desc       { color: #4A4540 !important; }
html.light .section-eyebrow    { color: var(--gold-dark) !important; }
html.light .section-title      { color: #1A1410 !important; }

/* ── Problem section ── */
html.light .problem-text       { color: #4A4540 !important; }

/* ── Tool cards ── */
html.light .tool-card          { background: #FFFFFF !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .tool-desc          { color: #5A5248 !important; }

/* ── How it works steps ── */
html.light .step-card          { background: #FFFFFF !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .step-text          { color: #4A4540 !important; }

/* ── Preview cards (script examples) ── */
html.light .preview-card       { background: #FFFFFF !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .preview-body       { color: #1A1410 !important; }

/* ── Built by the floor / quote section ── */
html.light .built-quote        { color: #1A1410 !important; }
html.light .cred-text          { color: #4A4540 !important; }

/* ── Pricing section ── */
html.light .pricing-card       { background: #FFFFFF !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .pricing-features li { color: #4A4540 !important; }

/* ── CTA / closing section ── */
html.light .cta-desc           { color: #4A4540 !important; }

/* ── Nav ── */
html.light .nav-link           { color: #4A4540 !important; }
html.light .nav-link:hover     { color: #1A1410 !important; }
html.light .nav-name           { color: #1A1410 !important; }

/* ── Sections & background wrappers ── */
html.light section,
html.light .section            { background: var(--navy) !important; }

/* ── Form inputs ── */
html.light input[type="text"],
html.light input[type="email"],
html.light input[type="tel"],
html.light textarea            { background: #FFFFFF !important; border-color: rgba(0,0,0,0.15) !important; color: #1A1410 !important; }
html.light input::placeholder,
html.light textarea::placeholder { color: #8A8278 !important; }

/* ── Inline style rgba overrides — catch all hardcoded rgba whites in HTML ── */
html.light [style*="color: rgba(255,255,255"],
html.light [style*="color:rgba(255,255,255"]  { color: #4A4540 !important; }

/* ── Brighter override for near-opaque white text (0.8+) — should be closer to full dark ── */
html.light [style*="color: rgba(255,255,255,0.8"],
html.light [style*="color: rgba(255,255,255,0.9"],
html.light [style*="color:rgba(255,255,255,0.8"],
html.light [style*="color:rgba(255,255,255,0.9"]  { color: #1A1410 !important; }

/* Index theme toggle */
.idx-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  background: transparent;
  transition: all 0.2s;
}
.idx-theme-toggle:hover { background: var(--gold-glow); }
.idx-toggle-track {
  width: 32px;
  height: 18px;
  background: var(--navy-3);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  position: relative;
}
.idx-toggle-thumb {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}
html.light .idx-toggle-thumb { transform: translateX(14px); }
.idx-toggle-label {
  font-size: 11px;
  color: var(--gray-3);
  letter-spacing: 0.5px;
  font-weight: 500;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
}

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 16px;
  transition: background 0.25s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  flex-shrink: 0;
}
.nav-bar {
  width: 4px;
  background: var(--gold);
  border-radius: 1px 1px 0 0;
}
.nav-bar-1 { height: 22%; opacity: 0.28; animation: navBreathe 2.6s ease-in-out infinite 0s; }
.nav-bar-2 { height: 46%; opacity: 0.52; animation: navBreathe 2.6s ease-in-out infinite 0.22s; }
.nav-bar-3 { height: 72%; opacity: 0.76; animation: navBreathe 2.6s ease-in-out infinite 0.44s; }
.nav-bar-4 { height: 100%; background: var(--gold-light); animation: navBreathe 2.6s ease-in-out infinite 0.66s; }
@keyframes navBreathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(0.5); }
}

.nav-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
}

.nav-name span { color: var(--gold-light); }

.nav-ai-badge {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 1px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 2;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: 0.5px;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--white); }

.btn-nav {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy);
  border-radius: 6px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
  transition: all 0.15s;
  box-shadow: 0 2px 12px rgba(201,168,76,0.25);
  white-space: nowrap;   /* nav is a fixed 60px flex row — never wrap the label */
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-nav-dealer {
  background: transparent;
  color: var(--gold-light, #D9BA6A);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 6px;
  padding: 7px 14px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.15s;
  opacity: 0.75;
  white-space: nowrap;   /* "MANAGER / ADMIN LOGIN" must stay on one line */
}

.btn-nav-dealer:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.7);
  opacity: 1;
  color: #C9A84C;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 112px);
  letter-spacing: 4px;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-title span { color: var(--gold); }

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 6px;
  color: var(--gray-3);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-desc strong {
  color: var(--white);
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  border-radius: 8px;
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2.5px;
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,168,76,0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-3);
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--gray-5);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

/* ── SECTION BASE ── */
section {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── PROBLEM ── */
.problem-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.problem-card {
  background: rgba(180,40,40,0.07);
  border: 1px solid rgba(180,40,40,0.2);
  border-radius: 12px;
  padding: 24px;
}

.problem-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 8px;
}

.problem-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 300;
}

/* ── TOOLS ── */
.tools-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.tool-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.18s;
}

.tool-card:hover {
  border-color: var(--gold-border);
  background: rgba(201,168,76,0.04);
  transform: translateY(-2px);
}

.tool-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.08);
  border-radius: 3px;
  padding: 2px 6px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 500;
}

.tool-name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 4px;
}

.tool-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.tool-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  font-weight: 300;
}

/* ── HOW IT WORKS ── */
.how-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  position: relative;
  padding-left: 20px;
}

.step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  border-radius: 2px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 300;
}

/* ── OUTPUT PREVIEW ── */
.output-preview {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.preview-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  max-width: 720px;
}

.preview-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid;
}

.preview-card.safe { background: rgba(34,120,70,0.08); border-color: rgba(34,120,70,0.25); }
.preview-card.best { background: rgba(27,42,74,0.8); border-color: var(--gold-border); box-shadow: 0 0 20px rgba(201,168,76,0.08); }
.preview-card.agg  { background: rgba(180,40,40,0.08); border-color: rgba(180,40,40,0.25); }

.preview-top {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.safe .preview-top { background: rgba(34,120,70,0.15); }
.best .preview-top { background: rgba(201,168,76,0.08); }
.agg  .preview-top { background: rgba(180,40,40,0.15); }

.preview-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
}

.safe .preview-label { color: var(--green); }
.best .preview-label { color: var(--gold-light); }
.agg  .preview-label { color: var(--red); }

.preview-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}

.safe .preview-pill { background: rgba(74,222,128,0.12); color: var(--green); }
.best .preview-pill { background: rgba(201,168,76,0.18); color: var(--gold-light); border: 1px solid var(--gold-border); }
.agg  .preview-pill { background: rgba(248,113,113,0.12); color: var(--red); }

.preview-body {
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}

/* ── BUILT BY ── */
.built-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.built-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 700px) {
  .built-inner { grid-template-columns: 1fr; gap: 40px; }
}

.built-quote {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 24px;
}

.built-attr {
  font-size: 13px;
  color: var(--gray-5);
  letter-spacing: 1px;
  font-weight: 500;
}

.built-attr strong {
  color: var(--gold);
  font-weight: 600;
}

.creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cred {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 16px;
}

.cred-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-weight: 300;
}

.cred-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ── PRICING ── */
.pricing-section {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.pricing-section .section-eyebrow,
.pricing-section .section-title,
.pricing-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 52px;
  text-align: left;
}

.pricing-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: all 0.18s;
}

.pricing-card.featured {
  border-color: var(--gold-border);
  box-shadow: 0 0 40px rgba(201,168,76,0.1);
}

.pricing-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 0 32px rgba(201,168,76,0.2);
  transform: translateY(-2px);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .btn-pricing,
.pricing-card .btn-pricing-ghost {
  margin-top: auto;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 20px;
  color: var(--gray-5);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 13px;
  color: var(--gray-5);
  margin-bottom: 24px;
  font-weight: 300;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 300;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-pricing {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy);
  border-radius: 8px;
  padding: 13px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 2px;
  transition: all 0.18s;
  box-shadow: 0 2px 12px rgba(201,168,76,0.2);
}

.btn-pricing:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}

.btn-pricing-ghost {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: 1px;
  transition: all 0.18s;
}

.btn-pricing-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-5);
  font-weight: 300;
}

/* ── CTA ── */
.cta-section {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.cta-title span { color: var(--gold); }

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-2);
  border-top: 1px solid var(--gold-border);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
}

.footer-logo span { color: var(--gold); }

.footer-text {
  font-size: 12px;
  color: var(--gray-5);
  letter-spacing: 0.5px;
}

.footer-domain {
  font-size: 12px;
  color: var(--gold-dark);
  letter-spacing: 1px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  nav .nav-link { display: none; }
  section { padding: 70px 20px; }
  .hero { padding: 100px 20px 60px; }
  footer { padding: 30px 20px; }
  /* The audience-named labels are longer than the old ones — step both down so
     two buttons plus the theme toggle still fit a ~360px phone nav. */
  .nav-right { gap: 8px; }
  .btn-nav        { font-size: 12.5px; letter-spacing: 0.8px; padding: 7px 12px; }
  .btn-nav-dealer { font-size: 10px;   letter-spacing: 0.2px; padding: 6px 9px; }
}

/* Very narrow phones: the primary rep button wins the remaining space. */
@media (max-width: 430px) {
  .idx-theme-toggle { display: none; }
  .btn-nav        { font-size: 11.5px; letter-spacing: 0.4px; padding: 6px 10px; }
  .btn-nav-dealer { font-size: 9.5px;  padding: 5px 7px; }
}

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6,12,24,0.97);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 8px;
  min-width: 200px;
  backdrop-filter: blur(12px);
  z-index: 200;
}
.nav-dropdown-menu.open { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
  border-radius: 6px;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}
.nav-dropdown-menu a:hover { background: var(--gold-glow); color: var(--gold-light); }
html.light .nav-dropdown-menu { background: rgba(240,237,230,0.98); }

/* ── SOCIAL PROOF BAR ── */
.social-bar {
  background: var(--navy-3);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}
.social-stat-label {
  font-size: 11px;
  color: var(--gray-5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}
.social-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.07); }

/* ── FAQ ── */
.faq-section { border-top: 1px solid rgba(255,255,255,0.05); }
.faq-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; max-width: 820px; }
.faq-item {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--gold-border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  gap: 16px;
  line-height: 1.4;
}
.faq-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

