/* ================================================================
   competitor.css — Styles for the Turquoise Health alternative page
   ================================================================ */

/* ── HERO ───────────────────────────────────────────────────────── */
.comp-hero {
  background: var(--hero-bg);
  padding: 128px 0 88px;
  position: relative; overflow: hidden;
}
.comp-hero::before {
  content: '';
  position: absolute; top: -200px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,94,182,0.32) 0%, transparent 65%);
  pointer-events: none;
}
.comp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(93,164,255,0.12); border: 1px solid rgba(93,164,255,0.25);
  color: #93c5fd; border-radius: var(--radius-full);
  padding: .3rem 1rem; font-size: .78rem; font-weight: 600;
  margin-bottom: 1.25rem; letter-spacing: .4px;
}
.comp-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.2rem; font-weight: 900; color: var(--hero-text);
  line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 1.1rem;
}
.comp-hero h1 em {
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-style: normal;
}
.comp-hero-sub { font-size: 1.05rem; color: var(--hero-muted); line-height: 1.75; max-width: 560px; margin-bottom: 2rem; }
.comp-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(45deg, var(--primary-dim), var(--primary));
  color: #fff; padding: .85rem 2rem; border-radius: var(--radius-xl);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 20px rgba(0,94,182,0.35);
  transition: opacity .2s, transform .15s;
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); }
.btn-secondary {
  background: rgba(232,240,251,0.07); backdrop-filter: blur(12px);
  color: var(--hero-text); padding: .85rem 2rem; border-radius: var(--radius-xl);
  border: 1px solid var(--hero-border);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem;
  text-decoration: none; display: inline-block;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: rgba(232,240,251,0.12); border-color: rgba(232,240,251,0.22); }

/* ── COMPARISON TABLE ───────────────────────────────────────────── */
.comp-table-section { padding: 88px 0; background: var(--surface); }
.comp-table-wrap { overflow-x: auto; margin-top: 3rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-float); }
.comp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comp-table thead tr { background: var(--hero-bg); }
.comp-table thead th {
  padding: 1rem 1.25rem; text-align: left;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 700; color: var(--hero-text);
}
.comp-table thead th:first-child { border-radius: var(--radius-xl) 0 0 0; }
.comp-table thead th:last-child  { border-radius: 0 var(--radius-xl) 0 0; }
.col-feature { width: 30%; }
.col-pb      { width: 35%; }
.col-th      { width: 35%; }
.col-pb-label {
  color: #60a5fa !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
}
.comp-table tbody td {
  padding: .9rem 1.25rem; font-size: .875rem; color: var(--on-surface);
  vertical-align: top; border-bottom: 1px solid var(--surface-container);
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:nth-child(odd) td { background: var(--surface-lowest); }
.comp-table tbody tr:nth-child(even) td { background: var(--surface-low); }
.comp-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--radius-xl); }
.comp-table tbody tr:last-child td:last-child  { border-radius: 0 0 var(--radius-xl) 0; }
.feature-label { font-weight: 700; color: var(--on-surface); }
.check { color: var(--tertiary); font-weight: 700; }
.cross { color: var(--error); font-weight: 700; }
.partial { color: #f59e0b; font-weight: 700; }
.pb-cell { color: var(--on-surface); }
.th-cell { color: var(--on-surface-var); }

/* ── WHY PAYERBENCHMARK ─────────────────────────────────────────── */
.comp-why { padding: 88px 0; background: var(--surface-low); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.why-card {
  background: var(--surface-lowest); border-radius: var(--radius-xl); padding: 2rem;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-fixed-dim));
}
.why-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.why-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 800; color: var(--on-surface); margin-bottom: .5rem; }
.why-card p { font-size: .875rem; color: var(--on-surface-var); line-height: 1.7; }

/* ── MIGRATION STEPS ────────────────────────────────────────────── */
.comp-migration { padding: 88px 0; background: var(--surface); }
.steps-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.25rem; max-width: 680px; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 900; font-size: .9rem;
  margin-top: .1rem;
}
.step-body h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 800; color: var(--on-surface); margin-bottom: .35rem; }
.step-body p { font-size: .875rem; color: var(--on-surface-var); line-height: 1.7; margin: 0; }

/* ── COMPETITOR CTA ─────────────────────────────────────────────── */
.comp-cta { padding: 88px 0; background: var(--surface-low); }
.comp-cta-card {
  background: linear-gradient(135deg, #e8f0fb 0%, #dce8f8 60%, #edf4ff 100%);
  border-radius: var(--radius-xl); padding: 4rem 3rem;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-float);
}
.comp-cta-card h2 { color: var(--on-surface); margin-bottom: .75rem; }
.comp-cta-card p { color: var(--on-surface-var); max-width: 500px; margin: 0 auto 2.25rem; font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-demo {
  background: linear-gradient(45deg, var(--primary-dim), var(--primary));
  color: #fff; padding: .9rem 2.25rem; border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,94,182,0.3);
  transition: opacity .2s, transform .15s;
}
.btn-cta-demo:hover { opacity: .9; transform: translateY(-2px); }
.btn-cta-ghost {
  background: transparent; color: var(--primary);
  padding: .9rem 2.25rem; border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(0,94,182,0.25); cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-cta-ghost:hover { background: var(--primary-soft); border-color: rgba(0,94,182,0.4); }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .comp-hero { padding: 100px 0 64px; }
  .comp-hero h1 { font-size: 2.4rem; }
  .comp-table-section, .comp-why, .comp-migration, .comp-cta { padding: 60px 0; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .comp-hero h1 { font-size: 2rem; }
  .comp-cta-card { padding: 2.5rem 1.5rem; }
}
