/* SkySysMen — koyu "mühendis konsolu" teması
   Zemin: gece laciverti. Vurgu: terminal yeşili. Etiketler: monospace. */

/* Yerel fontlar (Google Fonts'tan indirildi, SIL Open Font License) */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #0d1117;
  --bg-2: #10161e;
  --surface: #151c25;
  --surface-2: #1a2330;
  --line: #243041;
  --line-2: #2e3c50;
  --text: #e6edf3;
  --muted: #9fb0c2;
  --dim: #7d8fa3;
  --accent: #22d38b;
  --accent-hover: #4ae3a4;
  --accent-ink: #04150d;
  --accent-soft: rgba(34, 211, 139, .12);
  --cyan: #63c7ff;
  --warn: #f5c451;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r-s);
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografi ---------- */

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
}
h1 .hl { color: var(--accent); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 750; }
p { margin: 0 0 1em; }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.12rem); color: var(--muted); max-width: 40em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow svg { width: 14px; height: 14px; }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 48rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); margin-top: .75rem; }

.mono { font-family: var(--mono); }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { border-color: var(--dim); background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Üst bar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  text-decoration: none;
  line-height: 1.2;
}
.brand svg { width: 36px; height: 36px; flex: none; }
.brand strong { display: block; font-size: 1rem; font-weight: 800; }
.brand small { display: block; font-family: var(--mono); font-size: .68rem; color: var(--dim); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .7rem;
  border: 1px solid rgba(34, 211, 139, .35);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 139, .2);
}
.site-header .status-pill { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: .5rem .7rem;
  border-radius: var(--r-s);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.nav-cta {
  display: inline-flex;
  margin-left: .5rem;
  padding: .55rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: .82rem;
  white-space: nowrap;
}
.nav-links a.nav-cta:hover { color: var(--accent-ink); background: var(--accent-hover); }

.nav-mail,
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-s);
  cursor: pointer;
}
.nav-mail { background: var(--accent); color: var(--accent-ink); }
.nav-toggle { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.nav-mail svg,
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 961px) {
  .site-header .brand small { white-space: nowrap; }
}
@media (min-width: 1380px) {
  .site-header .status-pill { display: inline-flex; }
}

@media (max-width: 960px) {
  .nav-mail,
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .5rem var(--gutter) 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .85rem .5rem; }
  .nav-links a.nav-cta { display: flex; margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(34, 211, 139, .08), transparent 60%),
    linear-gradient(rgba(36, 48, 65, .45) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--bg);
  background-blend-mode: normal;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, var(--bg));
  opacity: .9;
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .65rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.chip { white-space: nowrap; }
.hero-badges .chip { white-space: normal; }
.hero .lead { margin-top: 1.25rem; }
.hero .actions { flex-direction: column; align-items: flex-start; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.stats li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.stats strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  white-space: nowrap;
}
.stats li:nth-child(even) strong { color: var(--cyan); }
.stats span {
  display: block;
  margin-top: .3rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Profil + sistem kartı */
.console { display: grid; gap: .75rem; }
.profile,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(34, 211, 139, .4);
  border-radius: var(--r-m);
  background: var(--accent-soft);
  color: var(--accent);
}
.avatar svg { width: 30px; height: 30px; }
.profile .status-pill { padding: .15rem .55rem; font-size: .64rem; }
.profile strong { display: block; margin-top: .35rem; font-size: 1.05rem; }
.profile small { display: block; color: var(--muted); font-size: .85rem; }

.panel { padding: 1rem; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.panel-head h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.tile {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bg-2);
}
.tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dim);
}
.tile-top b {
  flex: none;
  padding: .05rem .4rem;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.tile strong { display: block; margin-top: .45rem; font-size: .95rem; }
.tile p { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }

.spark { margin-top: .6rem; padding: .7rem .8rem .5rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg-2); }
.spark-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .64rem; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.spark-head b { color: var(--accent); font-weight: 600; }
.spark svg { width: 100%; height: 48px; margin-top: .3rem; }

.term {
  margin-top: .6rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.term .ok { color: var(--accent); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero .actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr; }
}

/* ---------- Faydalar ---------- */

.benefits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-bottom: 1.25rem;
}
.benefits-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit {
  display: flex;
  gap: .9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.icon-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  background: var(--bg-2);
  color: var(--accent);
}
.icon-box svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 1rem; }
.benefit p { margin: .3rem 0 0; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr; }
}

