/* ============================================================
   ForgeDental — Standalone Site CSS
   Color palette from brand guide:
     Cyan Primary:   #00BAD3
     Cyan Dark:      #008EA4
     Navy Dark:      #010D22
     Navy Mid:       #162338
     Gray:           #787F93
     Light:          #F0F0F3
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

/* --- CSS Variables --- */
:root {
  --cyan:       #00BAD3;
  --cyan-dark:  #008EA4;
  --cyan-glow:  rgba(0, 186, 211, 0.18);
  --navy:       #010D22;
  --navy-mid:   #0D1E35;
  --navy-card:  #162338;
  --navy-card2: #1C2D42;
  --gray:       #787F93;
  --gray-light: #A8B4C4;
  --light:      #F0F0F3;
  --border:     rgba(0, 186, 211, 0.15);
  --border-mid: rgba(255,255,255,0.08);
  --shadow:     0 4px 24px rgba(0,0,0,0.35);
  --radius:     12px;
  --radius-sm:  8px;

  /* Theme Defaults (Dark) */
  --bg-body:    var(--navy);
  --text-main:  var(--light);
  --text-body:  var(--gray-light);
  --nav-bg:     rgba(1, 13, 34, 0.88);
  --nav-scrolled: rgba(1, 13, 34, 0.96);
}

[data-theme="light"] {
  --bg-body:    #FFFFFF;
  --text-main:  #010D22;
  --text-body:  #4B5563;
  --navy:       #F3F4F6;
  --navy-mid:   #E5E7EB;
  --navy-card:  #FFFFFF;
  --navy-card2: #F9FAFB;
  --gray:       #6B7280;
  --gray-light: #4B5563;
  --light:      #111827;
  --border:     rgba(0, 186, 211, 0.3);
  --border-mid: rgba(0, 0, 0, 0.1);
  --shadow:     0 4px 12px rgba(0,0,0,0.08);
  --nav-bg:     rgba(255, 255, 255, 0.9);
  --nav-scrolled: rgba(255, 255, 255, 0.98);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-light); }

.text-cyan    { color: var(--cyan); }
.text-muted   { color: var(--gray); }
.text-white   { color: #fff; }
.text-center  { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, #00BAD3, #008EA4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #00D4EF; }

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm { padding: 48px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label {
  display: inline-block;
  background: var(--cyan-glow);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 580px; margin: 0 auto; }

/* --- Navigation — floating pill, mega-menu, hamburger --- */
.nav-container {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.header { display: none; } /* replaced by .nav-container */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  height: 62px;
  padding: 0 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: background 0.3s;
}

.nav.scrolled {
  background: var(--nav-scrolled);
}

/* Add page-top padding so content clears the fixed nav */
main#main-content {
  padding-top: 94px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img { height: 44px; width: auto; }
.logo .logo-light { display: none; }
[data-theme="light"] .logo .logo-dark { display: none; }
[data-theme="light"] .logo .logo-light { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: var(--gray-light);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--cyan); background: var(--cyan-glow); }
.nav-link svg { width: 11px; height: 11px; transition: transform 0.2s; flex-shrink: 0; }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: rgba(13, 30, 53, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover > .nav-link svg,
.nav-dropdown.open > .nav-link svg { transform: rotate(180deg); }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--cyan-glow); color: var(--cyan); }

/* Mega-panel (exp-panel pattern from main site) */
.exp-panel {
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 680px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}
.nav-dropdown:hover .exp-panel,
.nav-dropdown.open .exp-panel {
  transform: translateX(-50%) translateY(0);
}

.exp-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 18px 20px;
  transition: background 0.15s;
}
.exp-row:hover { background: rgba(0,186,211,0.03); }

