/* STRAI · proje 216: lacivert komuta odası, dört liderlik rengi tek aksan ailesi; mavi yalnız vurgu */
@font-face { font-family: "Host Grotesk"; src: url("../app/fonts/host-grotesk-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Host Grotesk"; src: url("../app/fonts/host-grotesk-latin-ext.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Bedstead"; src: url("../assets/fonts/bedstead.otf") format("opentype"); font-display: swap; }
:root {
  --ink: #0b1230; --ink1: #0f1838; --ink2: #16224f; --ink3: #223268; --line: rgba(150,175,230,.16); --fg: #eef2fb; --mute: #98a6c6;
  --blue: #2b8ad6; --blue2: #5fb3ee; --k: #e0493d; --s: #f2b705; --y: #2fa36b; --m: #2b8ad6;
  --font: "Host Grotesk", -apple-system, "Segoe UI", sans-serif; --mono: "Bedstead", ui-monospace, monospace; --w: min(1080px, 100% - 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--blue2); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }

/* açılış: iris açılır */
.iris { position: fixed; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); z-index: 50; pointer-events: none; box-shadow: 0 0 0 300vmax var(--ink); animation: iris 1.1s .5s var(--ease) forwards, irisgone 0s 1.7s forwards; }
@keyframes iris { to { width: 300vmax; height: 300vmax; } } @keyframes irisgone { to { visibility: hidden; } }
.iris.gone { display: none; }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 14px calc((100% - var(--w)) / 2); background: linear-gradient(rgba(11,18,48,.96), rgba(11,18,48,.7) 70%, transparent); }
.brand { font-weight: 800; display: flex; align-items: center; gap: 10px; }
.brand .tt { font-family: var(--mono); font-size: 13px; color: #ffff00; background: #0000ff; padding: 1px 6px; }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; color: var(--mute); }
.nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--ink2); color: var(--fg); transition: transform .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: linear-gradient(135deg, #2b8ad6, #5fb3ee); color: #04122c; border-color: transparent; }
.btn.ghost { background: transparent; } .btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn:disabled { opacity: .4; pointer-events: none; }
@media (max-width: 820px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* kahraman */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 0 60px; overflow: hidden; }
.field { position: absolute; inset: 0; }
.field i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .2; animation: drift 14s ease-in-out infinite alternate; }
.field i:nth-child(1) { background: var(--k); left: -14vmax; top: -10vmax; } .field i:nth-child(2) { background: var(--s); right: -16vmax; top: 4vmax; animation-delay: -4s; }
.field i:nth-child(3) { background: var(--y); left: 6vmax; bottom: -22vmax; animation-delay: -8s; } .field i:nth-child(4) { background: var(--m); right: 2vmax; bottom: -20vmax; animation-delay: -2s; opacity: .26; }
@keyframes drift { to { transform: translate(5vmax, 3vmax) scale(1.12); } }
.hero-in { position: relative; width: var(--w); max-width: 780px; }
.eyebrow { font-family: var(--mono); color: var(--blue2); font-size: 14px; margin: 0 0 14px; }
.title { display: flex; align-items: center; gap: .18em; font-size: clamp(60px, 12vw, 148px); line-height: .95; font-weight: 800; letter-spacing: -.045em; margin: 0 0 24px; }
.title .tx span { color: var(--blue2); font-weight: 300; }
.mark { width: .78em; height: .78em; border-radius: 22%; box-shadow: 0 10px 40px rgba(43,138,214,.45); animation: tilt 6s ease-in-out infinite; }
@keyframes tilt { 50% { transform: rotate(-6deg) scale(1.04); } }
.lead { font-size: clamp(17px, 2.2vw, 22px); color: var(--mute); max-width: 680px; margin: 0 0 26px; } .lead b { color: var(--fg); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; } .cta.center { justify-content: center; margin-top: 34px; }
.whisper { margin-top: 30px; max-width: 580px; font-size: 14px; color: var(--mute); border-left: 2px solid var(--ink3); padding-left: 14px; }

/* bölümler */
.sec { padding: 96px 0; } .sec.alt { background: var(--ink1); }
.sec > * { width: var(--w); margin-inline: auto; }
.sec-h { margin-bottom: 36px; max-width: 760px; margin-left: calc((100% - var(--w)) / 2); }
.sec-h .k { font-family: var(--mono); color: var(--blue2); font-size: 14px; }
.sec-h h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 6px 0 14px; }
.sec-h p { color: var(--mute); font-size: 17px; margin: 0; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* 01 dört renk */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; align-items: start; }
.task { grid-column: 1 / -1; border: 1px dashed var(--ink3); border-radius: 16px; padding: 16px 20px; display: grid; gap: 4px; }
.task .k { font-family: var(--mono); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; } .task b { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; } .task small { color: var(--mute); }
.colors { display: grid; gap: 10px; }
.colors button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink1); font-weight: 700; font-size: 17px; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.colors button i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); transition: box-shadow .3s; }
.colors button small { margin-left: auto; font-weight: 400; color: var(--mute); }
.colors button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--ink1)); transform: translateX(6px); } .colors button.on i { box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 28%, transparent); }
.c-k { --c: var(--k); } .c-s { --c: var(--s); } .c-y { --c: var(--y); } .c-m { --c: var(--m); }
.phone { border: 1px solid var(--line); border-radius: 26px; background: var(--ink1); padding: 16px; min-height: 280px; display: grid; align-content: start; gap: 12px; position: relative; overflow: hidden; }
.phone::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c, var(--k)); transition: background .3s; }
.phone-bar { display: flex; justify-content: space-between; align-items: baseline; } .phone-bar small { color: var(--mute); }
.bubble { margin: 0; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: color-mix(in srgb, var(--c, var(--k)) 18%, var(--ink2)); font-size: 17px; min-height: 96px; transition: background .3s; }
.bubble.type::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } }
.why { font-size: 14px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .colors { grid-template-columns: 1fr 1fr; } .colors button.on { transform: none; } .colors button small { display: none; } }

