/* ================================================
   KUAFÖRÜM YANIMDA — Paketler & Fiyatlandırma Sayfası
   landing.css üzerine sayfa özel stiller
   ================================================ */

/* ---------- 1. Hero ---------- */
.plans-hero {
  position: relative;
  padding: 150px 0 40px;
  background: linear-gradient(135deg, var(--ky-primary-light) 0%, #fff 55%, #F5F3FF 100%);
  overflow: hidden;
}

.plans-hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(79,70,229,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.plans-hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.plans-hero .container { position: relative; z-index: 1; }

.plans-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ky-dark);
  margin-bottom: 14px;
}

.plans-hero-title .text-gradient {
  background: linear-gradient(135deg, var(--ky-primary), var(--ky-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plans-hero-desc {
  font-size: 1.1rem;
  color: var(--ky-body);
  max-width: 620px;
  margin: 0 auto 22px;
}

.plans-hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.plans-hero-badges .hero-badge { font-size: .875rem; }

/* ---------- 2. Dönem Seçici (Billing Toggle) ---------- */
.billing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.billing-toggle {
  display: inline-flex;
  align-items: stretch;
  background: var(--ky-white);
  border: 1.5px solid var(--ky-border);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--ky-shadow);
  gap: 4px;
}

.billing-toggle button {
  position: relative;
  border: none;
  background: transparent;
  color: var(--ky-body);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--ky-transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.billing-toggle button:hover { color: var(--ky-primary); }

.billing-toggle button.is-active {
  background: linear-gradient(135deg, var(--ky-primary), var(--ky-accent));
  color: var(--ky-white);
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
}

.billing-toggle .toggle-save {
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16,185,129,0.14);
  color: #059669;
  letter-spacing: .02em;
}

.billing-toggle button.is-active .toggle-save {
  background: rgba(255,255,255,0.22);
  color: var(--ky-white);
}

.billing-toggle-note {
  font-size: .8rem;
  color: var(--ky-muted);
  margin: 0;
  text-align: center;
}

/* ---------- 3. Paket Kartları ---------- */
.plans-cards-section {
  padding: 34px 0 80px;
  background: linear-gradient(180deg, #F5F3FF 0%, var(--ky-bg) 30%, var(--ky-bg) 100%);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ky-white);
  border: 1.5px solid var(--ky-border);
  border-radius: calc(var(--ky-radius) + 2px);
  padding: 28px 22px 24px;
  transition: var(--ky-transition);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15,23,42,0.12);
  border-color: rgba(79,70,229,0.35);
}

.plan-card--popular {
  border-color: var(--ky-primary);
  box-shadow: 0 0 0 1px var(--ky-primary), 0 18px 46px rgba(79,70,229,0.18);
}

.plan-card--premium {
  background: linear-gradient(160deg, #1E1B4B 0%, #312E81 60%, #3730A3 100%);
  border-color: rgba(165,180,252,0.4);
}

.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ky-white);
  background: linear-gradient(135deg, var(--ky-primary), var(--ky-accent));
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card--premium .plan-card__badge {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #451A03;
}

.plan-card__name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ky-dark);
  margin-bottom: 4px;
}

.plan-card--premium .plan-card__name { color: var(--ky-white); }

.plan-card__staff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: .76rem;
  font-weight: 700;
  color: var(--ky-primary);
  background: var(--ky-primary-light);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 18px;
}

.plan-card--premium .plan-card__staff {
  background: rgba(255,255,255,0.14);
  color: #FDE68A;
}

.plan-card__pricebox { min-height: 118px; margin-bottom: 14px; }

.plan-card__oldprice {
  font-size: .85rem;
  color: var(--ky-muted);
  text-decoration: line-through;
  min-height: 1.2em;
  display: block;
}

.plan-card--premium .plan-card__oldprice { color: rgba(255,255,255,0.5); }

.plan-card__price {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--ky-dark);
  line-height: 1.1;
}

.plan-card__price small {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ky-muted);
}

.plan-card--premium .plan-card__price { color: var(--ky-white); }
.plan-card--premium .plan-card__price small { color: rgba(255,255,255,0.6); }

.plan-card__billing-note {
  display: block;
  font-size: .76rem;
  color: var(--ky-body);
  margin-top: 6px;
  line-height: 1.45;
  min-height: 2.2em;
}

