/* Nöbetçi tanıtım sitesi — Mahzen'in dili: siyah zemin, sakin tipografi; ışık bu kez yeşil */

:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.09);
  --fire: #3ddc84;
  --fire-hi: #7bf0ad;
  --fire-lo: #1f9150;
  --warn: #ff9f0a;
  --bad: #ff6b5e;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --pad: clamp(22px, 5vw, 56px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sans); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
::selection { background: var(--fire); color: #03140a; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 4px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.br-m { display: none; }
@media (max-width: 700px) { .hero h1 .nowrap { white-space: normal; } .br-m { display: inline; } }

/* ÜST ÇUBUK */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { font-size: 13px; color: #d2d2d7; text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.nav nav a:hover { opacity: 1; color: #fff; }
.nav-btn {
  font-size: 12.5px; font-weight: 500; text-decoration: none; padding: 5px 13px; border-radius: 999px;
  background: var(--fire); color: #03140a; transition: background .2s;
}
.nav-btn:hover { background: var(--fire-hi); }

/* ORTAK */
.eyebrow { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--fire); letter-spacing: -.01em; }
.big {
  margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 1.04;
  font-size: clamp(42px, 6.6vw, 92px);
}
.dim { color: var(--faint); }
.statement-sub { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-weight: 450; }
.statement-sub.center { margin-inline: auto; text-align: center; }
.stage-light {
  position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1.3; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(61, 220, 132, .26), rgba(31, 145, 80, .09) 45%, transparent 72%);
  filter: blur(30px); pointer-events: none;
}

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 1. GİRİŞ */
.hero { padding: 116px var(--pad) 0; text-align: center; overflow: hidden; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.hero-icon {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 22px;
  filter: drop-shadow(0 18px 50px rgba(61, 220, 132, .28));
  animation: rise 1.2s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1 {
  margin: 0; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-size: clamp(44px, 7.4vw, 108px);
  animation: rise 1.2s .08s cubic-bezier(.16, 1, .3, 1) both;
}
.glow-text {
  background: linear-gradient(180deg, #d4fbe1 0%, var(--fire) 55%, var(--fire-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 640px; margin: 28px auto 0; color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; font-weight: 450;
  animation: rise 1.2s .16s cubic-bezier(.16, 1, .3, 1) both;
}
.links { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; animation: rise 1.2s .24s cubic-bezier(.16, 1, .3, 1) both; }
.link, .link-fire { font-size: 19px; text-decoration: none; font-weight: 450; }
.link-fire { color: var(--fire); }
.link { color: var(--text); opacity: .8; }
.link:hover, .link-fire:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.stage { position: relative; isolation: isolate; max-width: 460px; margin: clamp(56px, 7vw, 88px) auto 0; animation: rise 1.4s .32s cubic-bezier(.16, 1, .3, 1) both; }

/* TELEGRAM BENZETİMİ */
.tg {
  text-align: left; border-radius: 22px; overflow: hidden; background: #0e0f10;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.tg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #141516; }
.tg-head img { border-radius: 50%; }
.tg-head b { display: block; font-size: 15px; font-weight: 600; }
.tg-head small { display: block; font-size: 12.5px; color: var(--muted); }
.tg-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 14px 20px; font-size: 14.5px; line-height: 1.45; }
.msg { position: relative; max-width: 88%; padding: 9px 13px 20px; border-radius: 16px; }
.msg p { margin: 0; }
.msg p + p { margin-top: 5px; }
.msg time { position: absolute; right: 12px; bottom: 5px; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.msg.bot { align-self: flex-start; background: #1c1d1f; border-bottom-left-radius: 5px; }
.msg.me { align-self: flex-end; margin-top: 16px; background: #1d3b2a; border-bottom-right-radius: 5px; padding-right: 50px; padding-bottom: 9px; }
.msg.me time { color: rgba(255, 255, 255, .45); }
.msg.me + .msg.bot { margin-top: 6px; }
.msg-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.warn { background: var(--warn); box-shadow: 0 0 10px rgba(255, 159, 10, .6); }
.kv { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.kv span { color: var(--muted); }
.kv code, .li code { color: #d2d2d7; overflow-wrap: anywhere; }
.li { padding-left: 14px; position: relative; color: #c7c7cc; }
.li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--fire); }
.keys { display: flex; gap: 6px; max-width: 88%; }
.key {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .07); color: #e5e5ea; transition: background .4s, color .4s;
}
.key.is-pressed { background: rgba(61, 220, 132, .2); color: var(--fire-hi); }
.sys { align-self: center; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, .05); text-align: center; }

/* Mesajlar sırayla belirir (JS .play ekler) */
.tg.play .tg-body > * { opacity: 0; transform: translateY(10px); }
.tg.play .tg-body > .on { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.tg.play .key.is-pressed:not(.lit) { background: rgba(255, 255, 255, .07); color: #e5e5ea; }

/* BÖLÜMLER */
.statement { max-width: var(--max); margin: 0 auto; padding: clamp(140px, 18vw, 230px) var(--pad) 0; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: clamp(70px, 9vw, 120px) 0 0; }
.numbers div { padding-top: 26px; border-top: 1px solid var(--line); }
.numbers dt { font-weight: 700; letter-spacing: -.045em; line-height: 1; font-size: clamp(44px, 5vw, 68px); }
.numbers dd { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 320px; }

.log-line {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 100px);
  font: 500 clamp(14px, 1.6vw, 19px)/1.4 var(--mono); color: var(--muted);
}
.ll-req { color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.ll-arrow, .ll-out { color: var(--fire); }

.mask { margin-top: clamp(56px, 7vw, 90px); font: 500 clamp(14px, 1.5vw, 18px)/1.9 var(--mono); color: #d2d2d7; }
.mask p { margin: 0; overflow-wrap: anywhere; }
.m-k { color: var(--faint); }
.mask s { color: var(--faint); text-decoration-color: var(--bad); text-decoration-thickness: 1.5px; }
.mask b { margin-left: 6px; font-weight: 500; color: var(--fire); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; padding: 0; margin: clamp(56px, 7vw, 80px) 0 0; text-align: left; }
.facts li { padding-top: 20px; border-top: 1px solid var(--line); }
.facts b { display: block; font-size: 24px; letter-spacing: -.03em; }
.facts b code { font-size: .9em; color: var(--fire); }
.facts li > span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }

/* /audit */
.audit {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center;
  margin-top: clamp(70px, 9vw, 110px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line);
}
.audit-score { display: flex; align-items: baseline; gap: 10px; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-size: clamp(80px, 10vw, 140px); }
.audit-score small { font-size: .2em; letter-spacing: -.01em; font-weight: 600; color: var(--fire); }
.audit ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.audit li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 0 9px 22px; position: relative; color: #c7c7cc; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.audit li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; }
.audit li.ok::before { background: var(--fire); }
.audit li.bad::before { background: var(--warn); }
.audit em { font: normal 13.5px var(--mono); color: var(--muted); }

/* GÜVENLİK */
.wipe { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) 0; text-align: center; }
.wipe-copy .statement-sub { margin-inline: auto; }
.wipe .facts { max-width: 960px; margin-inline: auto; }

/* FAIL2BAN */
.systems { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) 0; text-align: center; }
.caption { margin: 36px 0 0; color: var(--muted); font-size: 14px; font-family: var(--mono); }

/* KURULUM */
.install { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) clamp(100px, 12vw, 160px); text-align: center; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; margin: 56px 0 0; text-align: left; }
.cmd { position: relative; padding: 26px 26px 24px; border-radius: 22px; background: #0c0c0d; border: 1px solid var(--line); }
.cmd-os { margin: 0 0 18px; padding-right: 96px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.cmd-os small { display: block; margin-top: 4px; font-size: 13px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.cmd pre { margin: 0; overflow-x: auto; font: 14px/1.9 var(--mono); color: #d2d2d7; }
.copy {
  position: absolute; top: 22px; right: 22px; font: 500 13px var(--sans); color: var(--text); cursor: pointer;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #1c1c1e; transition: background .2s, color .2s;
}
.copy:hover { background: #2c2c2e; }
.copy.ok { background: var(--fire); color: #03140a; border-color: transparent; }
.fine { max-width: 720px; margin: 56px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.fine a { color: var(--fire); }

/* ALT BİLGİ */
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px; color: var(--muted); font-size: 13px; }
.footer-in p { margin: 0; }
.footer-in a { color: var(--muted); }
.footer-links { display: flex; gap: 20px; margin-left: auto !important; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* DUYARLI */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav-btn { margin-left: auto; }
  .numbers, .facts, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .numbers { gap: 28px; }
  .audit { grid-template-columns: minmax(0, 1fr); }
  .footer-links { margin-left: 0 !important; }
}
@media (max-width: 520px) {
  .hero { padding-top: 104px; }
  .hero-icon { width: 88px; height: 88px; border-radius: 20px; }
  .links { gap: 22px; }
  .tg { border-radius: 18px; }
  .tg-body { font-size: 14px; padding-inline: 10px; }
  .msg, .keys { max-width: 94%; }
  .cmd { padding: 22px 20px 20px; }
  .copy { top: 18px; right: 18px; }
}

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