/* ============================================================================
   API Gateway & Merkezi Trafik Yönetimi — Sunum
   Tek klasör, tamamen offline, animasyonlu koyu tema.
   Seviye ilerleyişi (Temel → Uygulama → İleri → Uzman) tasarımın parçasıdır:
   her seviyenin kendi rengi, kendi ara slaytı ve ilerleme rayı vardır.
   ========================================================================== */

:root {
  --canvas: #080a0f;
  --s1: #0f1219;
  --s2: #141822;
  --s3: #1b2030;
  --s4: #222839;
  --line: #232937;
  --line-2: #2e3547;

  --t1: #f2f5fb;
  --t2: #a9b2c6;
  --t3: #6b7488;

  --accent: #5b8cff;
  --accent-2: #38e1c8;
  --violet: #a78bfa;
  --amber: #f0a15c;

  --grad: linear-gradient(120deg, #5b8cff 0%, #8b6cff 48%, #38e1c8 100%);
  --grad-soft: linear-gradient(120deg, rgba(91,140,255,.16), rgba(56,225,200,.12));

  --good: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;

  --good-s: rgba(52,211,153,.13);
  --warn-s: rgba(251,191,36,.13);
  --danger-s: rgba(248,113,113,.13);
  --info-s: rgba(96,165,250,.13);
  --violet-s: rgba(167,139,250,.13);
  --amber-s: rgba(240,161,92,.13);
  --accent-s: rgba(91,140,255,.13);
  --accent2-s: rgba(56,225,200,.13);

  /* seviye renkleri — anlatının omurgası */
  --lv1: #38e1c8;  --lv1-s: rgba(56,225,200,.13);
  --lv2: #5b8cff;  --lv2-s: rgba(91,140,255,.13);
  --lv3: #a78bfa;  --lv3-s: rgba(167,139,250,.13);
  --lv4: #f0a15c;  --lv4-s: rgba(240,161,92,.13);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --dur: .5s;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--canvas);
  color: var(--t1);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* atmosfer: iki yumuşak ışık + ince ızgara dokusu */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1000px 640px at 84% -10%, rgba(91,140,255,.11), transparent 62%),
    radial-gradient(820px 640px at 6% 110%, rgba(56,225,200,.075), transparent 62%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255,255,255,.014) 63px 64px),
    repeating-linear-gradient(0deg,  transparent 0 63px, rgba(255,255,255,.014) 63px 64px);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------------------------------------------------------------- deck ----- */
.deck { position: fixed; inset: 0; z-index: 1; }

.slide {
  position: absolute; inset: 0;
  display: none;
  padding: clamp(26px, 4.4vw, 74px) clamp(20px, 6.5vw, 118px) clamp(74px, 8vh, 98px);
  flex-direction: column;
  justify-content: safe center;
  opacity: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.slide.active { display: flex; opacity: 1; }
/* Slayt bir dikey flex konteyneri; içerik viewport'tan uzunsa çocuklar
   VARSAYILAN OLARAK KÜÇÜLÜR ve yüksekliği CSS ile verilmiş bloklar (canvas
   sahneleri) kırpılır. Küçülmeyi kapat: içerik taşsın, slayt kaydırılsın. */
.slide > * { flex-shrink: 0; }
.slide::-webkit-scrollbar { width: 9px; }
.slide::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
.slide::-webkit-scrollbar-thumb:hover { background: var(--t3); background-clip: content-box; }
.slide::-webkit-scrollbar-track { background: transparent; }

/* giriş koreografisi */
.slide.active .reveal { animation: rise .62s var(--ease) both; }
.slide.active .reveal:nth-child(2) { animation-delay: .05s; }
.slide.active .reveal:nth-child(3) { animation-delay: .11s; }
.slide.active .reveal:nth-child(4) { animation-delay: .17s; }
.slide.active .reveal:nth-child(5) { animation-delay: .23s; }
.slide.active .reveal:nth-child(6) { animation-delay: .29s; }
.slide.active .r2 > * { animation: rise .55s var(--ease) both; }
.slide.active .r2 > *:nth-child(1){animation-delay:.09s}
.slide.active .r2 > *:nth-child(2){animation-delay:.16s}
.slide.active .r2 > *:nth-child(3){animation-delay:.23s}
.slide.active .r2 > *:nth-child(4){animation-delay:.30s}
.slide.active .r2 > *:nth-child(5){animation-delay:.37s}
.slide.active .r2 > *:nth-child(6){animation-delay:.44s}
.slide.active .r2 > *:nth-child(7){animation-delay:.51s}
.slide.active .r2 > *:nth-child(8){animation-delay:.58s}
.slide.active .r2 > *:nth-child(9){animation-delay:.65s}
.slide.active .r2 > *:nth-child(10){animation-delay:.72s}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }
@keyframes pulse { 0%,100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes dash { to { stroke-dashoffset: -1000; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- type ----- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 13px; border-radius: 100px;
  background: var(--accent-s); border: 1px solid var(--line-2);
  width: fit-content;
}
.kicker svg { width: 14px; height: 14px; }
h1 { font-size: clamp(34px, 5.8vw, 74px); line-height: 1.02; letter-spacing: -.022em; font-weight: 800; }
h2 { font-size: clamp(25px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h3 { font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 14.5px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.65vw, 21px); color: var(--t2); line-height: 1.5; max-width: 62ch; }
.muted { color: var(--t3); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-variant-numeric: tabular-nums; }
code, .mono { font-family: var(--mono); }
b, strong { color: var(--t1); font-weight: 700; }
.chip-mono {
  font-family: var(--mono); font-size: .86em;
  background: var(--s3); border: 1px solid var(--line-2); color: var(--accent-2);
  padding: 2px 7px; border-radius: 6px; white-space: nowrap;
}

.slide-head { margin-bottom: clamp(18px, 2.6vh, 34px); }
.slide-head .hrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.slide-head h2 { margin-top: 12px; }
.slide-head .sub { color: var(--t2); font-size: clamp(14.5px,1.45vw,18px); margin-top: 10px; max-width: 78ch; line-height: 1.55; }

/* ------------------------------------------------------- seviye sistemi ---- */
/* Seviye seçilebilir bir filtre değil; anlatının kendisidir.
   Her slayt hangi aşamada olduğunu sessizce bildirir. */
.lvbadge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; border: 1px solid transparent;
  white-space: nowrap;
}
.lvbadge .lvdot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.lv1 .lvbadge, .lvbadge.lv1 { color: var(--lv1); background: var(--lv1-s); border-color: rgba(56,225,200,.28); }
.lv2 .lvbadge, .lvbadge.lv2 { color: var(--lv2); background: var(--lv2-s); border-color: rgba(91,140,255,.28); }
.lv3 .lvbadge, .lvbadge.lv3 { color: var(--lv3); background: var(--lv3-s); border-color: rgba(167,139,250,.28); }
.lv4 .lvbadge, .lvbadge.lv4 { color: var(--lv4); background: var(--lv4-s); border-color: rgba(240,161,92,.28); }

/* slaydın sol kenarında ince seviye şeridi */
.slide[data-lv]::before {
  content: ""; position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 15;
  opacity: .75; transition: background .5s var(--ease);
}
.slide[data-lv="1"]::before { background: linear-gradient(180deg, transparent, var(--lv1) 30%, var(--lv1) 70%, transparent); }
.slide[data-lv="2"]::before { background: linear-gradient(180deg, transparent, var(--lv2) 30%, var(--lv2) 70%, transparent); }
.slide[data-lv="3"]::before { background: linear-gradient(180deg, transparent, var(--lv3) 30%, var(--lv3) 70%, transparent); }
.slide[data-lv="4"]::before { background: linear-gradient(180deg, transparent, var(--lv4) 30%, var(--lv4) 70%, transparent); }

/* seviye rayı — yolculuk haritası (giriş slaytı + ara slaytlar) */
.lvrail { display: grid; gap: 0; margin-top: 8px; }
.lvrail-track { position: relative; height: 4px; background: var(--s3); border-radius: 999px; margin: 34px 0 0; }
.lvrail-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; transition: width 1.1s var(--ease);
  background: linear-gradient(90deg, var(--lv1), var(--lv2) 40%, var(--lv3) 72%, var(--lv4)); }
.lvrail-stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -13px; }
.lvstop { display: grid; justify-items: center; gap: 12px; position: relative; }
.lvstop .pin {
  width: 22px; height: 22px; border-radius: 50%; background: var(--s2); border: 2px solid var(--line-2);
  display: grid; place-items: center; transition: all .5s var(--ease); position: relative; z-index: 2;
}
.lvstop .pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: all .5s var(--ease); font-style: normal; }
.lvstop.on .pin { transform: scale(1.18); }
.lvstop.on[data-l="1"] .pin { border-color: var(--lv1); box-shadow: 0 0 0 5px var(--lv1-s); }
.lvstop.on[data-l="2"] .pin { border-color: var(--lv2); box-shadow: 0 0 0 5px var(--lv2-s); }
.lvstop.on[data-l="3"] .pin { border-color: var(--lv3); box-shadow: 0 0 0 5px var(--lv3-s); }
.lvstop.on[data-l="4"] .pin { border-color: var(--lv4); box-shadow: 0 0 0 5px var(--lv4-s); }
.lvstop.on[data-l="1"] .pin i { background: var(--lv1); }
.lvstop.on[data-l="2"] .pin i { background: var(--lv2); }
.lvstop.on[data-l="3"] .pin i { background: var(--lv3); }
.lvstop.on[data-l="4"] .pin i { background: var(--lv4); }
.lvstop .lvname { font-size: 13.5px; font-weight: 700; color: var(--t3); transition: color .4s var(--ease); text-align: center; }
.lvstop.on .lvname { color: var(--t1); }
.lvstop .lvdesc { font-size: 12.5px; color: var(--t3); text-align: center; max-width: 25ch; line-height: 1.45; }

/* aşama geçiş slaytı */
.stage { align-items: flex-start; }
.stage .stage-num { font-size: clamp(70px, 12vw, 150px); font-weight: 800; line-height: .82; letter-spacing: -.04em; }
.stage[data-lv="1"] .stage-num { color: var(--lv1); }
.stage[data-lv="2"] .stage-num { color: var(--lv2); }
.stage[data-lv="3"] .stage-num { color: var(--lv3); }
.stage[data-lv="4"] .stage-num { color: var(--lv4); }
.stage-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,60px); align-items: start; }
@media (max-width: 900px){ .stage-grid { grid-template-columns: 1fr; } }
.stage-from { font-size: 14px; color: var(--t3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stage-from .arw { width: 16px; height: 16px; color: var(--t3); }
.stage-list { display: grid; gap: 9px; margin-top: 22px; }
.stage-list .sl {
  display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--t2);
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-s); padding: 11px 14px;
}
.stage-list .sl svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.stage[data-lv="1"] .stage-list .sl svg { color: var(--lv1); }
.stage[data-lv="2"] .stage-list .sl svg { color: var(--lv2); }
.stage[data-lv="3"] .stage-list .sl svg { color: var(--lv3); }
.stage[data-lv="4"] .stage-list .sl svg { color: var(--lv4); }

