/* ============================================================
   /why-appointmentflow — No Lock-In Comparison Page
   Extends landing.css dark theme. Amber accent.
   ============================================================ */

/* ── Page-level hero ─────────────────────────────────────── */
.why-hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  text-align: center;
}
.why-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.why-hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 20px; max-width: 780px; margin-left: auto; margin-right: auto;
}
.why-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3);
  color: #F59E0B; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 16px;
  border-radius: 999px; margin-bottom: 32px;
}
.why-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 24px; max-width: 820px; margin-left: auto; margin-right: auto;
}
.why-hero-sub {
  font-size: 1.1rem; color: var(--fg-muted);
  max-width: 640px; margin: 0 auto 40px; line-height: 1.7;
}
.why-hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F59E0B; color: #0D1B2A;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover { background: #e8920a; transform: translateY(-2px); text-decoration: none; }
.btn-accent-lg { font-size: 1.05rem; padding: 16px 36px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--fg-muted);
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  padding: 14px 24px; border-radius: 10px; border: 1px solid var(--border);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--fg); text-decoration: none; }

/* ── Proof bar ────────────────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
  padding: 28px 0;
}
.proof-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; align-items: center; padding: 0 40px; }
.proof-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: #F59E0B; }
.proof-label { font-size: 0.75rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Problem section ──────────────────────────────────────── */
.problem-section { background: var(--bg); }
.section-sub { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.problem-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover { border-color: rgba(239,68,68,0.3); transform: translateY(-2px); }
.problem-icon { font-size: 1.8rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* ── Comparison table ────────────────────────────────────── */
.comparison-section { background: var(--bg-section); }
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 760px;
}
.comparison-table thead tr:first-child { background: var(--bg-card); }
.th-feature {
  text-align: left; padding: 18px 20px; color: var(--fg-muted);
  font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border); width: 28%;
}
.th-us, .th-comp {
  text-align: center; padding: 18px 16px; border-bottom: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600;
}
.th-us { width: 18%; }
.th-comp { width: 13.5%; color: var(--fg-muted); }
.th-highlight { background: rgba(245,158,11,0.06); }
.th-brand { display: block; font-family: var(--font-display); font-size: 0.9rem; color: var(--fg); }
.th-tag {
  display: inline-block; background: #F59E0B; color: #0D1B2A;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 4px; margin-top: 6px;
}

.row-category td { padding: 10px 20px 4px; border-top: 1px solid var(--border); }
.row-cat-label {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-dim);
}

.td-feature {
  padding: 14px 20px; color: var(--fg-muted); border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.td-us, .td-comp {
  padding: 14px 16px; text-align: center; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--fg-muted);
}
.td-highlight { background: rgba(245,158,11,0.04); }
.td-us strong { color: #F59E0B; font-weight: 600; }
.td-comp { color: var(--fg-dim); }

.check {
  display: inline-flex; align-items: center; gap: 4px;
  color: #10B981; font-weight: 600;
}
.check::before {
  content: '✓';
  font-size: 0.9rem; font-weight: 700;
}

.comparison-table tr:hover td { background: rgba(255,255,255,0.01); }
.td-highlight:hover { background: rgba(245,158,11,0.08); }

.comparison-footnote {
  font-size: 0.7rem; color: var(--fg-dim); text-align: center;
  margin-top: 20px; line-height: 1.6;
}

/* ── Differentiation grid ────────────────────────────────── */
.diff-section { background: var(--bg); }
.diff-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.diff-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  position: relative; overflow: hidden;
}
.diff-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #F59E0B, transparent);
  opacity: 0.4;
}
.diff-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 800;
  color: rgba(245,158,11,0.15); margin-bottom: 16px; line-height: 1;
}
.diff-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.diff-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* ── Social proof ────────────────────────────────────────── */
.proof-section { background: var(--bg-section); }
.proof-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.proof-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  transition: border-color 0.2s;
}
.proof-card:hover { border-color: var(--border-hover); }
.proof-stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.proof-text { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  color: #F59E0B; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.proof-name { font-size: 0.875rem; font-weight: 600; }
.proof-role { font-size: 0.75rem; color: var(--fg-dim); margin-top: 2px; }

/* ── CTA section ─────────────────────────────────────────── */
.cta-section { background: var(--bg); }
.cta-wrap { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}
.cta-sub { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 36px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-fine { font-size: 0.75rem; color: var(--fg-dim); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .proof-inner { gap: 16px; }
  .proof-item { padding: 0 20px; }
  .proof-divider { display: none; }
  .why-hero-actions { flex-direction: column; align-items: center; }
  .comparison-table-wrap { font-size: 0.78rem; }
  .th-tag { display: none; }
}