/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NewsRadar · Fiyatlandırma — tarife paneli
   landing.css üzerine gelir; mürekkep sistemi oradan miras.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.pricing-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px 12px;
}
.pricing-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.pricing-sub {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Aylık / yıllık geçişi */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.billing-opt {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s;
}
.billing-opt:not(.active):hover {
  color: var(--text);
}
.billing-opt.active {
  background: var(--accent);
  color: var(--accent-text);
}
.billing-save {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.billing-opt.active .billing-save {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ─── Tarife paneli ─── */
.plans-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px) 24px clamp(48px, 6vw, 72px);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
}
.plan {
  padding: 30px 28px 28px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.plan:first-child { border-left: 0; }
.plan-popular {
  background: var(--accent-soft);
  position: relative;
}
.plan-popular-tag {
  margin: 0 0 10px;
  min-height: 17px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
/* Etiket için her kartta eşit yer rezerve et (sihirli padding yerine) */
.plan:not(.plan-popular) .plan-head::before {
  content: '';
  display: block;
  min-height: 17px;
  margin: 0 0 10px;
}
.plan-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.plan-tag {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.plan-price {
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.plan-yearly-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  min-height: 18px;
}
.plan-yearly-note[hidden] { display: block; visibility: hidden; }
.plan-cta {
  margin: 16px 0 12px;
  justify-content: center;
  width: 100%;
}
/* İkincil "doğrudan satın al" — sade lime-metin (kart dengesini bozmaz) */
.plan-cta-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin: 0 0 22px; min-height: 34px;
  background: transparent; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: -0.005em;
  color: var(--accent); transition: gap .15s, opacity .15s;
}
.plan-cta-buy[hidden] { display: none; }
.plan-cta-buy:hover { gap: 9px; opacity: .82; }
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan-features li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.45;
}
.plan-features li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-features li.off {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
}
.plan-popular .plan-features li { border-top-color: var(--border); }
.plans-note {
  margin: 18px 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 76ch;
}

/* ─── SSS ─── */
.pricing-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px clamp(56px, 7vw, 88px);
}
.pricing-faq h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.faq {
  border-top: 1px solid var(--border);
}
.faq:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 34px 17px 0;
  font-size: 15.5px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-faint);
  transition: transform 0.18s ease-out, color 0.15s;
}
.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--accent);
}
.faq summary:hover { color: var(--accent-hover); }
.faq summary:hover::after { color: var(--accent); }
.faq p {
  margin: 0 0 18px;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq a { color: var(--accent-hover); font-weight: 600; }

/* ─── Duyarlılık ─── */
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .plan:first-child { border-top: 0; }
  .plan:not(.plan-popular) .plan-head::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .billing-opt,
  .faq summary::after {
    transition: none;
  }
}
