/* deskSider — ortak stil.
 *
 * Token seti electron/renderer/styles.css :root ile BIREBIR ayni. Renkler
 * burada YENIDEN SECILMEDI, uygulamadan alindi; uygulamada degisirse burasi
 * da guncellenmeli.
 *
 * index.html KENDI stilini icinde tasir (tam sayfa snap duzeni ona ozel).
 * Bu dosya ic sayfalar icin: help/, contact/, privacy/, documentation/.
 */

:root {
  --void: #000;
  --panel: #080808;
  --panel-2: #111;
  --panel-3: #181818;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f2f4f8;
  --text-muted: #98a2b4;
  --text-dim: #69728a;
  --accent: #4aa4e0;
  --accent-hi: #68d4f5;
  --accent-lo: #3283a8;
  --accent-on: #03131e;
  --accent-soft: #15212e;
  --glow: rgba(74, 156, 224, 0.28);
  --ok: #5fb87e;
  --bad: #e2634a;
  --warn: #e2b53c;
  --r: 10px;
  --r-sm: 7px;
  --r-lg: 14px;
  --r-pill: 999px;
  --font: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Cascadia Mono', 'Cascadia Code', Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1160px; }

/* ---------- ust cubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: 26px; }
.brand span { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.navlinks { display: flex; gap: 22px; margin-left: auto; }
.navlinks a {
  color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color 140ms var(--ease);
}
.navlinks a:hover, .navlinks a.on { color: var(--accent-hi); }
.lang { display: flex; gap: 2px; background: var(--panel-2); border-radius: var(--r-pill); padding: 3px; }
.lang button {
  border: none; background: transparent; color: var(--text-dim);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill); cursor: pointer;
  transition: all 140ms var(--ease);
}
.lang button.on { background: var(--accent-soft); color: var(--accent-hi); }

/* ---------- sayfa basligi ---------- */
.phead { padding: 66px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(30px, 5vw, 44px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px;
  text-wrap: balance;
}
.lede { font-size: 17px; color: var(--text-muted); max-width: 62ch; margin: 0; text-wrap: pretty; }

/* ---------- icerik ---------- */
main { padding-bottom: 90px; }
section { margin-bottom: 52px; }
h2 {
  font-size: 21px; font-weight: 650; letter-spacing: -0.015em;
  margin: 0 0 16px; text-wrap: balance;
}
h3 { font-size: 16px; font-weight: 650; margin: 0 0 8px; }
p { color: var(--text-muted); margin: 0 0 14px; }
ul, ol { color: var(--text-muted); margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong, b { color: var(--text); font-weight: 650; }
a { color: var(--accent-hi); }

code, .code {
  font-family: var(--mono); font-size: 12.5px; color: var(--accent-hi);
  background: rgba(74, 164, 224, 0.09); padding: 2px 6px; border-radius: 4px;
}

/* ---------- kartlar ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px; margin-bottom: 14px;
}
.card:hover { border-color: var(--line-2); }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }

/* ---------- akordiyon ---------- */
details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 20px; margin-bottom: 10px;
}
details[open] { border-color: var(--line-2); }
summary {
  cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 19px; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details > *:not(summary) { margin-top: 12px; }
details p:last-child, details ul:last-child { margin-bottom: 0; }

/* ---------- dugmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 650; text-decoration: none;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  transition: all 160ms var(--ease);
}
.btn:hover { background: var(--panel-3); border-color: var(--accent-lo); }
.btn.primary { background: var(--accent); color: var(--accent-on); border-color: transparent; }
.btn.primary:hover { background: var(--accent-hi); }

/* ---------- uyari kutusu ---------- */
.note {
  border-left: 2px solid var(--accent); background: var(--panel);
  border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 16px;
}
.note.warn { border-left-color: var(--warn); }
.note p:last-child { margin-bottom: 0; }

/* ---------- alt bilgi ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; }
.foot-links a:hover { color: var(--accent-hi); }
.copy { font-size: 12.5px; color: var(--text-dim); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 720px) { .navlinks { display: none; } }
