:root {
  --bg: #030507;
  --bg-2: #070b10;
  --panel: rgba(10, 16, 24, 0.66);
  --line: rgba(148, 163, 184, 0.12);
  --line-2: rgba(148, 163, 184, 0.22);
  --text: #e6edf5;
  --muted: #8b98a9;
  --dim: #556273;
  --cyan: #00ffcc;
  --sky: #38bdf8;
  --violet: #a855f7;
  --amber: #f59e0b;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--sky) 45%, var(--violet) 100%);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { 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(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--cyan); color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--cyan); }
.mono { font-family: var(--mono); }
.c { color: var(--cyan); }
.u { color: var(--sky); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad code { color: inherit; }

/* ---------- boot ---------- */
#boot {
  position: fixed; inset: 0; z-index: 100;
  background: #000;
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
#boot.done { opacity: 0; visibility: hidden; }
#boot-log {
  font: 13px/1.7 var(--mono);
  color: var(--muted);
  width: min(560px, calc(100% - 32px));
  margin: 0;
  white-space: pre-wrap;
}
#boot-log .ok { color: var(--cyan); }

/* ---------- background ---------- */
#bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  opacity: 0.95;
}
.grain {
  position: fixed; inset: 0;
  z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: 0.06;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
.cursor-glow {
  position: fixed; left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.09), transparent 60%);
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .3s;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--max), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 5, 7, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line-2); background: rgba(3, 5, 7, 0.78); }
.logo { display: flex; align-items: center; gap: 10px; font: 700 16px var(--mono); letter-spacing: -0.02em; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.45);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 2px; background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 62% 35%, 62% 100%, 38% 100%, 38% 35%, 0 35%);
}
.blink { color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font: 500 13px var(--mono);
  color: var(--muted);
  padding: 8px 12px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.nav-links a.active { color: var(--cyan); }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--mono);
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(0, 255, 204, 0.3);
  color: var(--cyan);
  background: rgba(0, 255, 204, 0.06);
  white-space: nowrap;
}
.dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(0, 255, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 80px;
  max-width: var(--max); margin: 0 auto;
  position: relative;
}
.hero-kicker { color: var(--muted); font-size: 14px; margin: 0 0 8px; min-height: 1.6em; }
.hero-title {
  margin: 0;
  font: 700 clamp(60px, 20vw, 240px)/0.86 var(--sans);
  letter-spacing: -0.065em;
  margin-left: -0.05em;
}
.scramble {
  white-space: nowrap;
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, #fff 40%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(0, 255, 204, 0.18));
}
.scramble .gl { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.hero-role {
  margin: 22px 0 6px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-role .sep { color: var(--cyan); margin: 0 6px; }
.hero-typed { color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); margin: 0; min-height: 1.6em; }
.caret {
  display: inline-block; width: 9px; height: 1.1em;
  background: var(--cyan); vertical-align: -0.18em; margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.hero-meta .k { color: var(--dim); margin-right: 8px; }
.hero-meta .k::after { content: ":"; }
.scroll-hint {
  position: absolute; bottom: 28px; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; color: var(--dim); letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint span {
  width: 1px; height: 48px;
  background: linear-gradient(var(--cyan), transparent);
  animation: drip 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px;
  border-radius: 12px;
  font: 600 15px var(--sans);
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #001a14;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 255, 204, 0.5), 0 10px 40px -10px rgba(0, 255, 204, 0.6);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(0, 255, 204, 0.8), 0 14px 50px -8px rgba(0, 255, 204, 0.8); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(0, 255, 204, 0.5); background: rgba(0, 255, 204, 0.05); }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(3, 5, 7, 0.6);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 28px; width: max-content;
  animation: marquee 40s linear infinite;
  font: 500 clamp(18px, 2.4vw, 28px) var(--sans);
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { color: var(--cyan); font-style: normal; font-size: 0.7em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--pad) 0; scroll-margin-top: 40px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.tag {
  display: inline-block;
  font-size: 12px; color: var(--cyan);
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid rgba(0, 255, 204, 0.25);
  background: rgba(0, 255, 204, 0.05);
  margin-bottom: 20px;
}
h2 {
  margin: 0;
  font: 600 clamp(34px, 5.4vw, 64px)/1.02 var(--sans);
  letter-spacing: -0.045em;
}
h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin: 20px 0 0; max-width: 640px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- terminal ---------- */
.terminal {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(6, 10, 16, 0.86);
  /* blur kaldırıldı: büyük alanda kaydırma performansını düşürüyordu */
  box-shadow: 0 40px 120px -40px rgba(0, 255, 204, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(17, 24, 39, 0.8);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.term-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--dim); white-space: nowrap; }
.term-body {
  padding: 20px 22px;
  font-size: 14px; line-height: 1.75;
  height: 440px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #1e293b transparent;
  cursor: text;
}
#term-out > div { white-space: pre-wrap; word-break: break-word; }
.term-line { display: flex; gap: 10px; align-items: center; }
.term-line label { white-space: nowrap; }
#term-input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  color: var(--text); font: inherit; caret-color: var(--cyan);
  padding: 0;
}
.t-dim { color: var(--dim); }
.t-mut { color: var(--muted); }
.t-v { color: var(--violet); }
.t-a { color: var(--amber); }
.t-err { color: #f87171; }
.t-ok { color: var(--cyan); }
.t-head { color: var(--text); font-weight: 700; }
.t-link { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.neo { display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-items: start; }
.neo-art { color: var(--cyan); line-height: 1.15; font-size: 12px; text-shadow: 0 0 12px rgba(0, 255, 204, 0.5); }
.neo-pal { display: flex; gap: 0; margin-top: 6px; }
.neo-pal i { width: 22px; height: 14px; display: inline-block; }
.term-hints {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 7, 0.5);
}
.term-hints button {
  font: 500 12px var(--mono); color: var(--muted);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.term-hints button:hover { color: var(--cyan); border-color: rgba(0, 255, 204, 0.4); background: rgba(0, 255, 204, 0.06); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  --ac: var(--cyan);
  position: relative;
  padding: 34px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: border-color .3s, transform .5s var(--ease), opacity 1s var(--ease);
}
.card[data-accent="violet"] { --ac: var(--violet); }
.card[data-accent="sky"] { --ac: var(--sky); }
.card[data-accent="amber"] { --ac: var(--amber); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--ac), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card-glow {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--ac) 12%, transparent), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::before, .card:hover .card-glow { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ac) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent);
  margin-bottom: 26px;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ac); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-num { position: absolute; top: 30px; right: 32px; color: var(--dim); font-size: 13px; }
.card h3 { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 12px; color: var(--text);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- feature ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(800px circle at 100% 0%, rgba(168, 85, 247, 0.14), transparent 50%),
    radial-gradient(600px circle at 0% 100%, rgba(0, 255, 204, 0.1), transparent 50%),
    rgba(6, 10, 16, 0.75);
  position: relative; overflow: hidden;
}
.feature-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 12px; }
.badge { padding: 4px 9px; border-radius: 6px; background: rgba(0, 255, 204, 0.1); color: var(--cyan); border: 1px solid rgba(0, 255, 204, 0.25); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.badge-o { background: rgba(245, 158, 11, 0.1); color: var(--amber); border-color: rgba(245, 158, 11, 0.3); }
.gh-stat { color: var(--muted); margin-left: auto; }
.gh-stat b { color: var(--text); }
.oops-logo { width: 150px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.35)); }
.feature h3 { margin: 0 0 16px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600; }
.feature p { color: var(--muted); margin: 0 0 22px; }
.feature p strong { color: var(--text); font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; font-size: 13.5px; display: grid; gap: 8px; }
.feature-list span { color: var(--cyan); margin-right: 8px; }
.install {
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  margin-bottom: 26px; overflow: hidden;
}
.install-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.copy { font: 500 11px var(--mono); color: var(--muted); background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; }
.copy:hover, .copy.ok { color: var(--cyan); border-color: rgba(0, 255, 204, 0.5); }
.install pre { margin: 0; padding: 12px 14px; font-size: 13px; overflow-x: auto; color: var(--text); }
.feature-media { position: relative; padding-bottom: 40px; }
.media-frame {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0b1020;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.feature:hover .media-frame { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.media-frame img { width: 100%; height: auto; }
.media-float {
  position: absolute; width: 52%; right: -6%; bottom: -4%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(168, 85, 247, 0.35);
  transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(2deg) translateY(-12px); } }

/* ---------- repo grid ---------- */
.repo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.repo {
  display: flex; flex-direction: column;
  padding: 24px; border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .3s, transform .4s var(--ease), background .3s, opacity 1s var(--ease);
  min-height: 190px;
}
.repo:hover { border-color: rgba(0, 255, 204, 0.4); transform: translateY(-4px); background: rgba(10, 18, 26, 0.85); }
.repo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.repo-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; word-break: break-word; }
.repo-name::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; color: var(--dim); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.71 1.71.75.75 0 0 1-1.07 1.06A2.49 2.49 0 0 1 2 11.5zm10.5-1h-8a1 1 0 0 0-1 1v6.71A2.49 2.49 0 0 1 4.5 9h8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.71 1.71.75.75 0 0 1-1.07 1.06A2.49 2.49 0 0 1 2 11.5zm10.5-1h-8a1 1 0 0 0-1 1v6.71A2.49 2.49 0 0 1 4.5 9h8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.repo-fork { font-size: 11px; color: var(--dim); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.repo p { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.repo-meta { display: flex; flex-wrap: wrap; gap: 16px; font: 12px var(--mono); color: var(--muted); }
.repo-meta .lang::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lc, var(--cyan)); margin-right: 6px; }

