/* ── Self-hosted fonts (woff2, latin + latin-ext subsets). No third-party calls. ── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --navy:    #0f172a;
  --surface: #111827;
  --cyan:    #06b6d4;
  --cyan-light: #67e8f9;
  --white:   #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-400: #94a3b8;
  --gray-600: #7c8fa8;
  --gray-800: #1e293b;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --max-w: 1120px;
  --section-pad: 96px 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--gray-400); line-height: 1.75; }

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover { background: var(--cyan-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 16px; }

/* ── Hero ── */
.hero {
  padding-top: 68px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  min-height: 85vh;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at 50% 100%, rgba(6,182,212,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
}

.hero h1 {
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
}
.hero h1 em { font-style: normal; color: var(--cyan); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
}

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

.hero-stat {
  margin-top: 36px;
  margin-bottom: 80px;
  display: flex;
  gap: 48px;
  justify-content: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ── Section headings ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title { margin-bottom: 16px; }
.section-sub { color: var(--gray-400); max-width: 560px; }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover {
  border-color: rgba(6,182,212,0.3);
  background: rgba(6,182,212,0.04);
}

/* ── Problem section ── */
.problems { background: var(--navy); }

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

.problem-card .problem-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.problem-card h3 { margin-bottom: 10px; color: var(--white); }

/* ── How it works ── */
.steps { background: var(--gray-800); }

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

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(6,182,212,0.2);
  line-height: 1;
  margin-bottom: 16px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(6,182,212,0.12) 0%, rgba(6,182,212,0.04) 100%);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 36px; }

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
  text-align: center;
}
footer p { font-size: 0.85rem; color: var(--gray-600); }

/* ── Mobile ── */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }
  .hero-stat { gap: 32px; }
  .cta-banner { padding: 40px 24px; }
}

/* ─────────────────────────────────────────
   SINGLE-PAGE EXTENSIONS
   ───────────────────────────────────────── */

/* ── Dot-grid texture (full page, fixed) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* All sections sit above the dot grid */
section, footer { position: relative; z-index: 1; }
/* nav already has position: fixed; just needs z-index above dot grid */
nav { z-index: 100; }

/* Alternating section surfaces — replaces inline style="background: #111827" */
#how-it-works,
#demo,
#pricing {
  background: var(--surface);
}

/* ── Hero upgrades — centered glow rises from sphere zone ── */
.hero::before {
  width: 900px; height: 600px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 30%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at 50% 100%, rgba(6,182,212,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hamburger nav ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(12px);
    padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0;
  }
  .nav-links.open { display: flex; }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* ── Problem card upgrades ── */
.problem-card {
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(6,182,212,0.1));
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.problem-card:hover::before { opacity: 1; }

.problem-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── Process / How It Works ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 1px;
  background: linear-gradient(90deg, rgba(6,182,212,0.1), rgba(6,182,212,0.5), rgba(6,182,212,0.1));
}

.process-step { padding: 32px; }

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(6,182,212,0.35);
  background: rgba(6,182,212,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.process-step h3 { margin-bottom: 12px; color: var(--white); }

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-grid::before { display: none; }
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  padding: 40px;
  border-radius: 20px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-badge-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(148,163,184,0.08);
  border: 1px solid rgba(148,163,184,0.18);
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.4rem; }
.service-card p { margin-bottom: 20px; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.service-features li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── Demo section ── */
.demo-section { text-align: center; }

.demo-card {
  background: rgba(6,182,212,0.03);
  border: 1px solid rgba(6,182,212,0.18);
  border-radius: 24px;
  padding: 64px 48px;
  max-width: 520px;
  margin: 48px auto 0;
  text-align: center;
}

.demo-pulse-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
}

.demo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(6,182,212,0.5);
  animation: pulse-ring 2.2s ease-out infinite;
}

.demo-ring:nth-child(2) { animation-delay: 0.8s; }

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.demo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: var(--cyan);
}

