/* kresaz — mor ve siyah */
:root {
  --bg: #050307;
  --ink: #F1EBFF;
  --muted: #9C92B5;
  --dim: #6E6585;
  --soft: #B9AED3;
  --line: #2B2440;
  --violet: #7C3AED;
  --violet-light: #C4A9FF;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display: "Unbounded", "Arial Black", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--mono); }
a { color: var(--ink); }
a:hover { color: var(--violet-light); }
img { max-width: 100%; }
.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; }

@keyframes kz-drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,6vh) scale(1.15); } }
@keyframes kz-drift2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-10vw,-4vh) scale(0.9); } }
@keyframes kz-sweep { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }
@keyframes kz-pulse { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes kz-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes kz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kz-scan { 0% { top: -4%; opacity: 0; } 10%,80% { opacity: .5; } 100% { top: 104%; opacity: 0; } }

.page { position: relative; min-height: 100vh; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.b1 { top: -10%; left: -10%; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; background: #5B21B6; filter: blur(120px); opacity: .45; animation: kz-drift1 18s ease-in-out infinite; }
.blob.b2 { top: 35%; right: -15%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; background: #1E3A8A; filter: blur(140px); opacity: .35; animation: kz-drift2 22s ease-in-out infinite; }
.blob.b3 { bottom: -10%; left: 20%; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; background: #A21CAF; filter: blur(150px); opacity: .22; animation: kz-drift1 18s ease-in-out infinite; }
.cursor-glow { position: absolute; z-index: 0; pointer-events: none; width: 560px; height: 560px; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(139,92,246,.32), rgba(139,92,246,0)); transition: left 180ms ease-out, top 180ms ease-out, opacity 400ms; opacity: 0; left: -999px; top: -999px; }

.wrap { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 40px) 64px; }
.topbar { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; font-size: 12px; line-height: 1.35; letter-spacing: .06em; font-weight: 700; }
.topbar .mid { text-align: center; color: var(--muted); }
.topbar .end { text-align: right; }
.topbar a { text-decoration: none; }
.topbar .lang-off { color: var(--muted); }
.topbar .accent { color: var(--violet-light); }
.home-link { text-decoration: none; }

.terminal { margin-top: clamp(36px, 5vw, 64px); font-size: clamp(13px, 1.2vw, 15px); line-height: 1.7; color: var(--soft); min-height: 3.4em; }
.cursor { color: var(--violet-light); animation: kz-blink 1s steps(1) infinite; }

.hero { position: relative; margin-top: clamp(20px, 3vw, 40px); }
.tag { position: absolute; top: 2%; font-size: clamp(9px, .95vw, 12px); line-height: 1.3; letter-spacing: .06em; font-weight: 700; z-index: 3; }
.tag.t1 { left: 21%; } .tag.t2 { left: 58%; } .tag.t3 { right: 0; text-align: right; }
.wordmark-box { position: relative; }
.wordmark { margin: 0; padding-top: clamp(28px, 4vw, 52px); font-family: var(--display); font-weight: 900; font-size: clamp(76px, 16.2vw, 230px); line-height: .8; letter-spacing: -.06em; color: var(--violet); text-align: center; position: relative; z-index: 1; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(196,169,255,0), rgba(232,213,255,.9), rgba(196,169,255,0)); box-shadow: 0 0 18px rgba(196,169,255,.8); z-index: 2; pointer-events: none; animation: kz-scan 7s ease-in-out infinite; }

.block { position: relative; z-index: 2; margin-top: -.06em; background: var(--violet); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding: 0 clamp(16px,3vw,40px) clamp(24px,3vw,36px); }
.block-glow { position: absolute; left: 50%; top: -8%; width: 70%; height: 80%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232,213,255,.55), rgba(232,213,255,0) 70%); pointer-events: none; animation: kz-pulse 4s ease-in-out infinite; }

.flow { order: 2; flex: 1 1 560px; min-width: 0; position: relative; height: clamp(500px, 43vw, 650px); margin-top: clamp(-72px, -4.5vw, -36px); perspective: 1600px; z-index: 4; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.phone { position: absolute; left: 50%; top: 0; width: clamp(230px, 20vw, 296px); aspect-ratio: 1206 / 2622; margin: 0; padding: 9px; border: 0; border-radius: 42px; background: var(--bg); cursor: pointer; transition: transform 900ms cubic-bezier(.22,1,.36,1), opacity 700ms, box-shadow 700ms; }
.phone .screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; clip-path: inset(0 round 34px); -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; transform: translateZ(0); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; pointer-events: none; }
.phone .sweep { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.28) 50%, rgba(255,255,255,0) 62%); animation: kz-sweep 5.5s ease-in-out infinite; }
.phone .shade { position: absolute; inset: 0; background: var(--bg); transition: opacity 700ms; }
.drag-hint { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.7); white-space: nowrap; }