/* ---------- architecture ---------- */
.arch {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.7);
  padding: clamp(10px, 2vw, 28px);
  overflow-x: auto;
}
.arch-svg { width: 100%; min-width: 720px; height: auto; display: block; font-family: var(--mono); }
.grp rect { fill: rgba(15, 23, 42, 0.35); stroke: #1e293b; stroke-width: 1.2; }
.grp text { fill: #64748b; font-size: 11px; letter-spacing: 0.14em; }
.edges path {
  fill: none; stroke: #475569; stroke-width: 1.6;
  stroke-dasharray: 5 7;
  animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -24; } }
.node rect { fill: #0b1222; stroke-width: 1.8; transition: filter .3s; }
.node text { fill: #fff; font-size: 12.5px; text-anchor: middle; font-weight: 500; }
.node text.sub { fill: #94a3b8; font-size: 9.5px; }
.n-cyan rect { stroke: var(--cyan); }
.n-sky rect { stroke: var(--sky); }
.n-violet rect { stroke: var(--violet); }
.n-amber rect { stroke: var(--amber); }
.node:hover rect { filter: drop-shadow(0 0 10px currentColor); }
.n-cyan { color: var(--cyan); } .n-sky { color: var(--sky); } .n-violet { color: var(--violet); } .n-amber { color: var(--amber); }
@keyframes nodeGlow { 50% { filter: drop-shadow(0 0 8px currentColor); } }

.stack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--line); gap: 1px;
}
.stack-col { background: rgba(5, 9, 14, 0.92); padding: 24px; transition: background .3s; }
.stack-col:hover { background: rgba(0, 255, 204, 0.04); }
.stack-col h4 { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.12em; }
.stack-col p { margin: 0; color: var(--text); }

/* ---------- connect ---------- */
.connect { padding-bottom: clamp(80px, 10vw, 140px); }
.connect-inner {
  text-align: center;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 60px);
  border-radius: 32px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px circle at 50% 0%, rgba(0, 255, 204, 0.16), transparent 60%),
    radial-gradient(600px circle at 50% 120%, rgba(168, 85, 247, 0.18), transparent 60%),
    rgba(4, 8, 12, 0.8);
  position: relative; overflow: hidden;
}
.connect-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  opacity: 0.5;
}
.connect-inner > * { position: relative; }
.connect-title { font-size: clamp(38px, 7vw, 92px); line-height: 0.98; }
.connect .lead { margin-inline: auto; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.social {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: border-color .3s, background .3s, transform .25s var(--ease);
}
.social:hover { border-color: rgba(0, 255, 204, 0.55); background: rgba(0, 255, 204, 0.06); }
.social svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; color: var(--cyan); }
.social span { display: flex; flex-direction: column; line-height: 1.25; }
.social small { color: var(--muted); font-size: 12px; }

