/* =========================================================
   İşler Yazılım — "Kaynak" tasarımı
   Site bir kaynak dosyası gibi davranır: başlık derlenir,
   süreç git geçmişidir, demo gerçek bir terminaldir.
   ========================================================= */

:root {
  --bg: #0c0c0b;
  --bg-2: #111110;
  --surface: #161614;
  --surface-2: #1c1c19;
  --line: #262623;
  --line-2: #363631;
  --text: #eeede7;
  --muted: #8f8e87;
  --faint: #5c5b56;
  --accent: #ff6b35;
  --accent-soft: rgba(255, 107, 53, .12);
  --accent-ink: #160800;
  --ok: #8be08e;
  --str: #b8e08c;
  --kw: #c7a8ff;
  --num: #ffb86b;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);

  --sans: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, serif;

  --wrap: 1200px;
  --gutter: 24px;
  --bar-h: 28px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f2ed;
  --bg-2: #ebe9e2;
  --surface: #fbfaf6;
  --surface-2: #f1efe8;
  --line: #dddbd2;
  --line-2: #c9c6bb;
  --text: #151513;
  --muted: #64625b;
  --faint: #9c998f;
  --accent: #e4511c;
  --accent-soft: rgba(228, 81, 28, .1);
  --accent-ink: #ffffff;
  --ok: #2f8a3a;
  --str: #3e7d1f;
  --kw: #6a3ec4;
  --num: #b05c00;
  --shadow: 0 30px 70px -35px rgba(40, 30, 10, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gökyüzü — gün doğumu/batımında ufuktan yükselen ışıltı (değerler theme.js'ten) */
.sky {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: calc(var(--glow, 0) * .55);
  background:
    radial-gradient(120% 55% at 50% 108%, var(--glow-1, #ff7a3d) 0%, transparent 62%),
    radial-gradient(70% 40% at 85% 100%, var(--glow-2, #ff3d7f) 0%, transparent 70%),
    radial-gradient(90% 35% at 12% 0%, var(--glow-2, #ff3d7f) 0%, transparent 70%);
  mix-blend-mode: soft-light;
  transition: opacity 1.2s ease;
}
:root[data-theme="dark"] .sky { mix-blend-mode: screen; opacity: calc(var(--glow, 0) * .32); }

/* Açık ↔ koyu tarafa geçişte her şey birlikte, yumuşakça döner */
.theme-flip *, .theme-flip *::before, .theme-flip *::after, .theme-flip body {
  transition: background-color 1.2s ease, color 1.2s ease, border-color 1.2s ease, fill 1.2s ease,
              opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1) !important;
}

/* Kenar kılavuzları — çizim masası hissi */
.guides {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  max-width: var(--wrap); margin: 0 auto;
  border-left: 1px dashed var(--line); border-right: 1px dashed var(--line);
  opacity: .7;
}
main, .topbar, footer { position: relative; z-index: 1; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500; letter-spacing: -.01em;
  border-radius: 999px; border: 1px solid var(--line-2);
  white-space: nowrap; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-accent:hover { border-color: var(--accent); filter: brightness(1.08); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 14.5px; }

.link-u {
  font-family: var(--mono); font-size: 13.5px; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s ease, color .2s ease; padding-bottom: 2px;
}
.link-u:hover { color: var(--text); background-size: 100% 1px; }

kbd, .kbd {
  font-family: var(--mono); font-size: 11px; line-height: 1;
  padding: 3px 6px; border-radius: 5px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--muted);
}

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--text); color: var(--bg); border-radius: 7px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: -.08em;
  transition: transform .4s cubic-bezier(.5, -.4, .3, 1.4), background-color .2s;
}
.brand:hover .brand-mark { transform: rotate(-90deg); background: var(--accent); color: var(--accent-ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.brand-text small { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .16em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s;
}
.nav a i { font-style: normal; color: var(--faint); margin-right: 4px; font-size: 11px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); }
.nav a.active i { color: var(--accent); }

.top-actions { display: flex; align-items: center; gap: 10px; }
.cmd-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  transition: border-color .15s, color .15s;
}
.cmd-btn:hover { border-color: var(--text); color: var(--text); }
.cmd-btn .kbd { border-radius: 999px; padding: 4px 8px; }

/* ---------- Bölüm iskeleti ---------- */
.sec { padding: 140px 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.sec-head { position: sticky; top: 110px; }
.sec-idx {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 22px;
}
.sec-idx b { color: var(--accent); font-weight: 500; }
.sec-idx::after { content: ''; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 14px; }
.kicker::before { content: '// '; color: var(--faint); }
.sec-head h2, .h2 {
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 600; margin: 0 0 18px;
}
.sec-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
em.s, .h2 em, h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent); letter-spacing: -.01em;
}

/* ---------- Kaydırınca beliren ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { padding: 92px 0 0; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 40px;
}
.hero-meta .path { color: var(--faint); }
.hero-meta .path b { color: var(--ok); font-weight: 400; }
.hero-meta .cmd { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--text);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-size: clamp(46px, 8.6vw, 124px);
  line-height: .93; letter-spacing: -.055em; font-weight: 600;
  margin: 0; max-width: 11.5em; text-wrap: balance;
}
.hero-title em { letter-spacing: -.02em; font-size: 1.04em; padding-right: .04em; }
.hero-title .glyph { color: var(--faint); }

.hero-src {
  display: none; margin: 0; padding: 26px 28px;
  font-family: var(--mono); font-size: clamp(14px, 1.7vw, 19px); line-height: 1.75;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  white-space: pre-wrap; overflow-wrap: anywhere; max-width: 900px;
}
.hero.show-src .hero-title { display: none; }
.hero.show-src .hero-src { display: block; }

.tok-tag { color: var(--kw); }
.tok-attr { color: var(--num); }
.tok-str { color: var(--str); }
.tok-com { color: var(--faint); font-style: italic; }
.tok-fn { color: var(--accent); }

.hero-foot {
  display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between;
  align-items: end; gap: 32px; margin-top: 46px;
}
.hero-foot p { margin: 0; color: var(--muted); font-size: 17.5px; line-height: 1.55; }
.ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.compile-log {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 56px; padding-top: 18px; border-top: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 12.5px; color: var(--faint);
}
.compile-log .okk { color: var(--ok); }
.src-toggle {
  margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; transition: color .15s, border-color .15s;
}
.src-toggle:hover, .src-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

/* Ekran görüntüsü penceresi */
.shot-stage { perspective: 1800px; margin-top: 80px; }
.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); position: relative;
}
.window-bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--surface-2);
}
.window-bar .lights { display: flex; gap: 6px; }
.window-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-bar .lights i:first-child { background: var(--accent); }
.window-bar .title { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-bar .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.window-body { position: relative; background: #0f1830; }
.window-body img { width: 100%; height: auto; }
.window-body .ph { aspect-ratio: 16/10; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 13px; }

.hero-shot {
  transform-origin: 50% 0;
  transform: rotateX(calc(16deg * (1 - var(--p, 1)))) scale(calc(.93 + .07 * var(--p, 1)));
  will-change: transform;
}

/* Görsel üzerindeki numaralı işaretler */
.pin {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pin::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--accent); animation: ring 2.4s infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.pin.hot { transform: scale(1.25); box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 30%, transparent); }

.legend { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.legend li {
  list-style: none; display: flex; gap: 14px; padding: 18px 20px 0 0; cursor: default;
  border-top: 1px solid var(--line); transition: border-color .2s ease;
}
.legend { padding: 0; }
.legend .n { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
.legend b { display: block; font-weight: 600; font-size: 15px; }
.legend span { color: var(--muted); font-size: 13.5px; }
.legend li.hot { border-top-color: var(--accent); }

/* ---------- Git geçmişi ---------- */
.gitlog { list-style: none; margin: 0; padding: 0; position: relative; }
.gitlog::before {
  content: ''; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--accent), var(--line-2) 30%, var(--line-2));
}
.commit { position: relative; padding: 0 0 56px 48px; }
.commit:last-child { padding-bottom: 0; }
.commit .node {
  position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2); transition: border-color .3s, background-color .3s;
}
.commit:first-child .node, .commit.in .node { border-color: var(--accent); }
.commit:first-child .node { background: var(--accent); }
.c-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 10px; }
.c-meta .hash { color: var(--num); }
.c-meta .ref { color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 1px 8px; border-radius: 999px; }
.commit h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; font-weight: 600; margin: 0 0 10px; line-height: 1.15; }
.commit h3 .pre { font-family: var(--mono); font-size: .55em; color: var(--muted); font-weight: 400; letter-spacing: 0; vertical-align: .25em; margin-right: 6px; }
.commit p { color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Ürünler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; font-family: var(--mono); font-size: 13px; }
.filters .lbl { color: var(--faint); align-self: center; margin-right: 6px; }
.filter-tab {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); transition: all .15s;
}
.filter-tab:hover { color: var(--text); border-color: var(--text); }
.filter-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.pkgs { display: grid; gap: 28px; }
.pkg {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2);
  transition: border-color .25s ease, background-color .25s ease;
}
.pkg:hover { border-color: var(--line-2); background: var(--surface); }
.pkg:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.pkg:nth-child(even) .pkg-media { order: 2; }
.pkg-media { display: block; }
.pkg-media .window { border-radius: 12px; box-shadow: none; }
.pkg-media .window-body img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pkg:hover .pkg-media .window-body img { transform: scale(1.03); }
.pkg-path { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pkg-path b { color: var(--muted); font-weight: 400; }
.star { color: var(--accent-ink); background: var(--accent); padding: 2px 9px; border-radius: 999px; font-size: 11px; }
.pkg h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.035em; line-height: 1.05; font-weight: 600; margin: 0 0 14px; }
.pkg > div > p { color: var(--muted); margin: 0 0 26px; }
.manifest { margin: 0 0 28px; font-family: var(--mono); font-size: 13px; border-top: 1px solid var(--line); }
.manifest div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.manifest dt { color: var(--faint); }
.manifest dd { margin: 0; color: var(--text); }
.manifest .ok { color: var(--ok); }
.more-row { margin-top: 44px; display: flex; justify-content: flex-end; }

