/* Paket kartları — IPOScope açık tema, plan bazlı renkler */

.pricing-section,
.pricing-grid,
.compare-section-card {
  --pk-bg: #ffffff;
  --pk-surface: #f8f9fa;
  --pk-border: #e5e7eb;
  --pk-text: #111111;
  --pk-muted: #6b7280;
  --pk-radius: 18px;
}

.pricing-section {
  display: grid;
  gap: 24px;
}

.pricing-hero { text-align: center; max-width: 640px; margin: 0 auto; }
.pricing-hero--center { margin-bottom: 12px; }
.pricing-hero--center .section-lead { margin-left: auto; margin-right: auto; max-width: 40ch; }
.pricing-hero h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -0.03em; }
.pricing-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 8px;
}
.plan-current-label { color: #16a34a; }
.pricing-flash { max-width: 720px; margin: 12px auto 0; text-align: left; }
.pricing-foot { text-align: center; font-size: 13px; max-width: 560px; margin: 0 auto; }

/* Grid — 4 paket */
.pricing-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* Kart */
.price-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--pk-text);
  border-radius: var(--pk-radius);
  overflow: hidden;
  border: 2px solid var(--pk-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}
.price-card--free:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Üst şerit — plan rengine göre */
.price-card-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card-banner--free {
  background: #f9fafb;
  color: #9ca3af;
  border-bottom: 1px solid #e5e7eb;
}
.price-card-banner--pro_weekly {
  background: #f1f5f9;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.price-card-banner--pro_monthly {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #fff;
}
.price-card-banner--pro_yearly {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
  color: #fff;
}

/* Free — sade, düz çerçeve; vurgu/çerçeve yok */
.price-card--free {
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.price-card--free.current,
.price-card--free:hover {
  outline: none;
  border-color: #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.price-card--free .price-amount { color: #334155; }

/* Haftalık — nötr çerçeve */
.price-card--pro_weekly {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.price-card--pro_weekly .price-amount { color: #334155; }

/* Aylık — yeşil çerçeve */
.price-card--pro_monthly {
  border-color: #16a34a;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 55%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.15), 0 10px 30px rgba(22, 163, 74, 0.12);
}
.price-card--pro_monthly.is-featured {
  border-width: 2px;
}
.price-card--pro_monthly .price-amount { color: #15803d; }

/* Yıllık — mor çerçeve (aylıktan tamamen farklı) */
.price-card--pro_yearly {
  border-color: #7c3aed;
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 55%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.15), 0 10px 30px rgba(124, 58, 237, 0.12);
}
.price-card--pro_yearly .price-amount { color: #6d28d9; }

.price-card.current:not(.price-card--free) {
  outline: 2px dashed #94a3b8;
  outline-offset: 3px;
}

.price-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px 18px;
}

.price-tier-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pk-muted);
  margin-bottom: 6px;
}
.price-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pk-text);
}
.price-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pk-muted);
  min-height: 2.8em;
}

.price-amount {
  font-size: clamp(1.75rem, 6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--pk-muted);
  margin-left: 2px;
}
.price-save-line {
  margin: 0 0 14px;
  min-height: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
}

/* CTA butonları */
.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.price-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.price-cta[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.price-cta--neutral {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.price-cta--slate {
  background: linear-gradient(180deg, #64748b, #475569);
  color: #fff;
  box-shadow: 0 4px 14px rgba(71, 85, 105, 0.25);
}
.price-cta--green {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}
.price-cta--violet {
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.price-foot-note {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--pk-muted);
  text-align: center;
}

/* Özellik listesi */
.price-features {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid #e5e7eb;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}
.feat-icon {
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  margin-top: 2px;
}
.price-card--free .feat-icon,
.price-card--pro_weekly .feat-icon {
  background: #e2e8f0;
  color: #64748b;
}
.price-card--pro_monthly .feat-icon {
  background: #dcfce7;
  color: #16a34a;
}
.price-card--pro_yearly .feat-icon {
  background: #ede9fe;
  color: #7c3aed;
}

/* Karşılaştırma */
.compare-section-card {
  background: #fff;
  color: var(--pk-text);
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.compare-section-head { padding: 20px 20px 0; text-align: center; }
.compare-section-head h2,
.compare-section-head h3 {
  color: var(--pk-text);
}
.compare-section-card .muted {
  color: var(--pk-muted);
}
.compare-wrap { padding: 12px 0 4px; }
.compare-desktop { display: none; overflow-x: auto; }
.compare-mobile { display: grid; gap: 10px; padding: 0 14px 14px; }

.compare-m-card {
  background: var(--pk-surface);
  border: 1px solid var(--pk-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.compare-m-title { font-size: 14px; font-weight: 600; margin: 0 0 10px; color: var(--pk-text); }
.compare-m-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.compare-m-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--pk-border);
  font-size: 13px;
  color: var(--pk-text);
}
.compare-m-item--free,
.compare-m-item--pro_weekly { background: #f8fafc; }
.compare-m-item--pro_monthly { background: #f0fdf4; border-color: rgba(22, 163, 74, 0.25); }
.compare-m-item--pro_yearly { background: #f5f3ff; border-color: rgba(124, 58, 237, 0.25); }
.compare-m-plan {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pk-muted);
}
.compare-m-val { font-weight: 600; color: var(--pk-text); }

.compare { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--pk-text); }
.compare--enhanced th,
.compare--enhanced td {
  border: 1px solid var(--pk-border);
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
  color: var(--pk-text);
}
.compare--enhanced th:first-child,
.compare--enhanced td:first-child {
  text-align: left;
  font-weight: 500;
  min-width: 140px;
}
.compare-th-name { display: block; font-size: 12px; font-weight: 700; color: var(--pk-text); }
.compare-th-price { display: block; font-size: 10px; font-weight: 500; color: var(--pk-muted); margin-top: 2px; }
.compare-col--free,
.compare-col--pro_weekly { background: rgba(248, 250, 252, 0.9); }
.compare-col--pro_monthly { background: rgba(240, 253, 244, 0.85); }
.compare-col--pro_yearly { background: rgba(245, 243, 255, 0.9); }
.compare--enhanced thead th { background: var(--pk-surface); }
.ok { color: #16a34a; font-weight: 700; font-size: 15px; }
.no { color: var(--pk-muted); }

@media (min-width: 640px) {
  .compare-m-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .compare-desktop { display: block; padding: 0 16px 16px; }
  .compare-mobile { display: none; }
  .pricing-grid .price-card--pro_monthly.is-featured {
    transform: scale(1.02);
    z-index: 2;
  }
}
@media (min-width: 900px) {
  .compare-m-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .pricing-grid .price-card--free { order: 1; }
  .pricing-grid .price-card--pro_weekly { order: 2; }
  .pricing-grid .price-card--pro_monthly { order: 3; }
  .pricing-grid .price-card--pro_monthly.is-featured { order: 3; }
  .pricing-grid .price-card--pro_yearly { order: 4; }
}

/* Landing koyu tema — başlık koyu zemin, kart/tablo açık zemin */
.landing-body .pricing-landing .pricing-hero h2 {
  color: var(--lp-text);
}
.landing-body .pricing-landing .pricing-hero .section-lead {
  color: var(--lp-muted);
}
.landing-body .pricing-landing .pricing-grid,
.landing-body .pricing-landing .compare-section-card {
  color: var(--pk-text);
}
.landing-body .pricing-landing .compare-section-card .muted {
  color: var(--pk-muted);
}

