/* ══════════════════════════════════════════════════════════════════════════
   Herkese açık sayfalar: tanıtım (/), kayıt (/kayit), koşullar (/kosullar)
   Giriş sayfasıyla aynı gece mavisi dil; vurgu rengi logodaki mavi.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
    --pb-bg: #070b14; --pb-bg-2: #0b1220; --pb-surface: rgba(255,255,255,.035); --pb-surface-2: rgba(255,255,255,.06);
    --pb-line: rgba(255,255,255,.09); --pb-line-2: rgba(255,255,255,.16);
    --pb-text: #f4f6fb; --pb-muted: #98a1b6; --pb-faint: #646d84;
    --pb-brand: #2f74ff; --pb-brand-2: #5b95ff; --pb-brand-soft: rgba(47,116,255,.14);
    --pb-ok: #34d399; --pb-danger: #fda4af;
    --pb-radius: 16px; --pb-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--pb-bg); color: var(--pb-text); font-family: var(--pb-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.pb-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Üst menü */
.pb-nav { position: sticky; top: 0; z-index: 20; background: rgba(7,11,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--pb-line); }
.pb-nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.pb-logo img { height: 34px; width: auto; display: block; }
.pb-links { display: flex; gap: 22px; margin-left: 18px; }
.pb-links a { color: var(--pb-muted); text-decoration: none; font-size: .88rem; font-weight: 600; }
.pb-links a:hover { color: var(--pb-text); }
.pb-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px;
    border: 1px solid transparent; font: 700 .92rem var(--pb-font); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, transform .1s; }
.pb-btn:active { transform: scale(.985); }
.pb-btn:focus-visible { outline: 2px solid var(--pb-brand-2); outline-offset: 3px; }
.pb-btn-primary { background: var(--pb-brand); color: #fff; box-shadow: 0 10px 28px rgba(47,116,255,.32); }
.pb-btn-primary:hover { background: #2563eb; }
.pb-btn-ghost { background: transparent; color: var(--pb-text); border-color: var(--pb-line-2); }
.pb-btn-ghost:hover { background: var(--pb-surface-2); }
.pb-btn-sm { height: 38px; padding: 0 15px; font-size: .85rem; }

/* Hero */
.pb-hero { position: relative; overflow: hidden; padding: 84px 0 64px; }
.pb-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 620px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(47,116,255,.28), transparent 70%); }
.pb-hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 54px; align-items: center; }
.pb-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pb-brand-soft);
    border: 1px solid rgba(47,116,255,.3); color: #b9d0ff; font-size: .78rem; font-weight: 700; }
