/* Fast Probing — site stilleri. Bağımlılık yok, tek dosya. */
:root {
  --bg: #0b1116;
  --bg-2: #0f171d;
  --panel: #121c24;
  --panel-2: #16222c;
  --line: #22313c;
  --line-2: #2c3f4d;
  --text: #e9eff3;
  --muted: #93a4b1;
  --dim: #6c7d8a;
  --accent: #2f8bff;
  --accent-2: #6cb2ff;
  --accent-ink: #06121f;
  --ok: #37c98b;
  --warn: #f0b23e;
  --bad: #f0605a;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --font: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Microsoft YaHei", "PingFang SC", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "SF Mono", Menlo, monospace;
}
:root[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-2: #eef2f6;
  --panel: #ffffff;
  --panel-2: #f3f6f9;
  --line: #dbe3ea;
  --line-2: #c6d1db;
  --text: #0e1720;
  --muted: #4c5c69;
  --dim: #6b7a87;
  --accent: #0b63d6;
  --accent-2: #0550a7;
  --accent-ink: #ffffff;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fa; --bg-2: #eef2f6; --panel: #ffffff; --panel-2: #f3f6f9;
    --line: #dbe3ea; --line-2: #c6d1db; --text: #0e1720; --muted: #4c5c69; --dim: #6b7a87;
    --accent: #0b63d6; --accent-2: #0550a7; --accent-ink: #ffffff;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Üst çubuk */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand b { color: var(--accent); font-weight: 700; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav .tools { display: flex; align-items: center; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.lang { position: relative; }
.lang summary { list-style: none; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.langmenu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--panel); box-shadow: 0 24px 50px -24px #000; display: grid; gap: 2px; z-index: 60; }
.langmenu a { padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 15px; }
.langmenu a:hover { background: var(--panel-2); text-decoration: none; }
.langmenu a[aria-current] { color: var(--accent); font-weight: 650; }
.footlangs { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; font-size: 13.5px; }
.footlangs a { color: var(--dim); }
.footlangs a[aria-current] { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 13px 22px; font-weight: 650;
  font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px var(--accent); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: color-mix(in srgb, var(--panel) 60%, transparent); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { position: relative; padding: 84px 0 40px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 20%, transparent 78%); opacity: .55; }
.stripes { position: absolute; right: -6vw; top: -40px; width: 46vw; max-width: 640px; height: 760px; z-index: -1; pointer-events: none; opacity: .9; }
.stripes i { position: absolute; top: 0; width: 13%; height: 100%; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 0%, transparent));
  transform: skewX(-15deg); border-radius: 2px; }
.stripes i:nth-child(1) { left: 46%; opacity: .5; }
.stripes i:nth-child(2) { left: 68%; opacity: .28; height: 86%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; background: color-mix(in srgb, var(--panel) 70%, transparent); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 750; margin-top: 22px; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
/* Çince/Japonca/Korece: başlık sözcük ortasından bölünmesin */
:lang(zh) .hero h1, :lang(ja) .hero h1, :lang(ko) .hero h1 { max-width: 12em; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.25; }
:lang(zh) .hero h1 em, :lang(ja) .hero h1 em, :lang(ko) .hero h1 em { white-space: nowrap; }
:lang(ko) { word-break: keep-all; }
:lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--dim); font-size: 14px; }
.meta span::before { content: "▪"; color: var(--accent); margin-right: 8px; }
.shot { margin-top: 56px; border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden; background: var(--panel);
  box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 60px -40px #000; }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); font-size: 13px; color: var(--dim); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot .bar span { margin-left: 8px; }

/* Bölümler */
section { padding: 92px 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.kicker { color: var(--accent); font-weight: 650; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 12px; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.ctrl { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--panel); }
.ctrl b { display: block; font-size: 18px; }
.ctrl span { color: var(--muted); font-size: 14px; font-family: var(--mono); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 26px 22px 24px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 70%, var(--bg)));
  border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); transform: translateY(-2px); }
