:root {
  --bg: #080d19;
  --bg2: #0d1426;
  --panel: #111a30;
  --panel2: #16213c;
  --line: #243456;
  --txt: #e8eefb;
  --mut: #94a5c6;
  --dim: #6c7ea3;
  --acc: #38bdf8;
  --acc2: #22d3ee;
  --good: #34d399;
  --bad: #fb7185;
  --warn: #fbbf24;
  --ca: #3b82f6;
  --cb: #ef4444;
  --pk: #f472b6;
  --r: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: radial-gradient(1200px 600px at 70% -10%, #12234a 0%, transparent 60%), var(--bg);
  color: var(--txt); line-height: 1.55; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 .6em; }
kbd { background: var(--panel2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; font-size: 12px; }
.wrap { max-width: 1520px; margin: 0 auto; padding: 0 20px; }

/* ---------- üst çubuk ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 13, 25, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1520px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--txt); }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 17px; letter-spacing: -.02em; }
.brand small { color: var(--mut); font-size: 11.5px; }
.nav { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); padding: 4px; border-radius: 999px; }
.nav a { color: var(--mut); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--txt); text-decoration: none; }
.nav a.on { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; }

main { padding-top: 22px; padding-bottom: 50px; }
.foot { border-top: 1px solid var(--line); padding: 20px 0 40px; color: var(--dim); font-size: 13px; }

/* ---------- genel bileşenler ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.panel h3 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.panel h3 .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; background: var(--panel2); }
.muted { color: var(--mut); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--panel2); border: 1px solid var(--line); color: var(--mut); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.chip.btn { cursor: pointer; padding: 6px 13px; font-size: 13px; }
.chip.btn:hover { color: var(--txt); border-color: #3a5084; }
.chip.btn.on { background: #0b3a58; color: #e0f2fe; border-color: var(--acc); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.btn { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.btn:hover { border-color: #3a5084; }
.btn.primary { background: linear-gradient(135deg, #0ea5e9, #6366f1); border-color: transparent; color: #fff; }
select, input[type=search] {
  background: var(--panel2); color: var(--txt); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; min-width: 0;
}
select:focus, input:focus, button:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }

/* ---------- katalog ---------- */
.hero { padding: 26px 0 8px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: end; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #38bdf8, #a78bfa 60%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--mut); font-size: 16.5px; max-width: 62ch; margin-top: 12px; }
.hero .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.kpi b { font-size: 26px; display: block; letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--mut); }
.filters { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 22px 0 16px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.filters .grp { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters .grp > b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s, box-shadow .15s; position: relative; }
.card:hover { transform: translateY(-3px); border-color: #3b5288; box-shadow: var(--shadow); }
.card .thumb { position: relative; background: #0f4424; cursor: pointer; }
.card .thumb canvas { display: block; width: 100%; }
.card .thumb .hint { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgba(8, 15, 30, .8); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; color: var(--mut); pointer-events: none; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.card .alt { color: var(--dim); font-size: 12.5px; margin-top: -4px; }
.card p.tag { color: var(--mut); font-size: 14px; margin: 0; flex: 1; }
.card .row { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.card .acts { display: flex; gap: 8px; margin-top: 4px; }
.card .acts .btn { flex: 1; padding: 7px 10px; font-size: 13.5px; text-align: center; }
.card .acts .btn.sel { background: #0b3a58; border-color: var(--acc); color: #e0f2fe; }
.lg { display: inline-flex; gap: 3px; }
.lg i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 800; color: #0b1220; }
.tray { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); transition: transform .25s, opacity .2s; z-index: 60; background: #0d1830f2; border: 1px solid #3a5084; border-radius: 999px; padding: 8px 10px 8px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); backdrop-filter: blur(10px); max-width: calc(100vw - 24px); }
.tray { opacity: 0; pointer-events: none; }
.tray.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.tray b { color: #fff; }
.tray .vs { color: var(--dim); font-weight: 700; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 38px 0 12px; }
.section-title h2 { font-size: 24px; letter-spacing: -.02em; }
.section-title p { color: var(--mut); font-size: 14px; margin: 0; }
.tl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; overflow-x: auto; }
.tl svg { display: block; min-width: 860px; width: 100%; height: auto; }
.tl .row-l { cursor: pointer; }
.tl .row-l:hover rect.bg { fill: rgba(255, 255, 255, .05); }
.tl text { fill: var(--mut); font-size: 12px; font-family: inherit; }

/* ---------- stüdyo ---------- */
.studio { display: grid; grid-template-columns: 218px minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.tlist { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.tlist a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--mut); border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.tlist a small { margin-left: auto; color: var(--dim); font-size: 11px; font-weight: 600; white-space: nowrap; padding-left: 6px; }
.tlist a:hover { background: var(--panel2); color: var(--txt); text-decoration: none; }
.tlist a.on { background: var(--panel2); color: #fff; box-shadow: inset 0 0 0 1px #3a5084; }
.stagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.stagehead h2 { font-size: 28px; letter-spacing: -.02em; }
.stagehead .alt { color: var(--mut); font-size: 14px; }
.scenetabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.scenetabs button { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: left; display: flex; flex-direction: column; gap: 1px; transition: .15s; }
.scenetabs button b { font-size: 14.5px; display: flex; align-items: center; gap: 7px; }
.scenetabs button span { font-size: 12px; color: var(--dim); line-height: 1.3; }
.scenetabs button:hover { border-color: #3a5084; }
.scenetabs button.on { background: var(--panel2); border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc) inset; }
.scenetabs button[data-k=pro].on { border-color: var(--good); box-shadow: 0 0 0 1px var(--good) inset; }
.scenetabs button[data-k=con].on { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad) inset; }
.scenetabs button .k { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: #1d2b4a; }
.scenetabs button[data-k=pro] .k { background: #0f3d30; color: var(--good); }
.scenetabs button[data-k=con] .k { background: #4a1d2b; color: var(--bad); }

.stage { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cvwrap { position: relative; background: #0f4424; }
.cvwrap canvas { display: block; width: 100%; }
.legend { position: absolute; left: 10px; bottom: 8px; display: flex; gap: 10px; font-size: 11.5px; background: rgba(8, 15, 30, .72); padding: 3px 10px; border-radius: 999px; color: #cbd5e1; pointer-events: none; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.stage .scn { padding: 12px 16px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stage .scn b { font-size: 16px; }
.stage .scn span { color: var(--dim); font-size: 12.5px; }
.stepbar { display: flex; gap: 4px; padding: 10px 16px 0; }
.stepbar .seg { flex: 1 1 0; height: 8px; background: #1b2947; border-radius: 99px; border: 0; padding: 0; overflow: hidden; position: relative; cursor: pointer; }
.stepbar .seg:hover { background: #26375c; }
.stepbar .seg i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #38bdf8, #818cf8); border-radius: 99px; }
.stepbar .seg.cur { outline: 1px solid #5b7bc0; outline-offset: 1px; }
.capbox { display: flex; gap: 12px; padding: 12px 16px 16px; align-items: flex-start; min-height: 86px; }
.capbox .no { flex: none; background: #0b3a58; color: #e0f2fe; border-radius: 10px; padding: 2px 10px; font-weight: 800; font-size: 13px; margin-top: 2px; white-space: nowrap; }
.capbox p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg2); }
.ctl .ib { width: 40px; height: 36px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 0; }
.ctl .ib:hover { border-color: #3a5084; }
.ctl .ib.pl { width: 54px; background: linear-gradient(135deg, #0ea5e9, #6366f1); border-color: transparent; }
.ctl .ib svg { width: 18px; height: 18px; fill: currentColor; }
.seg-btns { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg-btns button { background: none; border: 0; padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--mut); }
.seg-btns button.on { background: #0b3a58; color: #e0f2fe; }
.ctl label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); cursor: pointer; user-select: none; }
.ctl .sp { flex: 1; }
.ctl input[type=checkbox] { accent-color: var(--acc); }

.detail { display: flex; flex-direction: column; gap: 14px; }
.detail .sum { font-size: 15px; color: #d6e0f5; }
.detail ol, .detail ul { margin: 0; padding: 0; list-style: none; }
.principles li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px dashed #243456; font-size: 14px; }
.principles li:first-child { border-top: 0; padding-top: 0; }
.principles li b { color: #fff; display: block; font-size: 14px; }
.principles li span { color: var(--mut); }
.principles .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #17305a; color: #bae6fd; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 2px; }
.pc li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; border-top: 1px dashed #243456; }
.pc li:first-child { border-top: 0; }
.pc.pros li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--good); font-weight: 900; }
.pc.cons li::before { content: "✕"; position: absolute; left: 1px; top: 7px; color: var(--bad); font-weight: 900; }
.pc li b { color: #fff; }
.pc li span { color: var(--mut); }
.show-btn { margin-top: 10px; width: 100%; text-align: center; border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: 13.5px; background: transparent; }
.show-btn.g { border: 1px solid #1d5e4a; color: var(--good); }
.show-btn.g:hover { background: #0f3d30; }
.show-btn.r { border: 1px solid #6a2a3a; color: var(--bad); }
.show-btn.r:hover { background: #4a1d2b; }
.who li { padding: 8px 0; border-top: 1px dashed #243456; font-size: 13.5px; }
.who li:first-child { border-top: 0; padding-top: 0; }
.who li b { color: #fff; }
.who li span { color: var(--mut); display: block; }
.bars .b { display: grid; grid-template-columns: 128px 1fr 22px; gap: 8px; align-items: center; font-size: 13px; padding: 3px 0; color: var(--mut); }
.bars .b i { height: 8px; background: #1b2947; border-radius: 99px; overflow: hidden; position: relative; }
.bars .b i s { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #22d3ee, #6366f1); }
.bars .b em { font-style: normal; font-weight: 800; color: #fff; text-align: right; }
.note { font-size: 12px; color: var(--dim); margin-top: 8px; }
.counter { background: #1b1630; border-color: #3b2f63; }

/* ---------- karşılaştırma ---------- */
.cmp-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.cmp-pick { display: flex; flex-direction: column; gap: 6px; }
.cmp-pick label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.cmp-pick select { width: 100%; font-size: 16px; font-weight: 700; padding: 10px 12px; }
.swap { width: 44px; height: 44px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.swap:hover { border-color: var(--acc); }
.cmp-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; margin-bottom: 14px; }
.cmp-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-stages .stage .tt { padding: 10px 16px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); background: var(--bg2); }
.cmp-stages .stage .tt b { font-size: 17px; }
.cmp-stages .stage .tt span { color: var(--dim); font-size: 12.5px; margin-left: auto; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cmp-grid.three { grid-template-columns: minmax(300px, 420px) 1fr; }
.verdict { display: flex; gap: 14px; align-items: flex-start; }
.verdict .badge { flex: none; border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: 13.5px; text-align: center; min-width: 120px; }
.verdict .badge.a { background: #0b3a58; color: #bae6fd; }
.verdict .badge.b { background: #4a1d3b; color: #fbcfe8; }
.verdict .badge.e { background: #2a3350; color: #cbd5e1; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 8px 10px; border-top: 1px solid #243456; text-align: left; vertical-align: top; }
.tbl th { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-top: 0; }
.tbl td:first-child { color: var(--mut); width: 150px; }
.cmpbars .row { display: grid; grid-template-columns: 1fr 168px 1fr; gap: 8px; align-items: center; padding: 4px 0; font-size: 13px; color: var(--mut); }
.cmpbars .row span { text-align: center; font-size: 12px; }
.cmpbars .bl, .cmpbars .br { height: 9px; background: #1b2947; border-radius: 99px; position: relative; overflow: hidden; }
.cmpbars .bl s { position: absolute; right: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--acc); }
.cmpbars .br s { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--pk); }
.cmpbars .row em { font-style: normal; color: #fff; font-weight: 800; margin: 0 6px; }
.radar { display: grid; place-items: center; }
.radar svg { width: 100%; max-width: 520px; height: auto; }
.radar text { fill: var(--mut); font-size: 11.5px; font-family: inherit; }
.leg { display: flex; gap: 16px; justify-content: center; font-size: 13px; margin-top: 4px; flex-wrap: wrap; }
.leg i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- laboratuvar ---------- */
.lab { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.lab .side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 76px; }
.lab .side label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lab .side label.f select { width: 100%; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.lab .side .tg { display: flex; flex-direction: column; gap: 6px; }
.lab .side .tg label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mut); cursor: pointer; }
.lab .quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lab .quick button { padding: 7px 8px; font-size: 12.5px; }
.lab .quick-t { display: flex; flex-wrap: wrap; gap: 5px; }
.lab .quick-t button { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--mut); font-weight: 700; }
.lab .quick-t button:hover { color: #fff; border-color: #3a5084; }
.lab .quick-t button.on { background: #0b3a58; border-color: var(--acc); color: #e0f2fe; }
.lab-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lab-tip { position: absolute; left: 10px; top: 8px; background: rgba(8, 15, 30, .75); color: #cbd5e1; font-size: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mt td, .mt th { padding: 6px 4px; border-top: 1px solid #243456; text-align: right; }
.mt th { color: var(--dim); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-top: 0; }
.mt td:first-child, .mt th:first-child { text-align: left; color: var(--mut); }
.mt td b { color: #fff; }
.dl.up { color: var(--good); }
.dl.dn { color: var(--bad); }
.dl.z { color: var(--dim); }
.flash { animation: fl .9s ease-out; }
@keyframes fl { from { background: #0b3a58; } to { background: transparent; } }
.diff-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.diff-title .arrow { color: var(--dim); }

/* ---------- duyarlı ---------- */
@media (max-width: 1280px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .tlist { position: static; max-height: none; display: flex; gap: 4px; overflow-x: auto; padding: 6px; }
  .tlist a { white-space: nowrap; }
  .tlist a small { display: none; }
  .studio .detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .cmp-stages, .cmp-grid, .cmp-grid.three, .two-col, .metrics { grid-template-columns: 1fr; }
  .lab { grid-template-columns: 1fr; }
  .lab .side { position: static; }
  .scenetabs { grid-template-columns: repeat(2, 1fr); }
  .cmp-head { grid-template-columns: 1fr; }
  .swap { margin: 0 auto; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .top-in { flex-wrap: wrap; justify-content: center; }
  .nav a { padding: 7px 11px; font-size: 13px; }
  .hero .kpis { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