.demo-card h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 10px;
}
.demo-card > p {
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.demo-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .demo-card { padding: 40px 28px; }
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  border-left: 3px solid var(--cyan);
  border-radius: 4px 16px 16px 4px;
  padding: 28px 28px 28px 24px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-clinic {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.pricing-includes {
  list-style: none;
  margin-top: 24px;
}

.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--gray-400);
  font-size: 0.95rem;
}

.pricing-includes li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pricing-cta-card {
  background: linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(6,182,212,0.03) 100%);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.pricing-cta-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pricing-cta-card p {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.pricing-objection {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Calculator ── */
#calculator { background: var(--surface); }

.calc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 760px;
  margin: 56px auto 0;
}

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

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-family: var(--font-heading);
}

.calc-field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field input::placeholder { color: rgba(255,255,255,0.18); font-weight: 400; }
.calc-field input:focus {
  outline: none;
  border-color: rgba(6,182,212,0.5);
  background: rgba(6,182,212,0.04);
}

.calc-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 36px 0;
}

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

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

.calc-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.calc-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.calc-stat-accent .calc-stat-value { color: var(--cyan); }

.calc-cta-wrap { text-align: center; }

.calc-cta-btn {
  font-size: 1rem;
  padding: 16px 36px;
}

@media (max-width: 768px) {
  .calc-card { padding: 28px 20px; }
  .calc-inputs { grid-template-columns: 1fr; gap: 20px; }
  .calc-output { grid-template-columns: 1fr; gap: 20px; }
  .calc-cta-btn { width: 100%; justify-content: center; }
}

/* ── FAQ ── */
.faq-list {
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover {
  background: rgba(6,182,212,0.04);
  color: var(--cyan);
}

.faq-item[open] > .faq-question {
  color: var(--cyan);
  background: rgba(6,182,212,0.06);
  border-bottom: 1px solid rgba(6,182,212,0.12);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s ease, color 0.2s;
}
.faq-item[open] > .faq-question .faq-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  padding: 20px 28px 26px;
  background: rgba(6,182,212,0.02);
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .faq-question { padding: 20px 20px; font-size: 0.95rem; }
  .faq-answer { padding: 16px 20px 22px; }
}

/* ── Contact section ── */
#contact {
  position: relative;
  overflow: hidden;
  text-align: center;
}

#contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.16) 0%, transparent 65%);
  pointer-events: none;
}

#contact .container { position: relative; z-index: 1; }

#contact h2 { margin-bottom: 16px; }
#contact .contact-sub { max-width: 480px; margin: 0 auto 40px; }
.contact-email {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.contact-email a {
  color: var(--gray-400);
  transition: color 0.2s;
}
.contact-email a:hover { color: var(--cyan); }

/* ── Footer anchor links ── */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 16px 0;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--gray-600);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gray-400); }

.footer-compliance {
  font-size: 0.7rem;
  color: var(--gray-600);
  opacity: 0.5;
  margin-top: 24px;
  letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────
   HERO COPY BLOCK
   ───────────────────────────────────────── */

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  width: 100%;
  padding: 60px 24px 24px;
}

/* Hero h1 — confident scale, slightly smaller than global 4rem to keep copy compact */
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

/* ─────────────────────────────────────────
   HERO SPHERE VIDEO
   Markup removed from index.html on 2026-06-13 (was nearly invisible in render).
   Rules kept intact: re-add the .hero-sphere-wrap <video> markup in the hero to restore.
   ───────────────────────────────────────── */

.hero-sphere-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Gradient covers the top of the sphere so it emerges from the page */
.hero-sphere-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 38%;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-sphere-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 78% 88% at 50% 40%, black 30%, rgba(0,0,0,0.6) 60%, transparent 90%);
  mask-image: radial-gradient(ellipse 78% 88% at 50% 40%, black 30%, rgba(0,0,0,0.6) 60%, transparent 90%);
}

/* ─────────────────────────────────────────
   FLOATING CALL CARD
   ───────────────────────────────────────── */

.hero-call-card {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  min-width: 272px;
  pointer-events: none;
}

.hero-call-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-call-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.hero-call-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-heading);
}

