/* ============================================================
   DojoGate Landing Page — CSS
   Brand: Deep Navy #0A2540 | Flow Teal #00C4B4 | White #FFF
   Typography: Inter
   ============================================================ */

:root {
  --navy: #0A2540;
  --navy-light: #0f3058;
  --navy-dark: #061a2e;
  --teal: #00C4B4;
  --teal-hover: #00a89a;
  --teal-glow: rgba(0, 196, 180, 0.15);
  --teal-subtle: rgba(0, 196, 180, 0.08);
  --white: #FFFFFF;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow: 0 1px 3px rgba(10,37,64,0.08), 0 4px 12px rgba(10,37,64,0.04);
  --shadow-lg: 0 4px 12px rgba(10,37,64,0.1), 0 16px 40px rgba(10,37,64,0.08);
  --shadow-teal: 0 4px 20px rgba(0,196,180,0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* ==================== WORDMARK ==================== */

.wm-dojo { color: var(--navy); }
.wm-gate { color: var(--teal); }

/* On dark backgrounds */
.nav .wm-dojo,
.footer .wm-dojo { color: var(--white); }
.nav .wm-gate,
.footer .wm-gate { color: var(--teal); }

/* ==================== NAV ==================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 37, 64, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-icon {
  width: 36px;
  height: 36px;
  color: white;
}

.nav-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta { white-space: nowrap; }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: rgba(0, 196, 180, 0.1);
  color: var(--teal-hover);
  border-color: var(--teal-hover);
}

.nav-mobile-actions {
  display: none;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==================== BUTTONS ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-text {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.btn-text:hover { opacity: 1; }

/* ==================== HERO ==================== */

.hero {
  background: var(--navy);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Tagline badge */
.hero-tagline-badge {
  margin-bottom: 24px;
}

.tagline-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,196,180,0.15), rgba(0,196,180,0.05));
  border: 1px solid rgba(0,196,180,0.3);
  color: var(--teal);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  border-radius: 40px;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
}

.hero-demo { color: rgba(255,255,255,0.8); }
.hero-demo:hover { color: var(--teal); }

.hero-micro {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Hero Visual — Approval Flow Animation */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.approval-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  min-width: 100px;
  opacity: 0;
  transform: translateY(12px);
  animation: flowIn 0.5s forwards;
}

.flow-step[data-delay="0"] { animation-delay: 0.3s; }
.flow-step[data-delay="1"] { animation-delay: 0.7s; }
.flow-step[data-delay="2"] { animation-delay: 1.1s; }
.flow-step[data-delay="3"] { animation-delay: 1.5s; }
.flow-step[data-delay="4"] { animation-delay: 1.9s; }

@keyframes flowIn {
  to { opacity: 1; transform: translateY(0); }
}

.flow-step.highlight {
  background: rgba(0, 196, 180, 0.12);
  border-color: var(--teal);
}

.flow-step.done {
  background: rgba(0, 196, 180, 0.18);
  border-color: var(--teal);
}