.pb-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--pb-ok); box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.pb-hero h1 { margin: 20px 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
.pb-hero h1 span { color: var(--pb-brand-2); }
.pb-hero p.lead { margin: 0 0 28px; max-width: 540px; color: var(--pb-muted); font-size: 1.08rem; line-height: 1.65; }
.pb-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-hero-note { margin-top: 16px; color: var(--pb-faint); font-size: .82rem; }

/* Hero görseli: HTML ile çizilmiş panel önizlemesi */
.pb-preview { position: relative; border-radius: 20px; border: 1px solid var(--pb-line-2); background: linear-gradient(160deg, #0f1730, #0a1022);
    box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.02); overflow: hidden; }
.pb-preview-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--pb-line); }
.pb-preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.pb-preview-body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.pb-preview-side { padding: 14px 10px; border-right: 1px solid var(--pb-line); background: rgba(0,0,0,.18); }
.pb-preview-side b { display: block; height: 9px; margin: 9px 6px; border-radius: 5px; background: rgba(255,255,255,.1); }
.pb-preview-side b.on { background: rgba(47,116,255,.55); }
.pb-preview-side b:nth-child(3n) { width: 70%; } .pb-preview-side b:nth-child(4n) { width: 82%; }
.pb-preview-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.pb-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pb-kpi { padding: 12px; border-radius: 12px; background: var(--pb-surface-2); border: 1px solid var(--pb-line); }
.pb-kpi small { display: block; color: var(--pb-faint); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pb-kpi strong { display: block; margin-top: 5px; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pb-kpi em { font-style: normal; color: var(--pb-ok); font-size: .68rem; font-weight: 700; }
.pb-chart { height: 120px; padding: 12px; border-radius: 12px; background: var(--pb-surface-2); border: 1px solid var(--pb-line); display: flex; align-items: flex-end; gap: 7px; }
.pb-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--pb-brand-2), rgba(47,116,255,.35)); }
.pb-rows { display: grid; gap: 7px; }
.pb-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--pb-surface); border: 1px solid var(--pb-line); font-size: .74rem; color: var(--pb-muted); }
.pb-row b { color: var(--pb-text); font-weight: 700; }
.pb-row .tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; background: rgba(52,211,153,.14); color: var(--pb-ok); }
.pb-row .tag.warn { background: rgba(251,191,36,.14); color: #fbbf24; }
.pb-toast { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; padding: 10px 13px; border-radius: 12px;
    background: rgba(13,20,38,.94); border: 1px solid var(--pb-line-2); box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: .74rem; max-width: 250px; }
.pb-toast svg { flex: 0 0 28px; }
.pb-toast small { display: block; color: var(--pb-muted); font-size: .66rem; }

/* Bölümler */
.pb-section { padding: 76px 0; border-top: 1px solid var(--pb-line); }
.pb-section-head { max-width: 640px; margin-bottom: 38px; }
.pb-section-head .eyebrow { color: var(--pb-brand-2); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pb-section-head h2 { margin: 10px 0 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.15; }
.pb-section-head p { margin: 0; color: var(--pb-muted); line-height: 1.65; }

.pb-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pb-feature { padding: 22px 20px; border-radius: var(--pb-radius); background: var(--pb-surface); border: 1px solid var(--pb-line); }
.pb-feature-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--pb-brand-soft); color: var(--pb-brand-2); margin-bottom: 14px; }
.pb-feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-feature h3 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -.01em; }
.pb-feature p { margin: 0; color: var(--pb-muted); font-size: .86rem; line-height: 1.6; }
.pb-feature ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.pb-feature li { color: var(--pb-muted); font-size: .8rem; padding-left: 16px; position: relative; }
.pb-feature li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--pb-brand); }

.pb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.pb-step { padding: 24px 22px; border-radius: var(--pb-radius); background: var(--pb-surface); border: 1px solid var(--pb-line); }
.pb-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
    background: var(--pb-brand); color: #fff; font-weight: 800; margin-bottom: 16px; }
.pb-step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.pb-step p { margin: 0; color: var(--pb-muted); font-size: .88rem; line-height: 1.6; }

.pb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pb-checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pb-checks li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--pb-surface); border: 1px solid var(--pb-line); }
.pb-checks li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--pb-ok); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pb-checks b { display: block; margin-bottom: 3px; font-size: .94rem; }
.pb-checks span { color: var(--pb-muted); font-size: .85rem; line-height: 1.55; }

.pb-faq { display: grid; gap: 10px; }
.pb-faq details { border-radius: 14px; background: var(--pb-surface); border: 1px solid var(--pb-line); }
.pb-faq summary { cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; color: var(--pb-muted); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.pb-faq details[open] summary::after { transform: rotate(45deg); }
.pb-faq details p { margin: 0; padding: 0 20px 18px; color: var(--pb-muted); line-height: 1.65; font-size: .9rem; }

.pb-cta { text-align: center; padding: 56px 24px; border-radius: 24px; background: linear-gradient(140deg, rgba(47,116,255,.22), rgba(91,149,255,.06)); border: 1px solid rgba(47,116,255,.3); }
.pb-cta h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.pb-cta p { margin: 0 auto 24px; max-width: 520px; color: var(--pb-muted); line-height: 1.6; }

.pb-footer { padding: 34px 0 42px; border-top: 1px solid var(--pb-line); color: var(--pb-faint); font-size: .82rem; }
.pb-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pb-footer a { color: var(--pb-muted); text-decoration: none; margin-left: 18px; }
.pb-footer a:hover { color: var(--pb-text); }

/* Form sayfaları (kayıt) */
.pb-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.pb-auth-side { position: relative; padding: 40px 48px; display: flex; flex-direction: column; background: linear-gradient(160deg, #0d1733, #070b14 70%); border-right: 1px solid var(--pb-line); overflow: hidden; }
.pb-auth-side::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,116,255,.32), transparent); pointer-events: none; }
.pb-auth-side h2 { margin: auto 0 14px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.03em; line-height: 1.15; max-width: 440px; }
.pb-auth-side > p { margin: 0 0 26px; color: var(--pb-muted); line-height: 1.65; max-width: 440px; }
.pb-auth-side ul { margin: 0 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; position: relative; z-index: 1; }
.pb-auth-side li { display: flex; gap: 10px; align-items: flex-start; color: #d5dbe8; font-size: .92rem; }
.pb-auth-side li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--pb-ok); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pb-auth-main { display: grid; place-items: center; padding: 40px 24px; }
.pb-form-card { width: 100%; max-width: 420px; }
.pb-form-card h1 { margin: 0 0 6px; font-size: 1.7rem; letter-spacing: -.025em; }
.pb-form-card .sub { margin: 0 0 26px; color: var(--pb-muted); font-size: .92rem; }
.pb-form-card .sub a { color: var(--pb-brand-2); font-weight: 700; text-decoration: none; }
.pb-field { margin-bottom: 15px; }
.pb-field label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 700; }
.pb-field input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--pb-line-2); background: rgba(0,0,0,.3);
    color: var(--pb-text); font: 500 .94rem var(--pb-font); outline: none; transition: border-color .15s, box-shadow .15s; }
