/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:          #09090f;
  --bg-alt:      #0f0f18;
  --bg-card:     #13131e;
  --bg-card-alt: #0c0c15;
  --text:        #eeeef5;
  --text-2:      #8b8bab;
  --text-3:      #4a4a6a;
  --accent:      #00e68a;
  --accent-dim:  rgba(0,230,138,0.08);
  --accent-glow: rgba(0,230,138,0.22);
  --danger:      #ff4d6a;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --radius:      14px;
  --radius-sm:   8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-serif:  'Instrument Serif', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ─── Nav ───────────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: #09090f;
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── Shared section layout ─────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.7;
  text-align: center;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

/* ─── Shared CTAs ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: var(--accent);
  color: #09090f;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-arrow { transition: transform 0.2s; }
.btn-outline:hover .btn-arrow { transform: translateX(3px); }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(0,230,138,0.09) 0%, transparent 65%),
    var(--bg);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner { max-width: 760px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0,230,138,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 36px;
  background: var(--accent-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

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

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 24px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; }

.stat-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Problem ───────────────────────────────────────────────────────────── */
.problem {
  padding: 120px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.problem-inner { max-width: 900px; margin: 0 auto; }

.problem h2 { margin-bottom: 56px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-block {
  padding: 44px 32px;
  background: var(--bg-card);
  text-align: left;
  transition: background 0.2s;
}

.stat-block:hover { background: var(--bg-card-alt); }

.stat-block-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  line-height: 1;
}

.stat-block-text {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
}

.stat-block-text strong { color: var(--text); }

.problem-cta-note {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Demos ─────────────────────────────────────────────────────────────── */
.demos {
  padding: 120px 24px;
  text-align: center;
}

.demos-inner { max-width: 1080px; margin: 0 auto; }

.demos h2 { margin-bottom: 12px; }

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

.demo-card:nth-child(4),
.demo-card:nth-child(5) {
  /* Push last two cards to center in third row */
}

.demo-card-header {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.demo-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.demo-card:hover .demo-gradient { opacity: 1; }

.demo-avatar {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.demo-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.demo-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.demo-badge--dental {
  background: rgba(0,230,138,0.12);
  color: var(--accent);
}

.demo-badge--estate {
  background: rgba(217,119,6,0.15);
  color: #f59e0b;
}

.demo-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text);
}

.demo-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.demo-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: gap 0.15s;
}

/* ─── How it works ──────────────────────────────────────────────────────── */
.features {
  padding: 120px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.features-inner { max-width: 1000px; margin: 0 auto; }

.features h2 { margin-bottom: 60px; }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: rgba(0,230,138,0.25);
  transform: translateY(-3px);
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 1.5rem;
  color: var(--text-3);
  flex-shrink: 0;
  margin-top: 60px;
}

/* ─── Pricing ───────────────────────────────────────────────────────────── */
.pricing {
  padding: 120px 24px;
  text-align: center;
}

.pricing-inner { max-width: 580px; margin: 0 auto; }

.pricing h2 { margin-bottom: 12px; }

.pricing-card {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(0,230,138,0.06), 0 24px 64px rgba(0,0,0,0.3);
}

.pricing-card-top {
  padding: 44px 44px 36px;
  background: linear-gradient(135deg, rgba(0,230,138,0.05) 0%, transparent 60%);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,230,138,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

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

.pricing-setup {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-setup-label {
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 500;
}

.pricing-monthly {
  font-size: 1rem;
  color: var(--text-2);
}

.pricing-monthly strong { color: var(--text); }

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

.pricing-features {
  padding: 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--text-2);
  line-height: 1.5;
}

.pricing-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  display: block;
  margin: 0 44px 12px;
  padding: 16px 24px;
  background: var(--accent);
  color: #09090f;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.pricing-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.pricing-footnote {
  padding: 0 44px 36px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  padding: 120px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.faq-inner { max-width: 680px; margin: 0 auto; }

.faq h2 { margin-bottom: 52px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(0,230,138,0.2);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  letter-spacing: -0.01em;
}

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

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  padding: 0 26px 24px;
}

.faq-a p {
  font-size: 0.925rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ─── Verticals (social proof strip) ───────────────────────────────────── */
.verticals {
  padding: 80px 24px;
  text-align: center;
}

.verticals-inner { max-width: 760px; margin: 0 auto; }

.verticals h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 32px; }

.verticals-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.vertical-pill {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-2);
  transition: all 0.2s;
  cursor: default;
}

.vertical-pill:hover {
  border-color: rgba(0,230,138,0.3);
  background: var(--accent-dim);
  color: var(--accent);
}

.verticals-sub {
  font-size: 0.95rem;
  color: var(--text-3);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Closing (removed - replaced by pricing section) ───────────────────── */
.closing { display: none; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 40px 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
}

.footer-email {
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
  transition: opacity 0.15s;
}

.footer-email:hover { opacity: 0.75; }

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

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s;
}

.footer-link:hover { color: var(--text); }

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-sep { color: var(--text-3); }

.footer-legal-link {
  color: var(--text-3);
  transition: color 0.15s;
}

.footer-legal-link:hover { color: var(--text-2); }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .demos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    margin: 0 auto;
    padding: 0;
    transform: rotate(90deg);
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-nav {
    padding: 16px 20px;
  }

  .nav-link { display: none; }

  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
  }

  .hero-stats {
    gap: 24px;
    padding: 20px 28px;
    flex-direction: column;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .demos-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links-col {
    gap: 40px;
  }

  .pricing-card-top,
  .pricing-features,
  .pricing-cta,
  .pricing-footnote {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pricing-cta {
    margin-left: 24px;
    margin-right: 24px;
  }

  .stats-row {
    border-radius: var(--radius);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-outline {
    justify-content: center;
  }
}