/* ---------- Kaydırmalı ürün slaytı (ana sayfa) ---------- */
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 2px 8px; margin: -4px -2px 0;
  position: relative; /* kartların offsetLeft'i şeride göre ölçülsün */
  cursor: grab;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.car-track.dragging a { pointer-events: none; }
.car-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 20px; }
.car-track .pkg {
  scroll-snap-align: start;
  transition: opacity .4s ease, border-color .25s ease, background-color .25s ease;
}
/* Slaytta yerleşim her kartta aynı olsun (alt alta listedeki zikzak burada yok) */
.car-track .pkg:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.car-track .pkg:nth-child(even) .pkg-media { order: 0; }
.car-track .pkg:not(.is-active) { opacity: .45; }
.car-track .pkg:not(.is-active):hover { opacity: .75; }

.car-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.car-count { font-size: 13px; color: var(--faint); min-width: 64px; }
.car-count b { color: var(--text); font-weight: 500; }
.car-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-right: 8px; }
.car-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.car-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 15px; color: var(--text);
  transition: border-color .15s, background-color .15s, color .15s, opacity .15s;
}
.car-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-ctrl .btn { margin-left: 8px; }

/* Slayt sayfanın en üstünde: üst boşluk dar, başlık kısa, altında çizgi */
.sec.sec-top { padding: 56px 0 96px; }
.sec-top .sec-head { margin-bottom: 36px !important; }
.sec-top + .hero { border-top: 1px solid var(--line); }

