/* ============================================================
   abonnement.css — Page abonnement / pricing
   ============================================================ */

/* ─── Page wrapper ───────────────────────────────────────────── */
.abo-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.abo-hero {
  text-align: center;
  padding: 48px 16px 40px;
}

.abo-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: 20px;
}

.abo-hero-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-1);
  margin: 0 0 14px;
  background: linear-gradient(135deg, #F9FAFB 30%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.abo-hero-sub {
  font-size: 15px;
  color: var(--text-3);
  margin: 0 0 32px;
}

/* ─── Billing toggle ─────────────────────────────────────────── */
.abo-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
}

.abo-billing-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.abo-save-badge {
  font-size: 10px;
  font-weight: 700;
  background: #22c55e22;
  color: #22c55e;
  border: 1px solid #22c55e44;
  border-radius: var(--radius-full);
  padding: 2px 7px;
}

/* Toggle pill switch */
.abo-toggle-pill {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.abo-toggle-pill input { display: none; }

.abo-toggle-pill-track {
  display: block;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background 0.2s;
  position: relative;
}

.abo-toggle-pill-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-3);
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), background 0.2s;
}

.abo-toggle-pill input:checked + .abo-toggle-pill-track {
  background: var(--primary);
}

.abo-toggle-pill input:checked + .abo-toggle-pill-track::after {
  transform: translateX(20px);
  background: #fff;
}

/* ─── Cards grid ─────────────────────────────────────────────── */
.abo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  align-items: start;
}

@media (max-width: 860px) {
  .abo-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ─── Individual card ────────────────────────────────────────── */
.abo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.abo-card:hover {
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-2px);
}

/* Popular badge above the card */
.abo-card--premium {
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.15), 0 8px 32px rgba(249,115,22,0.12);
}

.abo-card--premium:hover {
  border-color: rgba(249,115,22,0.55);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.25), 0 12px 40px rgba(249,115,22,0.18);
}

.abo-card--premiumplus {
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.1);
}

.abo-card--premiumplus:hover {
  border-color: rgba(168,85,247,0.45);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.2), 0 12px 40px rgba(168,85,247,0.12);
}

.abo-card--active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(249,115,22,0.2) !important;
}

/* Popular ribbon */
.abo-card-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #F97316, #FB923C);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(249,115,22,0.4);
}

/* ─── Card top section ───────────────────────────────────────── */
.abo-card-top { margin-bottom: 20px; }

.abo-plan-icon {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}

.abo-plan-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 10px;
}

.abo-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.abo-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1;
  transition: all 0.2s;
}

.abo-price-period {
  font-size: 13px;
  color: var(--text-4);
}

.abo-plan-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0 0 18px;
}

/* ─── CTA buttons ────────────────────────────────────────────── */
.abo-cta {
  width: 100%;
  padding: 11px 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: 0.02em;
}

.abo-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.abo-cta:active { transform: translateY(0); }

.abo-cta--free {
  background: var(--bg-hover, rgba(255,255,255,0.06));
  color: var(--text-3);
  border: 1px solid var(--border);
}

.abo-cta--premium {
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}

.abo-cta--premiumplus {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: #fff;
  box-shadow: 0 4px 16px rgba(168,85,247,0.3);
}

.abo-cta--current {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

/* ─── Feature list ───────────────────────────────────────────── */
.abo-features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.abo-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

.abo-feat--no { color: var(--text-4); }

.abo-feat-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}

.abo-feat-icon.ok {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.abo-feat-icon.no {
  background: rgba(255,255,255,0.05);
  color: var(--text-4);
}

.abo-feat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: rgba(249,115,22,0.15);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 1px 6px;
  vertical-align: middle;
  margin-left: 2px;
}

.abo-feat-tag--purple {
  background: rgba(168,85,247,0.15);
  color: #a855f7;
}

/* ─── Comparison table ───────────────────────────────────────── */
.abo-compare-wrap {
  margin-bottom: 48px;
}

.abo-compare-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  text-align: center;
  margin: 0 0 24px;
}

.abo-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.abo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.abo-table thead tr {
  border-bottom: 1px solid var(--border);
}

.abo-table th {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text-3);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.abo-th-feat {
  text-align: left;
  width: 40%;
  color: var(--text-2);
}

.abo-th-premium { color: #f97316 !important; }
.abo-th-premiumplus { color: #a855f7 !important; }

.abo-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.12s;
}

.abo-table tbody tr:last-child { border-bottom: none; }
.abo-table tbody tr:hover { background: rgba(255,255,255,0.025); }

.abo-table td {
  padding: 12px 16px;
  color: var(--text-3);
  text-align: center;
  vertical-align: middle;
}

.abo-td-feat {
  text-align: left;
  color: var(--text-2);
  font-weight: 500;
}

.abo-td-premium { color: #f97316; font-weight: 600; }
.abo-td-premiumplus { color: #a855f7; font-weight: 600; }

.abo-check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.abo-cross {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.04);
  color: var(--text-4);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.abo-faq-wrap {
  margin-bottom: 48px;
}

.abo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.abo-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.abo-faq-item[open] {
  border-color: rgba(249,115,22,0.2);
}

.abo-faq-q {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.abo-faq-q::-webkit-details-marker { display: none; }

.abo-faq-q::after {
  content: '＋';
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}

.abo-faq-item[open] .abo-faq-q::after {
  transform: rotate(45deg);
}

.abo-faq-a {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

/* ─── Footer note ────────────────────────────────────────────── */
.abo-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-4);
  line-height: 2;
  padding-bottom: 24px;
}

.abo-footer-note a {
  color: var(--primary);
  text-decoration: none;
}

.abo-footer-note a:hover { text-decoration: underline; }