/* ---------- Hizmet kartları ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  transition: border-color .15s;
}
.service:hover { border-color: rgba(34, 211, 139, .45); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.code {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.service:nth-child(even) .code { color: var(--cyan); }
.service-top svg { width: 22px; height: 22px; color: var(--accent); }
.service h3 { margin-top: .5rem; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service { position: relative; }
.service h3 a:hover { text-decoration: underline; }
.gain {
  margin: 1rem 0;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-s);
  background: var(--bg-2);
  font-size: .9rem;
}
.gain b {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}
.service .incl { font-size: .88rem; color: var(--muted); }
.service .incl b { color: var(--text); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: auto 0 0;
  padding: .4rem 0 0;
  list-style: none;
}
.tags li {
  padding: .15rem .5rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
}

/* Kart sayısı sütun sayısına bölünmüyorsa son kart satırı tam doldursun */
.service:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:last-child:nth-child(3n+1) { grid-column: auto; }
  .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- Projeler ---------- */

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1.25rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.filters button {
  min-height: 36px;
  padding: .35rem .75rem;
  border: 0;
  border-radius: var(--r-s);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.filters button:hover { color: var(--text); background: var(--surface-2); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  overflow: hidden;
}
.log { width: 100%; border-collapse: collapse; font-size: .92rem; }
.log th,
.log td {
  padding: .95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.log tr:last-child th,
.log tr:last-child td { border-bottom: 0; }
.log thead th {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dim);
}
.log tbody th { width: 24%; font-weight: 700; }
.log tbody th::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 .5rem .15rem 0;
  border-radius: 50%;
  background: var(--accent);
}
.log td.desc { color: var(--muted); }
.log td.tech { width: 20%; font-family: var(--mono); font-size: .78rem; color: var(--cyan); }
.log tr[hidden] { display: none; }

.tag {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 4px;
  border: 1px solid rgba(34, 211, 139, .35);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-app { border-color: rgba(99, 199, 255, .35); background: rgba(99, 199, 255, .1); color: var(--cyan); }
.tag-net { border-color: rgba(245, 196, 81, .35); background: rgba(245, 196, 81, .1); color: var(--warn); }

.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  font-size: .9rem;
  color: var(--muted);
}
.note p { margin: 0; max-width: 46em; }
.note b { color: var(--text); }
.note a { font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; text-decoration: none; }
.note a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .log thead { display: none; }
  .log, .log tbody, .log tr, .log th, .log td { display: block; width: 100%; }
  .log tr { padding: 1rem; border-bottom: 1px solid var(--line); }
  .log tr:last-child { border-bottom: 0; }
  .log th, .log td { padding: .2rem 0; border: 0; }
  .log tbody th, .log td.tech { width: 100%; }
}

/* ---------- Neden birlikte ---------- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.why-grid > div > p { color: var(--muted); margin-top: .9rem; }
.goal {
  display: flex;
  gap: .9rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.goal strong { display: block; }
.goal span { font-size: .9rem; color: var(--muted); }
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: why;
}
.why li {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  counter-increment: why;
}
.why li::before {
  content: counter(why, decimal-leading-zero);
  display: inline-block;
  margin-bottom: .8rem;
  padding: .15rem .5rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--accent);
}
.why p { margin: .45rem 0 0; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why { grid-template-columns: 1fr; }
}

/* ---------- SSS ---------- */

.faq { max-width: 52rem; }
.faq details {
  margin-bottom: .6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.15rem 1rem; color: var(--muted); }

/* ---------- İletişim ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.contact-grid > div > p { color: var(--muted); margin-top: .9rem; }
.promise {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(34, 211, 139, .35);
  border-radius: var(--r-s);
  background: var(--accent-soft);
  font-size: .9rem;
  font-weight: 600;
}
.promise svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.channel {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  text-decoration: none;
}
.channel:hover { border-color: rgba(34, 211, 139, .45); }
.channel strong { display: block; }
.channel span { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.channel .arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }

.mail-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.mail-panel h3 { font-size: 1.25rem; }
.mail-panel ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.mail-panel li {
  position: relative;
  padding: .55rem 0 .55rem 1.6rem;
  border-bottom: 1px dashed var(--line-2);
  font-size: .95rem;
  color: var(--muted);
}
.mail-panel li::before {
  content: ">";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  color: var(--accent);
}
.mail-big {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: clamp(1.15rem, 4.2vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.mail-big:hover { color: var(--accent-hover); }
.copy-status { min-height: 1.5em; margin: .75rem 0 0; color: var(--accent); font-size: .9rem; }
.mail-panel .fine { margin: 1rem 0 0; font-family: var(--mono); font-size: .72rem; color: var(--dim); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Hizmet detay sayfaları ---------- */