/* ---------- Terminal ---------- */
.term {
  background: #0a0a09; color: #e8e7e0; border: 1px solid var(--line-2); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); font-family: var(--mono); font-size: 14px;
}
:root[data-theme="light"] .term { border-color: #2a2a26; }
.term .window-bar { background: #121211; border-color: #232320; color: #8f8e87; }
.term .window-bar .lights i { background: #34342f; }
.term .window-bar .lights i:first-child { background: #ff6b35; }
.term-out { padding: 22px 22px 6px; min-height: 230px; max-height: 340px; overflow-y: auto; line-height: 1.85; }
.term-out .l { white-space: pre-wrap; overflow-wrap: anywhere; }
.term-out .p { color: #6e6d67; }
.term-out .g { color: #8be08e; }
.term-out .a { color: #ff6b35; }
.term-out .m { color: #8f8e87; }
.term-out .k { color: #c7a8ff; }
.term-in { display: flex; align-items: center; gap: 10px; padding: 8px 22px 18px; }
.term-in label { color: #ff6b35; }
.term-in input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #eeede7;
  font-family: var(--mono); font-size: 14px; caret-color: #ff6b35;
}
.term-in input::placeholder { color: #55544f; }
.term-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid #232320; }
.term-chips button {
  font-family: var(--mono); font-size: 12.5px; color: #b9b8b0;
  padding: 6px 12px; border-radius: 8px; border: 1px solid #2c2c28; background: #121211;
  transition: border-color .15s, color .15s;
}
.term-chips button::before { content: '$ '; color: #5c5b56; }
.term-chips button:hover { border-color: #ff6b35; color: #fff; }

/* ---------- Yorum (kod incelemesi) ---------- */
.reviews { display: grid; gap: 24px; }
.review { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.review-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 22px;
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  background: var(--surface);
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 12px;
}
.review-head b { color: var(--text); font-weight: 500; }
.approved { margin-left: auto; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); padding: 2px 10px; border-radius: 999px; }
.review blockquote {
  margin: 0; padding: 34px 28px 38px;
  font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.22; letter-spacing: -.01em;
}
.review blockquote::before { content: '“'; color: var(--accent); }
.review blockquote::after { content: '”'; color: var(--accent); }

/* ---------- İletişim (fonksiyon çağrısı) ---------- */
.contact { padding: 160px 0; border-top: 1px solid var(--line); }
.contact .kicker { margin-bottom: 22px; }
.big {
  font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -.05em; font-weight: 600;
  margin: 0 0 56px; max-width: 12em;
}
.call {
  margin: 0; font-family: var(--mono); font-size: clamp(14px, 1.9vw, 21px); line-height: 2;
  padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2);
  overflow-x: auto; max-width: 860px;
}
.call .row { display: flex; align-items: center; gap: 14px; padding-left: 2em; flex-wrap: wrap; }
.call .key { color: var(--kw); min-width: 7.2em; }
.call a.val { color: var(--str); border-bottom: 1px dashed transparent; transition: border-color .15s; }
.call a.val:hover { border-bottom-color: var(--str); }
.copy {
  font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding: 3px 9px;
  border: 1px solid var(--line-2); border-radius: 6px; line-height: 1.5; transition: color .15s, border-color .15s;
}
.copy:hover { color: var(--text); border-color: var(--text); }
.copy.done { color: var(--ok); border-color: var(--ok); }
.contact .ctas { margin-top: 44px; }

/* ---------- Alt sayfa başlığı ---------- */
.page-head { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-bottom: 34px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .cur { color: var(--text); }
.page-head h1 {
  font-size: clamp(42px, 7vw, 96px); line-height: .95; letter-spacing: -.05em; font-weight: 600;
  margin: 0 0 26px; max-width: 13em; text-wrap: balance;
}
.page-head p { color: var(--muted); font-size: 17.5px; max-width: 580px; margin: 0; }
.page-body { padding: 96px 0 140px; }

/* Ürün detay */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; margin-top: 88px; }
.detail aside { position: sticky; top: 110px; }
.detail aside .manifest { margin-bottom: 24px; }
.detail aside .btn { width: 100%; justify-content: space-between; margin-bottom: 10px; }
.prose { white-space: pre-line; font-size: 17px; line-height: 1.75; color: var(--text); max-width: 680px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 56px; }
.gallery .window { box-shadow: none; border-radius: 12px; }

/* Süreç hattı (CI pipeline) */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.pipeline::before {
  content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.pipeline::after {
  content: ''; position: absolute; top: 15px; left: 20px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px var(--accent);
  animation: travel 6s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes travel { 0% { left: 20px; } 85%, 100% { left: calc(100% - 30px); } }
.stage { padding-right: 28px; position: relative; }
.stage .st {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; color: var(--ok);
  position: relative; z-index: 1;
}
.stage .job { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 6px; display: block; }
.stage h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; }
.stage p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Demo seçimi */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.choice {
  display: block; border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: var(--bg-2);
  transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.choice:hover { border-color: var(--accent); transform: translateY(-4px); }
.choice .window { box-shadow: none; border-radius: 12px; }
.choice-body { padding: 22px 6px 6px; display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.choice h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.choice p { margin: 0; color: var(--muted); font-size: 14px; }
.choice .go {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line-2); transition: background-color .2s, color .2s, border-color .2s;
}
.choice:hover .go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.creds { margin-top: 40px; max-width: none; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: 72px 0 calc(40px + var(--bar-h)); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 48px; }
.foot p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin: 18px 0 0; }
.foot h4 { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--faint); margin: 0 0 16px; }
.foot h4::before { content: '// '; }
.foot nav a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.foot nav a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 64px; padding-top: 22px; border-top: 1px dashed var(--line-2);
  font-family: var(--mono); font-size: 12px; color: var(--faint);
}

/* ---------- Durum çubuğu ---------- */
.statusbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: var(--bar-h);
  display: flex; align-items: center; gap: 0;
  background: var(--bg-2); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.statusbar > * { height: 100%; display: flex; align-items: center; gap: 7px; padding: 0 12px; white-space: nowrap; }
.statusbar .branch { background: var(--accent); color: var(--accent-ink); }
.statusbar .spacer { flex: 1; padding: 0; }
.statusbar button { color: inherit; font-family: inherit; font-size: inherit; transition: background-color .15s, color .15s; }
.statusbar button:hover { background: var(--surface-2); color: var(--text); }
.statusbar .sec-name { color: var(--text); }

/* ---------- Komut paleti ---------- */
.palette {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 12vh 16px 16px;
}
.palette.open { display: block; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
.palette-box {
  max-width: 600px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 16px; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); overflow: hidden;
  animation: pop .18s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pop { from { transform: translateY(-8px) scale(.98); } }
.palette-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-in span { font-family: var(--mono); color: var(--accent); }
.palette-in input {
  flex: 1; height: 58px; background: none; border: 0; outline: none; font-size: 16px; min-width: 0;
}
.palette-in input::placeholder { color: var(--faint); }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: min(420px, 60vh); overflow-y: auto; }
.palette-list .grp { font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 12px 12px 6px; }
.palette-list button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 11px 12px; border-radius: 10px; font-size: 14.5px; color: var(--text);
}
.palette-list button .ic { width: 22px; font-family: var(--mono); color: var(--faint); text-align: center; }
.palette-list button .hint { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.palette-list button.sel { background: var(--surface-2); }
.palette-list button.sel .ic { color: var(--accent); }
.palette-empty { padding: 26px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 13px; }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); font-family: var(--mono); }

/* ---------- Nişangah + inceleyici ---------- */
.xh-x, .xh-y { position: fixed; pointer-events: none; z-index: 90; background: var(--accent); opacity: 0; transition: opacity .3s; }
.xh-x { left: 0; right: 0; height: 1px; top: 0; }
.xh-y { top: 0; bottom: 0; width: 1px; left: 0; }
.xh-read {
  position: fixed; pointer-events: none; z-index: 91; top: 0; left: 0;
  font-family: var(--mono); font-size: 10.5px; color: var(--accent); opacity: 0; transition: opacity .3s;
  background: var(--bg); padding: 1px 5px; border-radius: 4px;
}
body.xh-on .xh-x, body.xh-on .xh-y { opacity: .13; }
body.xh-on .xh-read { opacity: .9; }

.inspect {
  position: fixed; pointer-events: none; z-index: 80; border: 1px dashed var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  border-radius: 4px; opacity: 0; transition: opacity .2s, top .15s, left .15s, width .15s, height .15s;
}
.inspect.on { opacity: 1; }
.inspect span {
  position: absolute; left: -1px; bottom: 100%; margin-bottom: 4px;
  font-family: var(--mono); font-size: 11px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 4px;
}
.inspect span i { font-style: normal; opacity: .7; margin-left: 8px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1020px) {
  .sec-grid { grid-template-columns: 1fr; gap: 48px; }
  .sec-head { position: static; max-width: 620px; }
  .pkg, .pkg:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .pkg:nth-child(even) .pkg-media { order: 0; }
  .car-track .pkg:nth-child(n) { grid-template-columns: 1fr; gap: 24px; align-content: start; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail aside { position: static; }
  .nav { display: none; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .guides { display: none; }
  .sec { padding: 88px 0; }
  .contact { padding: 100px 0; }
  .hero { padding-top: 56px; }
  .hero-meta { margin-bottom: 28px; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 30px; }
  .compile-log { margin-top: 40px; }
  .src-toggle { margin-left: 0; }
  .shot-stage { margin-top: 48px; }
  .pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; }
  .legend { grid-template-columns: 1fr; }
  .legend li { padding-bottom: 14px; }
  .pkg { padding: 16px; border-radius: 16px; }
  .car-track { gap: 14px; }
  .sec.sec-top { padding: 36px 0 64px; }
  .car-bar { display: none; }
  .car-count { margin-right: auto; }
  .car-ctrl .btn .arr { display: none; }
  .manifest div { grid-template-columns: 90px 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 34px; }
  .pipeline::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .pipeline::after { display: none; }
  .stage { padding: 0 0 0 64px; }
  .stage .st { position: absolute; left: 0; top: 0; }
  .choices { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .page-head { padding: 60px 0 48px; }
  .page-body { padding: 64px 0 100px; }
  .call { padding: 20px; }
  .call .row { padding-left: 1em; gap: 4px 12px; }
  .call .key { min-width: 0; }
  .cmd-btn .lbl-long { display: none; }
  .topbar-inner { gap: 12px; height: 60px; }
  .brand-text small { display: none; }
  .statusbar { display: none; }
  footer.site-footer { padding-bottom: 40px; }
  .review blockquote { padding: 26px 20px 30px; }
}
@media (max-width: 420px) {
  .top-actions .btn-accent { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-shot { transform: none; }
}

/* ---------- Bakım modülleri: ana sayfa şeridi + ürünler ızgarası ---------- */
.modul-serit { margin-top: 36px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.modul-ciplari { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.modul-ciplari a {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 6px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; transition: color .15s, border-color .15s, background-color .15s;
}
.modul-ciplari a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.mgrup { margin-top: 96px; }
.mgrup-bas { max-width: 640px; margin-bottom: 36px; }
.mgrup-bas p { color: var(--muted); margin: 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.mcard {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--bg-2); transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.mcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.mcard-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mcard:hover .mcard-media img { transform: scale(1.04); }
.mcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.mcard-body h3 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; margin: 0 0 8px; line-height: 1.25; }
.mcard-body p { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard-alt { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
.mcard-eylem { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) { .mgrup { margin-top: 64px; } }

/* ---------- Fiyat listesi (ürün sayfası) ---------- */
.fiyat-bolum { border-top: 1px solid var(--line); }
.fiyat-alt { color: var(--muted); max-width: 620px; margin: 10px 0 34px; }
.fiyatlar { display: grid; grid-template-columns: repeat(var(--paket, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.paket { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.paket.one { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.paket h3 { margin: 0; font-size: 20px; }
.paket-rozet { position: absolute; top: -11px; left: 22px; background: var(--accent); color: var(--accent-ink); font: 600 11px/1 var(--mono); padding: 6px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.paket-acik { margin: 0; color: var(--muted); font-size: 14px; min-height: 40px; }
.paket-fiyat { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.paket-fiyat b { font-size: 34px; letter-spacing: -.02em; }
.paket-fiyat span { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.paket-yil { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.paket-yil span { color: var(--ok); }
.paket ul { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.paket li { position: relative; padding-left: 22px; }
.paket li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.paket .btn { justify-content: center; }
.fiyat-not { color: var(--faint); font-size: 13px; margin-top: 18px; font-family: var(--mono); }
@media (max-width: 900px) { .fiyatlar { grid-template-columns: 1fr; } }
.fiyatlar[style*="--paket: 1"] { grid-template-columns: minmax(0, 440px); }

/* ---------- Yasal sayfalar ---------- */
.yasal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.yasal-menu { position: sticky; top: 90px; display: grid; gap: 4px; font-family: var(--mono); font-size: 13px; }
.yasal-menu a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.yasal-menu a:hover { color: var(--text); background: var(--accent-soft); }
.yasal-menu a.aktif { color: var(--accent); background: var(--accent-soft); }
.yasal-metin { max-width: 760px; line-height: 1.75; }
.yasal-metin h2 { font-size: 20px; margin: 34px 0 10px; }
.yasal-metin h2:first-child { margin-top: 0; }
.yasal-metin p, .yasal-metin li { color: var(--muted); }
.yasal-metin b { color: var(--text); }
.yasal-metin ul { padding-left: 20px; }
.yasal-metin a { color: var(--accent); }
.yasal-metin .yer-tutucu { color: var(--accent); font-family: var(--mono); font-size: .92em; }
.yasal-tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0; }
.yasal-tablo th, .yasal-tablo td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.yasal-tablo th { font-family: var(--mono); font-size: 12px; color: var(--faint); font-weight: 500; }
.yasal-metin .tablo-sar { overflow-x: auto; }
.yasal-tarih { margin-top: 40px; font-family: var(--mono); font-size: 12px; color: var(--faint) !important; }
@media (max-width: 900px) { .yasal { grid-template-columns: 1fr; gap: 24px; } .yasal-menu { position: static; grid-template-columns: 1fr 1fr; } }

/* ---------- Size özel yazılım çağrısı ---------- */
.contact.ozel .big { margin-bottom: 28px; max-width: 14em; }
.ozel-metin { max-width: 760px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; margin: 0 0 26px; }
.ozel-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 860px; }
.ozel-liste li { font-family: var(--mono); font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); }
.ozel-not { margin: 22px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }


/* ---------- "Bana sor" asistanı (alt çubuk + küçük sohbet penceresi) ---------- */
.statusbar .sb-sor {
  margin: 0 6px; height: calc(var(--bar-h) - 8px); align-self: center; padding: 0 12px; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--text); cursor: text;
}
.statusbar .sb-sor > span { color: var(--accent); font-weight: 700; }
.statusbar .sb-sor kbd { font-family: var(--mono); font-size: .92em; color: var(--muted); }
.statusbar .sb-sor:hover, .statusbar .sb-sor[aria-expanded="true"] { border-color: var(--accent); background: var(--bg); }
.asistan-mobil { display: none; }
.asistan {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 10px); z-index: 90; width: 380px; max-width: calc(100vw - 32px);
  height: min(540px, calc(100vh - var(--bar-h) - 90px)); display: flex; flex-direction: column;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; font-size: 14px;
}
.asistan[hidden] { display: none; }
.asistan-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.asistan-baslik b { font-weight: 600; }
.asistan-baslik small { color: var(--muted); font-family: var(--mono); font-size: 11.5px; margin-left: 6px; }
.asistan-kapat { font-size: 22px; line-height: 1; color: var(--muted); padding: 0 4px; }
.asistan-kapat:hover { color: var(--text); }
.asistan-mesajlar { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.asistan-m { max-width: 88%; padding: 9px 12px; border-radius: 12px; line-height: 1.5; word-wrap: break-word; }
.asistan-m p { margin: 0 0 6px; } .asistan-m p:last-child { margin: 0; }
.asistan-m ul { margin: 4px 0; padding-left: 18px; }
.asistan-m a { color: var(--accent); text-decoration: underline; }
.asistan-m-a { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.asistan-m-k { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.asistan-yaziyor { color: var(--muted); animation: asistanNefes 1s ease-in-out infinite; }
@keyframes asistanNefes { 50% { opacity: .4; } }
.asistan-oneriler { display: flex; flex-wrap: wrap; gap: 6px; }
.asistan-oneriler button { font-size: 12.5px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); }
.asistan-oneriler button:hover { border-color: var(--accent); color: var(--accent); }
.asistan-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.asistan-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.asistan-form input:focus { outline: none; border-color: var(--accent); }
.asistan-form button { width: 44px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.asistan-form.bekliyor button { opacity: .5; pointer-events: none; }
.asistan-not { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.asistan-not a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .asistan-mobil {
    display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 80; align-items: center; gap: 6px;
    padding: 11px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  }
  .asistan-mobil[aria-expanded="true"] { display: none; }
  .asistan { right: 8px; left: 8px; width: auto; max-width: none; bottom: 8px; height: min(560px, calc(100vh - 16px)); }
}

/* ---------- Görsel büyütme penceresi (ürün sayfası) ---------- */
.buyut { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.buyut img { display: block; width: 100%; }
.buyut:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
body.buyut-acik { overflow: hidden; }
.buyut-perde { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 6, 5, .86); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 28px; animation: buyutBelir .18s ease; }
.buyut-perde[hidden] { display: none; }
@keyframes buyutBelir { from { opacity: 0; } to { opacity: 1; } }
.buyut-pencere { width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.buyut-bas { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.buyut-baslik { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyut-sira { color: var(--muted); }
.buyut-kapat { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.buyut-kapat:hover, .buyut-kapat:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.buyut-govde { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.buyut-govde img { max-width: 100%; max-height: calc(100vh - 56px - 72px); object-fit: contain; display: block; }
.buyut-ok { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(22, 22, 20, .85); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.buyut-ok:hover, .buyut-ok:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.buyut-ok.onceki { left: 14px; } .buyut-ok.sonraki { right: 14px; }
.buyut-perde.tek .buyut-ok { display: none; }
@media (max-width: 640px) {
  .buyut-perde { padding: 10px; }
  .buyut-ok { width: 38px; height: 38px; font-size: 24px; }
  .buyut-ok.onceki { left: 6px; } .buyut-ok.sonraki { right: 6px; }
}