.card svg { width: 30px; height: 30px; color: var(--accent); }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li { margin: 3px 0; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.split.rev { grid-template-columns: 1.25fr 1fr; }
.split.rev .txt { order: 2; }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 12px; }
.split p { color: var(--muted); margin-top: 16px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.frame.video { background: #000; position: relative; }
.vplay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(rgb(0 0 0 / 15%), rgb(0 0 0 / 45%)); }
.vplay[hidden] { display: none; }
.vplay span { width: clamp(76px, 11vw, 124px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--accent); box-shadow: 0 0 0 10px rgb(255 255 255 / 18%), 0 18px 50px -10px #000; transition: transform .2s; }
.vplay svg { width: 46%; height: 46%; margin-left: 4%; }
.vplay:hover span, .vplay:focus-visible span { transform: scale(1.08); }
.frame.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.frame { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; background: var(--panel); box-shadow: 0 30px 70px -45px #000; }

/* Sekmeler */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pane[hidden] { display: none; }
.codegrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: stretch; }
pre.code { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; background: #0a1016; color: #d6e2ec; padding: 20px 22px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.65; overflow: auto; tab-size: 2; }
pre.code .c { color: #6f8496; }
pre.code .k { color: #6cb2ff; }
pre.code .n { color: #f0b23e; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

table.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.spec th, table.spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { color: var(--muted); font-weight: 600; width: 30%; }
.tablewrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }

details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); padding: 0 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 650; position: relative; font-size: 17px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding: 0 0 18px; }

.contact { text-align: center; padding: 60px 28px; border: 1px solid var(--line-2); border-radius: 24px;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--panel); }
.contact h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 12px; }
.contact p { color: var(--muted); max-width: 60ch; margin: 16px auto 0; }
.contact .cta { justify-content: center; }
.contact .mail { font-size: 15px; margin-top: 22px !important; }
.contact .mail a { font-family: var(--mono); }
.cform { max-width: 640px; margin: 30px auto 0; text-align: left; display: grid; gap: 14px; }
.cform .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.cform input, .cform textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; box-sizing: border-box; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cform .hp { display: none; }
.cform .fsend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cform .fstatus { font-size: 14px; color: var(--muted); }
.cform .fstatus.ok { color: var(--ok); } .cform .fstatus.bad { color: var(--bad); }
.cform button[disabled] { opacity: .6; cursor: progress; }
.cform .fdone { text-align: center; padding: 34px 22px; border: 1px solid var(--ok); border-radius: var(--radius-sm);
  background: var(--panel); }
.cform .fdone[hidden] { display: none; }
.cform .fdone svg { color: var(--ok); }
.cform .fdone h3 { margin: 12px 0 6px; font-size: 22px; color: var(--text); }
.cform .fdone p { margin: 0 auto 20px; max-width: none; text-align: center; color: var(--muted); font-size: 15px; }
.cform.sent > :not(.fdone) { display: none; }
@media (max-width: 640px) { .cform .frow { grid-template-columns: 1fr; } }
.dlbox { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 26px; }
.btn-dl { font-size: 17px; padding: 15px 26px; }
.dlmeta { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.dlwarn { margin-top: 22px; max-width: 86ch; border: 1px solid var(--line-2); border-left: 4px solid var(--warn);
  border-radius: var(--radius-sm); padding: 14px 18px; background: var(--panel); font-size: 14.5px; }
.dlwarn p { color: var(--text); margin: 0 0 8px; }
.dlwarn ul { margin: 0; padding-left: 20px; color: var(--muted); }
.dlwarn li { margin: 3px 0; }
#download .steps { margin-top: 4px; }
.note { font-size: 13.5px; color: var(--dim); margin-top: 18px !important; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
footer p { max-width: 70ch; }

/* Yalnız JS çalışıyorsa gizle: JS yoksa (ve tarayıcı botlarında) içerik hep görünür. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .codegrid { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .txt { order: 0; }
  section { padding: 68px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .steps, .grid, .controls, .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .stripes { opacity: .45; }
  .nav .wrap { gap: 10px; }
  table.spec th { width: 38%; }
}