/* ---------- footer ---------- */
.footer {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: 12px;
}
.footer .dot { margin-right: 6px; width: 6px; height: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
  .media-frame { transform: none; }
  .media-float { display: none; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-mid { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding: 8px 8px 8px 14px; }
  .status-pill { font-size: 11px; padding: 7px 10px; }
  .hero { padding-top: 110px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .scroll-hint { display: none; }
  .card { padding: 26px 22px; }
  .term-body { height: 400px; padding: 16px; font-size: 12.5px; }
  .neo { grid-template-columns: 1fr; }
  .neo-art { display: none; }
  .stack-grid { grid-template-columns: 1fr; }
  .social { flex: 1 1 100%; }
  .repo-grid { grid-template-columns: 1fr; }
}

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

/* =====================================================================
   v2 — i18n, cursor, particles, process, mega footer
   ===================================================================== */
html.i18n-wait body { opacity: 0; }

/* boot */
.boot-bar { position: absolute; left: 50%; bottom: 18%; width: min(560px, calc(100% - 32px)); height: 2px; transform: translateX(-50%); background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.boot-bar i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); box-shadow: 0 0 12px var(--cyan); }
#boot.done { clip-path: inset(0 0 100% 0); opacity: 1; transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), visibility .9s; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(0, 255, 204, .7); }

/* custom cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input { cursor: text !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 95; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor-dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: transform .2s var(--ease); }
.cursor-ring::before {
  content: ""; position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(230, 237, 245, .45);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, transform .2s;
}
.cursor.hover .cursor-ring::before { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--cyan); background: rgba(0, 255, 204, .08); }
.cursor.hover .cursor-dot::before { transform: scale(0); }
.cursor.text .cursor-ring::before { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; background: var(--cyan); border-color: transparent; }
.cursor.label .cursor-ring::before { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--cyan); border-color: var(--cyan); }
.cursor.down .cursor-ring::before { transform: scale(.85); }
.cursor-label { position: absolute; transform: translate(-50%, -50%) scale(.6); font: 700 12px var(--mono); color: #001a14; opacity: 0; white-space: nowrap; transition: opacity .2s, transform .3s var(--ease); text-transform: lowercase; }
.cursor.label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* nav extras */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 3px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font: 700 11px var(--mono); color: var(--muted); cursor: pointer;
}
.lang-toggle span { position: relative; z-index: 1; padding: 6px 9px; transition: color .3s; letter-spacing: .05em; }
.lang-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--cyan); box-shadow: 0 0 16px rgba(0, 255, 204, .5); transition: transform .45s var(--ease); }
.lang-toggle[data-lang="en"] .lang-thumb { transform: translateX(100%); }
.lang-toggle:not([data-lang="en"]) [data-l="tr"], .lang-toggle[data-lang="en"] [data-l="en"] { color: #001a14; }

/* language switch flash */
.lang-flash { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; overflow: hidden; }
.lang-flash::before {
  content: ""; position: absolute; left: 0; right: 0; height: 30vh; top: -30vh;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 204, .14) 40%, rgba(0, 255, 204, .5) 50%, rgba(168, 85, 247, .14) 60%, transparent);
  mix-blend-mode: screen;
}
.lang-flash.go { opacity: 1; }
.lang-flash.go::before { animation: sweep .7s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes sweep { to { transform: translateY(160vh); } }
[data-i18n] { transition: filter .35s, opacity .35s; }
html.lang-swapping [data-i18n] { filter: blur(6px); opacity: .25; transition: filter .25s, opacity .25s; }

/* hero */
.hero-title-wrap { position: relative; cursor: crosshair; touch-action: pan-y; }
.title-fx { position: absolute; pointer-events: none; opacity: 0; transition: opacity .4s; }
.title-fx.on { opacity: 1; }
.scramble.ghost { background: none; -webkit-text-fill-color: transparent; color: transparent; filter: none; }
.hero-hint { color: var(--dim); }
@media (pointer: coarse) { .hero-hint { display: none; } }
.hero-orbit {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(620px, 70vw); aspect-ratio: 1; right: -4%; top: 50%;
  transform: translateY(-50%); opacity: .5;
}
.hero-orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit-spin { width: 100%; height: 100%; animation: spin 60s linear infinite; will-change: transform; }
.hero-orbit text { font: 500 13.5px var(--mono); letter-spacing: .32em; fill: rgba(148, 163, 184, .55);  }
.hero-orbit::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed rgba(0, 255, 204, .18); animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

html.intro .hero-kicker, html.intro .hero-role, html.intro .hero-typed, html.intro .hero-cta, html.intro .hero-meta {
  animation: rise 1.1s var(--ease) backwards;
}
html.intro .hero-role { animation-delay: .25s; }
html.intro .hero-typed { animation-delay: .35s; }
html.intro .hero-cta { animation-delay: .45s; }
html.intro .hero-meta { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } }

