/* NÖBET Labs — örnek site */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-400-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: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-600-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: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/demos/siber/assets/fonts/chakra-700-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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/demos/siber/assets/fonts/jbmono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/demos/siber/assets/fonts/jbmono-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: #04060c;
  --bg-2: #070b15;
  --panel: #0a1020;
  --panel-2: #0f1730;
  --line: rgba(120, 200, 255, 0.09);
  --line-2: rgba(120, 200, 255, 0.16);
  --line-3: rgba(120, 200, 255, 0.28);
  --t1: #eaf6ff;
  --t2: #b4c6dc;
  --t3: #8ea3bf;
  --t4: #71859f;
  --cyan: #00e5ff;
  --cyan-2: #7df3ff;
  --cyan-a: rgba(0, 229, 255, 0.12);
  --alert: #ff2d6f;
  --alert-2: #ff8db0;
  --alert-a: rgba(255, 45, 111, 0.14);
  --violet: #a68bff;
  --ok: #5cf2c2;

  --f-sans: "Chakra Petch", "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --hdr-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t2);
  font-family: var(--f-sans);
  font-size: clamp(16px, 0.95rem + 0.2vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-booting { overflow: hidden; }
::selection { background: var(--cyan); color: #001318; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--t1); margin: 0; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, output { font: inherit; color: inherit; }
.mono { font-family: var(--f-mono); }
code { font-family: var(--f-mono); color: var(--cyan-2); font-size: 0.9em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 400; background: var(--cyan); color: #001318; padding: 10px 14px; font-weight: 700; text-decoration: none; transform: translateY(-200%); transition: transform .25s var(--ease); }
.skip:focus { transform: none; }

/* atmosfer */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 82% -10%, rgba(0, 229, 255, 0.09), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(255, 45, 111, 0.05), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 96px 100%;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.15) 100%);
}
.fx-crt {
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 0, 0.35) 100%);
}
.fx-crt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22vh; top: -22vh;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.035), transparent);
  animation: roll 9s linear infinite;
}
@keyframes roll { to { transform: translateY(130vh); } }
.fx-matrix { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.fx-matrix.is-on { opacity: 1; }
main, .ftr { position: relative; z-index: 1; }

/* açılış */
.boot { animation: bootout .3s 3.4s forwards; position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--t3); }
.boot__inner { width: min(360px, 84vw); }
.boot__line { opacity: 0; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 12px; }
.boot__ok { color: var(--cyan); }
.boot__bar { height: 2px; background: var(--line-2); margin-top: 14px; overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.boot.is-done { display: none; }
@keyframes bootout { to { opacity: 0; visibility: hidden; } }

/* düğmeler */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--h); padding: 0 22px;
  border: 1px solid var(--line-3); text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--t1); background: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); opacity: .1; }
.btn--primary { background: var(--cyan); border-color: var(--cyan); color: #001318; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn--primary::before { background: #ffffff; opacity: 1; }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--cyan); }
.btn--alert { border-color: rgba(255, 45, 111, 0.55); color: #ffd3e1; --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--alert:hover { border-color: var(--alert); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); transform-origin: left; }
}
.btn:active { transform: translateY(1px); }

.tool-btn {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--t2);
  cursor: pointer; font-size: 12.5px; letter-spacing: 0.04em; transition: border-color .25s, color .25s, background .25s;
}
.tool-btn:hover, .tool-btn:focus-visible { border-color: var(--cyan); color: var(--t1); background: var(--cyan-a); }
.tool-btn[aria-pressed="true"] { border-color: var(--alert); color: #ffd3e1; background: var(--alert-a); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); position: relative; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 45, 111, 0.5); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); margin-right: 8px; vertical-align: 1px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* üst çubuk */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--hdr-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled { background: rgba(4, 6, 12, 0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; }
.brand__mark path { stroke: var(--cyan); stroke-width: 2; fill: none; }
.brand__mark circle { fill: var(--alert); }
.brand__name { font-weight: 700; color: var(--t1); letter-spacing: 0.08em; font-size: 18px; }
.brand__name span { font-family: var(--f-mono); font-weight: 400; color: var(--cyan); letter-spacing: 0; margin-left: 6px; font-size: 13px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.04em; color: var(--t3); position: relative; padding: 6px 0; transition: color .25s; }
.nav a::before { content: "/"; color: var(--cyan); opacity: 0; margin-right: 4px; transition: opacity .25s; }
.nav a:hover, .nav a:focus-visible { color: var(--t1); }
.nav a:hover::before, .nav a:focus-visible::before { opacity: 1; }
.hdr__status { font-size: 12px; color: var(--t3); letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
@media (max-width: 1140px) { .hdr__status { display: none; } }
@media (max-width: 800px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
}

/* ortak bölüm parçaları */
section { padding: clamp(96px, 12vw, 180px) var(--gut); max-width: var(--max); margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.eyebrow::before { content: "> "; color: var(--alert); }
.sec-title { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.sec-title--sm { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); }
.sec-title > div, .sos__title > div { padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sec-lede { margin-top: 26px; max-width: 56ch; color: var(--t3); font-size: 1.05em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.sec-head .sec-lede { margin-top: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.panel { border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel), var(--bg-2)); position: relative; min-width: 0; }
.panel::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 2px; background: var(--cyan); }
.panel__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: 0.04em; color: var(--t2); }
.panel__meta { color: var(--t4); letter-spacing: 0.04em; }
.panel__meta b { color: var(--cyan); font-weight: 600; }
.field__label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); }

/* hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; padding-top: calc(var(--hdr-h) + clamp(28px, 5vh, 72px)); padding-bottom: 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 40px clamp(24px, 4vw, 64px); align-items: center;
}
.hero__hex { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000, transparent 75%); }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: clamp(20px, 2.4vw, 32px); color: var(--t2); font-size: 13px; letter-spacing: 0.04em; }
.hero__tag { color: var(--cyan); }
.hero__title {
  font-size: min(clamp(2.4rem, 1rem + 4vw, 5.2rem), 7vh + 1rem); line-height: 1; letter-spacing: -0.025em; font-weight: 700;
  margin-bottom: clamp(26px, 3vw, 40px); text-transform: uppercase;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title [data-scramble].is-scrambling { color: var(--cyan-2); }
.hero__title em { font-style: normal; color: var(--cyan); }
.caret { display: inline-block; width: 0.42em; height: 0.12em; margin-left: 0.08em; background: var(--alert); vertical-align: baseline; animation: blink 1s steps(2, end) 4; }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch::before { color: var(--alert); }
.glitch::after { color: var(--violet); }
.glitch.is-glitching::before { animation: glitch-a .45s steps(2, end) 1; }
.glitch.is-glitching::after { animation: glitch-b .45s steps(2, end) 1; }
.hero__lede { max-width: 46ch; color: var(--t2); font-size: 1.08em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.scope { margin: 0; position: relative; }
.scope__frame { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; margin-left: auto; border: 1px solid var(--line-2); background: radial-gradient(closest-side, rgba(0,229,255,.07), transparent 80%), var(--bg-2); }
.scope__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--cyan); border-style: solid; border-width: 0; pointer-events: none; }
.corner--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.scope__hud { position: absolute; left: 0; right: 0; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.08em; color: var(--t3); pointer-events: none; }
.scope__hud--top { top: 0; }
.scope__hud--bottom { bottom: 0; color: var(--t3); align-items: center; }
.scope__hud b { color: var(--t1); font-weight: 500; }
.scope__state { color: var(--alert-2); text-align: right; letter-spacing: 0.02em; transition: color .4s; }
.scope__state.is-safe { color: var(--cyan); }
.scope__cap { font-size: 12px; color: var(--t4); margin-top: 14px; max-width: 600px; margin-left: auto; line-height: 1.5; }

.hero__strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); padding-top: 18px; margin: 0; font-size: 12.5px; }
.hero__strip div { padding-right: 16px; }
.hero__strip dt { color: var(--t4); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin-bottom: 6px; }
.hero__strip dd { margin: 0; color: var(--t1); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .scope__frame { max-width: 520px; margin: 0 auto; }
  .scope__cap { margin: 14px auto 0; max-width: 520px; }
  .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* kayan akış */