.plan-card__billing-note strong { color: #059669; }

.plan-card--premium .plan-card__billing-note { color: rgba(255,255,255,0.72); }
.plan-card--premium .plan-card__billing-note strong { color: #6EE7B7; }

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .82rem;
  color: var(--ky-body);
  padding: 6px 0;
  line-height: 1.45;
}

.plan-card__features li i {
  color: var(--ky-success);
  font-size: .78rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.plan-card--premium .plan-card__features li { color: rgba(255,255,255,0.85); }
.plan-card--premium .plan-card__features li i { color: #6EE7B7; }

.plan-card__cta {
  display: block;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--ky-primary);
  color: var(--ky-primary);
  background: transparent;
  transition: var(--ky-transition);
}

.plan-card__cta:hover {
  background: var(--ky-primary);
  color: var(--ky-white);
}

.plan-card--popular .plan-card__cta {
  background: var(--ky-primary);
  color: var(--ky-white);
}

.plan-card--popular .plan-card__cta:hover {
  background: var(--ky-primary-dark);
  border-color: var(--ky-primary-dark);
}

.plan-card--premium .plan-card__cta {
  border-color: #FBBF24;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #451A03;
}

.plan-card--premium .plan-card__cta:hover {
  filter: brightness(1.06);
  color: #451A03;
}

.plan-card__note {
  font-size: .72rem;
  color: var(--ky-muted);
  text-align: center;
  margin: 10px 0 0;
}

.plan-card--premium .plan-card__note { color: rgba(255,255,255,0.55); }

.plans-trial-strip {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--ky-white);
  border: 1.5px dashed rgba(79,70,229,0.4);
  border-radius: var(--ky-radius);
  padding: 16px 22px;
  font-size: .92rem;
  color: var(--ky-body);
  text-align: center;
}

.plans-trial-strip i { color: var(--ky-primary); font-size: 1.1rem; }
.plans-trial-strip strong { color: var(--ky-dark); }

/* ---------- 4. Karşılaştırma Tablosu ---------- */
.plans-compare-section {
  padding: 80px 0;
  background: var(--ky-white);
}

.plans-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.5px solid var(--ky-border);
  border-radius: var(--ky-radius);
  box-shadow: var(--ky-shadow);
  scrollbar-width: thin;
}

.plans-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .875rem;
}

.plans-table th,
.plans-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--ky-border);
  vertical-align: middle;
}

.plans-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--ky-navy);
  color: var(--ky-white);
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  padding: 14px 12px;
  border-bottom: none;
}

.plans-table thead th:first-child {
  text-align: left;
  z-index: 6;
}

.plans-table thead .th-plan-name { display: block; font-size: .92rem; }

.plans-table thead .th-plan-meta {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.plans-table thead th.th-popular {
  background: linear-gradient(135deg, var(--ky-primary), var(--ky-accent));
}

.plans-table thead th.th-premium {
  background: linear-gradient(135deg, #312E81, #3730A3);
}

.plans-table thead th.th-premium .th-plan-name { color: #FDE68A; }

.plans-table td:first-child,
.plans-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--ky-white);
  z-index: 4;
  min-width: 230px;
  max-width: 280px;
  font-weight: 500;
  color: var(--ky-dark);
  box-shadow: 1px 0 0 var(--ky-border);
}

.plans-table thead th:first-child { background: var(--ky-navy); }

.plans-table td:not(:first-child) {
  text-align: center;
  min-width: 118px;
}

.plans-table .row-group td {
  background: var(--ky-primary-light) !important;
  color: var(--ky-primary);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.plans-table .cell-yes i { color: var(--ky-success); font-size: .95rem; }
.plans-table .cell-no i { color: #CBD5E1; font-size: .85rem; }

.plans-table .cell-text {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ky-body);
}

.plans-table .cell-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,0.14);
  color: #B45309;
  white-space: nowrap;
}

.plans-table .cell-tag--included {
  background: rgba(16,185,129,0.14);
  color: #047857;
}

.plans-table tbody tr:not(.row-group):hover td { background: var(--ky-bg); }
.plans-table tbody tr:not(.row-group):hover td:first-child { background: var(--ky-bg); }

.plans-table tfoot td {
  border-bottom: none;
  padding: 16px 12px;
  background: var(--ky-bg);
}

.plans-table tfoot td:first-child { background: var(--ky-bg); }

.plans-table .btn-table-cta {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--ky-primary);
  color: var(--ky-primary);
  white-space: nowrap;
  transition: var(--ky-transition);
}

.plans-table .btn-table-cta:hover {
  background: var(--ky-primary);
  color: var(--ky-white);
}

.plans-table .btn-table-cta--solid {
  background: var(--ky-primary);
  color: var(--ky-white);
}

.plans-table .btn-table-cta--solid:hover { background: var(--ky-primary-dark); }

.plans-table-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--ky-muted);
  margin-bottom: 12px;
}

/* ---------- 5. Ek Modüller ---------- */
.plans-addons-section {
  padding: 80px 0;
  background: var(--ky-navy);
}

.plans-addons-section .section-label {
  background: rgba(79,70,229,0.2);
  color: #A5B4FC;
}