/* split headings */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .22em; margin: -.06em 0 -.22em; }
.split .wi { display: inline-block; transform: translate3d(0, 110%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); }
.in .split .wi, .split.in .wi { transform: none; }
.split.pre .wi { transform: translate3d(0, 110%, 0) rotate(4deg) !important; transition: none !important; }
.split em, .split .grad { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.split .wi.g { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* feature: animated conic border + cursor light */
.feature { isolation: isolate; }
.feature-beam {
  position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--cyan) 75%, var(--violet) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 6s linear infinite;
}
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--fx, 50%) var(--fy, 50%), rgba(0, 255, 204, .08), transparent 50%);
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --ang: 360deg; } }

/* repo spotlight */
.repo { position: relative; overflow: hidden; isolation: isolate; }
.repo::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 204, .1), transparent 60%); }
.repo:hover::after { opacity: 1; }

/* process */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 40px; }
.process-line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.process-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(0, 255, 204, .7); }
.step {
  position: relative; padding: 28px 24px 30px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
  transition: border-color .4s, transform 1s var(--ease), opacity 1s var(--ease);
}
.step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 204, .09), transparent 60%); }
.step:hover::after { opacity: 1; }
.step-dot { position: absolute; top: -34px; left: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s, box-shadow .4s, background .4s; }
.step.on { border-color: rgba(0, 255, 204, .28); }
.step.on .step-dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 5px rgba(0, 255, 204, .15), 0 0 20px var(--cyan); }
.step-num { font-size: 13px; color: var(--dim); transition: color .4s; }
.step.on .step-num { color: var(--cyan); }
.step h3 { margin: 14px 0 10px; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* mega footer wordmark */
.mega {
  position: relative; max-width: var(--max); margin: clamp(40px, 8vw, 100px) auto 0; padding: 0 var(--pad);
  font: 700 clamp(72px, 19.5vw, 280px)/.86 var(--sans); letter-spacing: -.07em; text-align: center;
  user-select: none; overflow: hidden;
}
.mega span { display: block; }
.mega-out { color: transparent; -webkit-text-stroke: 1px rgba(148, 163, 184, .22); }
.mega-fill {
  position: absolute; inset: 0; padding: 0 var(--pad);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: radial-gradient(circle clamp(120px, 18vw, 260px) at var(--mx, 50%) var(--my, 50%), #000 10%, transparent 70%);
  mask-image: radial-gradient(circle clamp(120px, 18vw, 260px) at var(--mx, 50%) var(--my, 50%), #000 10%, transparent 70%);
}

@media (max-width: 1080px) {
  .nav-links a { padding: 8px 8px; }
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; }
  .process-line { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step-dot { top: 30px; left: -35px; }
  .hero-orbit { right: -30%; opacity: .3; }
}
@media (max-width: 560px) {
  .status-pill { display: none; }
  .hero-orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .split .wi { transform: none; }
}

/* =====================================================================
   v3 — mobile menu, mobile diagram, performance
   ===================================================================== */
/* ekranda olmayan sürekli animasyonları durdur (boşuna repaint olmasın) */
.arch:not(.live) .edges path,
.feature:not(.live) .feature-beam,
.feature:not(.live) .media-float { animation-play-state: paused; }
.packets circle { opacity: .95; }
.title-fx, .marquee-track, .media-frame { will-change: transform; }

/* mobile menu */
.menu-btn {
  display: none; position: relative; width: 40px; height: 40px; flex: none;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px 24px calc(28px + env(safe-area-inset-bottom));
  background: rgba(3, 5, 7, .97);
  clip-path: circle(0 at calc(100% - 44px) 40px);
  visibility: hidden;
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility .6s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 14px;
  font: 600 clamp(34px, 11vw, 52px)/1.15 var(--sans); letter-spacing: -.04em;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu nav a i { font-style: normal; font-size: 12px; color: var(--cyan); letter-spacing: 0; }
.mobile-menu nav a:active { color: var(--cyan); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .4s; }
.mm-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.mm-foot a { padding: 6px 0; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* mobile architecture (dikey akış) */
.arch-m { display: none; }
.am-layer {
  position: relative; padding: 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(15, 23, 42, .45);
}
.am-label { display: block; font-size: 10px; letter-spacing: .14em; color: #64748b; margin-bottom: 12px; }
.am-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.am-row b {
  font: 500 12px var(--mono); color: #fff;
  padding: 9px 11px; border-radius: 9px;
  border: 1.5px solid var(--ac); background: #0b1222;
  box-shadow: 0 0 14px -4px var(--ac);
}
.am-row i { font-style: normal; color: #64748b; font-size: 14px; }
.am-link { position: relative; height: 34px; }
.am-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed #475569; }
.am-link span { position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -2.25px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: drop 1.6s linear infinite; }
.arch:not(.live) .am-link span { animation-play-state: paused; }
@keyframes drop { from { transform: translateY(-3px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateY(31px); opacity: 0; } }

@media (max-width: 900px) {
  .menu-btn { display: block; }
}
@media (max-width: 700px) {
  .arch { overflow: visible; padding: 14px; }
  .arch-svg { display: none; }
  .arch-m { display: block; }
}
@media (max-width: 560px) {
  .hero { min-height: 100svh; padding-bottom: 48px; }
  .hero-meta { margin-top: 40px; gap: 8px 20px; }
  .terminal { border-radius: 14px; }
  .term-body { height: auto; min-height: 260px; max-height: 62vh; overscroll-behavior: auto; }
  .term-hints { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .term-hints::-webkit-scrollbar { display: none; }
  .term-hints button { flex: none; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .stack-col { padding: 16px 14px; }
  .stack-col p { font-size: 14px; }
  .feature { padding: 18px; border-radius: 22px; }
  .feature-top .gh-stat { margin-left: 0; }
  .install pre { font-size: 11.5px; }
  .connect-inner { padding: 44px 18px; border-radius: 24px; }
  .socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .social { padding: 14px 12px; gap: 10px; }
  .social svg { width: 22px; height: 22px; flex: none; }
  .social small { font-size: 11px; }
  .footer { flex-direction: column; align-items: center; text-align: center; }
  .section-head { margin-bottom: 32px; }
}

/* 5 sosyal kart: mobil 2'li ızgarada son kart tam genişlik */
@media (max-width: 560px) {
  .socials .social:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
