/* ============================================================================
   components/premium/premium.css — UNIO+ ekranları (Sprint 10B)
   UNIO tasarım dili korunur: aynı değişkenler, aynı yuvarlaklık, aynı gölge.
   Yeni bir renk paleti UYDURULMAZ; premium vurgusu var(--brand) üzerinden
   yapılır, böylece tema değiştiğinde bu ekran da değişir.
   ============================================================================ */

.prem-screen { padding: 0 0 110px; }

/* ── başlık (soc-head ile aynı ölçüler: iki ekran yan yana durduğunda
      hizasız görünmesin) ── */
.prem-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  position: sticky; top: 0; z-index: 5;
}
/* Geri düğmesi 32px'ti; dokunma eşiği 44px. Görsel ağırlık aynı kalsın
   diye ok boyutu değişmedi, yalnızca hedef büyüdü. */
.prem-back {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 26px; line-height: 1; color: var(--text);
  width: 44px; height: 44px; display: grid; place-items: center;
  margin-left: -8px; border-radius: 50%;
}
.prem-back:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.prem-head__t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.prem-head__t strong { font-size: 17px; font-weight: 800; }
.prem-head__t span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }

/* ── tanıtım ── */
.prem-hero { padding: 22px 18px 8px; text-align: center; }
.prem-hero__badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  color: #fff; background: var(--brand);
}
.prem-hero h2 { font-size: 22px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; }
.prem-hero p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── plan seçimi ── */
.prem-plans { display: flex; gap: 10px; padding: 16px 14px 4px; }
.prem-plan {
  flex: 1 1 0; min-width: 0; cursor: pointer; font: inherit; text-align: left;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 2px solid var(--line); color: var(--text);
}
.prem-plan.is-on { border-color: var(--brand); }
.prem-plan__n { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.prem-plan__p { font-size: 16px; font-weight: 800; }
.prem-plan__s { font-size: 11.5px; font-weight: 700; color: var(--brand); }
.prem-plan:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── karşılaştırma tablosu ──
   Tablo KENDİ kutusunda kayar. Sayfa gövdesinin yatay kayması Sprint 10A'da
   şikâyet konusuydu; aynı hatayı tekrarlamamak için sarmalayıcı zorunlu. */
.prem-sec-t {
  font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  color: var(--muted); padding: 22px 16px 8px;
}
.prem-tablewrap { padding: 0 14px; max-width: 100%; overflow-x: auto; }
.prem-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
}
.prem-table th, .prem-table td { padding: 11px 12px; text-align: left; }
.prem-table thead th {
  font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.prem-table tbody tr + tr th, .prem-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}
.prem-table tbody th { font-weight: 600; overflow-wrap: anywhere; }
.prem-table td { text-align: right; white-space: nowrap; color: var(--muted); }
.prem-table td.is-plus { color: var(--text); font-weight: 800; }
.prem-table td.is-off { opacity: .55; }

/* ── eylem ── */
.prem-cta {
  display: block; width: calc(100% - 28px); margin: 20px 14px 6px;
  padding: 15px 18px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 15.5px; font-weight: 800;
  background: var(--brand); color: #fff;
}
.prem-cta[disabled] { opacity: .6; cursor: default; }
.prem-cta:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.prem-link {
  display: block; width: 100%; margin-top: 4px; padding: 12px; min-height: 44px;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
}
.prem-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.55;
  padding: 8px 16px;
}
/* Uyarı metni OKUNMAK ZORUNDA: #d98324 açık turuncu zeminde 2.70:1
   veriyordu. Koyu kehribar 5.4:1 ile AA geçer ve uyarı hissini korur. */
.prem-note.warn {
  margin: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(217,131,36,.1); border: 1px solid rgba(217,131,36,.35); color: #8A5200;
}

/* ── SSS ── */
.prem-faq { padding: 0 14px; display: grid; gap: 8px; }
.prem-faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px;
}
.prem-faq summary { font-size: 14px; font-weight: 700; cursor: pointer; }
.prem-faq p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 8px 0 0; }

/* ── abonelik kartı ── */
.prem-card {
  margin: 14px; padding: 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
}
.prem-card.is-warn { border-color: rgba(217,131,36,.45); }
.prem-card__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.prem-state { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prem-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13.5px; }
.prem-kv dt { color: var(--muted); }
.prem-kv dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }

.prem-log { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 6px; }
.prem-log li {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 13px;
}
.prem-log li span { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ── rozet ── */
.prem-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--brand);
  vertical-align: middle;
}
.prem-badge.sm { font-size: 9.5px; padding: 2px 7px; margin-left: 6px; }

/* ── durumlar ── */
.prem-skel { display: grid; gap: 10px; padding: 16px; }
.prem-skel i {
  display: block; height: 74px; border-radius: 14px; background: var(--line);
  animation: premPulse 1.4s infinite;
}
@keyframes premPulse { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

.prem-empty { text-align: center; padding: 46px 24px; }
.prem-empty span {
  width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--purple-soft); color: var(--purple-deep);
  display: grid; place-items: center;
}
.prem-empty span svg { width: 26px; height: 26px; }
.prem-empty strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.prem-empty p { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }

.prem-done { text-align: center; padding: 64px 24px 0; }
.prem-done__ic {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--brand);
}
.prem-done__ic svg { width: 32px; height: 32px; }
.prem-done h2 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.prem-done p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) { .prem-skel i { animation: none; } }