/* 02 döngü */
.loop { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 40px; align-items: center; }
.ring { position: relative; aspect-ratio: 1; width: 100%; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rail { fill: none; stroke: var(--ink3); stroke-width: 2; stroke-dasharray: 4 8; }
.spark { fill: none; stroke: var(--blue2); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 70 872; transform-origin: 200px 200px; transform: rotate(calc(var(--a, 0) * 1deg - 90deg - 4deg)); transition: transform .9s var(--ease); filter: drop-shadow(0 0 8px var(--blue2)); }
.node { position: absolute; left: calc(50% + 37.5% * sin(calc(var(--a) * 1deg))); top: calc(50% - 37.5% * cos(calc(var(--a) * 1deg))); transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: var(--ink1); display: grid; place-content: center; text-align: center; font-weight: 700; font-size: clamp(11px, 1.7vw, 14px); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.node b { font-family: var(--mono); font-size: 12px; color: var(--blue2); font-weight: 400; }
.node:hover { transform: translate(-50%, -50%) scale(1.07); }
.node.on { background: var(--blue); border-color: transparent; transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 30px rgba(43,138,214,.55); } .node.on b { color: #fff; }
.hub { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, var(--ink2), var(--ink)); border: 1px solid var(--line); }
.hub span { font-weight: 800; letter-spacing: .1em; } .hub small { color: var(--mute); font-size: 12px; }
.loop-txt .k { font-family: var(--mono); color: var(--blue2); font-size: 14px; } .loop-txt h3 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 12px; } .loop-txt p { color: var(--mute); font-size: 17px; margin: 0; max-width: 460px; }
@media (max-width: 820px) { .loop { grid-template-columns: 1fr; } .ring { max-width: 420px; margin-inline: auto; } }

/* 03 simülatör */
.sim { display: grid; gap: 16px; max-width: 760px; }
.chat { display: grid; gap: 10px; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 16px; animation: pop .35s var(--ease) both; }
.msg.m { background: var(--ink2); border-bottom-left-radius: 4px; } .msg.t { background: var(--blue); color: #04122c; margin-left: auto; border-bottom-right-radius: 4px; }
.msg small { display: block; font-family: var(--mono); font-size: 11px; opacity: .7; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.choices { display: grid; gap: 10px; }
.choices button { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink1); font-size: 16px; transition: border-color .2s, transform .2s var(--ease); }
.choices button:hover { border-color: var(--blue2); transform: translateX(4px); }
.karne { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--ink1); display: grid; gap: 12px; animation: pop .5s var(--ease) both; }
.karne-h { display: flex; justify-content: space-between; align-items: baseline; } .karne-h small { color: var(--mute); }
.bars { display: grid; gap: 10px; } .bars > div { display: grid; grid-template-columns: 74px 1fr 40px; align-items: center; gap: 10px; font-size: 14px; }
.bars i { height: 10px; border-radius: 99px; background: var(--ink2); overflow: hidden; } .bars b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue2)); transition: width 1s var(--ease); } .bars em { font-style: normal; font-family: var(--mono); text-align: right; }
.karne p { margin: 0; color: var(--mute); }

/* 04 stüdyo */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; background: var(--ink); position: relative; transition: transform .3s var(--ease), border-color .3s; }
.steps li:hover { transform: translateY(-4px); border-color: var(--blue2); }
.steps li b { font-family: var(--mono); color: var(--blue2); font-weight: 400; } .steps h3 { margin: 6px 0 8px; font-size: 18px; letter-spacing: -.01em; } .steps p { margin: 0; color: var(--mute); font-size: 14px; }
.steps li:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; color: var(--ink3); font-size: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { display: none; } }

/* 05 durum */
.status { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.col { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--ink1); }
.col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 20px; } .col h3 i { width: 12px; height: 12px; border-radius: 50%; } .col h3 .ok { background: var(--y); box-shadow: 0 0 12px var(--y); } .col h3 .soon { background: var(--s); box-shadow: 0 0 12px var(--s); }
.col ul { margin: 0; padding-left: 18px; color: var(--mute); display: grid; gap: 7px; } .col li::marker { color: var(--blue2); }
.note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
@media (max-width: 820px) { .status { grid-template-columns: 1fr; } }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 26px calc((100% - var(--w)) / 2); border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) { .iris { display: none; } .rv { opacity: 1; transform: none; transition: none; } .field i, .mark { animation: none; } .bubble.type::after { animation: none; } html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