.exp-row-desc {
  flex: 0 0 190px;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.exp-row-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 5px;
}
.exp-row-desc p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0 0 8px;
}
.exp-learn-more {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.exp-learn-more:hover { opacity: 1; }

.exp-row-links {
  flex: 1;
  padding-left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-content: flex-start;
}
.exp-link {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-light);
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.exp-link:hover, .exp-link.active {
  color: var(--cyan);
  background: var(--cyan-glow);
  border-color: var(--border);
}
.exp-link-all {
  font-weight: 600;
  color: var(--cyan);
  background: transparent;
  border-color: var(--border);
}
.exp-link-all:hover { background: var(--cyan-glow); }
.exp-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 0 20px; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-login {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-light);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  transition: all 0.2s;
}
.nav-login:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-glow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px;
  transition: border-color 0.2s;
}
.hamburger:hover { border-color: var(--cyan); }
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
@media (max-width: 900px) {
  .nav-container { top: 10px; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(62px + 8px);
    left: 20px; right: 20px;
    background: rgba(1, 13, 34, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    max-height: 600px;
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { display: block; padding: 13px 20px; width: 100%; font-size: 0.95rem; border-bottom: 1px solid var(--border-mid); border-radius: 0; }
  .nav-link:last-child { border-bottom: none; }
  .nav-dropdown > .nav-link { justify-content: space-between; width: 100%; }
  .nav-dropdown-menu, .exp-panel {
    position: static;
    transform: none !important;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: unset;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown.open .exp-panel { max-height: 500px; }
  .nav-dropdown-item { padding: 10px 20px 10px 36px; font-size: 0.9rem; border-bottom: 1px solid var(--border-mid); border-radius: 0; }
  .exp-row { flex-direction: column; gap: 8px; padding: 10px 8px 10px 20px; }
  .exp-row-desc { flex: none; padding-right: 0; border-right: none; }
  .exp-row-desc p { display: none; }
  .exp-row-links { padding-left: 0; }
  .exp-divider { margin: 0 8px; }
  .nav-actions .nav-login { display: none; }
}

/* Theme Toggle */
.theme-toggle {
  background: var(--navy-card);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  color: var(--gray-light);
  padding: 0;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.theme-toggle:hover {
  background: var(--cyan-glow);
  transform: scale(1.05);
  color: var(--cyan);
  border-color: var(--cyan);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00BAD3, #008EA4);
  color: #010D22;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00D4EF, #00A3BE);
  color: #010D22;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 186, 211, 0.35);
}

.btn-secondary {
  background: var(--navy-card);
  color: var(--light);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--navy-card2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  color: var(--cyan);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* --- Cards --- */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.card-top-line {
  height: 3px;
  border-radius: 2px 2px 0 0;
  margin: -28px -28px 24px;
  background: var(--cyan);
}

.cards-grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Hero --- */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 186, 211, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.hero-badge span { color: var(--gray-light); font-weight: 400; }

.hero h1 { margin-bottom: 20px; }
.hero .hero-sub {
  font-size: 1.15rem;
  color: var(--gray-light);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-mid);
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.85rem;
}
.hero-proof-item svg { color: var(--cyan); flex-shrink: 0; }

/* --- Mockup Components (Screenshots) --- */
.mockup-window {
  background: var(--navy-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  background: var(--navy-mid);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-mid);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
[data-theme="light"] .mockup-dots span { background: rgba(0,0,0,0.1); }

.mockup-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-body {
  flex: 1;
  padding: 20px;
  overflow: hidden;
  position: relative;
  background: var(--navy-card);
}

/* Specific Mockup UI Elements */
.ui-card {
  background: var(--navy-card2);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.ui-text-sm { font-size: 0.75rem; color: var(--gray-light); }
.ui-text-xs { font-size: 0.65rem; color: var(--gray); }

.ui-btn {
  display: inline-block;
  padding: 4px 10px;
  background: var(--cyan);
  color: #010D22;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}

.ui-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--cyan-glow);
  color: var(--cyan);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Call Interface Mockup */
.call-interface { display: flex; flex-direction: column; height: 100%; gap: 16px; }
.patient-info { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-mid); padding-bottom: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cyan); color: #010D22; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; }
.call-transcript { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; }
.bubble { padding: 8px 12px; border-radius: 12px; max-width: 85%; line-height: 1.4; }
.bubble.patient { align-self: flex-start; background: var(--navy-mid); color: var(--gray-light); border-bottom-left-radius: 2px; }
.bubble.ai { align-self: flex-end; background: var(--cyan-glow); color: var(--cyan); border: 1px solid var(--border); border-bottom-right-radius: 2px; }

/* Dashboard Mockup */
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-card { text-align: center; padding: 12px; background: var(--navy-mid); border-radius: 8px; border: 1px solid var(--border-mid); }
.stat-val { font-size: 1.2rem; font-weight: 800; color: var(--cyan); display: block; }
.stat-label { font-size: 0.6rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }

/* Message Thread Mockup */
.sms-thread { display: flex; flex-direction: column; gap: 10px; }
.sms-bubble { padding: 10px; border-radius: 10px; font-size: 0.78rem; position: relative; }
.sms-incoming { background: var(--navy-card2); color: var(--gray-light); align-self: flex-start; border-bottom-left-radius: 2px; }
.sms-outgoing { background: var(--cyan); color: #010D22; align-self: flex-end; border-bottom-right-radius: 2px; }

/* Review Mockup */
.review-item { display: flex; gap: 10px; margin-bottom: 12px; }
.stars { color: #FFB800; font-size: 0.8rem; }

/* PMS Mockup */
.pms-calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-mid); border-radius: 4px; overflow: hidden; }
.pms-slot { height: 40px; background: var(--navy-card); padding: 4px; }
.pms-apt { background: var(--cyan-glow); border-left: 2px solid var(--cyan); height: 100%; border-radius: 2px; }

/* Website Mockup */
.web-preview { background: #fff; border-radius: 4px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.web-nav { background: #010D22; height: 20px; display: flex; align-items: center; padding: 0 10px; justify-content: space-between; }
.web-hero { flex: 1; background: linear-gradient(135deg, #00BAD3, #008EA4); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.web-text { height: 4px; width: 60px; background: rgba(255,255,255,0.3); border-radius: 2px; margin-bottom: 4px; }

/* Feature Art Placeholder */
.feature-mock {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 0; /* Changed from 24px to 0 to allow mockup-window to fill */
}
.hero-art {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  padding: 0;
}

/* --- Proof Bar / Trust Strip --- */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item strong { color: var(--light); }
.trust-dot {
  width: 20px; height: 20px;
  background: var(--cyan-glow);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.trust-dot svg { color: var(--cyan); }

/* --- How it works steps --- */
.steps { counter-reset: step-counter; }
.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-mid);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
}
.step-body h3 { margin-bottom: 6px; }

/* --- Comparison Table --- */
.comparison-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-mid);
}
.comparison-table th {
  font-weight: 700;
  color: var(--light);
  background: var(--navy-card);
  font-size: 0.85rem;
}
.comparison-table th.col-feature {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comparison-table td.col-feature {
  text-align: left;
  color: var(--gray-light);
}
.comparison-table .section-row td {
  background: var(--navy-mid);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-align: left;
  padding: 10px 20px;
}
.comparison-table td.col-us {
  color: var(--cyan);
  font-weight: 600;
  background: rgba(0, 186, 211, 0.05);
}
.check { color: #22C55E; }
.partial { color: #F59E0B; }
.cross { color: #EF4444; }
.coming { color: var(--gray); font-size: 0.8rem; font-style: italic; }
.comparison-table .us-header {
  color: var(--cyan);
  background: rgba(0,186,211,0.08);
  border-bottom: 2px solid var(--cyan);
}

/* --- Pricing --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-light);
}
.toggle-label.active { color: var(--cyan); }
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--navy-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch.on { background: var(--cyan-dark); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch.on .toggle-knob { transform: translateX(24px); }
.save-badge {
  background: rgba(34,197,94,0.15);
  color: #22C55E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(160deg, #162338, #0D1E35);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #010D22;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--light); }
.pricing-price .per { font-size: 0.9rem; color: var(--gray); }
.pricing-best { font-size: 0.85rem; color: var(--gray); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border-mid); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check-icon { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.pricing-features .limit { color: var(--gray); font-size: 0.8rem; }

/* --- FAQ / Accordion --- */
.faq-group { margin-bottom: 40px; }
.faq-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

details {
  background: var(--navy-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
details[open] { border-color: var(--border); }
summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--light);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  color: var(--cyan);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
}
details[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 20px 20px;
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--cyan); margin-left: 2px; }

.form-control {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  color: var(--light);
  padding: 11px 16px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--gray); }
.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,186,211,0.12);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86EFAC;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  text-align: center;
}

/* --- Mini Lead Capture --- */
.mini-lead {
  background: linear-gradient(135deg, #162338, #0D1E35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.mini-lead h2 { margin-bottom: 12px; }
.mini-lead p { margin-bottom: 28px; }
.mini-lead-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.mini-lead-form .form-control {
  flex: 1;
  min-width: 200px;
}

/* --- Feature Sections --- */
.feature-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-mid);
}
.feature-section:last-of-type { border-bottom: none; }

/* The grid lives on .feature-body, not on the section */
.feature-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Reverse: swap column order without direction hack */
.feature-section.reverse .feature-body { direction: ltr; }
.feature-section.reverse .feature-text { order: 2; }
.feature-section.reverse .feature-mock { order: 1; }

@media (max-width: 768px) {
  .feature-body { grid-template-columns: 1fr; gap: 32px; }
  .feature-section.reverse .feature-text { order: unset; }
  .feature-section.reverse .feature-mock { order: unset; }
}

.feature-anchor { scroll-margin-top: 88px; }
.feature-tag {
  display: inline-block;
  background: var(--cyan-glow);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.feature-body h2 { margin-bottom: 14px; }
.feature-body .promise { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 24px; }
.feature-bullets { list-style: none; margin-bottom: 20px; }
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 0.9rem;
}
.feature-bullets li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
}
.feature-diff {
  background: var(--navy-mid);
  border-left: 3px solid var(--cyan);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--gray-light);
}
.feature-diff strong { color: var(--cyan); }

/* --- About Page --- */
.about-section {
  max-width: 760px;
  margin: 0 auto;
}

/* --- Footer --- */
.footer {
  background: #000C1C;
  border-top: 1px solid var(--border-mid);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; max-width: 280px; }
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--gray);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-mid);
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: var(--gray); }
.footer-legal a:hover { color: var(--cyan); }

.footer-parent {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-parent a { color: var(--gray); border-bottom: 1px dotted var(--gray); }

/* --- Page header (inner pages) --- */
.page-header {
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 0;
}
.page-header .label {
  display: inline-block;
  background: var(--cyan-glow);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.page-header h1 { margin-bottom: 14px; }
.page-header p { max-width: 580px; margin: 0 auto; }

/* --- CTA Panel --- */
.cta-panel {
  background: linear-gradient(135deg, #0D1E35, #162338);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p { margin-bottom: 32px; }
.cta-panel .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Glass panel --- */
.glass-panel {
  background: rgba(22, 35, 56, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

/* --- Misc utils --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-cyan { background: var(--cyan-glow); color: var(--cyan); border: 1px solid var(--border); }
.badge-green { background: rgba(34,197,94,0.12); color: #22C55E; }
.badge-yellow { background: rgba(245,158,11,0.12); color: #F59E0B; }

.divider {
  height: 1px;
  background: var(--border-mid);
  margin: 48px 0;
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
  .cta-panel { padding: 40px 28px; }
  .mini-lead { padding: 36px 24px; }
  .pricing-card { padding: 28px 20px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 0.82rem; }
}