.hero-call-time {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.hero-call-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-call-answered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.hero-call-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: dot-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-card-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

/* ─────────────────────────────────────────
   WAVEFORM BARS (shared)
   ───────────────────────────────────────── */

.waveform-bar {
  width: 2px;
  height: 100%;
  background: rgba(6, 182, 212, 0.45);
  border-radius: 2px;
  transform-origin: bottom;
  animation: waveform-pulse var(--dur, 1.8s) ease-in-out var(--del, 0s) infinite;
}

@keyframes waveform-pulse {
  0%, 100% { transform: scaleY(0.18); opacity: 0.55; }
  50%       { transform: scaleY(var(--peak, 0.75)); opacity: 1; }
}

/* ─────────────────────────────────────────
   SOCIAL PROOF BAR
   ───────────────────────────────────────── */

.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
  position: relative;
  z-index: 1;
}

.social-proof-bar span {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.social-proof-bar .proof-sep {
  color: rgba(255, 255, 255, 0.1);
  font-weight: 400;
}

/* ─────────────────────────────────────────
   HERO ENTRANCE ANIMATIONS
   ───────────────────────────────────────── */

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge       { animation: hero-fade-up 0.65s ease-out 0.05s both; }
.hero-copy h1     { animation: hero-fade-up 0.70s ease-out 0.20s both; }
.hero-sub         { animation: hero-fade-up 0.60s ease-out 0.35s both; }
.hero-actions     { animation: hero-fade-up 0.60s ease-out 0.50s both; }
.hero-stat        { animation: hero-fade-up 0.60s ease-out 0.65s both; }
.hero-sphere-wrap { animation: hero-fade-up 0.80s ease-out 0.80s both; }

@media (max-width: 768px) {
  .hero-copy { padding: 60px 20px 40px; }
  .hero-call-card { min-width: 220px; padding: 14px 18px; }
}

@media (max-width: 480px) {
  .hero-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    justify-items: center;
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-stat > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═════════════════════════════════════════
   REFINEMENT PASS — 2026-06-13
   Nav actions · language toggle · workflow · services trim ·
   demo status · samples · founder · pilot
   ═════════════════════════════════════════ */

/* ── Nav actions + language toggle ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta { margin-left: 0; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-toggle a {
  color: var(--gray-400);
  transition: color 0.2s;
}
.lang-toggle a:hover { color: var(--white); }
.lang-toggle a[aria-current="page"] { color: var(--cyan); }
.lang-toggle span { color: rgba(255,255,255,0.18); }

.lang-toggle-footer {
  justify-content: center;
  margin: 8px 0 4px;
  font-size: 0.82rem;
}

/* ── Works With Your Workflow ── */
.workflow-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.workflow-step {
  flex: 1 1 0;
  max-width: 300px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.workflow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cyan);
}

.workflow-step h3 { color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.workflow-step p { font-size: 0.9rem; }

.workflow-arrow {
  display: flex;
  align-items: center;
  color: rgba(6,182,212,0.5);
  flex-shrink: 0;
}

.workflow-integrations {
  margin-top: 48px;
  text-align: center;
}
.workflow-int-statement {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 580px;
  margin: 0 auto 14px;
  line-height: 1.6;
}
.workflow-int-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .workflow-flow { flex-direction: column; align-items: center; }
  .workflow-step { max-width: 420px; width: 100%; }
  .workflow-arrow { transform: rotate(90deg); }
}

/* ── Services trim — primary pair + "we also build" row ── */
.services-grid-primary {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .services-grid-primary { grid-template-columns: 1fr; }
}

.services-also-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-family: var(--font-heading);
  margin-top: 56px;
  margin-bottom: 24px;
}

.services-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card-mini { padding: 28px; }
.service-card-mini h3 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.service-card-mini p { font-size: 0.9rem; margin-bottom: 0; }

@media (max-width: 768px) {
  .services-secondary { grid-template-columns: 1fr; }
}