.feed { border-block: 1px solid var(--line); position: relative; z-index: 1; font-size: 13px; color: var(--t3); background: var(--bg-2); padding: 16px 32px; }
.feed__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 48px; max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; }
.feed__track span { min-width: 0; }
@media (min-width: 1200px) { .feed { padding-inline: 56px; } }
@media (max-width: 860px) { .feed__track { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 640px) { .feed { padding-inline: 16px; } }
.feed i { font-style: normal; color: var(--t4); margin-right: 10px; }
.feed b { font-weight: 500; color: var(--t2); }
.sev-low { color: var(--cyan) !important; }
.sev-med { color: var(--violet) !important; }
.sev-high { color: var(--alert-2) !important; }
.sev-crit { color: var(--alert) !important; }

/* SOC */
.soc__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.map__stage { position: relative; aspect-ratio: 2 / 1; min-height: 360px; overflow: hidden; }
.map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* canlı harita: yüklenene dek gizli (altında kurgusal canlandırma), yüklenince belirir */
.map__live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; transition: opacity 0.6s ease; }
.map__stage.is-pending .map__live { opacity: 0; pointer-events: none; }
.map__stage.is-live .map__canvas,
.map__stage.is-live .map__legend { visibility: hidden; }
.map__src { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(0, 229, 255, 0.35); }
.map__src:hover, .map__src:focus-visible { border-bottom-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .map__live { transition: none; } }
.map__legend { position: absolute; left: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--t3); }
.map__legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 2px; display: inline-block; }
.sw--low { background: var(--cyan); }
.sw--med { background: var(--violet); }
.sw--high { background: var(--alert); }
.map__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 0; }
.map__stats div { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.map__stats div:first-child { border-left: 0; }
.map__stats dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t4); margin-bottom: 4px; }
.map__stats dd { margin: 0; color: var(--t1); font-size: 18px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map__stats div:first-child dd { color: var(--cyan); }

.log { display: flex; flex-direction: column; }
.log__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.log__filters { display: flex; gap: 6px; }
.filter { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--t3); cursor: pointer; font-size: 12px; transition: border-color .25s, color .25s, background .25s; }
.filter:hover, .filter:focus-visible { color: var(--t1); border-color: var(--line-3); }
.filter[aria-pressed="true"] { color: var(--t1); border-color: var(--cyan); background: var(--cyan-a); }
.log__list { flex: 1; height: 0; min-height: 360px; contain: size; overflow-y: auto; padding: 8px 0; font-size: 12px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.log__list li { display: grid; grid-template-columns: 8ch 8.5ch minmax(0, 1fr); gap: 2px 10px; padding: 7px 16px; border-left: 2px solid transparent; }
.log__list li.is-new { animation: rowin .9s var(--ease); }
@keyframes rowin { from { background: rgba(0, 229, 255, 0.1); } to { background: transparent; } }
.log__list time { color: var(--t4); font-variant-numeric: tabular-nums; }
.log__list .sev { font-weight: 600; min-width: 7ch; }
.log__list .msg { color: var(--t2); }
.log__list .src { grid-column: 3; color: var(--t4); font-size: 12px; overflow-wrap: anywhere; }
.log__list li[data-sev="0"] .sev { color: var(--t3); }
.log__list li[data-sev="1"] .sev { color: var(--cyan); }
.log__list li[data-sev="2"] .sev { color: var(--violet); }
.log__list li[data-sev="3"] .sev { color: var(--alert-2); }
.log__list li[data-sev="4"] { border-left-color: var(--alert); background: rgba(255, 45, 111, 0.06); }
.log__list li[data-sev="4"] .sev { color: var(--alert); }
.log__list li[hidden] { display: none; }
.log__foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--t4); }
@media (max-width: 1000px) {
  .soc__grid { grid-template-columns: 1fr; }
  .log__list { height: 360px; flex: none; contain: none; }
}
@media (max-width: 640px) {
  .map__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map__stats div:nth-child(3) { border-left: 0; }
  .map__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .map__stats dd { font-size: 16px; }
  .map__stage { aspect-ratio: auto; min-height: 380px; display: flex; flex-direction: column; justify-content: center; }
  .map__canvas { position: relative; height: auto; aspect-ratio: 1.6 / 1; }
  .map__legend { position: static; padding: 0 14px 12px; }
  .log__list li { grid-template-columns: 8ch minmax(0, 1fr); }
  .log__list .msg { grid-column: 1 / -1; }
  .log__list .src { grid-column: 1 / -1; }
}