/* ---------------------------------------------------------------- cards ---- */
.grid { display: grid; gap: clamp(11px, 1.3vw, 18px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1250px){ .g5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 1100px){ .g3,.g4 { grid-template-columns: repeat(2,1fr); } .g5 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 700px){ .g2,.g3,.g4,.g5 { grid-template-columns: 1fr; } }

.card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: clamp(15px, 1.5vw, 22px);
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}
.card:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--s2); }
.card h3 { margin-bottom: 7px; }
.card p { color: var(--t2); font-size: 14.5px; line-height: 1.55; }
.card .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--s3); border: 1px solid var(--line-2); margin-bottom: 13px;
}
.card .ico svg { width: 19px; height: 19px; color: var(--accent-2); }
.card.acc { border-color: rgba(91,140,255,.3); background: linear-gradient(180deg, rgba(91,140,255,.06), transparent); }
.card.acc .ico svg { color: var(--accent); }
.card.good .ico svg { color: var(--good); } .card.good { border-color: rgba(52,211,153,.26); }
.card.warn .ico svg { color: var(--warn); } .card.warn { border-color: rgba(251,191,36,.26); }
.card.bad  .ico svg { color: var(--danger); } .card.bad { border-color: rgba(248,113,113,.26); }
.card.vio  .ico svg { color: var(--violet); } .card.vio { border-color: rgba(167,139,250,.26); }
.card .cnum {
  position: absolute; right: 14px; top: 12px; font-family: var(--mono); font-size: 11px;
  color: var(--t3); letter-spacing: .1em;
}
.card ul { list-style: none; display: grid; gap: 7px; margin-top: 9px; }
.card ul li { position: relative; padding-left: 16px; color: var(--t2); font-size: 14px; line-height: 1.5; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--line-2); }
.card.good ul li::before { background: var(--good); } .card.bad ul li::before { background: var(--danger); }
.card.acc ul li::before { background: var(--accent); } .card.warn ul li::before { background: var(--warn); }

/* ---------------------------------------------------------------- stat ----- */
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; }
.stat { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.stat .v { font-size: clamp(24px,2.6vw,34px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; color: var(--t2); margin-top: 4px; line-height: 1.4; }
.stat .s { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.stat.a .v { color: var(--accent); } .stat.b .v { color: var(--accent-2); }
.stat.c .v { color: var(--violet); } .stat.d .v { color: var(--amber); }
.stat.r .v { color: var(--danger); } .stat.g .v { color: var(--good); }

/* --------------------------------------------------------------- notes ----- */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--accent-2);
  border-radius: 0 var(--r-m) var(--r-m) 0; padding: 13px 17px;
  font-size: 14.5px; color: var(--t2); line-height: 1.55;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-2); }
.note.warn { border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-s), transparent 60%); }
.note.warn svg { color: var(--warn); }
.note.bad { border-left-color: var(--danger); background: linear-gradient(90deg, var(--danger-s), transparent 60%); }
.note.bad svg { color: var(--danger); }
.note.good { border-left-color: var(--good); background: linear-gradient(90deg, var(--good-s), transparent 60%); }
.note.good svg { color: var(--good); }
.note.vio { border-left-color: var(--violet); background: linear-gradient(90deg, var(--violet-s), transparent 60%); }
.note.vio svg { color: var(--violet); }
.note b { color: var(--t1); }

