/* ═══════════════════════════════════════════
   KENTDEKS — ÜYELİK PLANLARI (FİYATLANDIRMA)
   WebGL shader arka plan + camsı (glass) plan kartları
   Açık mavi palet · yalnızca müteahhit & danışman
═══════════════════════════════════════════ */

body.pr-body {
  background: var(--bg);
  color: var(--navy-800);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SHADER ARKA PLAN ── */
#prShader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  background: var(--bg);
  opacity: .5;
}

/* ── ANA ALAN ── */
.pr-main {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 16px 72px;
}

.pr-head {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 30px;
  text-align: center;
}
.pr-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pr-title b { font-weight: 500; }
.pr-sub {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--n600);
  line-height: 1.65;
}

/* Ev sahipleri ücretsiz bandı */
.pr-free-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  font-size: 12.5px;
  color: var(--blue-600);
}

/* ── ROL SEKMELERİ ── */
.pr-tabs {
  display: flex;
  gap: 4px;
  margin: 34px 0 44px;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--n200);
  box-shadow: var(--s1);
}
.pr-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--n600);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .3s, color .3s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pr-tab.on {
  background: var(--blue-600);
  color: #fff;
}

/* ── KART SATIRI ── */
.pr-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1000px;
  flex-wrap: wrap;
}
.pr-set { display: none; width: 100%; }
.pr-set.on {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: prFadeIn .45s ease;
}
@keyframes prFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── CAMSI KART ── */
.pr-card {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: var(--glass-bg);
  border: 1px solid var(--n200);
  box-shadow: var(--s2);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pr-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.pr-card.popular {
  transform: scale(1.05);
  background: rgba(255, 255, 255, .85);
  border-color: var(--blue-300);
  box-shadow: 0 0 0 2px var(--blue-200), var(--s4);
}
.pr-card.popular:hover { transform: scale(1.05) translateY(-4px); }

.pr-pop-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--s-blue);
}

.pr-plan-name {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--navy-900);
  line-height: 1.1;
}
.pr-plan-desc {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--n600);
  line-height: 1.55;
}
.pr-price {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.pr-price-n {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.pr-price-per { font-size: 13.5px; color: var(--n500); }

.pr-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, transparent, var(--n200) 20%, var(--n300) 50%, var(--n200) 80%, transparent);
}

.pr-feats {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--navy-800);
}
.pr-feats li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pr-feats i { color: var(--blue-500); font-size: 15px; flex-shrink: 0; }

/* ── RIPPLE BUTON ── */
.pr-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: auto;
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
  color: #fff;
  background: var(--blue-600);
  box-shadow: var(--s-blue);
  transition: background .25s, color .25s;
}
.pr-btn:hover { background: var(--blue-700); }
.pr-btn.secondary {
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
  box-shadow: none;
}
.pr-btn.secondary:hover { background: var(--blue-100); }

.pr-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  animation: prRipple .6s ease-out forwards;
}
@keyframes prRipple {
  to { transform: scale(1); opacity: 0; }
}

/* Alt bilgi */
.pr-footnote {
  margin-top: 44px;
  font-size: 12.5px;
  color: var(--n500);
  text-align: center;
  max-width: 560px;
  line-height: 1.7;
}
.pr-footnote a { color: var(--blue-600); text-decoration: underline; }

/* ── MOBİL ── */
@media (max-width: 900px) {
  .pr-card.popular { transform: none; }
  .pr-card.popular:hover { transform: translateY(-4px); }
  .pr-card { max-width: 400px; }
}
@media (max-width: 480px) {
  .pr-tabs { flex-direction: column; border-radius: 16px; width: 100%; max-width: 320px; }
  .pr-tab { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  #prShader { display: none; }
  .pr-set.on { animation: none; }
  .pr-ripple { display: none; }
}