/* hizmetler */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc {
  grid-column: span 2; position: relative; overflow: hidden; background: var(--bg);
  padding: 32px; min-height: 320px; display: flex; flex-direction: column; gap: 16px; outline-offset: -2px;
  transition: background .5s var(--ease);
}
@media (min-width: 1200px) { .svc { padding: 40px; } }
.svc--wide { grid-column: span 4; }
.svc:nth-child(3), .svc:nth-child(4) { grid-column: span 3; }
.svc:nth-child(5) { grid-column: span 6; min-height: 260px; }
.svc > :not(.svc__num):not(.svc__scan) { position: relative; z-index: 1; }
.svc__idx { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t4); }
.svc--alert .svc__idx { color: var(--alert-2); }
.svc__title { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); letter-spacing: -0.01em; line-height: 1; margin-top: auto; }
.svc p { color: var(--t3); max-width: 46ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.svc__tags li { border: 1px solid var(--line-2); padding: 4px 10px; color: var(--t3); transition: border-color .4s, color .4s; }
.svc__num {
  position: absolute; right: clamp(12px, 2vw, 28px); bottom: -0.16em; pointer-events: none;
  font-size: clamp(5rem, 3rem + 6vw, 10rem); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(120, 200, 255, 0.12);
  transition: -webkit-text-stroke-color .5s var(--ease), transform .7s var(--ease);
}
.svc--alert .svc__num { -webkit-text-stroke-color: rgba(255, 45, 111, 0.26); }
.svc__scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: repeating-linear-gradient(to bottom, rgba(0,229,255,.05) 0 1px, transparent 1px 4px); }
.svc__scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(to bottom, transparent, rgba(0,229,255,.12), transparent); }
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); z-index: 2; }
.svc--alert::before { background: var(--alert); }
.svc__title::before, .svc__title::after { content: attr(data-glitch); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.svc__title::before { color: var(--alert); }
.svc__title::after { color: var(--cyan); }
@media (hover: hover) {
  .svc:hover, .svc:focus-visible { background: var(--panel); }
  .svc:hover::before, .svc:focus-visible::before { transform: scaleX(1); }
  .svc:hover .svc__scan, .svc:focus-visible .svc__scan { opacity: 1; }
  .svc:hover .svc__scan::after { animation: sweep 1.6s linear infinite; }
  .svc:hover .svc__tags li { border-color: var(--line-3); color: var(--t2); }
  .svc:hover .svc__title::before { animation: glitch-a .5s steps(2, end) 1; }
  .svc:hover .svc__title::after { animation: glitch-b .5s steps(2, end) 1; }
  .svc:hover .svc__num { -webkit-text-stroke-color: rgba(0, 229, 255, 0.5); transform: translateY(-6px); }
}
@keyframes sweep { to { top: 100%; } }
@keyframes glitch-a {
  0% { opacity: .9; transform: translate(-3px, 0); clip-path: inset(10% 0 60% 0); }
  50% { opacity: .9; transform: translate(3px, 0); clip-path: inset(55% 0 20% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
@keyframes glitch-b {
  0% { opacity: .7; transform: translate(3px, 0); clip-path: inset(65% 0 5% 0); }
  50% { opacity: .7; transform: translate(-2px, 0); clip-path: inset(15% 0 70% 0); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc--wide, .svc:nth-child(n) { grid-column: auto; min-height: 0; }
  .svc__title { margin-top: 18px; }
}

/* vaka zaman çizelgesi */
.case { max-width: none; padding: 0; }
.case__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 24px) 0 40px; overflow: hidden; }
.case__head { padding: 0 var(--gut); max-width: var(--max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 48px; align-items: end; }
.case__head .eyebrow { grid-column: 1 / -1; }
.case__head .sec-title { font-size: clamp(1.8rem, 1rem + 2.8vw, 3.6rem); max-width: 22ch; }
.case__note { color: var(--t4); text-transform: none; letter-spacing: 0.02em; }
.case__clock { text-align: right; color: var(--t3); font-size: 13px; }
.case__clock b { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); font-weight: 500; color: var(--alert); letter-spacing: -0.02em; margin-left: 6px; font-variant-numeric: tabular-nums; }
.case__progress { width: 220px; height: 2px; background: var(--line-2); margin-top: 12px; margin-left: auto; }
.case__progress span { display: block; height: 100%; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.case__track { position: relative; display: flex; gap: 20px; padding: clamp(40px, 6vh, 72px) var(--gut) 0; width: max-content; will-change: transform; }
.case__track::before { content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(40px, 6vh, 72px) - 18px); height: 1px; background: linear-gradient(90deg, transparent, var(--line-3) 6%, var(--line-3) 94%, transparent); }
.phase {
  width: clamp(360px, 38vw, 560px); flex: none; transition: opacity .5s var(--ease), border-color .5s var(--ease); border: 1px solid var(--line-2); background: var(--bg-2); padding: 28px 28px 24px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.phase::after { content: ""; position: absolute; left: -1px; top: -1px; width: 40px; height: 2px; background: var(--cyan); }
.phase:first-child::after { background: var(--alert); }
.phase::before { content: ""; position: absolute; left: 34px; top: -23px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--t3); transition: background .4s, border-color .4s; }
.phase__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--t4); letter-spacing: 0.08em; }
.phase__no { color: var(--cyan); }
.phase h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; }
.phase p { color: var(--t3); font-size: 0.98em; }
.phase__log { margin: auto 0 0; padding: 14px 16px; background: var(--bg); border-left: 2px solid var(--cyan); font-size: 12px; line-height: 1.75; color: var(--cyan-2); white-space: pre-wrap; overflow: hidden; }
@media (max-width: 900px) {
  .case__head { grid-template-columns: 1fr; }
  .case__clock { text-align: left; margin-top: 24px; }
  .case__progress { margin-left: 0; }
  .case__track { flex-direction: column; width: auto; }
  .phase { width: 100%; }
}
.is-pinned .phase { opacity: .38; }
.is-pinned .phase.is-active { opacity: 1; border-color: var(--line-3); }
.is-pinned .phase.is-active::before { background: var(--cyan); border-color: var(--cyan); }
.is-linear .case__track { flex-direction: column; width: auto; max-width: var(--max); margin: 0 auto; }
.is-linear .phase { width: 100%; }
.is-linear .case__pin { min-height: 0; }
.is-linear .case__track::before, .is-linear .phase::before { display: none; }