/* ----------------------------------------------------------- code block ---- */
.code {
  background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden; font-family: var(--mono);
}
.code .hd {
  display: flex; align-items: center; gap: 9px; padding: 9px 14px;
  border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--t3);
  letter-spacing: .08em; text-transform: uppercase;
}
.code .hd svg { width: 14px; height: 14px; color: var(--accent-2); }
.code .hd .tag { margin-left: auto; color: var(--accent-2); }
.code pre { padding: 14px 16px; overflow-x: auto; font-size: 12.6px; line-height: 1.62; color: #cfd8e8; tab-size: 2; }
.code pre::-webkit-scrollbar { height: 8px; }
.code pre::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.c-c { color: #5a6580; } .c-k { color: #7aa2ff; } .c-s { color: #5ddbb8; }
.c-n { color: #e0a86a; } .c-f { color: #cfd8e8; } .c-y { color: #c4a1ff; }

/* --------------------------------------------------------------- table ----- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--s1); }
.tbl-wrap::-webkit-scrollbar { height: 9px; }
.tbl-wrap::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.mtable th {
  text-align: left; color: var(--t3); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .08em; padding: 11px 14px;
  border-bottom: 1px solid var(--line-2); background: var(--s2); white-space: nowrap;
  position: sticky; top: 0;
}
.mtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--t2); vertical-align: top; line-height: 1.5; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable td b { color: var(--t1); }
.mtable tbody tr:hover td { background: var(--s2); }
.mtable .mono, .mtable .m { font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); white-space: nowrap; }
.yes { color: var(--good); font-weight: 700; }
.no  { color: var(--danger); font-weight: 700; }
.par { color: var(--warn); font-weight: 700; }

/* ---------------------------------------------------------- pills/chips ---- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--t2);
  background: var(--s2); border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 13px;
}
.pill svg { width: 14px; height: 14px; color: var(--accent-2); }
.pill.on { color: var(--t1); border-color: var(--accent); background: var(--accent-s); }
.pill.a { color: var(--accent); border-color: rgba(91,140,255,.3); background: var(--accent-s); }
.pill.b { color: var(--accent-2); border-color: rgba(56,225,200,.3); background: var(--accent2-s); }
.pill.c { color: var(--violet); border-color: rgba(167,139,250,.3); background: var(--violet-s); }
.pill.d { color: var(--amber); border-color: rgba(240,161,92,.3); background: var(--amber-s); }
.pill.r { color: var(--danger); border-color: rgba(248,113,113,.3); background: var(--danger-s); }
.pill.g { color: var(--good); border-color: rgba(52,211,153,.3); background: var(--good-s); }

/* two column layout */
.two { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(18px,2.6vw,38px); align-items: start; }
.two.mid { align-items: center; }
.two.w60 { grid-template-columns: 1.5fr 1fr; }
.two.w40 { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 1000px){ .two, .two.w60, .two.w40 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cover ---- */
.cover { align-items: flex-start; }
.cover .tech-strip { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.cover .tech-strip .t { display: flex; align-items: center; gap: 8px; color: var(--t2); font-size: 14px; font-weight: 600; }
.cover .tech-strip .t svg { width: 19px; height: 19px; opacity: .85; color: var(--accent-2); }
.cover .badge-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.cover-art {
  position: absolute; right: clamp(6px,1.2vw,34px); top: 50%; transform: translateY(-50%);
  width: min(640px, 45vw); aspect-ratio: 1; opacity: .95; pointer-events: none;
  display: block;
  /* kenarları yumuşat — ama dış düğüm halkası solmadan kalsın */
  mask-image: radial-gradient(closest-side, #000 84%, transparent 100%);
}
@media (max-width: 1050px){ .cover-art { display: none; } }

/* ---------------------------------------------------- istek yolu sahnesi --- */
/* Yüksekliği CSS'ten yönetilen canvas'lar: viewport'a göre büyür/küçülür.
   deck.js içindeki fit() bu sınıfı görünce style.height'a dokunmaz. */
.cv-flex { display: block; width: 100%; }
#pipeCv { height: clamp(300px, 40vh, 540px); }
.pipe {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(14px,1.6vw,22px); position: relative; overflow: hidden;
}
.pipe canvas { width: 100%; display: block; border-radius: var(--r-m); }
.pipe-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 13px; font-size: 12.5px; color: var(--t3); }
.pipe-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: baseline; }

/* filtre zinciri adım listesi */
.chain { display: grid; grid-template-columns: minmax(230px, 312px) 1fr; gap: 0;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
@media (max-width: 940px){ .chain { grid-template-columns: 1fr; } }
.chain-list { position: relative; border-right: 1px solid var(--line); max-height: 58vh; overflow-y: auto; }
@media (max-width: 940px){ .chain-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 26vh; } }
.chain-list::-webkit-scrollbar { width: 7px; }
.chain-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.chain-item {
  display: grid; grid-template-columns: 24px 20px 1fr auto; gap: 8px; align-items: center; width: 100%;
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 9px 12px 9px 15px; cursor: pointer; color: var(--t2); font-size: 12.8px; font-family: inherit;
  transition: background .22s var(--ease), color .22s var(--ease); position: relative;
}
.chain-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; opacity: .5; }
.chain-item[data-ph="PRE"]::before { background: #38e1c8; }
.chain-item[data-ph="ROUTE"]::before { background: #a78bfa; }
.chain-item[data-ph="POST"]::before { background: #f0a15c; }
.chain-item .ci { font-family: var(--mono); font-size: 10.5px; color: var(--t3); }
.chain-item .cig { width: 18px; height: 18px; display: grid; place-items: center; }
.chain-item .cig svg { width: 14px; height: 14px; color: var(--t3); transition: color .22s var(--ease); }
.chain-item .cc { font-family: var(--mono); font-size: 9px; color: var(--t3); opacity: .7; white-space: nowrap; }
.chain-item:hover { background: var(--s2); color: var(--t1); }
.chain-item.on { background: var(--s3); color: var(--t1); font-weight: 700; }
.chain-item.on::before { opacity: 1; width: 4px; }
.chain-item.on .ci { color: var(--t1); }
.chain-item[data-ph="PRE"].on .cig svg { color: #38e1c8; }
.chain-item[data-ph="ROUTE"].on .cig svg { color: #a78bfa; }
.chain-item[data-ph="POST"].on .cig svg { color: #f0a15c; }

/* --- ayrıntı paneli --- */
.chain-detail { padding: 0; display: grid; align-content: start; min-height: 340px; }
.cd-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid var(--line); background: var(--s2);
}
.cd-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--s3); border: 1px solid var(--line-2); }
.cd-ico svg { width: 21px; height: 21px; }
.cd-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.cd-head h3 { font-size: clamp(16px,1.85vw,21px); line-height: 1.2; }
.cd-cost { text-align: right; }
.cd-cost .cv3 { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--t1); }
.cd-cost .cl3 { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
@media (max-width: 640px){ .cd-cost { display: none; } }

.cd-body { padding: 15px 20px 17px; display: grid; gap: 13px; }
.cd-lead { font-size: 14.2px; color: var(--t2); line-height: 1.65; }
.cd-lead b { color: var(--t1); }
.cd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
@media (max-width: 800px){ .cd-grid { grid-template-columns: 1fr; } }
.cd-box {
  background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 12px 14px; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start;
}
.cd-box svg { width: 16px; height: 16px; margin-top: 2px; }
.cd-box h5 { font-family: var(--mono); font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 5px; }
.cd-box p { font-size: 12.8px; color: var(--t2); line-height: 1.55; }
.cd-box.good { border-color: rgba(52,211,153,.22); }
.cd-box.bad { border-color: rgba(248,113,113,.22); }

.cd-ex {
  background: #06080c; border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 11px 14px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
}
.cd-ex svg { width: 15px; height: 15px; color: var(--accent-2); margin-top: 2px; }
.cd-ex .cx { font-family: var(--mono); font-size: 11.8px; color: #93a4bd; line-height: 1.75; }
.cd-ex .cx b { color: var(--accent-2); font-weight: 600; }

.cd-keys { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cd-keys .kt { font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; color: var(--t3); margin-right: 3px; }
.cd-keys .kk { font-family: var(--mono); font-size: 10.5px; color: var(--t2);
  background: var(--s3); border: 1px solid var(--line-2); border-radius: 5px; padding: 4px 9px; }

.cd-go {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 12px;
}
.cd-go .gtx { font-size: 12.5px; color: var(--t3); }
.cd-go .gtx b { color: var(--t2); }
.cd-jump {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 12.5px; font-weight: 600;
  background: var(--accent-s); border: 1px solid rgba(91,140,255,.35); color: var(--accent);
  border-radius: 8px; padding: 8px 13px; cursor: pointer; transition: all .2s var(--ease);
}
.cd-jump:hover { background: var(--accent); color: #071018; border-color: var(--accent); transform: translateX(3px); }
.cd-jump svg { width: 14px; height: 14px; }
.cd-nav { display: flex; gap: 6px; }
.cd-nav button {
  width: 32px; height: 32px; border-radius: 8px; background: var(--s2); border: 1px solid var(--line-2);
  color: var(--t2); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease);
}
.cd-nav button:hover { border-color: var(--accent); color: var(--t1); }
.cd-nav button svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------ simülatör ---- */
.sim { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.sim-hd {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--s2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t2);
}
.sim-hd svg { width: 15px; height: 15px; color: var(--accent-2); }
.sim-hd .sp { flex: 1; }
.sim-bd { padding: 16px; display: grid; gap: 14px; }
.sim canvas { width: 100%; display: block; background: #06080c; border: 1px solid var(--line); border-radius: var(--r-s); }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--s3); border: 1px solid var(--line-2); color: var(--t2);
  border-radius: 8px; padding: 7px 13px; cursor: pointer; transition: all .2s var(--ease);
}
.btn svg { width: 14px; height: 14px; }
.btn:hover { border-color: var(--accent); color: var(--t1); background: var(--s4); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #071018; }
.btn.pri:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.96); }
input[type=range] { accent-color: var(--accent); width: 100%; }
.slider-row { display: grid; gap: 7px; }
.slider-row label { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--t3); font-family: var(--mono); }
.slider-row label b { color: var(--accent); }

.meters { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 10px; }
.meter { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; }
.meter .mv { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.meter .ml { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--t3); margin-top: 2px; font-family: var(--mono); }

/* devre kesici durumları */
.cb-states { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (max-width: 760px){ .cb-states { grid-template-columns: 1fr; } }
.cb-st {
  border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; background: var(--s2);
  transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.cb-st .cbn { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); display: flex; align-items: center; gap: 8px; }
.cb-st .cbn svg { width: 15px; height: 15px; }
.cb-st .cbd { font-size: 12.8px; color: var(--t3); margin-top: 6px; line-height: 1.45; }
.cb-st.on { background: var(--s3); transform: translateY(-2px); }
.cb-st.on .cbd { color: var(--t2); }
.cb-st.on.closed { border-color: var(--good); box-shadow: 0 0 0 1px rgba(52,211,153,.2); }
.cb-st.on.closed .cbn { color: var(--good); }
.cb-st.on.open { border-color: var(--danger); box-shadow: 0 0 0 1px rgba(248,113,113,.2); }
.cb-st.on.open .cbn { color: var(--danger); }
.cb-st.on.half { border-color: var(--warn); box-shadow: 0 0 0 1px rgba(251,191,36,.2); }
.cb-st.on.half .cbn { color: var(--warn); }

/* ağırlık barı */
.wbar { height: 30px; border-radius: 8px; overflow: hidden; display: flex; border: 1px solid var(--line-2); background: var(--s3); }
.wbar i { display: block; height: 100%; transition: width .45s var(--ease); font-style: normal; }
.legend { display: flex; flex-wrap: wrap; gap: 15px; font-size: 12.5px; color: var(--t3); font-family: var(--mono); }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* ------------------------------------------------------------- akış/diyagram */
.flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.flow-node {
  background: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-m);
  padding: 13px 17px; min-width: 118px; text-align: center; transition: all .4s var(--ease);
}
.flow-node .fn { font-size: 14px; font-weight: 700; }
.flow-node .fd { font-size: 11.5px; color: var(--t3); margin-top: 3px; }
.flow-node svg { width: 20px; height: 20px; color: var(--accent-2); margin-bottom: 6px; }
.flow-node.hot { border-color: var(--accent); background: var(--accent-s); box-shadow: 0 0 22px rgba(91,140,255,.16); transform: translateY(-3px); }
.flow-node.gate { border-color: var(--accent); background: linear-gradient(180deg, rgba(91,140,255,.12), transparent); }
.flow-arrow { color: var(--t3); display: grid; place-items: center; }
.flow-arrow svg { width: 22px; height: 22px; }

/* katmanlı savunma / blast radius */
.rings { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
.rings svg { width: 100%; height: 100%; }

/* anatomi (JWT / traceparent) */
.anat { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; overflow-x: auto; }
.anat-line { font-family: var(--mono); font-size: clamp(12px,1.6vw,19px); white-space: nowrap; letter-spacing: .02em; }
.anat-seg { transition: all .3s var(--ease); padding: 3px 1px; border-radius: 4px; cursor: default; }
.anat-seg.dim { opacity: .28; }
.anat-seg.hot { background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.anat-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 11px; margin-top: 16px; }
.anat-card { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; transition: all .3s var(--ease); }
.anat-card.hot { border-color: var(--accent); background: var(--s3); transform: translateY(-2px); }
.anat-card .ak { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.anat-card .av { font-family: var(--mono); font-size: 14px; font-weight: 700; margin: 5px 0 6px; color: var(--t1); }
.anat-card .ad { font-size: 12.5px; color: var(--t3); line-height: 1.45; }

/* ------------------------------------------------------------ karar aracı -- */
.dq { display: grid; gap: 13px; }
.dq .q { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.dq .opts { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 10px; }
.dq .opts button {
  text-align: left; font: inherit; font-size: 13.5px; color: var(--t2);
  background: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 13px 15px; cursor: pointer; line-height: 1.45; transition: all .22s var(--ease);
}
.dq .opts button:hover { border-color: var(--accent); background: var(--s3); color: var(--t1); transform: translateY(-2px); }
.dq .opts button b { display: block; font-size: 14.5px; color: var(--t1); margin-bottom: 3px; }
.dq .step { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.dscore { height: 7px; border-radius: 99px; background: var(--s3); overflow: hidden; margin: 8px 0; }
.dscore i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .7s var(--ease); }

/* ----------------------------------------------------------- yolculuk özeti */
.journey { display: grid; gap: 12px; }
.jrow { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
@media (max-width: 800px){ .jrow { grid-template-columns: 1fr; gap: 6px; } }
.jlab { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding-top: 6px; }
.jlab .jd { width: 9px; height: 9px; border-radius: 50%; }
.jitems { display: flex; flex-wrap: wrap; gap: 7px; }
.jitem { font-size: 12.5px; color: var(--t2); background: var(--s2); border: 1px solid var(--line); border-radius: 7px; padding: 6px 11px; }

/* ══════════════════════════════════════════════════════════════════════════
   ETKİLEŞİM KATMANI — sunum genelinde tıklanabilir/gezinilebilir bileşenler
   ══════════════════════════════════════════════════════════════════════════ */

/* --- teknoloji açıklayıcı: Ne? / Neden? / Nasıl? / Alternatifi? --- */
.tech {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
.tech-hd {
  display: flex; align-items: center; gap: 11px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--s2); flex-wrap: wrap;
}
.tech-hd .ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--s3); border: 1px solid var(--line-2); flex: none; }
.tech-hd .ti svg { width: 18px; height: 18px; color: var(--accent-2); }
.tech-hd .tn { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.tech-hd .tt { font-size: 12px; color: var(--t3); font-family: var(--mono); }
.tech-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: var(--s1); flex-wrap: wrap; }
.tech-tabs button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--t3);
  padding: 11px 16px; cursor: pointer; transition: all .2s var(--ease); white-space: nowrap;
}
.tech-tabs button:hover { color: var(--t1); background: var(--s2); }
.tech-tabs button.on { color: var(--accent-2); border-bottom-color: var(--accent-2); background: var(--s2); }
.tech-body { padding: 16px 18px; font-size: 14.5px; color: var(--t2); line-height: 1.6; min-height: 120px; }
.tech-body b { color: var(--t1); }
.tech-body ul { list-style: none; display: grid; gap: 7px; margin-top: 9px; }
.tech-body ul li { position: relative; padding-left: 16px; }
.tech-body ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 2px; background: var(--accent-2); opacity: .7; }
.tech-body .kv { display: grid; grid-template-columns: 132px 1fr; gap: 10px; border-top: 1px solid var(--line);
  padding-top: 9px; margin-top: 9px; font-size: 13.5px; }
.tech-body .kv b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }

/* --- tıklanabilir sıcak nokta diyagramı --- */
.hotspot { display: grid; gap: 14px; }
.hotspot .stage-svg { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; }
.hotspot svg { width: 100%; height: auto; display: block; }
.hs-node { cursor: pointer; transition: all .25s var(--ease); }
.hs-node rect, .hs-node circle { transition: all .25s var(--ease); }
.hs-panel {
  background: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 15px 17px;
  display: grid; gap: 8px; min-height: 108px;
}
.hs-panel .hp-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.hs-panel .hp-t { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.hs-panel .hp-d { font-size: 14px; color: var(--t2); line-height: 1.55; }
.hs-panel .hp-d b { color: var(--t1); }

/* --- animasyonlu kıyaslama barları --- */
.cmp { display: grid; gap: 9px; }
.cmp-row { display: grid; grid-template-columns: 128px 1fr 56px; gap: 11px; align-items: center; font-size: 13px; }
@media (max-width: 720px){ .cmp-row { grid-template-columns: 96px 1fr 48px; font-size: 12px; } }
.cmp-row .cl { color: var(--t2); }
.cmp-track { height: 9px; border-radius: 99px; background: var(--s3); overflow: hidden; }
.cmp-track i { display: block; height: 100%; border-radius: 99px; width: 0; transition: width .8s var(--ease); }
.cmp-row .cv2 { font-family: var(--mono); font-size: 12px; color: var(--t1); text-align: right; font-variant-numeric: tabular-nums; }

/* --- ürün seçici --- */
.arena { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 0;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
@media (max-width: 900px){ .arena { grid-template-columns: 1fr; } }
.arena-list { border-right: 1px solid var(--line); max-height: 52vh; overflow-y: auto; }
@media (max-width: 900px){ .arena-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 150px; display: flex; overflow-x: auto; } }
.arena-list::-webkit-scrollbar { width: 7px; height: 7px; }
.arena-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.arena-item {
  display: block; width: 100%; text-align: left; font: inherit; font-size: 13px; color: var(--t2);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 13px;
  cursor: pointer; transition: all .2s var(--ease); white-space: nowrap;
}
.arena-item .ac { display: block; font-size: 10.5px; color: var(--t3); font-family: var(--mono); margin-top: 2px; }
.arena-item:hover { background: var(--s2); color: var(--t1); }
.arena-item.on { background: var(--accent-s); color: var(--t1); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.arena-body { padding: 16px 18px; display: grid; gap: 14px; align-content: start; }
.arena-top { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 18px; align-items: start; }
@media (max-width: 860px){ .arena-top { grid-template-columns: 1fr; } }
.arena-radar { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-s); }
.arena-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px){ .arena-vs { grid-template-columns: 1fr; } }
.vs-col { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.vs-col h4 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; font-family: var(--mono); }
.vs-col.good h4 { color: var(--good); } .vs-col.bad h4 { color: var(--danger); }
.vs-col ul { list-style: none; display: grid; gap: 6px; }
.vs-col li { font-size: 13px; color: var(--t2); line-height: 1.45; padding-left: 15px; position: relative; }
.vs-col li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; }
.vs-col.good li::before { background: var(--good); } .vs-col.bad li::before { background: var(--danger); }

/* --- mini dashboard (gözlemlenebilirlik) --- */
.dash { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 11px; }
.dpanel { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.dpanel .dh { display: flex; align-items: center; justify-content: space-between; font-size: 11px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--t3); font-family: var(--mono); }
.dpanel .dv { font-size: 24px; font-weight: 800; margin: 5px 0 3px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dpanel canvas { width: 100%; height: 38px; display: block; }
.dpanel .dl { font-size: 11.5px; color: var(--t3); }
.dpanel.alarm { border-color: var(--danger); background: linear-gradient(180deg, rgba(248,113,113,.09), transparent); }
.dpanel.alarm .dv { color: var(--danger); }
.dpanel.ok .dv { color: var(--good); }
.dpanel.warn { border-color: rgba(251,191,36,.4); } .dpanel.warn .dv { color: var(--warn); }

/* --- animasyonlu zaman çizelgesi (PoC) --- */
.gantt { display: grid; gap: 5px; }
.gantt-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px; align-items: center; font-size: 13px; }
@media (max-width: 760px){ .gantt-row { grid-template-columns: 108px minmax(0,1fr); font-size: 12px; } }
.gantt-row .gl { color: var(--t2); }
.gantt-row .gl b { display: block; color: var(--t1); font-size: 13.5px; }
.gantt-track { position: relative; height: 26px; background: var(--s2); border-radius: 6px; border: 1px solid var(--line); }
.gantt-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease); transform: scaleX(.2); transform-origin: left center;
  display: flex; align-items: center; padding: 0 9px; font-size: 11px; font-weight: 700; color: #071018;
  white-space: nowrap; overflow: hidden; }
.gantt-bar.show { opacity: 1; transform: scaleX(1); }
.gantt-weeks { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px; margin-bottom: 4px; }
@media (max-width: 760px){ .gantt-weeks { grid-template-columns: 108px minmax(0,1fr); } }
.gantt-weeks .gw { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--t3); }

