:root {
  --navy: #0B1B36;
  --ink: #0B1B36;
  --ink-2: #33415C;
  --muted: #4A5872;
  --muted-2: #6B7891;
  --line: #E3E8F1;
  --line-2: #C9D3E3;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --blue: #1557D6;
  --blue-dark: #0B3F9E;
  --blue-soft: #EAF1FE;
  --fail: #A3242E; --fail-bg: #FDECEC; --fail-bar: #C8343F;
  --warn: #8A4E00; --warn-bg: #FFF3DD; --warn-bar: #C77700;
  --opp: #1557D6; --opp-bg: #EAF1FE; --opp-bar: #1557D6;
  --pass: #0E6B4C; --pass-bg: #E3F5EE; --pass-bar: #12805C;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: Raleway, Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7FA8F0; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 30px); }
.sub { margin-top: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Üst bilgi */
.topbar { background: var(--navy); color: #DCE6F5; font-size: 13px; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--blue); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--blue); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--primary[disabled] { opacity: .65; cursor: progress; }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--soft { background: var(--blue-soft); color: var(--blue); }
.btn--block { width: 100%; min-height: 54px; font-size: 16px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* Giriş */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pill { width: fit-content; padding: 6px 12px; background: var(--blue-soft); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--blue); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }
.lead { max-width: 580px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.analyze { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.analyze label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.analyze__row { display: flex; flex-wrap: wrap; gap: 10px; }
.analyze__row input { flex: 999 1 240px; min-width: 0; height: 56px; padding: 0 18px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink); font: inherit; font-size: 17px; }
.analyze__row input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px #CFE0FD; }
.analyze__row .btn { flex: 1 1 170px; height: 56px; font-size: 16px; }
.assurances { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.assurances li { display: flex; align-items: center; gap: 6px; }
.assurances li::before { content: ""; width: 14px; height: 8px; border-left: 2.4px solid var(--pass-bar); border-bottom: 2.4px solid var(--pass-bar); transform: rotate(-45deg) translateY(-2px); }
.form-error { color: var(--fail); font-weight: 600; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.turnstile:empty { display: none; }

.preview { flex: 1 1 320px; min-width: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(11, 27, 54, .08); display: flex; flex-direction: column; gap: 16px; }
.preview__head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.preview__score { display: flex; align-items: center; gap: 16px; }
.preview__score div { display: flex; flex-direction: column; font-size: 14px; }
.preview__score strong { font-size: 16px; }
.preview__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.preview__rows li { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.ok { color: var(--pass); } .warn { color: var(--warn); }

.ring-bg { fill: none; stroke: var(--line); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--blue); stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .9s ease; }
.ring-bg--lg, .ring-fg--lg { stroke-width: 12; }
.ring-num { font-family: var(--display); font-weight: 800; font-size: 22px; fill: var(--ink); }
.ring-num--lg { font-size: 44px; }
.ring-sub { font-size: 13px; fill: var(--muted-2); }

/* İlerleme */
.progress { background: #fff; border-bottom: 1px solid var(--line); }
.progress__in { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.progress h2 { font-family: var(--display); font-weight: 800; font-size: 30px; }
.steps { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--muted-2); }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: 0 0 18px; }
.steps li.is-active { color: var(--ink); font-weight: 600; }
.steps li.is-active::before { border-color: var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-done::before { background: var(--pass-bar); border-color: var(--pass-bar); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps li.is-active::before { animation: none; } .ring-fg { transition: none; } }

/* Rapor */
.report__in { padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.report__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.summary { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.summary__ring { flex: 0 0 auto; }
.summary__text { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.summary__text h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 4vw, 34px); overflow-wrap: anywhere; }
.summary__verdict { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.meta { font-size: 13px; color: var(--muted-2); }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.badge { padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.b-fail { background: var(--fail-bg); color: var(--fail); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-opp { background: var(--opp-bg); color: var(--opp); }
.b-pass { background: var(--pass-bg); color: var(--pass); }
.b-wait { background: var(--bg); color: var(--muted); }
.retry { border: 1px solid var(--line-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.retry:hover { border-color: var(--blue); color: var(--blue); }

.cats { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.cat__head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cat__head h3 { font-size: 15px; font-weight: 700; }
.cat__state { font-size: 13px; font-weight: 700; white-space: nowrap; }
.s-fail { color: var(--fail); } .s-warn { color: var(--warn); } .s-opp { color: var(--opp); } .s-pass { color: var(--pass); } .s-wait { color: var(--muted-2); }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .8s ease; }
.bar .f-fail { background: var(--fail-bar); } .bar .f-warn { background: var(--warn-bar); } .bar .f-opp { background: var(--opp-bar); } .bar .f-pass { background: var(--pass-bar); }

.issues { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.issue { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.issue__head { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.issue__head h3 { font-size: 16px; font-weight: 700; flex: 1 1 260px; }
.tag { padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.issue__detail { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.issue__why { font-size: 15px; color: var(--ink-2); }
.issue__fix { font-size: 14px; color: var(--ink-2); background: var(--bg); padding: 10px 12px; border-radius: 8px; }
.issue__cat { font-size: 12px; color: var(--muted-2); }
.locked { margin-top: 12px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 12px; background: #fff; font-weight: 600; color: var(--ink-2); }
.passed { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.passed summary { cursor: pointer; font-weight: 700; color: var(--pass); }
.passed ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }

.lead-card { display: flex; flex-wrap: wrap; gap: 32px; border-color: var(--line-2); }
.lead-card__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.lead-card__text h2 { font-family: var(--display); font-weight: 800; font-size: 26px; }
.lead-card__text p { color: var(--ink-2); }
.lead-form { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lead-done { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--pass-bg); border-radius: 12px; }
.lead-done h2 { color: var(--pass); font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input { height: 48px; padding: 0 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; color: var(--ink); font: inherit; }
.field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px #CFE0FD; }
.field input[aria-invalid="true"] { border-color: var(--fail-bar); }
.field-error { color: var(--fail); font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.method h2 { font-size: 16px; margin-bottom: 6px; }
.method p { font-size: 14px; color: var(--muted); }

/* Bilgi bölümleri */
.trust { padding: 28px 0; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tcard span { font-size: 14px; color: var(--muted); }
.info { padding: 36px 0; }
.info .grid4 { margin-top: 22px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.icard h3 { font-size: 16px; }
.icard p { font-size: 14px; color: var(--muted); }
.faq { padding: 36px 0 64px; }
.faq__in { display: flex; flex-wrap: wrap; gap: 32px; }
.faq__intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.faq__list { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.footer { background: var(--navy); color: #B9C6DC; font-size: 13px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.footer a, .footer .linklike { color: #fff; }

/* Çerez bildirimi */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; }
.cookie__in { max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 27, 54, .18); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.cookie__in > div:first-child { flex: 999 1 420px; font-size: 14px; color: var(--ink-2); }
.cookie__btns { flex: 1 1 220px; display: flex; gap: 10px; justify-content: flex-end; }

/* Yazdırma / PDF */
@media print {
  .topbar, .header nav, .hero, .progress, .trust, .info, .faq, .cookie, .report__actions, .lead-form, .lead-card .btn, .footer .linklike { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .card, .cat, .issue { break-inside: avoid; box-shadow: none; }
  .report { display: block !important; }
  .locked { display: none !important; }
}