/* rakamlar */
.stats { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding-block: 0; padding-inline: 0; margin-block: clamp(40px, 6vw, 80px); width: calc(100% - 2 * var(--gut)); max-width: calc(var(--max) - 2 * var(--gut)); }
.stat { padding: 44px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stat:first-of-type { border-left: 0; }
.stat__num { font-size: 4.2rem; line-height: .9; letter-spacing: -0.03em; color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat--big .stat__num { font-size: 7rem; color: var(--cyan); }
.stat__num small { font-size: 0.42em; color: var(--t3); letter-spacing: 0; margin-left: 4px; font-weight: 600; }
.stat__label { font-size: 14px; color: var(--t3); max-width: 30ch; }
@media (min-width: 1200px) { .stat { padding: 56px 28px; } .stat__num { font-size: 5.6rem; } .stat--big .stat__num { font-size: 10rem; } }
@media (max-width: 600px) { .stat { padding: 28px 16px; } .stat__num { font-size: 3rem; } .stat--big .stat__num { font-size: 4.6rem; } }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--big { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .stat:nth-of-type(2) { border-left: 0; }
  .stat:nth-of-type(4) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

/* terminal */
.term-sec { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(72px, 8vw, 120px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--t2); cursor: pointer; font-size: 13px; transition: border-color .25s, color .25s, background .25s; }
.chip::before { content: "$ "; color: var(--t4); }
.chip:hover, .chip:focus-visible { border-color: var(--cyan); color: var(--t1); background: var(--cyan-a); }
.term { border: 1px solid var(--line-3); background: #02040a; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 10px 10px 0 -1px var(--panel-2); overflow: hidden; position: relative; }
.term::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,229,255,.025) 0 1px, transparent 1px 3px); }
.term__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--t4); background: var(--bg-2); }
.term__bar span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__lights { display: flex; gap: 6px; }
.term__lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.term__lights i:first-child { background: var(--alert); }
.term__body { height: clamp(380px, 54vh, 500px); overflow-y: auto; padding: 18px 18px 22px; font-size: 13.5px; line-height: 1.6; cursor: text; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.term__out p { white-space: pre-wrap; word-break: break-word; color: var(--t2); }
.term__out .t-cmd { color: var(--t1); }
.term__out .t-cmd::before { content: "ziyaretci@nobet:~$ "; color: var(--cyan); }
.term__out .t-dim { color: var(--t4); }
.term__out .t-acc { color: var(--cyan); }
.term__out .t-ok { color: var(--ok); }
.term__out .t-warn { color: var(--violet); }
.term__out .t-err { color: var(--alert-2); }
.term__out .t-gap { height: 10px; }
.term__line { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.term__prompt { color: var(--cyan); white-space: nowrap; flex: none; }
.term__input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0; color: var(--t1); caret-color: var(--cyan); font-size: 16px; }
.term__line:focus-within { outline: 1px dashed rgba(0, 229, 255, .45); outline-offset: 4px; }
@media (max-width: 900px) { .term-sec { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .term__body { font-size: 12.5px; padding: 14px; } .term__prompt { font-size: 12px; } }

/* laboratuvar: CTF + parola */
.lab__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ctf { overflow: hidden; }
.ctf__progress { height: 3px; background: var(--line); }
.ctf__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.ctf__list { padding: 6px 0; }
.ctf__item { padding: 18px 20px; border-bottom: 1px solid var(--line); position: relative; transition: background .4s; }
.ctf__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ctf__no { color: var(--cyan); font-size: 13px; }
.ctf__head h3 { font-size: 1.25rem; letter-spacing: 0.01em; }
.ctf__pts { margin-left: auto; font-size: 12px; color: var(--t4); white-space: nowrap; }
.ctf__item p { color: var(--t3); font-size: 0.96em; }
.ctf__blob { display: block; margin-top: 10px; padding: 10px 12px; background: var(--bg); border: 1px dashed var(--line-3); color: var(--cyan-2); font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.ctf__item.is-solved { background: rgba(92, 242, 194, 0.05); }
.ctf__item.is-solved .ctf__pts { color: var(--ok); }
.ctf__item.is-solved .ctf__pts::before { content: "✓ ÇÖZÜLDÜ · "; }
.ctf__item.is-solved h3 { text-decoration: line-through; text-decoration-color: var(--ok); text-decoration-thickness: 2px; }
.ctf__form { padding: 18px 20px 6px; display: grid; gap: 10px; }
.ctf__row, .pw__row { display: flex; gap: 8px; }
.ctf__input, .pw__input, .decoder__in {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-2); padding: 12px 14px; font-size: 16px; color: var(--t1);
  transition: border-color .25s, box-shadow .25s;
}
.ctf__input:focus, .pw__input:focus, .decoder__in:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-a); }
.ctf__input::placeholder, .decoder__in::placeholder { color: var(--t4); }
.ctf__input.is-wrong { border-color: var(--alert); animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.ctf__msg { min-height: 1.5em; font-size: 12.5px; color: var(--t3); }
.ctf__msg.is-ok { color: var(--ok); }
.ctf__msg.is-err { color: var(--alert-2); }
.decoder { margin: 6px 20px 20px; border: 1px solid var(--line); }
.decoder summary { cursor: pointer; padding: 12px 14px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--t2); list-style: none; }
.decoder summary::-webkit-details-marker { display: none; }
.decoder summary::before { content: "+ "; color: var(--cyan); }
.decoder[open] summary::before { content: "− "; }
.decoder__body { padding: 0 14px 14px; display: grid; gap: 10px; }
.decoder__in { resize: vertical; font-size: 14px; }
.decoder__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.decoder__out { display: block; min-height: 2.6em; padding: 10px 12px; background: var(--bg); border-left: 2px solid var(--violet); font-size: 13px; color: var(--t1); overflow-wrap: anywhere; }