/* --- açılır kapanır kart (anti-pattern, farklılaştırıcı) --- */
.acc-card { cursor: pointer; }
.acc-card .acc-more {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease), opacity .3s var(--ease), margin .45s var(--ease);
}
.acc-card.open .acc-more { max-height: 420px; opacity: 1; margin-top: 10px; }
.acc-card .acc-hint {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--t3); display: flex; align-items: center; gap: 6px; margin-top: 9px;
}
.acc-card .acc-hint svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.acc-card.open .acc-hint svg { transform: rotate(90deg); }
.acc-card.open { border-color: var(--accent); background: var(--s2); }

/* --- DEVRE KESİCİ KARŞILAŞTIRMASI (slayt 24) --- */
.cb-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px){ .cb-sliders { grid-template-columns: 1fr; } }
.cb-scen { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cb-scen .kt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--t3); margin-right: 3px; }
.cb-scen .btn { padding: 5px 11px; font-size: 11px; }
.cb-scen .btn.on { background: var(--accent); border-color: var(--accent); color: #071018; }

.cbcmp { border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: #06080c; }
.cbcmp-head, .cbrow {
  display: grid; grid-template-columns: 1.55fr .95fr .8fr .8fr .8fr .9fr;
  gap: 8px; align-items: center; padding: 8px 12px;
}
.cbcmp-head { background: var(--s2); border-bottom: 1px solid var(--line); }
.cbcmp-head span { font-family: var(--mono); font-size: 9px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--t3); }
.cbrow { border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s var(--ease); font-size: 12.5px; }
.cbrow:last-child { border-bottom: 0; }
.cbrow:hover { background: var(--s1); }
.cbrow.on { background: var(--s2); box-shadow: inset 3px 0 0 var(--accent); }
.cbrow .cbn2 { color: var(--t2); display: flex; align-items: center; gap: 7px; }
.cbrow.on .cbn2 { color: var(--t1); font-weight: 700; }
.cbrow .cbn2 svg { width: 14px; height: 14px; color: var(--t3); flex: none; }
.cbrow.on .cbn2 svg { color: var(--accent); }
.cbrow .num2 { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.cbst {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; border: 1px solid; text-align: center; white-space: nowrap;
}
.cbst.c { color: var(--good); border-color: rgba(52,211,153,.4); background: var(--good-s); }
.cbst.o { color: var(--danger); border-color: rgba(248,113,113,.4); background: var(--danger-s); }
.cbst.h { color: var(--warn); border-color: rgba(251,191,36,.4); background: var(--warn-s); }
.cbbar { height: 6px; border-radius: 99px; background: var(--s3); overflow: hidden; margin-top: 4px; }
.cbbar i { display: block; height: 100%; border-radius: 99px; transition: width .5s var(--ease); }
.cbrow .cbw { width: 15px; height: 15px; flex: none; opacity: 0; transition: opacity .3s var(--ease); }
.cbrow.win .cbw { opacity: 1; color: var(--good); }
.cbcmp-ft { display: flex; gap: 9px; align-items: flex-start; padding: 9px 12px;
  background: var(--s2); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--t2); line-height: 1.5; }
.cbcmp-ft svg { width: 15px; height: 15px; color: var(--accent-2); flex: none; margin-top: 2px; }
#cbCv { height: clamp(178px, 22vh, 250px); }

/* strateji künyeleri (sağ kolon) */
.cbspec-t { font-family: var(--mono); font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--t3); margin-bottom: 8px; }
.cbspec { display: grid; gap: 8px; }
.cbsp {
  border: 1px solid var(--line); border-left: 3px solid var(--s3); border-radius: var(--r-s);
  background: var(--s1); padding: 10px 12px; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.cbsp:hover { background: var(--s2); }
.cbsp.on { background: var(--s2); border-color: var(--line-2); transform: translateX(2px); }
.cbsp-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--t2); }
.cbsp.on .cbsp-h { color: var(--t1); }
.cbsp-h svg { width: 15px; height: 15px; flex: none; }
.cbsp-h .cbsp-t { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--t3); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }
.cbsp-c { font-family: var(--mono); font-size: 10.5px; color: var(--t3); margin-top: 6px;
  overflow-x: auto; white-space: nowrap; }
.cbsp-b { font-size: 12.5px; color: var(--t3); line-height: 1.5; margin-top: 6px; display: none; }
.cbsp.on .cbsp-b { display: block; }
.cbsp-b .pm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.cbsp-b .pm div { border: 1px solid var(--line); border-radius: 5px; padding: 7px 9px; font-size: 12px; }
.cbsp-b .pm .p { border-color: rgba(52,211,153,.28); background: var(--good-s); color: var(--t2); }
.cbsp-b .pm .m { border-color: rgba(248,113,113,.28); background: var(--danger-s); color: var(--t2); }
.cbsp-b .pm b { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 3px; }
.cbsp-b .pm .p b { color: var(--good); }
.cbsp-b .pm .m b { color: var(--danger); }

/* --- HA TOPOLOJİLERİ (slayt 30) --- */
#haCv { height: clamp(300px, 38vh, 430px); }
.legend .lg-az { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--t2);
  border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; }

/* --- DAĞITIM STRATEJİLERİ (slayt 28) --- */
.dsdet { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-s);
  background: var(--s1); padding: 13px 15px; }
.dsdet .dh { display: flex; align-items: center; gap: 9px; }
.dsdet .dh svg { width: 17px; height: 17px; flex: none; }
.dsdet .dh h4 { font-size: 15.5px; font-weight: 800; letter-spacing: -.012em; }
.dsdet .dh .dord { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--t3); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.dsdet p { font-size: 13.2px; color: var(--t2); line-height: 1.6; margin-top: 9px; }
.dsdet .pm { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
@media (max-width: 700px){ .dsdet .pm { grid-template-columns: 1fr; } }
.dsdet .pm > div { border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px;
  font-size: 12.4px; color: var(--t3); line-height: 1.5; }
.dsdet .pm .p { border-color: rgba(52,211,153,.28); background: var(--good-s); }
.dsdet .pm .m { border-color: rgba(248,113,113,.28); background: var(--danger-s); }
.dsdet .pm b { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 4px; }
.dsdet .pm .p b { color: var(--good); }
.dsdet .pm .m b { color: var(--danger); }
.dsdet .wh { display: flex; gap: 8px; align-items: flex-start; margin-top: 11px; padding-top: 10px;
  border-top: 1px solid var(--line); font-size: 12.6px; color: var(--t3); line-height: 1.55; }
.dsdet .wh svg { width: 14px; height: 14px; color: var(--accent-2); flex: none; margin-top: 2px; }
.mtable tbody tr.pickable { cursor: pointer; }
.mtable tbody tr.pickable:hover { background: var(--s2); }
.mtable tbody tr.pickable.on { background: var(--s2); box-shadow: inset 3px 0 0 var(--accent); }
#dsCv { height: clamp(280px, 34vh, 380px); }

/* --- DEKORATÖR ZİNCİRİ (slayt 25) --- */
.dcmods { display: flex; flex-wrap: wrap; gap: 7px; }
.dcmod {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 99px; background: var(--s1);
  padding: 5px 11px 5px 8px; font-size: 12px; color: var(--t3);
  font-family: inherit; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.dcmod:hover { background: var(--s2); }
.dcmod .sw { width: 9px; height: 9px; border-radius: 50%; background: var(--s3); flex: none;
  transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.dcmod .ord { font-family: var(--mono); font-size: 9px; color: var(--t3); opacity: .75; }
.dcmod.on { color: var(--t1); border-color: var(--line-2); background: var(--s2); }
.dcmod.off { text-decoration: line-through; text-decoration-color: var(--t3); opacity: .62; }

.dcdetail { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--s1); padding: 13px 15px; }
.dcdetail .dh { display: flex; align-items: center; gap: 9px; }
.dcdetail .dh svg { width: 17px; height: 17px; flex: none; }
.dcdetail .dh h4 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.dcdetail .dh .dord { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--t3); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.dcdetail p { font-size: 13px; color: var(--t3); line-height: 1.55; margin-top: 8px; }
.dcdetail .dkv { display: grid; gap: 6px; margin-top: 10px; }
.dcdetail .dkv > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 12.3px;
  color: var(--t3); line-height: 1.5; }
.dcdetail .dkv b { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--t3); padding-top: 2px; }
.dcdetail .dyml { font-family: var(--mono); font-size: 11px; color: var(--accent-2); margin-top: 10px;
  background: #06080c; border: 1px solid var(--line); border-radius: 5px; padding: 8px 10px;
  overflow-x: auto; white-space: pre; }