/* ── Demo status + live state ── */
.demo-status {
  min-height: 1.2em;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
}
.demo-status[data-tone="live"]  { color: var(--cyan); }
.demo-status[data-tone="error"] { color: #f59e0b; }
.demo-status[data-tone="info"]  { color: var(--gray-400); }

.demo-card.is-live .demo-icon {
  background: rgba(6,182,212,0.2);
  border-color: var(--cyan);
}
.demo-card.is-live .demo-ring { animation-duration: 1.4s; }

/* ── Recorded call samples ── */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.sample-card { padding: 24px; }

.sample-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sample-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.sample-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-heading);
}
.sample-meta {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 2px;
}
.sample-card audio {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6);
}

.sample-transcript {
  margin-top: 24px;
  padding: 28px 32px;
}
.sample-transcript-head {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-family: var(--font-heading);
  margin-bottom: 18px;
}
.transcript-lines {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 0;
}
.transcript-lines dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.transcript-lines dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .samples-grid { grid-template-columns: 1fr; }
  .transcript-lines { grid-template-columns: 1fr; gap: 2px 0; }
  .transcript-lines dt { margin-top: 12px; }
  .transcript-lines dt:first-child { margin-top: 0; }
}

/* ── Founder ── */
.founder-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(6,182,212,0.2);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.founder-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(6,182,212,0.55);
  background:
    radial-gradient(ellipse at 30% 25%, rgba(6,182,212,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(15,23,42,0.6) 100%);
}

.founder-copy .section-title { margin-bottom: 20px; }
.founder-copy p { margin-bottom: 16px; }
.founder-sign {
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}
.founder-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.founder-link:hover { color: var(--cyan-light); }

@media (max-width: 768px) {
  .founder-wrap { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { max-width: 240px; }
}

/* ── Founding clinics / pilot ── */
.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.pilot-list {
  list-style: none;
}
.pilot-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.5;
}
.pilot-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pilot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Mobile: keep top bar uncluttered ── */
@media (max-width: 768px) {
  nav .lang-toggle { display: none; }   /* language toggle available in the footer on mobile */
}

/* ── Demo consent line (below the call button) ── */
.demo-consent {
  margin: 14px auto 0;
  max-width: 380px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray-600);
}
.demo-consent a { color: var(--gray-400); text-decoration: underline; }
.demo-consent a:hover { color: var(--cyan); }

/* ── Legal pages (privacy / cookies / terms) ── */
.legal { padding: 120px 24px 80px; }
.legal-doc { max-width: 720px; margin: 0 auto; }
.legal-doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 28px; }
.legal-doc h2 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 34px 0 10px;
}
.legal-doc p { margin-bottom: 14px; color: var(--gray-400); }
.legal-doc strong { color: var(--white); font-weight: 600; }
.legal-doc a { color: var(--cyan); }
.legal-doc a:hover { color: var(--cyan-light); }
.legal-doc ul { list-style: none; margin: 0 0 14px; }
.legal-doc li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  color: var(--gray-400);
  line-height: 1.7;
}
.legal-doc li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.legal-updated {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: italic;
}
.legal-back {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
}
.legal-back:hover { color: var(--cyan-light); }

/* ── Cookie / consent notice banner (non-blocking, bottom) ── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  background: rgba(17, 24, 39, 0.97);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }

.cookie-banner-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-400);
}
.cookie-banner-text a { color: var(--cyan); text-decoration: underline; }
.cookie-banner-text a:hover { color: var(--cyan-light); }

.cookie-accept { flex: 0 0 auto; white-space: nowrap; }

/* ── Legal tables (e.g. cookie storage table) ── */
.legal-table-wrap { margin: 10px 0 18px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  line-height: 1.55;
}
.legal-table th {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.85em;
  color: var(--cyan-light);
  white-space: nowrap;
}

/* Mobile: collapse the table into labelled cards */
@media (max-width: 640px) {
  .legal-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td { display: block; width: 100%; }
  .legal-table tr {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 2px;
    margin-bottom: 16px;
  }
  .legal-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 9px 14px;
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 12px;
    align-items: start;
  }
  .legal-table tr td:last-child { border-bottom: none; }
  .legal-table td::before {
    content: attr(data-label);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--cyan);
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }
  .cookie-accept { width: 100%; justify-content: center; }
}