.achv { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 32px; flex-wrap: wrap; text-align: left;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,229,255,.14), transparent 60%), rgba(4, 6, 12, 0.96); outline: none; }
.achv[hidden] { display: none; }
.achv > div { max-width: 34ch; display: grid; gap: 10px; justify-items: start; }
.achv__badge { width: 140px; height: 140px; flex: none; }
.achv__hex { fill: rgba(0, 229, 255, 0.08); stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 330; stroke-dashoffset: 330; }
.achv__check { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: square; stroke-dasharray: 70; stroke-dashoffset: 70; }
.achv.is-in .achv__hex { animation: draw 1.1s var(--ease) forwards; }
.achv.is-in .achv__check { animation: draw .6s var(--ease) .8s forwards; }
.achv__kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ok); }
.achv h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); text-transform: uppercase; }
.achv p { color: var(--t2); }

.pw__body { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pw__note { font-size: 12px; color: var(--t4); line-height: 1.55; }
.pw__meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.pw__meter span { height: 8px; background: var(--line-2); transition: background .35s var(--ease); }
[data-score="1"] .pw__meter span:nth-child(-n+1) { background: var(--alert); }
[data-score="2"] .pw__meter span:nth-child(-n+2) { background: var(--alert-2); }
[data-score="3"] .pw__meter span:nth-child(-n+3) { background: var(--violet); }
[data-score="4"] .pw__meter span:nth-child(-n+4) { background: var(--cyan); }
[data-score="5"] .pw__meter span { background: var(--ok); }
.pw__verdict { color: var(--t1); font-weight: 600; font-size: 1.1em; min-height: 1.6em; }
.pw__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.pw__facts div { background: var(--bg); padding: 12px 14px; }
.pw__facts dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t4); margin-bottom: 4px; }
.pw__facts dd { margin: 0; color: var(--cyan); font-size: 15px; }
.pw__checks { display: grid; gap: 6px; font-size: 13px; }
.pw__checks li { color: var(--t3); display: flex; gap: 10px; align-items: baseline; }
.pw__checks li::before { content: "[ ]"; color: var(--t4); flex: none; }
.pw__checks li.is-ok { color: var(--t1); }
.pw__checks li.is-ok::before { content: "[✓]"; color: var(--ok); }
.pw__checks li.is-bad { color: var(--alert-2); }
.pw__checks li.is-bad::before { content: "[✗]"; color: var(--alert); }
.pw__foot { font-size: 12px; color: var(--t4); }
@media (max-width: 980px) { .lab__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .ctf__row { flex-direction: column; }
  .ctf__row .btn { justify-content: center; }
  .ctf__item, .ctf__form { padding-inline: 16px; }
  .decoder { margin-inline: 16px; }
  .pw__body { padding: 16px; }
  .achv { flex-direction: column; text-align: center; padding: 24px; }
  .achv > div { justify-items: center; }
}

