/* SoyGrowth · Tableau comparatif des 3 plans (partagé entre offres + waitlist)
   Inclure via <link rel="stylesheet" href="/css/compare-table.css"> */

.compare-section {
  padding: 100px 24px;
  background: var(--bg);
}

.compare-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.compare-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,180,41,0.08);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.compare-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--surface);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.3px;
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
  position: sticky;
  top: 0;
}

.compare-table thead th.feature-col {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.compare-table thead th.plan-best {
  background: linear-gradient(180deg, rgba(240,180,41,0.18) 0%, rgba(240,180,41,0.08) 100%);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.compare-table thead th .plan-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: none;
}

.compare-table tbody td {
  color: var(--text);
}

.compare-table tbody td.feature-name {
  font-weight: 500;
  color: rgba(240,240,255,0.85);
  width: 35%;
}

.compare-table tbody td.cell {
  text-align: center;
  font-weight: 600;
}

.compare-table tbody td.cell.best {
  background: rgba(240,180,41,0.04);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:hover td { background: rgba(240,180,41,0.03); }

.check-yes {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(240,180,41,0.15);
  border: 1px solid rgba(240,180,41,0.4);
  color: var(--gold);
  line-height: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.check-no {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(120,120,150,0.08);
  border: 1px solid rgba(120,120,150,0.2);
  color: rgba(120,120,150,0.5);
  line-height: 26px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.compare-table .row-price td {
  background: linear-gradient(180deg, rgba(240,180,41,0.06), transparent);
  padding-top: 22px;
  padding-bottom: 22px;
}

.compare-table .row-price td.cell {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
}

.compare-table .row-price td.cell .price-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-top: 2px;
  text-transform: none;
}

.compare-bottom-cta {
  text-align: center;
  margin-top: 36px;
}

.all-inclus {
  background: linear-gradient(180deg, rgba(240,180,41,0.08) 0%, rgba(240,180,41,0.04) 100%);
  text-align: center;
  padding: 18px 22px !important;
  border-top: 1px solid rgba(240,180,41,0.25);
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.all-inclus-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-weight: 900;
  font-size: 13px;
  margin-right: 10px;
  vertical-align: middle;
}

.all-inclus-label strong { color: var(--gold); }

@media (max-width: 720px) {
  .compare-section { padding: 50px 12px; }
  .compare-head { margin-bottom: 24px; }
  .compare-table { min-width: 0; }
  .compare-table th,
  .compare-table td { padding: 10px 6px; font-size: 11px; }
  .compare-table thead th { font-size: 12px; padding: 12px 6px; letter-spacing: -0.5px; }
  .compare-table thead th .plan-sub { font-size: 9px; margin-top: 2px; }
  .compare-table .row-price td.cell { font-size: 16px; }
  .compare-table .row-price td.cell .price-sub { font-size: 9px; }
  .compare-table .feature-name { font-size: 11px; line-height: 1.3; }
}