.flow-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.parallel-icon {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.flow-label {
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 500;
}

.flow-arrow {
  color: var(--gray-500);
  font-size: 1.2rem;
  opacity: 0;
  animation: flowIn 0.3s forwards;
  animation-delay: 0.5s;
}

/* ==================== SECTIONS COMMON ==================== */

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title.light { color: var(--white); }

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

.light-sub { color: var(--gray-400); }

/* ==================== PROBLEM ==================== */

.problem {
  padding: 100px 0;
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.pain-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pain-icon { font-size: 2rem; margin-bottom: 12px; }

.pain-stat {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pain-card > p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.pain-card blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pain-card cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 6px;
}

.transition-copy {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== SOLUTION ==================== */

.solution {
  background: var(--navy);
  padding: 100px 0;
}

.steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.step-num {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0, 196, 180, 0.2);
  line-height: 1;
  min-width: 80px;
}

.step-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.step-headline {
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* Mock UI */

.mock-ui {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.mock-header {
  background: rgba(255,255,255,0.06);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--gray-400);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mock-row.highlight {
  background: rgba(0, 196, 180, 0.08);
  color: var(--teal);
}

.mock-price { font-weight: 600; color: var(--white); }
.mock-save { font-size: 0.75rem; color: var(--teal); font-weight: 600; }
.mock-floor {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--teal);
  text-align: center;
  opacity: 0.8;
}

/* Approval mock */
.approval-flow-mini {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.af-node {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-300);
}

.af-node.trigger { border-color: var(--gray-500); }
.af-node.approved { border-color: var(--teal); color: var(--teal); }
.af-node.approved small { opacity: 0.7; }
.af-node.done { background: rgba(0,196,180,0.12); border-color: var(--teal); color: var(--teal); font-weight: 600; }

.af-branch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Timeline mock */
.timeline-compare {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tl-bar {
  height: 32px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.tl-bar.old { background: rgba(255,255,255,0.06); }
.tl-bar.new { background: rgba(255,255,255,0.06); }
.tl-bar.old .tl-fill { background: rgba(255,100,100,0.3); height: 100%; }
.tl-bar.new .tl-fill { background: var(--teal); height: 100%; opacity: 0.5; }

.tl-label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-300);
  white-space: nowrap;
}

.timeline-stages {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 16px;
  font-size: 0.72rem;
  color: var(--gray-500);
  justify-content: center;
  flex-wrap: wrap;
}

.tl-done { color: var(--teal); font-weight: 600; }

/* ==================== FEATURES ==================== */

.features {
  padding: 100px 0;
  background: var(--gray-50);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 16px; }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.integration-logos span {
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ==================== INDUSTRIES ==================== */

.industries {
  background: var(--navy);
  padding: 100px 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  background: rgba(0,196,180,0.05);
}

.industry-icon { font-size: 2.5rem; margin-bottom: 16px; }

.industry-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.industry-card > p {
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-features li {
  font-size: 0.85rem;
  color: var(--gray-300);
  padding-left: 20px;
  position: relative;
}

.industry-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
}

.industry-cta-text {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.teal-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.teal-link:hover { text-decoration: underline; }

/* ==================== SOCIAL PROOF ==================== */

.proof {
  padding: 100px 0;
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.proof-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.proof-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-hover);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.proof-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

.proof-card cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

.proof-card cite small {
  font-weight: 400;
  color: var(--gray-500);
}

.proof-metrics {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.proof-metrics div {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.proof-metrics strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.stat {
  text-align: center;
  color: var(--navy);
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-unit {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.85;
}

.stat-label small {
  display: block;
  opacity: 0.7;
  font-size: 0.78rem;
}

/* ==================== PRICING ==================== */

.pricing {
  padding: 100px 0;
  background: var(--gray-50);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}

.toggle-label.active { color: var(--navy); font-weight: 600; }

.save-badge {
  background: rgba(0, 196, 180, 0.15);
  color: var(--teal-hover);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.toggle {
  position: relative;
  cursor: pointer;
}

.toggle input { display: none; }

.toggle-track {
  display: block;
  width: 48px;
  height: 26px;
  background: var(--gray-300);
  border-radius: 20px;
  position: relative;
  transition: background 0.3s;
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-track { background: var(--teal); }
.toggle input:checked + .toggle-track::after { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-tier {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.price-amount {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
}

.price-dollar {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.price-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: all 0.3s;
}

.price-num.custom { font-size: 2.5rem; }

.price-period {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-left: 4px;
}

.price-for {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

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

.price-features li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 24px;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.pricing-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* ==================== CONTACT / GET MORE INFO ==================== */

.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.contact-copy > p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cb-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cb-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.cb-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.cb-item p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
}

/* Form */

.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--gray-400);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-fine {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon { font-size: 3rem; margin-bottom: 16px; }

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ==================== FAQ ==================== */

.faq {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--teal); }

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { content: '−'; color: var(--teal); }

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==================== FINAL CTA ==================== */

.final-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
}

.final-tagline {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.final-desc {
  color: var(--gray-400);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.final-micro {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ==================== FOOTER ==================== */

.footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
  color: var(--gray-400);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  color: white;
}

.footer-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-500);
  font-style: italic;
}

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

.footer-col h4 {
  color: var(--gray-300);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--gray-500);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--teal); }

/* ==================== ANIMATIONS ==================== */

/* Only hide when JS observer is active */
.js-anim [data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim [data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { order: 0; }
  .hero-visual { order: 2; }
  .step { grid-template-columns: auto 1fr; }
  .step-visual { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid > :last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > :last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid > .price-card:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open .nav-mobile-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* Hero — center everything on mobile */
  .hero { padding: 120px 0 60px; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-tagline-badge { text-align: center; }
  .hero-headline { font-size: 2.25rem; text-align: center; }
  .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; text-align: center; }
  .hero-ctas .btn-text { text-align: center; }
  .hero-micro { text-align: center; }
  .hero-social { flex-direction: column; text-align: center; align-items: center; }

  /* Approval flow visual */
  .approval-flow { gap: 4px; }
  .flow-step { min-width: 72px; padding: 10px 8px; }
  .flow-arrow { font-size: 0.9rem; }

  /* Grids → single column */
  .pain-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step-num { font-size: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid > :last-child { max-width: 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > :last-child { max-width: 100%; }
  .stats-bar { grid-template-columns: 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid > .price-card:last-child { grid-column: auto; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Section headings */
  .section-title { font-size: 1.75rem; }
  .section-sub { font-size: 1rem; }

  /* Footer */
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 32px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }
}