/* ilkeler + rozetler */
.creds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px clamp(32px, 6vw, 96px); padding-top: clamp(60px, 8vw, 120px); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.principles li:last-child { border-bottom: 1px solid var(--line-2); }
.principles span { color: var(--cyan); font-size: 13px; padding-top: 6px; }
.principles h3 { font-size: 1.35rem; margin-bottom: 6px; }
.principles p { color: var(--t3); }
.badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.badges li { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px dashed var(--line-3); position: relative; transition: border-color .3s, background .3s; }
.badges li::before { content: ""; position: absolute; top: 10px; right: 10px; width: 6px; height: 6px; border: 1px solid var(--cyan); transform: rotate(45deg); }
.badges b { color: var(--t1); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; }
.badges span { color: var(--t4); font-size: 12px; }
.badges li:hover { border-color: var(--cyan); background: var(--cyan-a); }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } }

/* acil */
.sos { position: relative; text-align: center; overflow: hidden; max-width: none; isolation: isolate; border-block: 1px solid rgba(255, 45, 111, .25);
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 45, 111, .15), transparent 62%), #08040a; }
.sos__rings { position: absolute; left: 50%; top: 55%; width: 0; height: 0; z-index: -1; }
.sos__rings span { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; border: 1px solid rgba(255, 45, 111, .38); transform: scale(.15); opacity: 0; animation: ring 6s var(--ease) infinite; }
.sos__rings span:nth-child(2) { animation-delay: 2s; }
.sos__rings span:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.sos__title { font-size: clamp(2.4rem, 1.2rem + 5vw, 6.2rem); letter-spacing: -0.02em; line-height: .98; max-width: 14ch; margin: 0 auto; text-wrap: balance; text-transform: uppercase; }
.sos__lede { color: var(--t2); max-width: 48ch; margin: 28px auto 0; }
.sos__line { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 44px; font-size: 13px; letter-spacing: 0.04em; color: var(--alert-2); }
.sos__phone { display: inline-block; margin-top: 14px; font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); color: var(--t1); text-decoration: none; padding: 14px 28px; border: 1px solid rgba(255, 45, 111, .55); background: rgba(255, 45, 111, .08); letter-spacing: 0.04em; transition: background .3s, border-color .3s, box-shadow .3s; }
.sos__phone:hover, .sos__phone:focus-visible { background: rgba(255, 45, 111, .18); border-color: var(--alert); box-shadow: 6px 6px 0 rgba(255, 45, 111, .35); }
.sos__note { margin-top: 16px; font-size: 12px; color: var(--t4); }