.breadcrumb { margin-bottom: 1.5rem; font-family: var(--mono); font-size: .78rem; color: var(--dim); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-hero .code { display: inline-block; margin-bottom: .75rem; font-size: 1.1rem; }
.page-hero h1 { max-width: 20ch; }
.page-hero .gain { max-width: 42rem; margin-top: 1.5rem; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2.25rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose ul { padding-left: 1.2rem; color: var(--muted); }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }

.aside {
  position: sticky;
  top: 6rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.aside h2 { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.aside ul { margin: 0 0 1.2rem; padding: 0; list-style: none; }
.aside li { padding: .45rem 0; border-bottom: 1px dashed var(--line-2); font-size: .92rem; }
.aside .btn { width: 100%; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
}
.cards strong { display: block; }
.cards span { display: block; margin-top: .3rem; font-size: .88rem; color: var(--muted); }
.cards a { font-weight: 700; text-decoration: none; }
.cards a:hover { color: var(--accent); }
.subhead { margin: 2.75rem 0 1rem; font-size: 1.3rem; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}

/* ---------- Alt bilgi ---------- */

.site-footer {
  padding-block: 3rem 1.75rem;
  border-top: 1px solid var(--line);
  background: #0a0e13;
  font-size: .9rem;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr; gap: 2rem; }
.footer-grid p { max-width: 32em; margin-top: 1rem; }
.footer-grid .safe { display: flex; gap: .5rem; font-style: italic; color: var(--accent); }
.footer-grid .safe svg { width: 16px; height: 16px; flex: none; margin-top: .25rem; }
.site-footer h2 {
  margin-bottom: .8rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-footer .tags a { text-decoration: none; }
.site-footer .tags a:hover { color: var(--accent); }
.site-footer ul.plain { margin: 0; padding: 0; list-style: none; }
.site-footer ul.plain li { padding: .2rem 0; }
.site-footer ul.plain a { text-decoration: none; }
.site-footer ul.plain a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--dim);
}
.footer-bottom .ok { color: var(--accent); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 404 */
.notfound { padding-block: clamp(4rem, 12vw, 8rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Blog ---------- */

.nav-links a[aria-current="page"] { color: var(--accent); }

.more-link { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.more-link:hover { text-decoration: underline; }

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-list-full { grid-template-columns: 1fr; max-width: 52rem; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  transition: border-color .15s;
}
.post-card:hover { border-color: rgba(34, 211, 139, .45); }
.post-card h2,
.post-card h3 { font-size: 1.15rem; }
.post-list-full .post-card h2 { font-size: 1.35rem; }
.post-card h2 a,
.post-card h3 a { text-decoration: none; }
.post-card h2 a::after,
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.post-card .tags { margin: 0; padding: 0; order: 3; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--dim);
}
.post-meta span::before { content: "// "; color: var(--accent); }
.post-hero .tags { margin: .6rem 0 1rem; }
.post-hero h1 { max-width: 24ch; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.post-wrap { max-width: 50rem; }
.post-body { border-top: 0; padding-top: 1rem; }

.empty {
  max-width: 40rem;
  padding: 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-l);
  color: var(--muted);
}
.empty b { color: var(--text); }

.toc {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-s);
  background: var(--surface);
}
.toc h2 { margin-bottom: .4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.toc ol { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.toc ol.plain { padding-left: 0; list-style: none; }
/* Kodda '--' gibi işaretler birleşip tek çizgi görünmesin */
code, pre, kbd { font-variant-ligatures: none; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--accent); }

.article { max-width: none; font-size: 1.05rem; line-height: 1.75; }
.article h2 { scroll-margin-top: 6rem; }
.article h3 { margin: 1.75rem 0 .6rem; font-size: 1.2rem; }
.article h4 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; }
.article p,
.article li { color: #c9d5e0; }
.article ol { padding-left: 1.3rem; color: #c9d5e0; }
.article ol li::marker { color: var(--accent); font-family: var(--mono); }
.article :not(pre) > code {
  padding: .1rem .35rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: .86em;
  color: var(--cyan);
}
.article pre {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #0a0e13;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .86rem;
  line-height: 1.6;
}
.article pre code { color: #d7e3ee; }
.code-lang {
  position: absolute;
  top: .4rem;
  right: .6rem;
  font-size: .65rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dim);
}
.article blockquote {
  margin: 1.5rem 0;
  padding: .9rem 1.2rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--surface);
}
.article blockquote p { margin: 0; }
.article blockquote p + p { margin-top: .6rem; }
.article hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
.article img { height: auto; border-radius: var(--r-m); border: 1px solid var(--line); }
.article figure { margin: 1.75rem 0; }
.article figcaption { margin-top: .5rem; font-size: .85rem; color: var(--dim); text-align: center; }
.table-scroll { margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
.article table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article th,
.article td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.article th { background: var(--surface); font-family: var(--mono); font-size: .75rem; color: var(--dim); }
.article tr:last-child td { border-bottom: 0; }

.post-updated { margin-top: 2rem; font-family: var(--mono); font-size: .75rem; color: var(--dim); }

.post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(34, 211, 139, .35);
  border-radius: var(--r-l);
  background: var(--accent-soft);
}
.post-cta strong { display: block; }
.post-cta span { color: var(--muted); font-size: .92rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.pn {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}
.pn:hover { border-color: rgba(34, 211, 139, .45); }
.pn span { display: block; margin-bottom: .25rem; font-family: var(--mono); font-size: .7rem; font-weight: 600; color: var(--dim); }
.pn.next { grid-column: 2; text-align: right; }

@media (max-width: 900px) {
  .post-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .post-nav { grid-template-columns: 1fr; }
  .pn.next { grid-column: auto; }
}
