/* === BOOKD THEME === */
:root {
  --bg: #F5F3EE;
  --bg-alt: #EDEAE4;
  --fg: #0A2239;
  --fg-muted: #5A6A7E;
  --accent: #E8502A;
  --accent-hover: #D4421F;
  --card-bg: #FFFFFF;
  --border: #DDD9D1;
  --teal: #1B9AAA;
}

/* === RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === LAYOUT === */
section { padding: 80px 0; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  gap: 64px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(27,154,170,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
  font-family: 'DM Sans', sans-serif;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}
.hero-visual { flex-shrink: 0; }

/* === PHONE MOCKUP === */
.phone-mockup { position: relative; }
.phone-frame {
  width: 300px;
  background: #FFFFFF;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 4px 40px rgba(10,34,57,0.14), 0 1px 3px rgba(10,34,57,0.06);
}
.phone-screen { background: var(--bg); border-radius: 28px; padding: 20px; }
.call-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.call-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.caller-name { font-weight: 600; font-size: 14px; color: var(--fg); }
.call-status { font-size: 12px; color: var(--teal); font-weight: 500; }
.call-status.incoming { color: var(--accent); }
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 16px;
  padding: 0 4px;
}
.wave-bar {
  flex: 1;
  background: var(--teal);
  border-radius: 2px;
  height: 100%;
  animation: wave 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }
.wave-bar:nth-child(11) { animation-delay: 1.0s; }
.wave-bar:nth-child(12) { animation-delay: 1.1s; }
.wave-bar:nth-child(13) { animation-delay: 0.15s; }
.wave-bar:nth-child(14) { animation-delay: 0.25s; }
@keyframes wave {
  0%, 100% { height: 30%; }
  50% { height: 90%; }
}
.ai-transcript { margin-bottom: 12px; }
.transcript-line {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.5;
  align-items: flex-start;
}
.transcript-label {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}
.transcript-line.ai .transcript-label { background: var(--teal); color: white; }
.transcript-line.patient .transcript-label { background: var(--fg); color: white; }
.transcript-line.ai { color: var(--fg-muted); }
.transcript-line.patient { color: var(--fg); }
.booking-confirmed {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E8F7F5;
  border: 1px solid rgba(27,154,170,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #0D6E6E;
}
.booking-check {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metric-float {
  position: absolute;
  bottom: -20px;
  right: -40px;
  background: var(--accent);
  color: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(232,80,42,0.35);
}
.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.metric-label {
  font-size: 10px;
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.4;
}

/* === PROOF === */
.proof { background: var(--fg); color: white; padding: 80px 48px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.proof-card { border-left: 3px solid var(--teal); padding-left: 24px; }
.proof-stat {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
}
.proof-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.proof-quote {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}
.proof-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: white;
  margin-bottom: 16px;
  max-width: 640px;
}
.proof-quote cite {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

/* === FEATURES === */
.features { padding: 96px 48px; background: var(--bg); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(32px, 3.5vw, 52px);
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-item {}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-item p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* === OFFER / PRICING === */
.offer { padding: 96px 48px; background: var(--bg-alt); }
.offer-inner { max-width: 900px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  border: 2px solid var(--border);
}
.pricing-card.monthly { border-color: var(--fg); }
.pricing-card.monthly { border-color: var(--fg); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--fg);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.pricing-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--fg);
}
.per-mo { font-size: 20px; font-weight: 400; }
.pricing-note { font-size: 13px; color: var(--fg-muted); margin-bottom: 28px; }
.pricing-list { list-style: none; }
.pricing-list li {
  font-size: 15px;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.roi-note {
  font-size: 15px;
  color: var(--fg-muted);
  font-style: italic;
  text-align: center;
}

/* === PROCESS === */
.process { padding: 96px 48px; background: var(--bg); }
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0;
}
.step { flex: 1; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 16px;
}
.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.step-body p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }
.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 24px;
  align-self: flex-start;
  margin-top: 40px;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  background: var(--fg);
  color: white;
  text-align: center;
}
.closing h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  color: white;
  max-width: 720px;
  margin: 0 auto 20px;
}
.closing p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 56px;
}
.closing-visual {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  padding: 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 8px;
}
.footer-tagline { font-size: 15px; color: var(--fg-muted); margin-bottom: 16px; }
.footer-links { font-size: 13px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-note { font-size: 12px; color: var(--border); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 60px 24px; min-height: auto; gap: 48px; }
  .hero-inner { max-width: 100%; }
  .hero-visual { width: 100%; display: flex; justify-content: center; }
  .proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-stat { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .step-connector { width: 40px; height: 40px; margin: 0; transform: rotate(90deg); }
  .closing-visual { flex-direction: column; align-items: center; }
  section { padding: 60px 24px; }
  .proof, .features, .offer, .process, .closing { padding: 60px 24px; }
  .footer { padding: 40px 24px; }
}
/* === LEAD FORM === */
.lead-form-section { padding: 96px 48px; background: var(--bg); }
.lead-form-inner { max-width: 700px; }
.lead-form-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: -32px;
  margin-bottom: 40px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
}
.form-group .required { color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--fg);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); opacity: 0.7; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,154,170,0.15);
}
.lead-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}
.lead-submit:hover:not(:disabled) { background: var(--accent-hover); }
.lead-submit:active:not(:disabled) { transform: scale(0.98); }
.lead-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.lead-submit.loading .submit-text { display: none; }
.lead-submit.loading .submit-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  background: rgba(27,154,170,0.08);
  border: 1px solid var(--teal);
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--teal);
  font-weight: 500;
  font-size: 15px;
}
.form-error {
  background: rgba(232,80,42,0.08);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .lead-form-section { padding: 60px 24px; }
}