/* iletişim */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.fp { margin-top: 40px; display: grid; gap: 6px; border-left: 2px solid var(--cyan); padding: 4px 0 4px 18px; }
.fp__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t4); }
.fp__value { font-size: 13.5px; color: var(--t1); letter-spacing: 0.04em; margin-bottom: 10px; word-break: break-word; }
.fp__value--live { color: var(--cyan-2); font-variant-numeric: tabular-nums; }
.contact__panel { border: 1px solid var(--line-2); background: var(--bg-2); padding: clamp(22px, 3vw, 40px); position: relative; min-height: 520px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); padding: 13px 14px; font-size: 16px; color: var(--t1);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-a); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--alert); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; text-transform: none; letter-spacing: 0; font-size: 13px; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); color: var(--t3); transition: all .25s; cursor: pointer; }
.seg input:checked + span { border-color: var(--cyan); color: var(--t1); background: var(--cyan-a); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cipher { font-size: 12px; color: var(--t4); display: flex; gap: 10px; align-items: baseline; min-height: 3.4em; overflow: hidden; word-break: break-all; line-height: 1.6; }
.cipher__tag { flex: none; color: var(--cyan); border: 1px solid rgba(0, 229, 255, .35); padding: 0 6px; font-size: 12px; letter-spacing: 0.04em; }
.form__err { grid-column: 1 / -1; color: var(--alert-2); font-size: 12.5px; min-height: 1.2em; margin-top: -10px; }
.form__submit { grid-column: 1 / -1; justify-content: center; --h: 54px; }
.form__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(0,0,0,.2); }
.form__bar span { display: block; height: 100%; width: 100%; background: #001318; transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__panel { min-height: 0; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

.sent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 32px; background: var(--bg-2); outline: none; }
.sent[hidden] { display: none; }
.sent__seal { width: 120px; height: 120px; margin-bottom: 8px; }
.sent__ring { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 60px 60px; }
.sent__check { fill: none; stroke: var(--t1); stroke-width: 4; stroke-linecap: square; stroke-dasharray: 70; stroke-dashoffset: 70; }
.sent.is-in .sent__ring { animation: draw 1s var(--ease) forwards; }
.sent.is-in .sent__check { animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sent p { color: var(--t3); max-width: 40ch; }
.sent b { color: var(--cyan); font-weight: 500; }

/* alt bilgi */
.ftr { max-width: var(--max); margin: 0 auto; padding: 64px var(--gut) 96px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.ftr__brand p { margin-top: 12px; color: var(--t4); font-size: 14px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ftr__links a { color: var(--t3); text-decoration: none; font-size: 14px; }
.ftr__links a:hover, .ftr__links a:focus-visible { color: var(--t1); }
.ftr__legal { grid-column: 1 / -1; font-size: 12px; color: var(--t4); }
/* CTF #3: bilerek zeminle aynı renkte; seçilince görünür */
.ftr__secret { grid-column: 1 / -1; font-size: 12px; color: var(--bg); user-select: text; }
.ftr__secret::selection { background: var(--cyan); color: #001318; }
@media (max-width: 640px) { .ftr { grid-template-columns: 1fr; } }

/* ajans etiketi */
.credit {
  position: fixed; left: 12px; bottom: 12px; z-index: 96; font-size: 12px; letter-spacing: 0.02em; color: var(--t3); text-decoration: none;
  background: rgba(4, 6, 12, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-2); padding: 6px 10px;
  transition: color .25s, border-color .25s;
}
.credit:hover, .credit:focus-visible { color: var(--t1); border-color: var(--line-3); }
@media (max-width: 560px) { .credit { left: 8px; bottom: 8px; padding: 5px 8px; } }

/* görünür olma varsayılanı (JS .js ekler) */
.js [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .fx-crt::after, .fx-matrix, .hero__hex { display: none; }
  .sos__rings { display: none; }
  .js [data-reveal] { opacity: 1; }
  .sent.is-in .sent__ring, .sent.is-in .sent__check, .achv.is-in .achv__hex, .achv.is-in .achv__check { stroke-dashoffset: 0; }
}