/* --- DURUM MAKİNESİ (slayt 25) --- */
.fsm { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--s1); padding: 12px 14px 10px; }
.fsm svg { width: 100%; height: auto; display: block; }
.fsm-band { font-family: var(--mono); font-size: 9px; letter-spacing: .13em; fill: var(--t3); }
.fsm-band.op { fill: var(--violet); opacity: .78; }
.fsm-sep { stroke: var(--line); stroke-width: 1; }
.fsm-edge { fill: none; stroke-width: 1.7; marker-end: url(#fsmArrow); opacity: .5;
  stroke-dasharray: 6 5; transition: opacity .3s var(--ease), stroke-width .3s var(--ease); }
.fsm-edge.e-good { stroke: var(--good); color: var(--good); }
.fsm-edge.e-warn { stroke: var(--warn); color: var(--warn); }
.fsm-edge.e-bad { stroke: var(--danger); color: var(--danger); }
.fsm-edge.e-op { stroke: var(--violet); color: var(--violet); stroke-dasharray: 2 6; opacity: .45; }
.fsm-edge.live { opacity: 1; stroke-width: 2.4; animation: fsmflow 1.1s linear infinite; }
@keyframes fsmflow { to { stroke-dashoffset: -22; } }
.fsm-lbl { font-family: var(--mono); font-size: 9.5px; fill: var(--t3); }
.fsm-lbl.e-good-t { fill: var(--good); opacity: .8; }
.fsm-lbl.e-warn-t { fill: var(--warn); opacity: .8; }
.fsm-lbl.e-bad-t { fill: var(--danger); opacity: .8; }
.fsm-node { cursor: pointer; }
.fsm-node rect { fill: var(--s2); stroke: var(--line-2); stroke-width: 1.4;
  transition: fill .25s var(--ease), stroke .25s var(--ease), stroke-width .25s var(--ease); }
.fsm-node .fsm-n { font-family: var(--mono); font-size: 14px; font-weight: 700; fill: var(--t2);
  letter-spacing: .04em; transition: fill .25s var(--ease); }
.fsm-node .fsm-d { font-size: 10.5px; fill: var(--t3); }
.fsm-node:hover rect { fill: var(--s3); }
.fsm-node:focus-visible rect { outline: none; stroke: var(--accent); stroke-width: 2; }
.fsm-node.n-good.on rect { fill: var(--good-s); stroke: var(--good); stroke-width: 2.2; }
.fsm-node.n-bad.on  rect { fill: var(--danger-s); stroke: var(--danger); stroke-width: 2.2; }
.fsm-node.n-warn.on rect { fill: var(--warn-s); stroke: var(--warn); stroke-width: 2.2; }
.fsm-node.n-op.on   rect { fill: var(--violet-s); stroke: var(--violet); stroke-width: 2.2; }
.fsm-node.n-good.on .fsm-n { fill: var(--good); }
.fsm-node.n-bad.on  .fsm-n { fill: var(--danger); }
.fsm-node.n-warn.on .fsm-n { fill: var(--warn); }
.fsm-node.n-op.on   .fsm-n { fill: var(--violet); }
.fsm-hint { display: flex; align-items: center; gap: 7px; margin-top: 6px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--t3); }
.fsm-hint svg { width: 13px; height: 13px; color: var(--accent-2); }

.fsm-panel { display: grid; gap: 11px; align-content: start; }
.fsm-panel .fp-hd { display: flex; align-items: center; gap: 10px; }
.fsm-panel .fp-hd .fpb { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em;
  padding: 5px 10px; border-radius: 6px; border: 1px solid; }