.pb-field input::placeholder { color: var(--pb-faint); }
.pb-field input:focus { border-color: var(--pb-brand-2); box-shadow: 0 0 0 3px rgba(47,116,255,.2); }
.pb-field.has-error input { border-color: rgba(244,63,94,.6); }
.pb-field .err { margin-top: 6px; color: var(--pb-danger); font-size: .78rem; font-weight: 600; }
.pb-field .hint { margin-top: 6px; color: var(--pb-faint); font-size: .76rem; }
.pb-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--pb-muted); font-size: .84rem; line-height: 1.5; cursor: pointer; }
.pb-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--pb-brand); flex: 0 0 auto; }
.pb-check a { color: var(--pb-text); }
.pb-alert { margin-bottom: 16px; padding: 11px 13px; border-radius: 11px; background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.3); color: var(--pb-danger); font-size: .85rem; font-weight: 600; }
.pb-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pb-form-card .pb-btn { width: 100%; height: 48px; }

/* Koşullar */
.pb-doc { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.pb-doc h1 { font-size: 2rem; letter-spacing: -.03em; }
.pb-doc h2 { margin-top: 34px; font-size: 1.15rem; }
.pb-doc p, .pb-doc li { color: #c7cede; line-height: 1.75; font-size: .95rem; }
.pb-doc .note { padding: 14px 16px; border-radius: 12px; background: var(--pb-surface); border: 1px solid var(--pb-line); color: var(--pb-muted); font-size: .86rem; }

@media (max-width: 1020px) {
    .pb-hero-grid, .pb-split { grid-template-columns: 1fr; }
    .pb-features { grid-template-columns: repeat(2, 1fr); }
    .pb-auth { grid-template-columns: 1fr; }
    .pb-auth-side { display: none; }
}
@media (max-width: 720px) {
    .pb-links { display: none; }
    .pb-nav-cta .pb-btn-ghost { display: none; }
    .pb-hero { padding: 48px 0 40px; }
    .pb-features, .pb-steps { grid-template-columns: 1fr; }
    .pb-preview-body { grid-template-columns: 1fr; }
    .pb-preview-side { display: none; }
    .pb-section { padding: 56px 0; }
    .pb-footer a { margin: 0 14px 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Kurulum sihirbazı (/kurulum) */
.wz { min-height: 100vh; display: flex; flex-direction: column; }
.wz-top { display: flex; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--pb-line); }
.wz-top .pb-logo img { height: 30px; }
.wz-top .skip { margin-left: auto; color: var(--pb-muted); font-size: .85rem; text-decoration: none; }
.wz-top .skip:hover { color: var(--pb-text); }
.wz-body { flex: 1; display: grid; grid-template-columns: 260px 1fr; gap: 40px; width: min(1040px, 100% - 32px); margin: 36px auto 60px; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; position: sticky; top: 24px; }
.wz-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--pb-faint); font-size: .9rem; font-weight: 700; }
.wz-steps li b { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--pb-line-2); font-size: .8rem; }
.wz-steps li.is-current { color: var(--pb-text); background: var(--pb-surface-2); }
.wz-steps li.is-current b { background: var(--pb-brand); border-color: var(--pb-brand); color: #fff; }
.wz-steps li.is-done { color: var(--pb-muted); }
.wz-steps li.is-done b { background: rgba(52,211,153,.15); border-color: rgba(52,211,153,.4); color: var(--pb-ok); }
.wz-panel { display: none; }
.wz-panel.is-current { display: block; animation: wzIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes wzIn { from { opacity: 0; transform: translateY(8px); } }
.wz-panel h1 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.025em; }
.wz-panel > p.sub { margin: 0 0 26px; color: var(--pb-muted); line-height: 1.6; max-width: 600px; }
.wz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wz-grid .full { grid-column: 1 / -1; }
.pb-field select, .pb-field textarea { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--pb-line-2); background: rgba(0,0,0,.3);
    color: var(--pb-text); font: 500 .94rem var(--pb-font); outline: none; }
