/* Herkese açık sayfalar: Paketler, Kayıt, Doğrulama, Yasal metinler (20260917a)
   Üye arayüzüyle aynı renk dili; açık/koyu tema (üyenin tercihi ya da sistem). */
:root {
    color-scheme: light;
    --page: #f3f6f6;
    --surface: #ffffff;
    --surface-muted: #eef3f3;
    --surface-raised: #ffffff;
    --text: #152124;
    --text-soft: #4d5f62;
    --text-faint: #71827f;
    --border: #d6e0e1;
    --border-strong: #b9c9ca;
    --accent: #087f83;
    --accent-strong: #05676b;
    --accent-soft: #dff1f1;
    --positive: #1f8a5b;
    --positive-soft: #dff3e9;
    --negative: #be394a;
    --negative-soft: #fbe8eb;
    --warning: #b46b08;
    --warning-soft: #fff0d1;
    --hero-start: #0d2427;
    --hero-end: #0f3a3d;
    --shadow-sm: 0 1px 2px rgba(20, 40, 43, .06), 0 4px 14px rgba(20, 40, 43, .05);
    --shadow-lg: 0 24px 60px rgba(16, 38, 41, .14);
    --font-ui: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #0b1416;
    --surface: #121e21;
    --surface-muted: #172629;
    --surface-raised: #172629;
    --text: #e9f3f2;
    --text-soft: #b1c3c1;
    --text-faint: #8a9e9c;
    --border: #253a3d;
    --border-strong: #35504f;
    --accent: #4fc6c8;
    --accent-strong: #75d8d9;
    --accent-soft: #143638;
    --positive: #56d39b;
    --positive-soft: #143628;
    --negative: #ff7b88;
    --negative-soft: #3d1e25;
    --warning: #f2b84b;
    --warning-soft: #3a2c10;
    --hero-start: #081315;
    --hero-end: #0c2b2e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--text); font-family: var(--font-ui); line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pb-container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Üst bar */
.pb-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.pb-top .pb-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.pb-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.pb-brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--border); }
.pb-brand small { display: block; color: var(--text-faint); font-weight: 600; font-size: 11px; }
.pb-nav { display: flex; align-items: center; gap: 6px; }
.pb-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-soft); font-weight: 700; font-size: 14px; }
.pb-nav a:hover, .pb-nav a.active { color: var(--text); background: var(--surface-muted); }
.pb-theme { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text-soft); cursor: pointer; }