.fsm-panel .fp-hd h4 { font-size: 15.5px; font-weight: 800; letter-spacing: -.012em; }
.fsm-panel .fp-lead { font-size: 13.2px; color: var(--t2); line-height: 1.6; }
.fsm-panel .fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px){ .fsm-panel .fp-grid { grid-template-columns: 1fr; } }
.fsm-panel .fp-box { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--s1); padding: 10px 12px; }
.fsm-panel .fp-box .fk { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--t3); margin-bottom: 6px; }
.fsm-panel .fp-box .fk svg { width: 13px; height: 13px; }
.fsm-panel .fp-box p { font-size: 12.6px; color: var(--t3); line-height: 1.55; }
.fsm-panel .fp-cmd { font-family: var(--mono); font-size: 11.5px; background: #06080c; border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 10px 12px; color: var(--t2); overflow-x: auto; white-space: pre; }
.fsm-panel .fp-cmd .k { color: var(--accent-2); }
.fsm-panel .fp-cmd .v { color: var(--violet); }
.fsm-panel .fp-cmd .c2 { color: var(--t3); }
#dcCv { height: clamp(240px, 30vh, 340px); }

/* --- KATMANLI KONUMLANDIRMA HARİTASI (slayt 9) --- */
.nsmap { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m); padding: 13px 15px 15px; }
.nsmap svg { width: 100%; height: auto; display: block; }
.nsmap-modes { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.nsmode {
  display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 12px; font-weight: 600;
  background: var(--s2); border: 1px solid var(--line-2); color: var(--t3);
  border-radius: 100px; padding: 6px 13px; cursor: pointer; transition: all .22s var(--ease);
}
.nsmode svg { width: 14px; height: 14px; }
.nsmode:hover { color: var(--t1); border-color: var(--line-2); background: var(--s3); }
.nsmode.on { color: var(--t1); font-weight: 700; }
.nsmode[data-m="ns"].on { border-color: #5b8cff; background: rgba(91,140,255,.14); color: #5b8cff; }
.nsmode[data-m="ew"].on { border-color: #a78bfa; background: rgba(167,139,250,.14); color: #a78bfa; }
.nsmode[data-m="layers"].on { border-color: #38e1c8; background: rgba(56,225,200,.14); color: #38e1c8; }
.nsmap-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 11px;
  font-family: var(--mono); font-size: 10.5px; color: var(--t3); }
.nsmap-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: middle; }
/* mod geçişleri */
.nsmap g[id^="ns-"] { transition: opacity .4s var(--ease); }
.nsmap g.ns-dim { opacity: .16; }
.nsmap g.ns-hot { opacity: 1; }
/* doğu-batı akış animasyonu */
.nsmap #ns-ew path { stroke-dasharray: 5 4; }
.nsmap.ew-live #ns-ew path { animation: nsflow 1.1s linear infinite; }
@keyframes nsflow { to { stroke-dashoffset: -18; } }

/* --- ORTAK DİL PANOSU (aşama 1 kapağı) --- */
.gl-wrap { margin-top: clamp(20px,3vh,34px); display: grid; gap: 12px; }
.gl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gl-intro { font-size: 14px; color: var(--t2); line-height: 1.55; max-width: 92ch; }
.gl-board { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(250px,1fr); gap: 14px; align-items: start; }
@media (max-width: 1000px){ .gl-board { grid-template-columns: 1fr; } }
.gl-stage { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.gl-stage svg { width: 100%; height: auto; display: block; }
.gl-stage g[id^="gA-"] { transition: opacity .35s var(--ease); }
.gl-stage g.gl-dim { opacity: .22; }
#glHi { transition: opacity .3s var(--ease); }
.gl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-chip {
  font: inherit; font-size: 12px; font-family: var(--mono); color: var(--t2);
  background: var(--s2); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 12px; cursor: pointer; transition: all .22s var(--ease);
  display: inline-flex; align-items: center; gap: 7px;
}
.gl-chip i { width: 7px; height: 7px; border-radius: 50%; display: block; font-style: normal; }
.gl-chip:hover { border-color: var(--lv1); color: var(--t1); transform: translateY(-2px); }
.gl-chip.on { border-color: var(--lv1); background: var(--lv1-s); color: var(--t1); font-weight: 700; }

/* --- METRO HATTI (slayt 8) --- */
.metro { background: #06080c; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px 18px; }
.metro-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mline-key { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .07em; color: var(--t3); }
.mline-key i { width: 16px; height: 3px; border-radius: 2px; display: block; }
.metro-track { position: relative; overflow-x: auto; padding: 26px 4px 8px; }
.metro-track::-webkit-scrollbar { height: 7px; }
.metro-track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.metro-line { display: flex; align-items: flex-start; gap: 0; min-width: 900px; position: relative; }
/* hat çizgisi */
.metro-line::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 15px; height: 3px;
  background: linear-gradient(90deg, #38e1c8 0%, #38e1c8 62%, #a78bfa 70%, #a78bfa 80%, #f0a15c 88%, #f0a15c 100%);
  opacity: .35; border-radius: 3px;
}
.mstop {
  flex: 1; min-width: 54px; display: grid; justify-items: center; gap: 7px;
  cursor: pointer; position: relative; padding-top: 2px;
}
.mstop .mdot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--s1);
  border: 2.5px solid var(--line-2); display: grid; place-items: center; z-index: 2;
  transition: all .3s var(--ease);
}
.mstop .mdot svg { width: 12px; height: 12px; color: var(--t3); transition: color .3s var(--ease); }
.mstop .mn { font-family: var(--mono); font-size: 9px; color: var(--t3); }
.mstop .ml {
  font-size: 10.5px; color: var(--t3); text-align: center; line-height: 1.25;
  max-width: 78px; transition: color .3s var(--ease);
}
.mstop:hover .mdot { transform: scale(1.15); }
.mstop:hover .ml { color: var(--t2); }
.mstop[data-ph="PRE"] .mdot { border-color: rgba(56,225,200,.45); }
.mstop[data-ph="ROUTE"] .mdot { border-color: rgba(167,139,250,.45); }
.mstop[data-ph="POST"] .mdot { border-color: rgba(240,161,92,.45); }
.mstop.on .mdot { transform: scale(1.32); background: var(--s3); }
.mstop.on[data-ph="PRE"] .mdot { border-color: #38e1c8; box-shadow: 0 0 0 5px rgba(56,225,200,.14); }
.mstop.on[data-ph="ROUTE"] .mdot { border-color: #a78bfa; box-shadow: 0 0 0 5px rgba(167,139,250,.14); }
.mstop.on[data-ph="POST"] .mdot { border-color: #f0a15c; box-shadow: 0 0 0 5px rgba(240,161,92,.14); }
.mstop.on[data-ph="PRE"] .mdot svg { color: #38e1c8; }
.mstop.on[data-ph="ROUTE"] .mdot svg { color: #a78bfa; }
.mstop.on[data-ph="POST"] .mdot svg { color: #f0a15c; }
.mstop.on .ml { color: var(--t1); font-weight: 600; }
.mstop.on .mn { color: var(--t2); }
/* geçilmiş duraklar */
.mstop.passed .mdot { background: var(--s2); }
.mstop.passed .mdot svg { color: var(--t2); }
/* hareketli paket */
.metro-pkt {
  position: absolute; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  background: #38e1c8; box-shadow: 0 0 14px rgba(56,225,200,.65); z-index: 3;
  transition: left .9s cubic-bezier(.4,0,.25,1), background .3s var(--ease); opacity: 0;
}
.metro-pkt.go { opacity: 1; }

/* --- DOĞRU SIRALANMIŞ ZİNCİR (slayt 7) --- */
.rc-ctrl { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.rc-ctrl .btn { padding: 6px 9px; }
.rc-ctrl .btn.pri { padding: 6px 12px; }
.rightchain {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr);
  gap: 6px; background: #06080c; border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 14px 12px; overflow-x: auto;
}
@media (max-width: 1150px){ .rightchain { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px){ .rightchain { grid-template-columns: repeat(2,1fr); } }
.rc-step {
  position: relative; display: grid; gap: 6px; justify-items: center; text-align: center;
  padding: 10px 6px 8px; border-radius: var(--r-s); cursor: pointer;
  border: 1px solid transparent; transition: all .3s var(--ease);
}
.rc-step .rci {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--s2); border: 1px solid var(--line-2); transition: all .3s var(--ease);
}
.rc-step .rci svg { width: 18px; height: 18px; transition: color .3s var(--ease); }
.rc-step .rcn { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--t3); }
.rc-step .rct { font-size: 11.5px; font-weight: 600; color: var(--t2); line-height: 1.3; }
.rc-step .rcc { font-family: var(--mono); font-size: 8.5px; color: var(--t3); opacity: .8; }
.rc-step:hover { background: var(--s1); border-color: var(--line); }
.rc-step.hot .rci { transform: translateY(-3px) scale(1.1); box-shadow: 0 0 0 5px rgba(56,225,200,.10); }
.rc-step.hot .rct { color: var(--t1); }
.rc-step.on { background: var(--s1); border-color: var(--line-2); }
/* aşama renkleri */
.rc-step[data-ph="pre"] .rci svg { color: #38e1c8; }
.rc-step[data-ph="id"] .rci svg { color: #5b8cff; }
.rc-step[data-ph="cost"] .rci svg { color: #fbbf24; }
.rc-step[data-ph="route"] .rci svg { color: #a78bfa; }
.rc-step[data-ph="post"] .rci svg { color: #f0a15c; }
.rc-step.hot[data-ph="pre"] .rci { border-color: #38e1c8; }
.rc-step.hot[data-ph="id"] .rci { border-color: #5b8cff; }
.rc-step.hot[data-ph="cost"] .rci { border-color: #fbbf24; }
.rc-step.hot[data-ph="route"] .rci { border-color: #a78bfa; }
.rc-step.hot[data-ph="post"] .rci { border-color: #f0a15c; }
/* adımlar arası bağlantı */
.rc-step::after {
  content: ""; position: absolute; right: -6px; top: 27px; width: 6px; height: 2px;
  background: var(--line-2);
}
.rc-step:last-child::after { display: none; }
@media (max-width: 1150px){ .rc-step::after { display: none; } }

/* --- YIĞILMIŞ KIYAS KARTLARI (slayt 6) --- */
.vstack { display: grid; gap: 10px; }
.vcard {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 13px 16px; display: grid; grid-template-columns: 40px 1fr; gap: 13px;
  cursor: pointer; transition: all .28s var(--ease); position: relative; overflow: hidden;
}
.vcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: currentColor; opacity: .5; }
.vcard .vi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--s3); border: 1px solid var(--line-2); align-self: start; }
.vcard .vi svg { width: 17px; height: 17px; }
.vcard .vk { font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.vcard h4 { font-size: 15px; color: var(--t1); margin: 3px 0 5px; }
.vcard p { font-size: 13.5px; color: var(--t2); line-height: 1.55; }
.vcard p b { color: var(--t1); }
.vcard:hover { border-color: var(--line-2); background: var(--s2); }
.vcard.on { background: var(--s2); transform: translateX(4px); box-shadow: 0 10px 26px -14px rgba(0,0,0,.8); }
.vcard.on::before { opacity: 1; width: 4px; }
.vcard.on .vi { background: var(--s4); }

/* --- HİYERARŞİK KARAR AKIŞI --- */
.dflow { display: grid; gap: 0; }
.dlayer { position: relative; padding-bottom: 26px; }
.dlayer:last-child { padding-bottom: 0; }
/* katmanlar arası bağlantı çizgisi */
.dlayer::after {
  content: ""; position: absolute; left: 21px; top: 100%; width: 2px; height: 26px;
  background: linear-gradient(180deg, var(--accent), rgba(91,140,255,.15));
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.dlayer.linked::after { transform: scaleY(1); }
.dlayer:last-child::after { display: none; }
.dl-head { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; margin-bottom: 11px; }
.dl-num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  background: var(--s2); border: 1px solid var(--line-2); color: var(--t3);
  transition: all .4s var(--ease);
}
.dlayer.done .dl-num { background: var(--accent-s); border-color: var(--accent); color: var(--accent); }
.dlayer.active .dl-num { background: var(--accent); border-color: var(--accent); color: #071018; box-shadow: 0 0 0 5px rgba(91,140,255,.15); }
.dl-q { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.dl-q span { display: block; font-size: 12px; font-weight: 500; color: var(--t3); font-family: var(--mono); margin-top: 3px; }
.dl-change {
  font: inherit; font-size: 11px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line-2); color: var(--t3);
  border-radius: 6px; padding: 5px 10px; cursor: pointer; transition: all .2s var(--ease);
}
.dl-change:hover { border-color: var(--accent); color: var(--accent); }
.dl-opts { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 9px; margin-left: 54px; }
@media (max-width: 720px){ .dl-opts { margin-left: 0; } }
.dl-opt {
  text-align: left; font: inherit; font-size: 13px; color: var(--t2);
  background: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 11px 13px; cursor: pointer; line-height: 1.4; transition: all .25s var(--ease);
  display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start;
}
.dl-opt svg { width: 16px; height: 16px; color: var(--t3); margin-top: 1px; transition: color .25s var(--ease); }
.dl-opt b { display: block; font-size: 13.5px; color: var(--t1); margin-bottom: 2px; }
.dl-opt:hover { border-color: var(--accent); background: var(--s3); transform: translateX(3px); }
.dl-opt:hover svg { color: var(--accent); }
.dl-opt.sel { border-color: var(--accent); background: var(--accent-s); box-shadow: inset 3px 0 0 var(--accent); }
.dl-opt.sel svg { color: var(--accent); }
.dl-opt.dim { opacity: .34; }
.dlayer.done .dl-opts { grid-template-columns: 1fr; }
.dlayer.done .dl-opt:not(.sel) { display: none; }

/* sonuç kartı */
.dresult { margin-left: 54px; display: grid; gap: 11px; animation: rise .5s var(--ease) both; }
@media (max-width: 720px){ .dresult { margin-left: 0; } }
.dres-card {
  background: var(--s2); border: 1px solid var(--line-2); border-radius: var(--r-m);
  padding: 15px 17px; display: grid; gap: 9px; position: relative; overflow: hidden;
}
.dres-card.win { border-color: var(--accent); background: linear-gradient(135deg, rgba(91,140,255,.10), transparent 60%); }
.dres-card .drk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.dres-card h3 { font-size: 18px; }
.dres-card p { font-size: 13.5px; color: var(--t2); line-height: 1.55; }
.dres-card .medal {
  position: absolute; right: 14px; top: 12px; font-family: var(--mono); font-size: 11px;
  padding: 4px 9px; border-radius: 5px; letter-spacing: .08em;
}

/* --- ÜRÜN KONUMLANDIRMA / MATRİS --- */
.matrix { display: grid; gap: 3px; min-width: 620px; }
.mrow { display: grid; grid-template-columns: 168px repeat(6, 1fr) 62px; gap: 4px; align-items: center;
  padding: 4px 6px; border-radius: 6px; cursor: pointer; transition: background .2s var(--ease); }
.mrow:hover { background: var(--s2); }
.mrow.head { cursor: default; padding-bottom: 7px; }
.mrow.head:hover { background: transparent; }
.mrow.head span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--t3); text-align: center; line-height: 1.25; }
.mrow.head span:first-child { text-align: left; }
.mname { font-size: 13px; color: var(--t1); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mname i { display: block; font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--t3); font-weight: 400; }
.mcell { height: 26px; border-radius: 5px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700; transition: transform .2s var(--ease); }
.mrow:hover .mcell { transform: scaleY(1.12); }
.mtot { font-family: var(--mono); font-size: 12px; text-align: right; color: var(--t2); font-variant-numeric: tabular-nums; }

/* --- ÖNE ÇIKAN KART (spotlight) --- */
.spot {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  padding: clamp(16px, 3vw, 48px);
  background: rgba(4, 6, 10, .78); backdrop-filter: blur(9px);
  animation: fadein .22s var(--ease);
}
.spot[hidden] { display: none; }
.spot-card {
  width: min(1080px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--s1); border: 1px solid var(--line-2); border-radius: var(--r-l);
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.85);
  animation: spotin .35s var(--ease) both; position: relative;
}
@keyframes spotin { from { opacity: 0; transform: translateY(24px) scale(.97) } to { opacity: 1; transform: none } }
.spot-card::-webkit-scrollbar { width: 9px; }
.spot-card::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.spot-hd {
  display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: start;
  padding: clamp(18px,2.2vw,26px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--s1); z-index: 2;
}
.spot-hd .sn {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 20px; font-weight: 700; flex: none;
}
.spot-hd h3 { font-size: clamp(19px,2.2vw,26px); line-height: 1.15; }
.spot-hd .stag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 6px; }
.spot-close {
  width: 38px; height: 38px; border-radius: 11px; background: var(--s2); border: 1px solid var(--line-2);
  color: var(--t2); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); flex: none;
}
.spot-close:hover { border-color: var(--danger); color: var(--danger); background: var(--s3); transform: rotate(90deg); }
.spot-close svg { width: 18px; height: 18px; }
.spot-body { padding: clamp(18px,2.2vw,26px); display: grid; gap: 18px; }

/* etki ölçerleri */
.spot-meters { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.spot-meter { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.spot-meter .smk { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.spot-meter .smv { font-size: 15px; font-weight: 700; margin: 5px 0 7px; }
.spot-dots { display: flex; gap: 4px; }
.spot-dots i { width: 100%; height: 6px; border-radius: 3px; background: var(--s4); transition: background .5s var(--ease); }

/* bölümler */
.spot-sec { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.spot-sec .si { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--s3); border: 1px solid var(--line-2); }
.spot-sec .si svg { width: 17px; height: 17px; }
.spot-sec h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); margin-bottom: 6px; }
.spot-sec p, .spot-sec li { font-size: 14.5px; color: var(--t2); line-height: 1.6; }
.spot-sec ul { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.spot-sec li { padding-left: 16px; position: relative; }
.spot-sec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 2px; background: currentColor; opacity: .55; }

/* önce / sonra şeması */
.spot-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 720px){ .spot-ba { grid-template-columns: 1fr; } }
.ba-box { border: 1px solid var(--line); border-radius: var(--r-s); padding: 13px 15px; background: var(--s2); }
.ba-box .bt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ba-box.bad { border-color: rgba(248,113,113,.35); } .ba-box.bad .bt { color: var(--danger); }
.ba-box.good { border-color: rgba(52,211,153,.35); } .ba-box.good .bt { color: var(--good); }
.ba-box p { font-size: 13.5px; color: var(--t2); line-height: 1.55; }
.ba-arrow { display: grid; place-items: center; color: var(--t3); }
.ba-arrow svg { width: 22px; height: 22px; }

/* ilişkili kavramlar */
.spot-rel { display: flex; flex-wrap: wrap; gap: 7px; }
.spot-rel span { font-family: var(--mono); font-size: 11px; color: var(--t2);
  background: var(--s2); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; }

/* kartın tıklanabilir olduğunu belli et */
.acc-card { cursor: pointer; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.acc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -14px rgba(0,0,0,.7); }
.acc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- tıklanabilir tablo satırı --- */
.mtable tr.clickable { cursor: pointer; }
.mtable tr.clickable.sel td { background: var(--accent-s) !important; box-shadow: inset 3px 0 0 var(--accent); }

/* --- kaydırıcı kontrol paneli (Resilience4j) --- */
.ctrl { display: grid; gap: 12px; }
.ctrl-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.ctrl-item { background: var(--s2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 11px 13px; display: grid; gap: 7px; }
.ctrl-item label { display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.ctrl-item label b { font-size: 14px; color: var(--accent); letter-spacing: 0; }
.ctrl-item .cd { font-size: 11.5px; color: var(--t3); line-height: 1.4; }

/* --- terminal / komut çıktısı --- */
.term { background: #05070a; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; font-family: var(--mono); }
.term .th { padding: 8px 13px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--t3);
  letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.term .th .dots3 { display: flex; gap: 5px; }
.term .th .dots3 i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.term pre { padding: 13px 15px; font-size: 12.2px; line-height: 1.65; color: #b9c6da; overflow-x: auto; }
.term .cmd { color: var(--accent-2); } .term .out { color: #8794aa; } .term .hi { color: var(--warn); }
.term .ok2 { color: var(--good); } .term .er { color: var(--danger); }

/* --- durum rozeti --- */
.sbadge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; border: 1px solid; }
.sbadge.g { color: var(--good); border-color: rgba(52,211,153,.4); background: var(--good-s); }
.sbadge.w { color: var(--warn); border-color: rgba(251,191,36,.4); background: var(--warn-s); }
.sbadge.r { color: var(--danger); border-color: rgba(248,113,113,.4); background: var(--danger-s); }
.sbadge.a { color: var(--accent); border-color: rgba(91,140,255,.4); background: var(--accent-s); }

/* --- etkileşim ipucu --- */
.ihint {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2);
  background: var(--accent2-s); border: 1px solid rgba(56,225,200,.28); border-radius: 100px; padding: 5px 12px;
}
.ihint svg { width: 13px; height: 13px; }
.ihint.pulse::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ------------------------------------------------------------ nav / chrome - */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 20; transition: width .45s var(--ease); }
.progress-stages { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 19; display: flex; opacity: .3; }
.progress-stages i { display: block; height: 100%; }
.chrome { position: fixed; bottom: 20px; right: 24px; z-index: 22; display: flex; align-items: center; gap: 12px; }
.counter { font-family: var(--mono); font-size: 12.5px; color: var(--t3); }
.counter b { color: var(--t1); }
.nav-btn {
  width: 40px; height: 40px; border-radius: 11px; background: var(--s2); border: 1px solid var(--line-2);
  color: var(--t1); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease);
}
.nav-btn:hover { background: var(--s3); border-color: var(--accent); transform: translateY(-1px); }
.nav-btn:active { transform: scale(.94); }
.nav-btn svg { width: 19px; height: 19px; }
/* 43 nokta + ipucu şeridi çakışmasın: noktalar dar, ipucu yalnızca geniş ekranda */
.dots { position: fixed; bottom: 24px; left: 24px; z-index: 22; display: flex; gap: 4px; max-width: 38vw; flex-wrap: wrap; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: all .25s var(--ease); }
.dot:hover { transform: scale(1.6); }
.dot.on { width: 20px; border-radius: 100px; }
.dot[data-l="1"].on { background: var(--lv1); } .dot[data-l="1"]:hover { background: var(--lv1); }
.dot[data-l="2"].on { background: var(--lv2); } .dot[data-l="2"]:hover { background: var(--lv2); }
.dot[data-l="3"].on { background: var(--lv3); } .dot[data-l="3"]:hover { background: var(--lv3); }
.dot[data-l="4"].on { background: var(--lv4); } .dot[data-l="4"]:hover { background: var(--lv4); }
.dot[data-l="0"].on { background: var(--t2); }

.brand-mini {
  position: fixed; top: 20px; left: 24px; z-index: 22; font-size: 12px; color: var(--t3);
  font-weight: 600; letter-spacing: .05em; display: flex; align-items: center; gap: 9px;
}
.brand-mini .dotlogo { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.brand-mini .sep { color: var(--line-2); }
.brand-mini .stagename { transition: color .4s var(--ease); font-weight: 700; }

.hint {
  position: fixed; bottom: 24px; right: 250px; z-index: 21; font-size: 11.5px;
  color: var(--t3); display: flex; gap: 7px; align-items: center; opacity: .6;
}
@media (max-width: 1420px){ .hint { display: none; } }
.hint kbd { font-family: var(--mono); font-size: 10.5px; background: var(--s2); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; }

/* genel bakış paneli — [hidden] yazar stilinden ÖNCE gelmeli, yoksa
   display:flex UA'nın [hidden]{display:none} kuralını ezer ve panel hep açık kalır. */
.overview[hidden] { display: none; }
/* Aynı tuzak her display:flex/grid bileşeninde tekrar eder (ör. .note). Öznitelik
   anlamını korumak için genel kural: hidden ise gizli — istisnasız. */
[hidden] { display: none !important; }
.overview {
  position: fixed; inset: 0; z-index: 40; background: rgba(6,8,12,.95); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: clamp(20px,3vw,44px);
  animation: fadein .25s var(--ease);
}
.ov-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.ov-title { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.ov-title svg { width: 19px; height: 19px; color: var(--accent-2); }
.ov-title span { color: var(--t3); font-size: 13px; font-family: var(--mono); }
.ov-close { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; background: var(--s2);
  border: 1px solid var(--line-2); color: var(--t2); border-radius: 9px; padding: 8px 13px; cursor: pointer; }
.ov-close:hover { border-color: var(--accent); color: var(--t1); }
.ov-close svg { width: 15px; height: 15px; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 10px; overflow-y: auto; padding-right: 6px; }
.ov-grid::-webkit-scrollbar { width: 9px; }
.ov-grid::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.ov-card {
  display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: center; text-align: left;
  font: inherit; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 12px 14px; cursor: pointer; color: var(--t2); transition: all .2s var(--ease); position: relative; overflow: hidden;
}
.ov-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }
.ov-card[data-l="1"]::before { background: var(--lv1); } .ov-card[data-l="2"]::before { background: var(--lv2); }
.ov-card[data-l="3"]::before { background: var(--lv3); } .ov-card[data-l="4"]::before { background: var(--lv4); }
.ov-card:hover { background: var(--s2); border-color: var(--line-2); color: var(--t1); transform: translateY(-2px); }
.ov-card.cur { border-color: var(--accent); background: var(--accent-s); color: var(--t1); }
.ov-num { font-family: var(--mono); font-size: 11px; color: var(--t3); }
.ov-name { font-size: 13.5px; line-height: 1.35; }

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 820px){
  .slide { padding: 22px 18px 84px; }
  .chrome { bottom: 16px; right: 14px; gap: 8px; }
  .dots { bottom: 18px; left: 14px; max-width: 40vw; }
  .nav-btn { width: 36px; height: 36px; }
}

/* ------------------------------------------------------- azaltılmış hareket */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .slide.active .reveal, .slide.active .r2 > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   DUYARLI KATMAN — cihaz sınıfları
   büyük ekran PC → küçük ekran PC / dizüstü → tablet (yatay/dikey) → telefon

   Bu blok, dosyanın üstündeki dağınık media query'lerin üzerine yazar ve
   sunumu portföy sitesindeki kırılım noktalarıyla (1720 / 1280 / 1024 / 820 /
   620 / 400 + kısa yükseklik) hizalar. Slaytlar zaten kendi içinde
   kaydırılabilir (.slide { overflow-y:auto }), bu kurallar içeriği o
   kaydırmadan önce mümkün olduğunca sığdırır.
   ========================================================================== */

/* Klavye ipucu beş tuş grubundan oluşuyor; alt sağdaki sayaç + dört düğmelik
   kontrol kümesine binmemesi için daha içeriden başlar. */
@media (min-width: 1421px) { .hint { right: 300px; } }

/* --------------------------------------------------------------------------
   1) BÜYÜK EKRAN PC (≥1720px) — içerik ortalanır, ölçü büyür
   Ultra geniş monitörde satırların ekran boyunca yayılıp okunmaz hâle
   gelmemesi için içerik 1600px'te kilitlenir ve yatayda ortalanır.
   -------------------------------------------------------------------------- */
@media (min-width: 1720px) {
  .slide {
    padding-left: max(120px, calc((100vw - 1600px) / 2));
    padding-right: max(120px, calc((100vw - 1600px) / 2));
    padding-top: clamp(48px, 5vh, 96px);
    padding-bottom: clamp(88px, 9vh, 112px);
  }
  /* kapak görseli de içerik sütunuyla hizalansın, ekranın ucuna kaçmasın */
  .cover-art { right: max(24px, calc((100vw - 1640px) / 2)); width: min(660px, 40vw); }

  .brand-mini { top: 28px; left: 34px; font-size: 13px; }
  .chrome { bottom: 28px; right: 34px; }
  .dots { bottom: 32px; left: 34px; }
  .hint { bottom: 32px; right: 315px; }

  /* tek satırlık uzun sahneler okunur genişlikte kalsın */
  .rings { max-width: 520px; }
  .lvstop .lvdesc { max-width: 28ch; }
}

/* Çok geniş (≥2200px): tipografiyi bir tık daha büyüt */
@media (min-width: 2200px) {
  .slide { font-size: 17px; }
  .card p, .card ul li, .tech-body, .spot-sec p, .spot-sec li { font-size: 15.5px; }
  .slide-head .sub { font-size: 20px; }
  .mtable { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   2) KÜÇÜK EKRAN PC / DİZÜSTÜ (≤1280px)
   13–14" dizüstülerde dikey alan dardır: yatay boşluk ve çok kolonlu
   ızgaralar sıkılaştırılır, hiçbir şey tek kolona düşmez.
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .slide { padding: clamp(20px, 3.6vw, 56px) clamp(18px, 5vw, 72px) clamp(76px, 8vh, 92px); }
  .slide-head { margin-bottom: clamp(16px, 2.4vh, 30px); }
  .grid { gap: clamp(11px, 1.2vw, 16px); }
  .card { padding: clamp(14px, 1.4vw, 20px); }

  .g4, .g5 { grid-template-columns: repeat(3, 1fr); }

  /* yan panelli düzenler: sol ray biraz daralır, sahne genişler */
  .chain { grid-template-columns: minmax(200px, 262px) 1fr; }
  .arena { grid-template-columns: 168px minmax(0, 1fr); }
  .arena-top { grid-template-columns: minmax(0, 1fr) 250px; }
  .gl-board { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); }

  .cover-art { width: min(520px, 42vw); opacity: .82; }

  /* Metro hattı: 16 durak 900px'e sıkıştığında durak genişliği (56px) etiket
     genişliğinin (78px) altına düşer ve komşu etiketler üst üste biner.
     Hat, etiket bütçesine göre genişletilir — fazlası zaten yatay kayar. */
  .metro-line { min-width: 1120px; }
  .mstop .ml { max-width: 70px; }

  /* 46 nokta + klavye ipucu birbirine girmesin */
  .dots { max-width: 32vw; }
}

/* --------------------------------------------------------------------------
   3) TABLET — YATAY / küçük dizüstü (≤1024px)
   Yan yana duran "sahne + açıklama" düzenleri tek kolona iner; dekoratif
   öğeler kaldırılır, alt gezinme dokunmatiğe devredilir.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* üst boşluk sabit .brand-mini şeridini temizleyecek kadar */
  .slide { padding: 50px clamp(16px, 4vw, 44px) 84px; }

  .g3, .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .two, .two.w60, .two.w40 { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }

  /* filtre zinciri: liste üste, ayrıntı alta */
  .chain { grid-template-columns: 1fr; }
  .chain-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 26vh; }
  .chain-detail { min-height: 0; }

  /* kıyaslama arenası: ürün rayı yatay şeride döner */
  .arena { grid-template-columns: 1fr; }
  .arena-list {
    border-right: 0; border-bottom: 1px solid var(--line);
    max-height: 150px; display: flex; overflow-x: auto;
  }
  .arena-top { grid-template-columns: 1fr; }

  /* ölçer şeridi: auto-fit tablette altı dar sütuna bölünüp etiketleri
     üç satıra kırıyor — üç sütunda okunur kalıyor */
  .meters { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

  /* ortak dil panosu, metro ayrıntısı, devre kesici kaydırıcıları */
  .gl-board { grid-template-columns: 1fr; }
  .cd-grid { grid-template-columns: 1fr; }
  .cb-sliders { grid-template-columns: 1fr; }
  .cbsp-b .pm, .dsdet .pm { grid-template-columns: 1fr 1fr; }

  /* dekoratör zinciri: tek satırdan üç kolonlu ızgaraya */
  .rightchain { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); }
  .rc-step::after { display: none; }

  /* dekoratif */
  .cover-art { display: none; }
  .cover .tech-strip { gap: 16px; margin-top: 26px; }

  /* alt kontroller: 46 noktalık şerit tablette içeriğin üstüne binmesin —
     gezinme dokunmatik kaydırma, oklar ve "tüm slaytlar" paneliyle yapılır */
  .hint { display: none; }
  .dots { display: none; }
  .chrome { bottom: 20px; right: 22px; }
}

/* --------------------------------------------------------------------------
   4) TABLET — DİKEY (≤820px)
   Tek kolon ağırlıklı; tipografi ve iç boşluklar bir kademe küçülür.
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .slide { padding: 46px 20px 82px; }
  .slide-head { margin-bottom: 16px; }
  .slide-head .sub { font-size: 15.5px; }
  .lead { font-size: 16.5px; }
  .kicker { font-size: 12px; padding: 5px 11px; }

  .g2, .g3, .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* seviye rayı: dört durak iki satıra iner, ray çizgisi anlamını yitirdiği
     için gizlenir ve durakların negatif üst payı sıfırlanır */
  .lvrail-track { display: none; }
  .lvrail-stops { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; margin-top: 14px; }
  .lvstop .lvdesc { max-width: 32ch; }

  /* metro durağı künyesi: maliyet sütunu ve başlık ızgarası */
  .cd-head { grid-template-columns: auto 1fr; }
  .cd-cost { display: none; }

  /* JWT / traceparent satırları, karar akışı girintileri */
  .jrow { grid-template-columns: 1fr; gap: 6px; }
  .dl-opts { margin-left: 0; }
  .dresult { margin-left: 0; }

  /* durum makinesi paneli ve spotlight önce/sonra */
  .fsm-panel .fp-grid { grid-template-columns: 1fr; }
  .spot-ba { grid-template-columns: 1fr; }

  /* kıyaslama tablosu satırları sıkışmasın */
  .cbcmp-head, .cbrow { grid-template-columns: 1.4fr .9fr .75fr .75fr .75fr .85fr; gap: 6px; padding: 8px 10px; }

  .ov-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* --------------------------------------------------------------------------
   5) TELEFON (≤620px)
   Her şey tek kolon; alt kontrol çubuğu ortalanmış cam bir hap olur
   (sitedeki .controls davranışının aynısı), noktalar gizlenir.
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .slide { padding: 18px 15px 74px; }
  .slide-head { margin-bottom: 14px; }
  .slide-head h2 { margin-top: 8px; }
  .slide-head .sub { font-size: 15px; margin-top: 8px; }
  .lead { font-size: 15.5px; }
  .kicker { font-size: 11px; letter-spacing: .1em; }

  /* tüm çok kolonlu ızgaralar tek kolona */
  .g2, .g3, .g4, .g5, .two, .two.w60, .two.w40,
  .stats, .meters, .dash, .anat-cards, .ctrl-grid, .spot-meters,
  .dq .opts, .cd-grid, .cb-states, .cb-sliders, .arena-vs,
  .cbsp-b .pm, .dsdet .pm, .fsm-panel .fp-grid,
  .stage-grid, .gl-board, .chain, .arena, .arena-top, .spot-ba,
  .lvrail-stops, .jrow { grid-template-columns: 1fr !important; }
  .rightchain { grid-template-columns: repeat(2, 1fr); }

  /* kart & metin yoğunluğu */
  .card { padding: 15px; }
  .card p { font-size: 14px; }
  .card ul li { font-size: 13.5px; }
  .card .ico { width: 34px; height: 34px; margin-bottom: 11px; }
  .stat { padding: 14px 15px; }
  .stat .l { font-size: 12.5px; }
  .note { padding: 13px 14px; gap: 10px; }
  .spot-body { gap: 15px; }
  .spot-sec { grid-template-columns: 34px 1fr; gap: 11px; }
  .spot-hd { grid-template-columns: auto 1fr auto; gap: 11px; }
  .spot-hd .sn { width: 44px; height: 44px; font-size: 17px; }
  .spot-card { max-height: 92vh; }

  /* etiketler / düğmeler dokunmatiğe uygun */
  .pills { gap: 8px; }
  .pill { font-size: 12px; padding: 7px 12px; }
  .btn { font-size: 11.5px; padding: 9px 13px; }
  .nsmode { font-size: 11.5px; padding: 7px 12px; }
  .tech-tabs button { font-size: 11.5px; padding: 10px 13px; }
  .cd-nav .btn, .cd-jump { font-size: 11.5px; }

  /* geniş sahneler kendi içinde yatay kaysın
     (flex-shrink:0 olmadan overflow'lu kutu sıfır yüksekliğe çöker) */
  .cbcmp, .gantt, .metro-track, .anat, .tbl-wrap { overflow-x: auto; flex-shrink: 0; }
  .cbcmp-head, .cbrow { min-width: 540px; }
  .gantt-row, .gantt-weeks { grid-template-columns: 96px minmax(0, 1fr); font-size: 11.5px; }
  .anat-line { font-size: 12px; }
  .mrow { grid-template-columns: 132px repeat(6, 1fr) 52px; }
  .mname { font-size: 12px; }

  /* zincir listesi telefonda kısa kalsın, ayrıntı hemen görünsün */
  .chain-list { max-height: 30vh; }
  .arena-list { max-height: 118px; }
  .chain-item { font-size: 12.2px; padding: 9px 10px 9px 13px; }

  /* seviye rayı tek kolon: durak açıklaması tam genişlik */
  .lvrail-stops { gap: 18px; }
  .lvstop .lvdesc { max-width: none; }

  /* --- alt kontroller: ortalanmış cam hap --- */
  .dots { display: none; }
  .hint { display: none; }
  /* Telefonda dikey alan kıymetli; başlık zaten site görüntüleyicisinin
     üst çubuğunda duruyor — sabit marka şeridini kaldırıp yeri içeriğe veriyoruz. */
  .brand-mini { display: none; }
  .chrome {
    left: 50%; right: auto; bottom: 12px;
    transform: translateX(-50%);
    gap: 8px; padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 21, 37, .82);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 34px -16px rgba(0, 0, 0, .9);
  }
  .nav-btn { width: 38px; height: 38px; border-radius: 11px; }
  .nav-btn svg { width: 18px; height: 18px; }
  .counter { font-size: 12.5px; }

  /* genel bakış paneli */
  .overview { padding: 16px; }
  .ov-grid { grid-template-columns: 1fr; }
  .ov-head { margin-bottom: 14px; }
  .ov-title { font-size: 16px; }
  .ov-close { font-size: 13px; padding: 7px 13px; }
}

/* --------------------------------------------------------------------------
   6) KÜÇÜK TELEFON (≤400px)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .slide { padding: 16px 12px 72px; }
  h1 { font-size: clamp(28px, 8.5vw, 38px); }
  h2 { font-size: clamp(22px, 7vw, 30px); }
  .rightchain { grid-template-columns: 1fr; }
  .cover .tech-strip { gap: 12px; margin-top: 20px; }
  .cover .tech-strip .t { font-size: 13px; }
  .chrome { gap: 6px; padding: 5px 8px; }
  .nav-btn { width: 36px; height: 36px; }
  .counter { font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   7) KISA YÜKSEKLİK (yatay telefon / alçak pencere)
   Dikey boşlukları kısar, içerik üstten başlar.
   -------------------------------------------------------------------------- */
@media (max-height: 560px) {
  .slide { padding-top: 16px; padding-bottom: 58px; justify-content: flex-start; }
  .slide-head { margin-bottom: 12px; }
  .slide-head h2 { margin-top: 6px; }
  .brand-mini { display: none; }
  .chrome { bottom: 10px; }
  .dots { display: none; }
  .hint { display: none; }
  .cover-art { display: none; }
  .cover .tech-strip { margin-top: 16px; gap: 14px; }
  .cover .badge-row { margin-top: 14px; }
  .chain-list { max-height: 34vh; }
  .stage-list { margin-top: 14px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  h1 { font-size: clamp(26px, 5vw, 40px); }
  h2 { font-size: clamp(21px, 3.4vw, 30px); }
  .lvrail-track { margin-top: 22px; }
}

/* --------------------------------------------------------------------------
   8) DOKUNMATİK CİHAZLAR
   Hover'a bağlı efektleri kapatır, dokunma hedeflerini büyütür.
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .card:hover { transform: none; }
  .nav-btn:hover { transform: none; }
  .mrow:hover .mcell { transform: none; }
  .dot:hover { transform: none; }
  .ov-card:hover { transform: none; }
  .btn:hover { transform: none; }
  .nav-btn, .btn, .pill, .nsmode, .ov-close, .spot-close,
  .chain-item, .arena-item, .mrow, .tech-tabs button { -webkit-tap-highlight-color: transparent; }
}