.pb-field select { height: 46px; padding: 0 12px; }
.pb-field select option { background: #0b1220; }
.pb-field textarea { min-height: 84px; resize: vertical; }
.pb-field select:focus, .pb-field textarea:focus { border-color: var(--pb-brand-2); box-shadow: 0 0 0 3px rgba(47,116,255,.2); }
.wz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-chip { position: relative; }
.wz-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wz-chip span { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--pb-line-2); color: var(--pb-muted); font-size: .85rem; font-weight: 600; cursor: pointer; }
.wz-chip input:checked + span { background: var(--pb-brand-soft); border-color: rgba(47,116,255,.55); color: #d5e3ff; }
.wz-chip input:focus-visible + span { outline: 2px solid var(--pb-brand-2); outline-offset: 2px; }
.wz-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.wz-sector { position: relative; }
.wz-sector input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wz-sector span { display: block; height: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--pb-line-2); background: var(--pb-surface); font-size: .88rem; font-weight: 700; cursor: pointer; }
.wz-sector input:checked + span { border-color: var(--pb-brand); background: var(--pb-brand-soft); box-shadow: 0 0 0 1px var(--pb-brand) inset; }
.wz-sector input:focus-visible + span { outline: 2px solid var(--pb-brand-2); outline-offset: 2px; }
.wz-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wz-module { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--pb-line-2); background: var(--pb-surface); cursor: pointer; }
.wz-module input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--pb-brand); flex: 0 0 auto; }
.wz-module b { display: block; font-size: .9rem; margin-bottom: 3px; }
.wz-module small { color: var(--pb-muted); font-size: .8rem; line-height: 1.5; }
.wz-module:has(input:checked) { border-color: rgba(47,116,255,.55); background: var(--pb-brand-soft); }
.wz-logo { display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 14px; border: 1px dashed var(--pb-line-2); background: var(--pb-surface); }
.wz-logo-preview { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.06); overflow: hidden; color: var(--pb-faint); font-size: 2rem; font-weight: 800; }
.wz-logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.wz-logo p { margin: 6px 0 12px; color: var(--pb-muted); font-size: .84rem; }
.wz-info { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--pb-surface); border: 1px solid var(--pb-line); color: var(--pb-muted); font-size: .86rem; line-height: 1.65; }
.wz-info ol { margin: 6px 0 0; padding-left: 20px; }
.wz-info a { color: var(--pb-brand-2); }
.wz-actions { display: flex; gap: 10px; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--pb-line); }
.wz-actions .grow { flex: 1; }
.wz-actions .pb-btn { min-width: 130px; }
.wz-error { display: none; margin-top: 14px; }
.wz-error.on { display: block; }
.wz-done { text-align: center; padding: 30px 0; }
.wz-done .big { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: rgba(52,211,153,.14); color: var(--pb-ok); }
@media (max-width: 860px) {
    .wz-body { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
    .wz-steps { position: static; grid-template-columns: repeat(5, 1fr); }
    .wz-steps li { justify-content: center; padding: 8px 4px; }
    .wz-steps li span { display: none; }
    .wz-grid, .wz-modules { grid-template-columns: 1fr; }
    .wz-sectors { grid-template-columns: 1fr 1fr; }
    .wz-top { padding: 14px 16px; }
}