/* Düğmeler */
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font-weight: 800; cursor: pointer; text-align: center; transition: transform .12s ease, background .12s ease; }
.pb-btn:hover { background: var(--surface-muted); color: var(--text); }
.pb-btn:active { transform: translateY(1px); }
.pb-btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
:root[data-theme="dark"] .pb-btn.primary { color: #06191a; }
.pb-btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.pb-btn.block { width: 100%; }
.pb-btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* Hero */
.pb-hero { position: relative; overflow: hidden; padding: 72px 0 120px; background: radial-gradient(1200px 400px at 80% -10%, rgba(79, 198, 200, .25), transparent 60%), linear-gradient(160deg, var(--hero-start), var(--hero-end)); color: #eaf6f5; text-align: center; }
.pb-hero .pb-eyebrow { color: #7fd9da; }
.pb-hero h1 { max-width: 820px; margin: 10px auto 14px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -.02em; }
.pb-hero p { max-width: 680px; margin: 0 auto; color: #bfd6d4; font-size: 18px; }
.pb-eyebrow { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Dönem seçici */
.pb-period { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.pb-period button { position: relative; min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #cfe4e2; font-weight: 800; cursor: pointer; }
.pb-period button[aria-pressed="true"] { background: #fff; color: #0d2427; }
.pb-period .save { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #56d39b; color: #07261a; font-size: 11px; }

/* Paket kartları */
.pb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 370px)); justify-content: center; gap: 18px; margin-top: -80px; position: relative; z-index: 2; }
.pb-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.pb-card.highlight { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.pb-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
:root[data-theme="dark"] .pb-card .ribbon { color: #06191a; }
.pb-card h2 { margin: 0; font-size: 22px; }
.pb-card .tagline { margin: 4px 0 0; color: var(--text-faint); font-size: 14px; min-height: 21px; }
.pb-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pb-price strong { font-size: 40px; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pb-price span { color: var(--text-faint); font-weight: 700; }
.pb-price-note { margin: -8px 0 0; color: var(--text-faint); font-size: 13px; min-height: 20px; }
.pb-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-points li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; color: var(--text-soft); font-size: 14px; }
.pb-points li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--positive-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pb-card .pb-btn { margin-top: auto; }

/* Güven şeridi */
.pb-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 34px 0 10px; }
.pb-trust div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.pb-trust svg { flex: 0 0 22px; color: var(--accent); }
.pb-trust strong { display: block; font-size: 14px; }
.pb-trust span { color: var(--text-faint); font-size: 13px; }

/* Bölümler */
.pb-section { padding: 56px 0 8px; }
.pb-section > .pb-container > header { margin-bottom: 20px; text-align: center; }
.pb-section h2.title { margin: 6px 0 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; }

/* Karşılaştırma */
.pb-compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.pb-compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.pb-compare th, .pb-compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; }
.pb-compare thead th { position: sticky; top: 0; background: var(--surface-muted); font-size: 15px; }
.pb-compare tbody th { text-align: left; font-weight: 600; color: var(--text-soft); }
.pb-compare tr.group th { background: var(--surface-muted); color: var(--accent); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pb-compare .yes { color: var(--positive); font-weight: 900; }
.pb-compare .no { color: var(--text-faint); }

/* SSS */
.pb-faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.pb-faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.pb-faq summary { padding: 16px 18px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pb-faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.pb-faq details[open] summary::after { content: "–"; }
.pb-faq p { margin: 0; padding: 0 18px 16px; color: var(--text-soft); }

/* Formlar (kayıt / doğrulama) */
.pb-auth { flex: 1; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr); gap: 0; width: min(1100px, 100% - 32px); margin: 32px auto; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.pb-auth-side { padding: 40px; background: linear-gradient(160deg, var(--hero-start), var(--hero-end)); color: #e6f4f3; }
.pb-auth-side h1 { margin: 12px 0; font-size: 30px; line-height: 1.15; }
.pb-auth-side p { color: #bcd3d1; }
.pb-auth-side ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pb-auth-side li { display: flex; gap: 10px; color: #d6e9e7; }
.pb-auth-side li::before { content: "✓"; color: #56d39b; font-weight: 900; }
.pb-selected { margin-top: 24px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.pb-selected strong { display: block; font-size: 18px; }
.pb-auth-main { padding: 36px 40px; }
.pb-auth-main h2 { margin: 0 0 6px; font-size: 24px; }
.pb-auth-main > p { margin: 0 0 22px; color: var(--text-faint); }
.pb-form { display: grid; gap: 14px; }
.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-field { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--text-soft); }
.pb-field small { font-weight: 500; color: var(--text-faint); }
.pb-field input { min-height: 46px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 15px; }
.pb-field input:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); outline-offset: 0; }
.pb-code { letter-spacing: .3em; text-align: center; font-size: 22px !important; font-weight: 800; }
.pb-consents { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--surface-muted); }
.pb-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--text-soft); }
.pb-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.pb-check em { color: var(--text-faint); font-style: normal; font-size: 12px; }
.pb-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pb-flash { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-muted); }
.pb-flash.error { border-color: color-mix(in srgb, var(--negative) 40%, var(--border)); background: var(--negative-soft); color: var(--negative); }
.pb-flash.success { border-color: color-mix(in srgb, var(--positive) 40%, var(--border)); background: var(--positive-soft); color: var(--positive); }
.pb-flash.warning, .pb-flash.info { border-color: color-mix(in srgb, var(--warning) 40%, var(--border)); background: var(--warning-soft); color: var(--warning); }
.pb-muted { color: var(--text-faint); font-size: 13px; }
.pb-steps { display: grid; gap: 16px; }
.pb-step { padding: 18px; border: 1px solid var(--border); border-radius: 14px; }
.pb-step header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pb-step h3 { margin: 0; font-size: 17px; }
.pb-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--warning-soft); color: var(--warning); }
.pb-badge.done { background: var(--positive-soft); color: var(--positive); }
.pb-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }

/* Yasal metin */
.pb-legal { width: min(860px, 100% - 32px); margin: 32px auto; padding: 36px 40px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.pb-legal h1 { margin: 0 0 6px; font-size: 28px; }
.pb-legal .meta { color: var(--text-faint); font-size: 13px; margin-bottom: 20px; }
.pb-legal p { color: var(--text-soft); white-space: pre-line; }

/* Kapalı kayıt */
.pb-closed { width: min(640px, 100% - 32px); margin: 56px auto; padding: 36px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); text-align: center; box-shadow: var(--shadow-sm); }
.pb-closed h1 { margin: 10px 0; }
.pb-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* Alt bilgi */
.pb-footer { margin-top: auto; padding: 32px 0; border-top: 1px solid var(--border); background: var(--surface); color: var(--text-faint); font-size: 13px; }
.pb-footer .pb-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pb-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
/* Altbilgi: marka satırı ve mevzuat notu (24.09.2026) */
.pb-footer-brand { flex: 1 1 320px; }
.pb-footer-note { flex: 1 1 100%; order: 3; color: var(--text-faint); line-height: 1.6; }
.pb-footer a { color: var(--text-soft); }

@media (max-width: 900px) {
    .pb-auth { grid-template-columns: 1fr; margin: 16px auto; }
    .pb-auth-side { padding: 24px; }
    .pb-auth-side ul, .pb-auth-side p { display: none; }
    .pb-auth-main { padding: 24px; }
}
@media (max-width: 560px) {
    .pb-nav a.hide-sm { display: none; }
    .pb-hero { padding: 44px 0 100px; }
    .pb-hero p { font-size: 16px; }
    .pb-row, .pb-inline { grid-template-columns: 1fr; }
    .pb-legal { padding: 24px 20px; }
    .pb-period button { padding: 0 14px; }
}

/* Kayıt formu destek satırı (24.09.2026) */
.pb-contact-line { margin: 4px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.pb-contact-line a { color: inherit; font-weight: 700; }
