/* AHODER · 3. HİS sunum şablonu (16:9, 1280×720) */
:root {
  --red: #b3202b; --red-soft: #f8e7e8; --blue: #2a64ad; --blue-soft: #e7eff9;
  --navy: #15233b; --ink: #1d2433; --muted: #5d6677; --line: #dde2ea;
  --ok: #1f7a4d; --ok-soft: #e4f3ea; --warn: #9a6200; --warn-soft: #fbf1dc;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0e1626; font-family: var(--font); color: var(--ink); }
.stage { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slide { position: absolute; width: 1280px; height: 720px; background: #fff; padding: 56px 64px 48px; display: none; transform-origin: center center; overflow: hidden; }
.slide.active { display: block; }
.slide h1 { font-size: 44px; line-height: 1.12; color: var(--navy); margin: 0 0 14px; }
.slide h2 { font-size: 32px; line-height: 1.2; color: var(--navy); margin: 0 0 6px; }
.slide .kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.slide .lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; max-width: 1050px; line-height: 1.45; }
.slide p, .slide li { font-size: 18px; line-height: 1.45; }
.slide ul, .slide ol { margin: 6px 0; padding-left: 24px; }
.slide li { margin: 5px 0; }
.slide .foot { position: absolute; left: 64px; right: 64px; bottom: 18px; display: flex; justify-content: space-between; font-size: 12px; color: #98a0ad; }
.slide .bar-top { position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--red) 0 30%, var(--blue) 30% 100%); }
.slide .logo-sm { position: absolute; right: 56px; top: 26px; height: 34px; }

/* Kapak */
.slide.cover { background: linear-gradient(135deg, #15233b 0%, #1f3a66 60%, #2a64ad 100%); color: #fff; padding: 70px 80px; }
.slide.cover h1 { color: #fff; font-size: 52px; margin-top: 30px; }
.slide.cover .sub { font-size: 22px; opacity: .92; max-width: 950px; line-height: 1.4; }
.slide.cover .meta { position: absolute; left: 80px; bottom: 60px; font-size: 16px; opacity: .88; line-height: 1.7; }
.slide.cover .logos { display: flex; gap: 26px; align-items: center; }
.slide.cover .logos img { height: 78px; }
.slide.cover .circle { position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: rgba(179,32,43,.35); }
.slide.cover .tag { display: inline-block; margin-top: 26px; padding: 5px 14px; border-radius: 999px; background: var(--red); font-weight: 700; font-size: 14px; letter-spacing: .05em; }

/* Bölüm ayırıcı */
.slide.section { background: var(--navy); color: #fff; display: none; }
.slide.section.active { display: flex; flex-direction: column; justify-content: center; }
.slide.section h1 { color: #fff; font-size: 54px; }
.slide.section .num { font-size: 110px; font-weight: 800; color: var(--red); line-height: 1; }
.slide.section p { font-size: 22px; opacity: .85; max-width: 900px; }

/* Izgaralar ve kartlar */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.card p, .card li { font-size: 16px; }
.card.blue { background: var(--blue-soft); border-color: #c9d9ef; }
.card.red { background: var(--red-soft); border-color: #efc9cc; }
.card.ok { background: var(--ok-soft); border-color: #c4e3d0; }
.card.warn { background: var(--warn-soft); border-color: #f0dcb0; }
.card.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.card.navy h3 { color: #fff; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill.red { background: var(--red); color: #fff; } .pill.blue { background: var(--blue); color: #fff; } .pill.ok { background: var(--ok); color: #fff; } .pill.grey { background: #e3e7ee; color: var(--navy); }
.big { font-size: 40px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.big.red { color: var(--red); } .big.ok { color: var(--ok); }
.small { font-size: 13px !important; color: var(--muted); }
ul.check, ul.cross { list-style: none; padding-left: 0; }
ul.check li, ul.cross li { padding-left: 26px; position: relative; }
ul.check li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
ul.cross li::before { content: "✕"; position: absolute; left: 2px; color: var(--red); font-weight: 800; }

/* Tablolar */
table.t { border-collapse: collapse; width: 100%; font-size: 15px; }
table.t th, table.t td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t thead th { background: var(--navy); color: #fff; font-weight: 600; }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr.grp td { background: var(--blue-soft); font-weight: 700; color: var(--navy); padding-top: 4px; padding-bottom: 4px; }
table.t tr.tot td { font-weight: 800; background: #eef1f5; }
table.t tr.res td { font-weight: 800; background: var(--ok-soft); color: var(--ok); }
table.t tr.res td.neg { color: var(--red); background: var(--red-soft); }
table.t.compact td, table.t.compact th { padding: 3px 9px; font-size: 14px; }
table.t td.c, table.t th.c { text-align: center; }
.raci td.c { font-weight: 800; width: 78px; }
.raci .A { background: var(--red) !important; color: #fff; } .raci .R { background: #dbe8f8 !important; color: #154a8a; }
.raci .C { background: #fff3d6 !important; color: #7a5300; } .raci .I { background: #eef0f3 !important; color: #58606d; }

/* Karşılaştırma çubukları */
.hbar { display: grid; grid-template-columns: 250px 1fr 130px; gap: 10px; align-items: center; margin: 7px 0; font-size: 15px; }
.hbar .track { background: #eef1f5; height: 22px; border-radius: 6px; overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 6px; }
.hbar .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Akış */
.flow { display: flex; gap: 10px; align-items: stretch; }
.flow .step { flex: 1; border-radius: 10px; padding: 12px 14px; background: var(--blue-soft); border: 1px solid #c9d9ef; font-size: 15px; position: relative; }
.flow .step b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.flow .step .no { position: absolute; right: 10px; top: 6px; font-weight: 800; color: var(--blue); opacity: .5; font-size: 22px; }

/* Navigasyon */
.nav { position: fixed; right: 16px; bottom: 14px; display: flex; gap: 8px; align-items: center; z-index: 10; font-family: var(--font); }
.nav button { border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font); cursor: pointer; }
.nav button:hover { background: rgba(255,255,255,.28); }
.nav .count { color: #cfd6e2; font-size: 13px; min-width: 56px; text-align: center; }
.hint { position: fixed; left: 16px; bottom: 16px; color: #8d97a8; font-size: 12px; z-index: 10; }

@media print {
  @page { size: 1280px 720px; margin: 0; }
  html, body { background: #fff; height: auto; }
  .stage { position: static; display: block; }
  .slide { position: relative; display: block !important; transform: none !important; page-break-after: always; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .slide.section { display: flex !important; }
  .nav, .hint { display: none; }
}

/* Gezinme düğmeleri her zaman görünür; fare veya dokunuşla belirginleşir */
.nav { opacity: .6; transition: opacity .3s; }
.hint { opacity: 0; transition: opacity .3s; }
body.ui .nav, body.ui .hint { opacity: 1; }
.nav button { background: rgba(179,32,43,.85); padding: 10px 18px; font-size: 18px; }
.stage { cursor: pointer; }
@media (hover: none) { .nav { opacity: 1; } .nav button { padding: 12px 22px; font-size: 20px; } }
