/* HakanTamay TechDocs */
:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0b1526;
  --ink-2: #26344a;
  --muted: #5d6c83;
  --line: #dde4ee;
  --line-2: #e9eef5;
  --accent: #0891b2;
  --accent-2: #4f46e5;
  --ok: #059669;
  --warn: #b45309;
  --term: #0c1524;
  --term-2: #13203a;
  --term-ink: #cfe3f5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 21, 38, .04), 0 8px 24px -12px rgba(11, 21, 38, .12);
  --shadow-lg: 0 2px 4px rgba(11, 21, 38, .04), 0 24px 48px -20px rgba(11, 21, 38, .22);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --wa-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2c-1.5 0-3-.4-4.3-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.1 5.1 0 0 0 1.1 2.7 11.6 11.6 0 0 0 4.4 3.9c1.6.7 2.3.8 3.1.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E");
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code, pre, .mono { font-family: var(--mono); }

/* arka plan izgarasi */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 145, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, .07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
.grid-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% -5%, rgba(8, 145, 178, .14), transparent 70%),
    radial-gradient(600px 300px at 85% 0%, rgba(79, 70, 229, .12), transparent 70%);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ust bar */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 250, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.01em; min-width: 0; }
.brand-mark {
  flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .6);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-logo { flex: none; width: 50px; height: 50px; margin: -4px 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.brand-title { font: 500 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .01em; margin-top: 2px; }
.brand small {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(8, 145, 178, .35); background: rgba(8, 145, 178, .07);
  padding: 2px 7px; border-radius: 6px; letter-spacing: .02em;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--sans); padding: 12px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--pa, var(--accent)), var(--pb, var(--accent-2)));
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .65); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c5d0de; }
.btn-wa { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .55); }
.btn-wa:not(:has(svg))::before {
  content: ''; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: var(--wa-ikon) center / contain no-repeat; mask: var(--wa-ikon) center / contain no-repeat;
}
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .65); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.top .btn { padding: 9px 14px; }

/* hero */
.hero { padding: 72px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--accent);
  background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .15); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; letter-spacing: -.035em; margin: 18px 0 16px; }
.grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 32px; margin-top: 36px; }
.stats div { font: 600 22px var(--mono); }
.stats span { display: block; font: 500 12px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* terminal */
.term {
  background: linear-gradient(180deg, var(--term-2), var(--term));
  border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  overflow: hidden; position: relative;
}
.term::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.term-bar i:nth-child(1) { background: #f87171; } .term-bar i:nth-child(2) { background: #fbbf24; } .term-bar i:nth-child(3) { background: #34d399; }
.term-bar span { margin-left: 10px; font: 12px var(--mono); color: #7f93ad; }
.term-body { padding: 18px 20px 22px; font: 13.5px/1.75 var(--mono); color: var(--term-ink); min-height: 270px; }
.term-body .p { color: #34d399; } .term-body .c { color: #67e8f9; } .term-body .d { color: #7f93ad; } .term-body .y { color: #fcd34d; }
.cursor { display: inline-block; width: 8px; height: 16px; background: #67e8f9; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* bolum basliklari */
.section { padding: 40px 0 72px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.sec-head .path { font: 500 13px var(--mono); color: var(--muted); }

/* arama ve filtre */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search input {
  width: 100%; font: 14px var(--sans); padding: 12px 14px 12px 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none;
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(8, 145, 178, .12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 500 13px var(--sans); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* urun kartlari */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--pa), var(--pb));
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cdd7e4; }
.card-head { display: flex; gap: 14px; align-items: center; }
.app-icon {
  flex: none; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--pa), var(--pb)); box-shadow: 0 10px 20px -10px var(--pb);
}
.app-icon svg { width: 27px; height: 27px; }
.card h3 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.cat { font: 500 12px var(--mono); color: var(--muted); }
.badge {
  margin-left: auto; align-self: flex-start; font: 600 11px var(--mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; color: var(--warn); background: #fef3c7; border: 1px solid #fde68a;
}
.badge.stable { color: var(--ok); background: #d1fae5; border-color: #a7f3d0; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); }
.meta div { padding: 10px 12px; font: 600 13px var(--mono); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta div + div { border-left: 1px solid var(--line-2); }
.meta span { display: block; font: 500 11px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 500 12px var(--mono); color: var(--accent); background: rgba(8, 145, 178, .07); padding: 3px 8px; border-radius: 6px; }
.card .actions { display: flex; gap: 10px; margin-top: auto; }
.card .actions .btn { flex: 1; }
.card.soon {
  border-style: dashed; background: transparent; box-shadow: none; align-items: center; justify-content: center;
  text-align: center; color: var(--muted); min-height: 280px;
}
.card.soon::before { display: none; }
.card.soon:hover { transform: none; }
.card.soon .app-icon { background: var(--surface); color: var(--muted); border: 1px dashed var(--line); box-shadow: none; }
.empty { padding: 40px; text-align: center; color: var(--muted); font-family: var(--mono); }

/* iletisim bandi */
.contact {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(135deg, var(--term-2), var(--term)); color: #e2ecf7; border-radius: 18px;
  padding: 36px 40px; position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(103, 232, 249, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 232, 249, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.contact > * { position: relative; }
.contact h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; color: #fff; }
.contact p { margin: 0; color: #9fb3cc; }
.contact .mono { color: #67e8f9; font-size: 13px; }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 30px -10px rgba(79, 70, 229, .7);
  transition: transform .15s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 20px; border: 1.5px solid rgba(8, 145, 178, .45);
  animation: wa-ping 2.4s ease-out infinite;
}
.wa-float::after {
  content: ''; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e; border: 2px solid var(--bg);
}
@keyframes wa-ping { 0% { opacity: .9; transform: scale(.92); } 80%, 100% { opacity: 0; transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; opacity: .5; } }
.wa-float svg { width: 28px; height: 28px; }

/* urun sayfasi */
.crumb { font: 500 13px var(--mono); color: var(--muted); padding-top: 28px; }
.crumb a { color: var(--accent); }
.p-hero { padding: 22px 0 36px; }
.p-hero .wrap > .box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 360px; overflow: hidden; position: relative;
}
.p-hero .box::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--pa), var(--pb)); }
.p-intro { padding: 34px 36px; }
.p-intro .card-head .app-icon { width: 64px; height: 64px; border-radius: 16px; }
.p-intro .app-icon svg { width: 34px; height: 34px; }
.p-intro h1 { margin: 0; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; }
.p-intro .lead { color: var(--ink-2); font-size: 16.5px; margin: 20px 0 22px; max-width: 620px; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 8px; }
.feat div { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.feat svg { flex: none; width: 18px; height: 18px; color: var(--pa); margin-top: 2px; }
.feat b { display: block; color: var(--ink); font-size: 14.5px; }
.dl { background: var(--surface-2); border-left: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.dl h3 { margin: 0; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dl .btn { width: 100%; padding: 15px 18px; font-size: 15px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.hash { font: 11.5px/1.5 var(--mono); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; overflow-wrap: anywhere; cursor: pointer; }
.hash:hover { border-color: var(--accent); }
.dl .small { font-size: 12.5px; color: var(--muted); margin: 0; }

.docs { display: grid; grid-template-columns: 230px 1fr; gap: 36px; padding-bottom: 72px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc h4 { margin: 0 0 10px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc a { display: block; font-size: 14px; color: var(--ink-2); padding: 7px 12px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--accent); border-left-color: var(--accent); background: rgba(8, 145, 178, .05); }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; margin-bottom: 18px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.doc h2 { margin: 0 0 16px; font-size: 21px; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; }
.doc h2::before { content: '#'; font-family: var(--mono); color: var(--accent); font-weight: 500; }
.doc p { color: var(--ink-2); }
.doc code { font-size: .9em; background: #eef3f8; border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 5px; }
.doc pre { position: relative; background: var(--term); color: var(--term-ink); padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; }
.doc pre code { background: none; border: 0; padding: 0; color: inherit; }
.copy { position: absolute; top: 8px; right: 8px; font: 500 11px var(--mono); color: #9fb3cc; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.copy:hover { color: #fff; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; color: var(--ink-2); }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -1px; width: 32px; height: 28px;
  display: grid; place-items: center; font: 600 12px var(--mono); color: var(--accent);
  background: rgba(8, 145, 178, .08); border: 1px solid rgba(8, 145, 178, .25); border-radius: 7px;
}
.steps li::after { content: ''; position: absolute; left: 16px; top: 30px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { color: var(--ink); }
.note { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin: 14px 0 0; border: 1px solid; }
.note b { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.note.info { background: #ecfeff; border-color: #a5f3fc; color: #155e75; }
.note.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl th { width: 34%; color: var(--muted); font-weight: 500; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin-bottom: 10px; background: var(--surface-2); }
details summary { cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-family: var(--mono); color: var(--accent); }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 14px; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 90px 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.log li:last-child { border-bottom: 0; }
.log .v { font: 600 13px var(--mono); color: var(--accent); }
.log .t { font: 13px var(--mono); color: var(--muted); }

.no-wa [data-wa], .no-wa #iletisim, .no-wa a[href$="#iletisim"] { display: none !important; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 8px; transition: .2s; z-index: 80; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* mobil */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .p-hero .wrap > .box { grid-template-columns: 1fr; }
  .dl { border-left: 0; border-top: 1px solid var(--line); }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .toc h4 { display: none; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: var(--surface); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.keep) { display: none; }
  .brand small { display: none; }
  .brand-name { font-size: 18px; }
  .brand-title { font-size: 10.5px; white-space: normal; }
  .brand-logo { width: 42px; height: 42px; }
  .top .btn-wa { display: none; }
  .cards { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .contact { grid-template-columns: 1fr; padding: 28px 22px; }
  .p-intro { padding: 26px 20px; }
  .p-intro h1 { font-size: 27px; }
  .feat { grid-template-columns: 1fr; }
  .doc { padding: 22px 18px; }
  .log li { grid-template-columns: 70px 1fr; }
  .log li span:last-child { grid-column: 1 / -1; }
  .term-body { font-size: 12.5px; min-height: 230px; }
}
.brand-title .gt { font-style: normal; color: var(--accent); font-weight: 700; padding: 0 2px; }
.brand-title .nw { white-space: nowrap; }
.contact .mono + p { margin-top: 8px; font-size: 16.5px; color: #cfe0f2; }
.term-contact .term-body { min-height: 0; }
.term-contact .term-body > div:not(.term-cmd) { white-space: pre-wrap; }
.term-cmd { margin-top: 10px; }
.term-cmd .term-btn { margin: 0 6px 0 4px; vertical-align: middle; }
.term-btn {
  display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--mono); color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, .45); background: rgba(103, 232, 249, .08); padding: 6px 14px; border-radius: 8px;
  transition: background .15s, box-shadow .15s, color .15s;
}
.term-btn:hover { background: rgba(103, 232, 249, .16); color: #fff; box-shadow: 0 0 0 4px rgba(103, 232, 249, .1), 0 0 24px -4px rgba(103, 232, 249, .5); }
.term-btn .enter { font-size: 12px; color: #9fb3cc; border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; padding: 0 5px; }
/* mobil duzeltmeler */
.docs > * { min-width: 0; }
@media (max-width: 960px) { .docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .meta div { padding: 9px 9px; font-size: 12px; }
  .meta span { font-size: 10px; letter-spacing: .03em; }
  footer { padding-bottom: 100px; }
  .tbl th, .tbl td { display: block; width: auto; padding: 4px 0; border: 0; }
  .tbl th { padding-top: 12px; font-size: 12.5px; }
  .tbl tr { display: block; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
  .tbl tr:last-child { border-bottom: 0; }
}
/* hacker stili (VPN gibi urunler) */
.card.hacker {
  background: linear-gradient(180deg, #0f1d2b, #0a141f); border-color: #1d3344; color: #d7f5e9;
  background-image: linear-gradient(rgba(16, 185, 129, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 185, 129, .06) 1px, transparent 1px), linear-gradient(180deg, #0f1d2b, #0a141f);
  background-size: 22px 22px, 22px 22px, auto;
}
.card.hacker:hover { border-color: #10b981; box-shadow: 0 0 0 1px rgba(16, 185, 129, .35), 0 24px 48px -20px rgba(16, 185, 129, .45); }
.card.hacker h3 { color: #fff; }
.card.hacker .cat { color: #34d399; }
.card.hacker p { color: #a7c4bb; }
.card.hacker .meta { background: rgba(255, 255, 255, .03); border-color: #1d3344; }
.card.hacker .meta div + div { border-color: #1d3344; }
.card.hacker .meta div { color: #e2fbf1; }
.card.hacker .meta span { color: #6f8f86; }
.card.hacker .tag { color: #34d399; background: rgba(16, 185, 129, .1); }
.card.hacker .btn-ghost { background: transparent; color: #d7f5e9; border-color: #2a4757; }
.card.hacker .btn-ghost:hover { border-color: #34d399; }
.card.hacker .app-icon { box-shadow: 0 0 22px -4px rgba(16, 185, 129, .7); }

.hacker .crumb a { color: #10b981; }
.hacker .p-hero .box { background: linear-gradient(180deg, #0f1d2b, #0a141f); border-color: #1d3344; color: #d7f5e9; }
.hacker .p-hero .box::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px);
}
.hacker .p-intro h1 { color: #fff; }
.hacker .p-intro .cat { color: #34d399; }
.hacker .p-intro .lead, .hacker .feat div { color: #a7c4bb; }
.hacker .feat b { color: #eafff6; }
.hacker .dl { background: rgba(0, 0, 0, .18); border-color: #1d3344; }
.hacker .dl h3, .hacker .kv dt, .hacker .dl .small { color: #6f8f86; }
.hacker .kv dd { color: #e2fbf1; }
.hacker .dl .btn-ghost { background: transparent; color: #d7f5e9; border-color: #2a4757; }
.hacker .toc a:hover, .hacker .toc a.on { color: #059669; border-left-color: #10b981; background: rgba(16, 185, 129, .06); }
.hacker .doc h2::before { color: #10b981; }
.hacker .steps li::before { color: #059669; background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .3); }
.hacker .doc pre { color: #6ee7b7; }
@media (max-width: 960px) { .hacker .dl { border-top-color: #1d3344; } }
.meta { grid-template-columns: .9fr 1fr 1.15fr; }
.meta div { padding: 10px 10px; font-size: 12.5px; }

/* ---------- cok dilli site ---------- */
html.yukleniyor body { opacity: 0; animation: goster 0s 2s forwards; }   /* ceviri gelene kadar gizle; JS cokerse 2 sn sonra goster */
@keyframes goster { to { opacity: 1; } }
body { transition: opacity .15s; }

.dil { position: relative; }
.dil-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 12.5px var(--mono); cursor: pointer;
}
.dil-btn:hover, .dil.acik .dil-btn { border-color: var(--accent); color: var(--accent); }
.dil-btn svg { width: 17px; height: 17px; }
.dil-liste {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; list-style: none; margin: 0; padding: 6px;
  width: 230px; max-height: min(70vh, 460px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); display: none;
}
.dil.acik .dil-liste { display: block; }
.dil-liste button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px;
  border: 0; background: none; border-radius: 8px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; text-align: start;
}
.dil-liste button span { font: 500 11px var(--mono); color: var(--muted); }
.dil-liste button:hover { background: var(--surface-2); }
.dil-liste button.on { background: rgba(8, 145, 178, .08); color: var(--accent); }
.nav { margin-inline-start: auto; margin-left: auto; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }

/* sag-sol diller (Arapca, Ibranice) */
[dir="rtl"] .term, [dir="rtl"] .hash, [dir="rtl"] pre, [dir="rtl"] .brand-title .nw { direction: ltr; text-align: left; }
[dir="rtl"] .term-contact [dir="auto"] { unicode-bidi: plaintext; }
[dir="rtl"] .search svg { left: auto; right: 14px; }
[dir="rtl"] .search input { padding: 12px 42px 12px 14px; }
[dir="rtl"] .badge { margin-left: 0; margin-right: auto; }
[dir="rtl"] .meta div + div { border-left: 0; border-right: 1px solid var(--line-2); }
[dir="rtl"] .card.hacker .meta div + div { border-right-color: #1d3344; }
[dir="rtl"] .dl { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .hacker .dl { border-right-color: #1d3344; }
[dir="rtl"] .kv dd { text-align: left; }
[dir="rtl"] .toc a { border-left: 0; border-right: 2px solid var(--line); }
[dir="rtl"] .toc a:hover, [dir="rtl"] .toc a.on { border-right-color: var(--accent); }
[dir="rtl"] .steps li { padding: 0 48px 18px 0; }
[dir="rtl"] .steps li::before { left: auto; right: 0; }
[dir="rtl"] .steps li::after { left: auto; right: 16px; }
[dir="rtl"] .note b { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .tbl th, [dir="rtl"] .tbl td { text-align: right; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .copy { right: auto; left: 8px; }
@media (max-width: 960px) { [dir="rtl"] .dl { border-right: 0; } [dir="rtl"] .toc a { border: 1px solid var(--line); } }
@media (max-width: 640px) {
  .dil-btn span { display: none; }
  .dil-btn { padding: 0 9px; }
}
.nav a { white-space: nowrap; }
@media (max-width: 1100px) { .top .wrap { gap: 14px; } .nav a { padding: 8px 9px; } }

/* ---------- SEO / anlatim bolumleri ---------- */
.dl h3 .ucretsiz { margin-left: 8px; font: 600 10.5px var(--mono); color: var(--ok); background: #d1fae5; border: 1px solid #a7f3d0; padding: 2px 7px; border-radius: 5px; letter-spacing: .04em; vertical-align: middle; }
.hacker .dl h3 .ucretsiz { background: rgba(16, 185, 129, .15); border-color: rgba(16, 185, 129, .4); color: #34d399; }
.dl .not { margin: 0; font-size: 12.5px; line-height: 1.5; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 9px 11px; }
.hacker .dl .not { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .3); color: #fcd34d; }
.doc .tanitim { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.doc .alt { margin: -8px 0 18px; font: 500 13px var(--mono); color: var(--muted); }
.adimlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: a; }
.adimlar li { counter-increment: a; position: relative; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 48px 18px 18px; }
.adimlar li::before {
  content: counter(a, decimal-leading-zero); position: absolute; top: 14px; inset-inline-start: 16px; font: 700 13px var(--mono); color: #fff;
  background: linear-gradient(135deg, var(--pa, var(--accent)), var(--pb, var(--accent-2))); padding: 4px 9px; border-radius: 7px;
}
.adimlar b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.adimlar span { font-size: 14px; color: var(--ink-2); }
.adim-cta { margin: 18px 0 0; }
.kimler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.kimler div { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.kimler svg { flex: none; width: 20px; height: 20px; color: var(--pa, var(--accent)); margin-top: 2px; }
.kimler b { display: block; color: var(--ink); font-size: 14.5px; }
@media (max-width: 800px) { .adimlar { grid-template-columns: 1fr; } .adimlar li { padding-top: 46px; } }
@media (max-width: 640px) { .kimler { grid-template-columns: 1fr; } }
.dl h3 .ucretsiz.demo { color: #6d28d9; background: #ede9fe; border-color: #ddd6fe; }
.dl .not.demo { color: var(--ink-2); background: var(--surface); border-color: var(--line); }
/* mobil ust bar: menude iki oge (Araclar + Mac Hosting) varken yer acmak icin (04.11.2026) */
@media (max-width: 640px) {
  .top .wrap { gap: 8px; }
  .brand { gap: 8px; flex: 1 1 auto; overflow: hidden; }
  .brand-name { font-size: 15px; white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; }
    .brand-logo { width: 36px; height: 36px; }
  .nav { gap: 0; flex: none; }
  .nav a { font-size: 12px; padding: 8px 5px; white-space: nowrap; }
}
/* unvan header'dan footer'a tasindi (04.11.2026) */
footer .brand-title { margin: 0; align-self: center; }
footer .wrap { align-items: center; }
@media (max-width: 640px) { footer .wrap { flex-direction: column; align-items: flex-start; gap: 8px; } footer .brand-title { white-space: normal; } }