.plans-addons-section .section-title { color: var(--ky-white); }
.plans-addons-section .section-desc { color: rgba(255,255,255,0.65); }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.addon-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(165,180,252,0.16);
  border-radius: var(--ky-radius);
  padding: 28px 24px;
  transition: var(--ky-transition);
}

.addon-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(165,180,252,0.3);
}

.addon-card--highlight {
  background: linear-gradient(150deg, rgba(79,70,229,0.32), rgba(124,58,237,0.18));
  border-color: rgba(165,180,252,0.36);
}

.addon-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ky-white);
  background: linear-gradient(135deg, var(--ky-primary), var(--ky-accent));
  margin-bottom: 18px;
}

.addon-card__icon--emerald { background: linear-gradient(135deg, #059669, #10B981); }
.addon-card__icon--amber { background: linear-gradient(135deg, #D97706, #F59E0B); }

.addon-card h3 {
  color: var(--ky-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.addon-card > p {
  color: rgba(255,255,255,0.7);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.addon-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.addon-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .84rem;
  color: rgba(255,255,255,0.85);
  padding: 5px 0;
  line-height: 1.5;
}

.addon-card__list li i {
  color: #6EE7B7;
  font-size: .78rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.addon-card__pricing {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.addon-card__pricing li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: .86rem;
}

.addon-card__pricing li:last-child { border-bottom: none; }

.addon-card__pricing .price-tag {
  background: rgba(255,255,255,0.1);
  color: #A5B4FC;
  font-weight: 700;
  font-size: .82rem;
  padding: 4px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.addon-card__price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ky-white);
}

.addon-card__price small {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

.addon-card__footnote {
  font-size: .74rem;
  color: rgba(255,255,255,0.5);
  margin: 8px 0 0;
}

.plans-info-note {
  margin-top: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--ky-radius-sm);
  padding: 16px 22px;
  color: rgba(255,255,255,0.65);
  font-size: .84rem;
  line-height: 1.6;
  text-align: center;
}

.plans-info-note i { color: #A5B4FC; margin-right: 6px; }

/* ---------- 6. SSS (mini) ---------- */
.plans-faq-section {
  padding: 80px 0;
  background: var(--ky-bg);
}

/* ---------- 7. CTA ---------- */
.plans-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ky-primary) 0%, var(--ky-accent) 100%);
  text-align: center;
}

.plans-cta-section .section-title { color: var(--ky-white); }
.plans-cta-section .section-desc { color: rgba(255,255,255,0.85); }

.plans-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ky-primary);
  background: var(--ky-white);
  border-radius: var(--ky-radius-sm);
  padding: 14px 30px;
  transition: var(--ky-transition);
  box-shadow: 0 10px 30px rgba(15,23,42,0.2);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  color: var(--ky-primary-dark);
  box-shadow: 0 14px 38px rgba(15,23,42,0.28);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ky-white);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--ky-radius-sm);
  padding: 14px 30px;
  transition: var(--ky-transition);
}

.btn-cta-ghost:hover {
  background: rgba(255,255,255,0.22);
  color: var(--ky-white);
}

/* ---------- 8. Responsive ---------- */
@media (max-width: 1199.98px) {
  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-card--premium { grid-column: span 2; }
}

@media (max-width: 991.98px) {
  .plans-hero { padding: 130px 0 32px; }
  .plans-hero-title { font-size: 2.25rem; }

  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card--premium { grid-column: span 2; }

  .addon-grid { grid-template-columns: 1fr; }

  .plans-table-hint { display: flex; }
}

@media (max-width: 575.98px) {
  .plans-hero { padding: 118px 0 26px; }
  .plans-hero-title { font-size: 1.85rem; }
  .plans-hero-desc { font-size: 1rem; }

  .billing-toggle { width: 100%; max-width: 380px; }
  .billing-toggle button {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: .8rem;
    flex-direction: column;
    gap: 4px;
  }
  .billing-toggle .toggle-save { font-size: .62rem; }

  .plans-grid { grid-template-columns: 1fr; gap: 22px; }
  .plan-card--premium { grid-column: auto; }
  .plan-card { padding: 26px 20px 22px; }
  .plan-card__pricebox { min-height: 0; }
  .plan-card__billing-note { min-height: 0; }

  .plans-compare-section,
  .plans-addons-section,
  .plans-faq-section,
  .plans-cta-section { padding: 60px 0; }

  .plans-table td:first-child,
  .plans-table th:first-child {
    min-width: 168px;
    max-width: 188px;
    font-size: .8rem;
  }

  .plans-table { min-width: 760px; }

  .plans-trial-strip { font-size: .85rem; padding: 14px 16px; }
}