.side-left { order: 1; flex: 0 1 270px; min-width: 0; display: flex; flex-direction: column; gap: 14px; color: #fff; position: relative; z-index: 5; }
.side-right { order: 3; flex: 0 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: #fff; position: relative; z-index: 5; }
.kicker { font-size: 12px; letter-spacing: .08em; font-weight: 700; color: rgba(255,255,255,.8); }
.app-head { display: flex; gap: 14px; align-items: center; }
.app-head img { width: 60px; height: 60px; border-radius: 15px; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 12px 30px rgba(20,0,50,.5); }
.app-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.04em; line-height: .95; }
.side-left p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 40ch; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tick { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); background: rgba(5,3,7,.55); color: #fff; font: 700 13px var(--mono); letter-spacing: .08em; text-decoration: none; }
.tick::before, .tick::after, .tick > .c1, .tick > .c2 { content: ""; position: absolute; width: 5px; height: 5px; background: #fff; }
.tick::before { top: -3px; left: -3px; } .tick::after { top: -3px; right: -3px; }
.tick > .c1 { bottom: -3px; left: -3px; } .tick > .c2 { bottom: -3px; right: -3px; }
.tick .soon { font-size: 10px; color: rgba(255,255,255,.7); }
.row { display: flex; gap: 14px; width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.3); padding: 10px 0; min-height: 44px; align-items: center; font: 700 13px var(--mono); letter-spacing: .08em; cursor: pointer; color: rgba(255,255,255,.55); }
.row[aria-current="true"] { color: #fff; }
.caption { margin-top: 10px; font-size: 13px; line-height: 1.55; color: #fff; min-height: 3.2em; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,3,7,.6); }
.marquee-track { display: flex; width: max-content; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--soft); padding: 14px 0; animation: kz-marquee 38s linear infinite; }
.marquee-track span { padding-right: 48px; }
.marquee-track i { font-style: normal; color: var(--violet-light); }

.about { margin-top: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; }
.brackets { color: var(--dim); font-size: 14px; line-height: 1.6; white-space: pre; }
.brackets b { color: var(--ink); }
.about-body { grid-column: span 2; min-width: 0; }
.about-body > p { margin: 0 0 36px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: #D9D0EE; max-width: 56ch; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line); }
.pillars > div { padding: 20px 16px; border-right: 1px solid var(--line); }
.pillars > div:first-child { padding-left: 0; } .pillars > div:last-child { border-right: 0; }
.pillars small { color: var(--violet-light); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.pillars strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 10px; }
.secret { margin-top: 40px; position: relative; border: 1px dashed var(--violet-light); padding: 28px; background: rgba(12,8,22,.7); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; overflow: hidden; }
.secret .halo { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,58,237,.55), rgba(124,58,237,0)); pointer-events: none; animation: kz-pulse 4s ease-in-out infinite; }
.secret .label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--violet-light); }
.secret .name { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.03em; margin-top: 10px; color: #fff; word-break: break-all; }
.secret .snote { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.secret svg { position: relative; flex-shrink: 0; }

.contact { margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.contact .big { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4.6vw, 64px); letter-spacing: -.05em; text-decoration: none; color: #fff; }
.contact .legal { font-size: 12px; line-height: 1.7; letter-spacing: .06em; color: var(--muted); text-align: right; }
.contact .legal a { color: var(--muted); }

/* Açılış ekranı */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); transition: opacity 650ms ease; }
.intro.gone { opacity: 0; pointer-events: none; }
.intro-inner { max-width: 1360px; margin: 0 auto; height: 100%; padding: clamp(80px,14vh,160px) clamp(20px,6vw,96px) 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.loader { font-size: 15px; line-height: 1.9; color: var(--dim); font-weight: 700; white-space: pre; }
.loader b { color: #D9D0EE; font-weight: 700; } .loader strong { color: #fff; }
.intro-lines { font-size: clamp(14px,1.4vw,17px); line-height: 1.9; color: var(--soft); font-weight: 700; min-height: 6em; }
.intro-lines .last { margin-top: 18px; color: #fff; }
.intro .tick { min-height: 52px; min-width: 200px; justify-content: center; letter-spacing: .14em; font-size: 14px; background: transparent; border-color: rgba(255,255,255,.28); cursor: pointer; }

/* Metin sayfaları */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; }
.crumbs { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.crumbs a { color: var(--muted); }
.doc .kicker { color: var(--violet-light); margin-top: 28px; }
.doc h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 64px); letter-spacing: -.04em; line-height: 1; margin: 12px 0 10px; color: #fff; }
.doc .meta { font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); letter-spacing: -.02em; margin: 44px 0 12px; color: #fff; }
.doc h2 .n { color: var(--violet-light); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; margin-right: 10px; }
.doc h3 { font-size: 15px; margin: 28px 0 8px; color: #fff; }
.doc p, .doc li { font-size: 15px; line-height: 1.75; color: #D9D0EE; }
.doc ul { padding-left: 1.2rem; }
.doc strong { color: #fff; }
.doc a { color: var(--violet-light); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); color: #D9D0EE; line-height: 1.55; }
.doc th { font-size: 11px; letter-spacing: .08em; color: var(--violet-light); background: rgba(124,58,237,.08); }
.note { border: 1px dashed var(--violet-light); background: rgba(12,8,22,.7); padding: 16px 18px; margin: 18px 0; }
.doc-foot { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.doc-foot a { color: var(--muted); }

@media (max-width: 900px) {
  .flow { order: 1; flex-basis: 100%; }
  .side-left { order: 2; flex-basis: 100%; }
  .side-right { order: 3; flex-basis: 100%; }
  .about-body { grid-column: auto; }
  .pillars > div { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact .legal { text-align: left; }
}
@media (max-width: 560px) {
  .tag { display: none; }
  .topbar .mid { display: none; }
  .topbar { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .phone .sweep, .block-glow, .cursor, .marquee-track, .scanline, .secret .halo { animation: none; }
  .phone { transition: none; }
}

#icerik:focus { outline: none; }
.flow:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 6px; }
@media (max-width: 560px) {
  .flow { margin-top: -10px; height: 470px; }
  .phone { width: 206px; }
}
