/* NimbusDrive tanıtım sayfası — "Uçuş" kimliği.
   Fikir: isim hızlı bir yarış süpürgesinden gelir → hız + depolama.
   İmza öğesi: alacakaranlık gökyüzünde altın bir süpürge izi; arkasında dosya
   türü renklerinden (görsel/video/belge/ses/arşiv) bir iz bırakır.
   Fontlar sistemden gelir (CSP font-src 'self'; dış font servisi yok). */

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

:root {
    --night: #0D0A26;
    --night-2: #1A1347;
    --dusk: #3A1F6E;
    --paper: #F7F5FF;
    --cloud: #FFFFFF;
    --ink: #120E2E;
    --muted: #5D5A7A;
    --line: rgba(18, 14, 46, 0.10);

    --gold: #FFC53D;
    --amber: #FF9F1C;
    --rose: #FF4D8D;
    --violet: #8B5CF6;
    --cyan: #22D3EE;
    --sky: #3B82F6;
    --mint: #10B981;

    --spectrum: linear-gradient(90deg, var(--cyan), var(--violet) 35%, var(--rose) 68%, var(--gold));

    --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
    --body: "Segoe UI Variable Text", "SF Pro Text", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    --gutter: clamp(16px, 4vw, 56px);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.lp {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Taşan süslemeler (eğik şerit, hız çizgileri) yatay kaydırma üretmesin.
   clip, hidden'ın aksine kaydırma kabı oluşturmaz → yapışkan sahne bozulmaz. */
main { overflow-x: clip; }

h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
a { color: inherit; }

.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;
}
.skip {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px;
    text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.grad-text {
    background: var(--spectrum);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Butonlar ---------- */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .62em 1.2em;
    border-radius: 999px;
    font: 700 15px/1 var(--body);
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out), background .2s;
    white-space: nowrap;
    overflow: hidden;
}
.btn-lg { padding: 1em 1.7em; font-size: 16.5px; }
.btn-gold {
    background: linear-gradient(120deg, var(--gold), var(--amber));
    color: var(--night);
    box-shadow: 0 10px 30px -10px rgba(255, 159, 28, .8), 0 0 0 1px rgba(255, 255, 255, .25) inset;
}
.btn-gold::after { /* hızlı parıltı */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px -12px rgba(255, 159, 28, .9); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-glass {
    background: rgba(255, 255, 255, .08); color: #fff;
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }

/* ---------- Üst gezinme ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; align-items: center; gap: 24px;
    padding: 16px var(--gutter);
    color: #fff;
    transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled {
    background: rgba(13, 10, 38, .72);
    backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
    padding-top: 10px; padding-bottom: 10px;
}
.nav-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font: 800 19px/1 var(--display); letter-spacing: -.02em; text-decoration: none;
}
.mark { width: 42px; height: 28px; }
.mark path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark-cloud { stroke: #fff; }
.mark-trail { stroke: url(#markGrad); stroke-dasharray: 6 4; animation: trail .8s linear infinite; }
@keyframes trail { to { stroke-dashoffset: 10; } }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 10px; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px var(--gutter) 110px;
    color: #fff;
    background:
        radial-gradient(60% 50% at 12% 10%, rgba(139, 92, 246, .45), transparent 70%),
        radial-gradient(50% 45% at 92% 85%, rgba(255, 77, 141, .40), transparent 70%),
        radial-gradient(40% 35% at 70% 20%, rgba(34, 211, 238, .18), transparent 70%),
        linear-gradient(170deg, var(--night) 0%, var(--night-2) 55%, var(--dusk) 100%);
    overflow: hidden;
    isolation: isolate;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow { /* ufuk çizgisi: gün batımı şeridi */
    position: absolute; left: -10%; right: -10%; bottom: -120px; height: 260px; z-index: -1;
    background: radial-gradient(50% 60% at 50% 100%, rgba(255, 159, 28, .55), rgba(255, 77, 141, .25) 45%, transparent 75%);
    filter: blur(10px);
    animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .65; transform: scaleX(1.06); } }

.hero-grid {
    width: 100%; max-width: 1360px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(32px, 5vw, 80px); align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 12.5px/1.2 var(--mono);
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 22px;
}
.hero .eyebrow, .host .eyebrow, .finale .eyebrow { color: var(--gold); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot { 50% { transform: scale(1.6); opacity: .6; } }

.hero-title {
    font-weight: 900;
    font-style: italic;
    font-size: clamp(66px, 9.6vw, 164px);
    line-height: .9;
    letter-spacing: -.05em;
    margin: 0 0 30px -0.04em;
}
.hero-title .line { display: block; padding: .02em 0 .08em; }
.hero-title .word { display: inline-block; }

/* İmza tipografisi: "Hızla uçar." spektrumla parlar ve arkasında hız izi bırakır */
.word-fast {
    position: relative;
    background: linear-gradient(100deg, var(--cyan), var(--violet) 30%, var(--rose) 60%, var(--gold) 90%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    padding-right: .08em;
}
.word-fast::before { /* hız çizgileri: kelimenin solundan akar */
    content: "";
    position: absolute; right: 100%; top: 22%; bottom: 22%; width: .9em;
    background: repeating-linear-gradient(180deg, transparent 0 9%, rgba(255, 197, 61, .9) 9% 12%, transparent 12% 24%);
    -webkit-mask: linear-gradient(90deg, transparent, #000);
    mask: linear-gradient(90deg, transparent, #000);
    opacity: 0;
}
.is-loaded .word-fast::before { animation: streak 1.4s var(--ease-out) calc(var(--d) * 110ms + 300ms) both; }
@keyframes streak {
    0% { opacity: 0; transform: translateX(60%) scaleX(.2); }
    35% { opacity: 1; transform: translateX(0) scaleX(1.4); }
    100% { opacity: 0; transform: translateX(-40%) scaleX(.6); }
}

.hero-lede { max-width: 34em; font-size: clamp(17px, 1.3vw, 19.5px); color: rgba(233, 228, 255, .78); margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero-facts li {
    font: 600 13px/1 var(--mono); color: rgba(233, 228, 255, .8);
    padding: 9px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-facts b { color: var(--gold); }

/* Yükleme koreografisi: kelimeler sağdan hızla uçarak gelir */
.load { opacity: 0; transform: translateY(26px); }
.is-loaded .load {
    animation: rise 1s var(--ease-out) forwards;
    animation-delay: calc(var(--d) * 110ms + 80ms);
}
.is-loaded .word.load { animation-name: flyIn; animation-duration: 1.1s; animation-timing-function: var(--ease-out); }
.is-loaded .word-fast.load {
    animation: flyIn 1.1s var(--ease-out) calc(var(--d) * 110ms + 80ms) forwards,
               shimmer 5s linear calc(var(--d) * 110ms + 1.2s) infinite;
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes flyIn {
    0% { opacity: 0; transform: translateX(70vw) skewX(-28deg); filter: blur(10px); }
    60% { opacity: 1; filter: blur(0); transform: translateX(-2%) skewX(6deg); }
    100% { opacity: 1; transform: none; }
}

/* ---------- Hız ölçer laboratuvarı ---------- */
.lab {
    position: relative;
    padding: 22px;
    border-radius: 26px;
    color: #E9E4FF;
    font-family: var(--mono);
    background:
        linear-gradient(160deg, rgba(42, 30, 92, .92), rgba(16, 12, 44, .94)) padding-box,
        conic-gradient(from var(--angle), var(--cyan), var(--violet), var(--rose), var(--gold), var(--cyan)) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 60px -20px rgba(139, 92, 246, .6);
    transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.is-loaded .lab.load {
    animation: rise 1s var(--ease-out) calc(var(--d) * 110ms + 80ms) forwards,
               spin-border 6s linear infinite;
}
@keyframes spin-border { to { --angle: 360deg; } }
.lab.is-over { transform: scale(1.03) rotate(-.5deg); box-shadow: 0 0 0 4px var(--gold), 0 40px 90px -30px rgba(0, 0, 0, .7); }
.lab-head { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; }
.lab-head-note { margin-left: auto; color: #8F87B8; font-weight: 500; letter-spacing: .06em; text-transform: none; }
.lab-led { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: led 2.4s ease-in-out infinite; }
.lab.is-busy .lab-led { background: var(--gold); box-shadow: 0 0 12px var(--gold); animation-duration: .4s; }
@keyframes led { 50% { opacity: .35; } }

.gauge { position: relative; margin: 6px auto 4px; max-width: 300px; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 12; stroke-linecap: round; }
.gauge-fill {
    fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round;
    stroke-dasharray: 100; stroke-dashoffset: 100;
    filter: drop-shadow(0 0 6px rgba(255, 77, 141, .6));
    transition: stroke-dashoffset 1.4s var(--ease-spring);
}
.gauge-ticks path { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-linecap: round; }
.gauge-needle {
    stroke: #fff; stroke-width: 3.5; stroke-linecap: round;
    transform-origin: 110px 118px; transform: rotate(-90deg);
    transition: transform 1.4s var(--ease-spring);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7));
}
.gauge-hub { fill: var(--gold); }
.gauge-read { /* ibre merkezden çıktığı için okuma göstergenin altında */
    margin-top: 8px;
    display: flex; justify-content: center; align-items: baseline; gap: 6px;
    font: 800 30px/1 var(--display); color: #fff; letter-spacing: -.02em;
    text-shadow: 0 0 20px rgba(255, 197, 61, .5);
}
.gauge-read small { font: 600 12px/1 var(--mono); color: #A79FD6; letter-spacing: .08em; }

.lab-drop {
    display: grid; justify-items: center; gap: 4px; text-align: center;
    margin-top: 16px; padding: 14px 16px;
    border: 1.5px dashed rgba(255, 197, 61, .55);
    border-radius: 16px;
    background: rgba(255, 197, 61, .06);
    cursor: pointer; font-family: var(--body);
    transition: background .2s, border-color .2s, transform .3s var(--ease-spring);
}
.lab-drop:hover, .lab.is-over .lab-drop { background: rgba(255, 197, 61, .14); border-color: var(--gold); transform: scale(1.02); }
.lab-drop:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.lab-drop-text { font-size: 15px; color: #fff; }
.lab-drop-hint { font-size: 12.5px; color: #A79FD6; }

.lab-out { margin: 16px 0 0; display: grid; gap: 10px; }
.lab-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; }
.lab-row dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8F87B8; }
.lab-row dd { margin: 0; font-size: 14px; color: #fff; overflow-wrap: anywhere; min-width: 0; }

.hex { display: flex; flex-wrap: wrap; gap: 3px 9px; font-size: 14px; letter-spacing: .04em; min-height: 4.4em; }
.hex .grp { display: inline-flex; }
.hex .c { display: inline-block; color: hsl(calc(190 + var(--i) * 2.6) 90% 78%); }
.hex .shard { color: var(--gold); font-weight: 800; }
.hex.is-flying .c { animation: zoomIn .5s var(--ease-out) both; animation-delay: calc(var(--i) * 9ms); }
@keyframes zoomIn {
    0% { opacity: 0; transform: translateX(3em) skewX(-30deg); filter: blur(3px); }
    100% { opacity: 1; transform: none; filter: none; }
}
.path { color: #A79FD6 !important; font-size: 13px !important; }
.path b { color: var(--gold); font-weight: 800; }
.path.is-fresh { animation: fadein .8s .4s both; }
@keyframes fadein { from { opacity: 0; } }

.lab-verdict {
    margin-top: 14px; padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    font-family: var(--body); font-size: 14px; line-height: 1.5; color: #D7D0F5;
}
.lab-verdict.is-dup {
    background: linear-gradient(120deg, rgba(255, 197, 61, .22), rgba(255, 77, 141, .18));
    color: #FFF1D6;
    box-shadow: 0 0 0 1px rgba(255, 197, 61, .6) inset;
    animation: pop .7s var(--ease-spring);
}
.lab-verdict strong { color: #fff; }
@keyframes pop { 0% { transform: scale(.94); } 100% { transform: none; } }

.scroll-cue {
    position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 13px/1 var(--mono); color: rgba(233, 228, 255, .7); text-decoration: none; letter-spacing: .04em;
}
.is-loaded .scroll-cue.load { animation-name: riseCue; }
@keyframes riseCue { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translateX(-50%); } }
.scroll-cue svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Hız şeridi ---------- */
.ticker {
    position: relative; z-index: 2;
    margin: -36px -2vw 0;
    transform: rotate(-2deg);
    background: linear-gradient(90deg, var(--violet), var(--rose), var(--amber));
    padding: 10px 0;
    box-shadow: 0 20px 40px -20px rgba(139, 92, 246, .7);
    overflow: hidden;
}
.ticker-row { overflow: hidden; }
.ticker-row + .ticker-row { margin-top: 8px; }
/* gap yerine öğe başına boşluk: iki yarı tam eşit olur → -50% kaydırmada her turda sıçrama olmaz */
.ticker-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.ticker-track > * { margin-right: 14px; }
.ticker-row-reverse .ticker-track { animation-direction: reverse; animation-duration: 30s; }
.ticker-track span {
    font: 800 14px/1 var(--mono); letter-spacing: .08em;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(13, 10, 38, .88); color: #fff;
}
.ticker-row-reverse .ticker-track span { background: transparent; color: #fff; padding: 6px 2px; font-family: var(--display); font-style: italic; font-size: 18px; letter-spacing: 0; font-weight: 800; }
.ticker-track i { font-style: normal; color: var(--night); align-self: center; }
.t-violet { box-shadow: inset 0 -3px 0 var(--violet); }
.t-rose { box-shadow: inset 0 -3px 0 var(--rose); }
.t-sky { box-shadow: inset 0 -3px 0 var(--sky); }
.t-mint { box-shadow: inset 0 -3px 0 var(--mint); }
.t-gold { box-shadow: inset 0 -3px 0 var(--gold); }
.t-cyan { box-shadow: inset 0 -3px 0 var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ortak bölüm başlığı ---------- */
.section-head { max-width: 1360px; margin: 0 auto 64px; }
.section-head h2, .space-copy h2, .host-copy h2 {
    font-weight: 900; font-style: italic;
    font-size: clamp(40px, 6vw, 88px);
    line-height: .95;
    letter-spacing: -.045em;
    padding-bottom: .06em;
}

[data-reveal] { opacity: 0; transform: translateY(50px) skewY(2deg); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- YOLCULUK ---------- */
.journey { padding: clamp(110px, 13vw, 170px) var(--gutter) 120px; }
.journey-grid {
    max-width: 1360px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 100px);
}
.stage-wrap { position: relative; }
.stage {
    --c: var(--cyan);
    position: sticky; top: 14vh;
    height: 72vh; min-height: 480px; max-height: 640px;
    border-radius: 32px;
    background:
        radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%),
        linear-gradient(170deg, var(--night-2), var(--night));
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(13, 10, 38, .8), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.stage.s2 { --c: var(--violet); }
.stage.s3 { --c: var(--gold); }
.stage.s4 { --c: var(--rose); }
.stage.s5 { --c: var(--sky); }
.stage.s6 { --c: var(--mint); }
.stage-lines { /* sahnede akan hız çizgileri */
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, .05) 22px 23px);
    -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.stage-lines::before, .stage-lines::after {
    content: ""; position: absolute; height: 2px; width: 40%; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--c));
    animation: zip 2.2s linear infinite;
}
.stage-lines::before { top: 30%; }
.stage-lines::after { top: 66%; animation-delay: -1.1s; width: 25%; }
@keyframes zip { from { left: -40%; } to { left: 110%; } }

.disk {
    position: absolute; left: 6%; right: 6%; bottom: 6%;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .07); color: #D7D0F5;
    border: 1px solid rgba(255, 255, 255, .1);
    font: 500 12.5px/1.3 var(--mono);
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.disk-label { color: #8F87B8; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.disk-blob { color: var(--gold); }
.disk-count { margin-left: auto; }
.disk-count b { color: #fff; font-weight: 700; }
.stage.s2 .disk { opacity: 1; transform: none; }

/* Dosya kartı: 1. adımda sola savrulmuş hâlden hızla süzülüp gelir */
.sc {
    position: absolute; left: 50%; top: 12%;
    width: min(340px, 76%);
    transform: translateX(-160%) skewX(-14deg);
    opacity: 0;
    background: var(--cloud);
    border-radius: 20px;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 3px color-mix(in srgb, var(--c) 70%, transparent);
    overflow: hidden;
    transition: transform .9s var(--ease-spring), filter .9s, opacity .6s, box-shadow .6s;
}
.stage.s1 .sc { transform: translateX(-50%); opacity: 1; animation: floaty 5s ease-in-out 1s infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.sc-thumb {
    position: relative; height: 0; overflow: hidden;
    background: linear-gradient(180deg, #FFB37A 0%, #FF8A7A 40%, #B06AB3 100%);
    transition: height .9s var(--ease-spring);
}
.stage.s4 .sc-thumb { height: 170px; }
.sun { position: absolute; width: 70px; height: 70px; border-radius: 50%; left: 60%; top: 52%; background: #FFE6A8; filter: blur(1px); }
.hill { position: absolute; bottom: -40px; border-radius: 50% 50% 0 0; }
.h1 { left: -10%; width: 70%; height: 90px; background: #8C4A6B; }
.h2 { right: -15%; width: 80%; height: 110px; background: #6B3A5E; }
.balloon { position: absolute; border-radius: 50% 50% 46% 46%; animation: lift 5s ease-in-out infinite; }
.balloon::after { content: ""; position: absolute; left: 42%; bottom: -7px; width: 16%; height: 6px; background: #5A3A2A; border-radius: 2px; }
.b1 { width: 30px; height: 36px; left: 18%; top: 22%; background: radial-gradient(circle at 35% 30%, #FFD36E, #E8553E); }
.b2 { width: 22px; height: 27px; left: 42%; top: 12%; background: radial-gradient(circle at 35% 30%, #A8E6FF, #4F46E5); animation-delay: -1.5s; }
.b3 { width: 16px; height: 20px; left: 78%; top: 18%; background: radial-gradient(circle at 35% 30%, #C5FFB8, #0E9F6E); animation-delay: -3s; }
@keyframes lift { 50% { transform: translateY(-10px); } }
.sc-ext { position: absolute; right: 10px; top: 10px; font: 700 10.5px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: rgba(13, 10, 38, .6); color: #fff; letter-spacing: .08em; }
.sc-body { padding: 18px 20px 20px; }
.sc-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sc-name { font-weight: 750; font-size: 16px; }
.sc-size { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.sc-progress { margin-top: 14px; height: 8px; border-radius: 8px; background: #EEEAFB; overflow: hidden; transition: margin .6s, height .6s, opacity .6s; }
.sc-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--spectrum); }
.stage.s1 .sc-progress i { animation: upload 2.2s var(--ease-out) .3s forwards; }
@keyframes upload { 0% { width: 0; } 30% { width: 38%; } 50% { width: 52%; } 100% { width: 100%; } }
.stage.s2 .sc-progress { height: 0; margin-top: 0; opacity: 0; }
.sc-hash {
    font: 600 13px/1.3 var(--mono); color: var(--muted);
    max-height: 0; opacity: 0; overflow: hidden;
    clip-path: inset(0 100% 0 0);
    transition: max-height .6s var(--ease-out), opacity .4s, margin .6s, clip-path 1.2s var(--ease-out) .2s;
}
.sc-hash span { color: var(--violet); font-weight: 800; }
.stage.s2 .sc-hash { max-height: 2em; opacity: 1; margin-top: 12px; clip-path: inset(0 0 0 0); }
.sc-share {
    display: flex; align-items: center; gap: 8px;
    max-height: 0; opacity: 0; overflow: hidden;
    font: 600 13px/1 var(--mono);
    transition: max-height .6s var(--ease-out), opacity .5s, margin .6s, padding .6s;
    border-radius: 10px; background: #E7F0FF; color: var(--sky);
}
.sc-share svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sc-share em { margin-left: auto; font-style: normal; color: var(--muted); }
.stage.s5 .sc-share { max-height: 3em; opacity: 1; margin-top: 14px; padding: 10px 12px; }
.sc-trash {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: rgba(13, 10, 38, .66); color: #fff;
    font: 700 15px/1 var(--body);
    opacity: 0; transition: opacity .7s;
}
.sc-trash b { font-family: var(--mono); color: var(--mint); font-size: 22px; }
.stage.s6 .sc { transform: translateX(-50%) translateY(8%) rotate(-5deg) scale(.9); filter: saturate(.35); }
.stage.s6 .sc-trash { opacity: 1; }

.twin {
    position: absolute; right: -40%; top: 38%;
    width: min(220px, 52%);
    padding: 12px; border-radius: 16px;
    background: var(--cloud);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6), 0 0 0 3px rgba(255, 197, 61, .8);
    display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center;
    font-size: 13.5px; font-weight: 700;
    opacity: 0;
    transition: right 1s var(--ease-spring), opacity .6s;
}
.twin small { grid-column: 2; font-weight: 500; color: var(--muted); font-size: 12px; }
.twin-thumb { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(180deg, #FFB37A, #B06AB3); }
.stage.s3 .twin { right: 4%; opacity: 1; animation: merge 2.4s var(--ease-out) 1s forwards; }
.stage.s4 .twin { animation: none; opacity: 0; right: -40%; }
@keyframes merge { to { transform: translate(-70%, 150%) scale(.3) rotate(-20deg); opacity: 0; } }
.stage.s3 .dc-refs { color: var(--gold) !important; }

.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px;
    background: var(--line);
}
.steps::after {
    content: ""; position: absolute; left: 21px; top: 10px; width: 3px; border-radius: 3px;
    height: calc(var(--progress, 0) * (100% - 20px));
    background: linear-gradient(var(--cyan), var(--violet), var(--gold), var(--rose), var(--sky), var(--mint));
    transition: height .6s var(--ease-out);
}
.step {
    position: relative;
    padding: 0 0 0 78px;
    min-height: 64vh;
    display: flex; flex-direction: column; justify-content: center;
    opacity: .25; transition: opacity .5s, transform .6s var(--ease-out);
    transform: translateX(14px);
}
.step:last-child { min-height: 70vh; }
.step.is-active { opacity: 1; transform: none; }
.step-n {
    position: absolute; left: 0; top: 50%; translate: 0 -50%;
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); border: 3px solid var(--line);
    font: 800 16px/1 var(--mono); color: var(--muted);
    z-index: 1;
    transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease-spring), box-shadow .4s;
}
.step.is-active .step-n { background: var(--c); border-color: var(--c); color: var(--night); transform: scale(1.18); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 22%, transparent); }
.step.is-done .step-n { background: #fff; border-color: var(--c); color: var(--ink); }
.step h3 { font-weight: 850; font-style: italic; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.step.is-active h3 { text-shadow: 3px 3px 0 color-mix(in srgb, var(--c) 35%, transparent); }
.step p { color: var(--muted); max-width: 30em; font-size: 18px; margin-bottom: 16px; }
.tag {
    align-self: flex-start;
    font: 600 12.5px/1 var(--mono);
    padding: 8px 11px; border-radius: 8px;
    background: color-mix(in srgb, var(--c) 14%, white); color: var(--ink);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent) inset;
}

/* ---------- HIZ KARTLARI ---------- */
.speed { padding: 70px var(--gutter) 150px; }
.speed-grid {
    max-width: 1360px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.feat {
    --c: var(--cyan);
    position: relative;
    padding: 26px; border-radius: 28px;
    background: var(--cloud);
    box-shadow: 0 30px 60px -40px rgba(58, 31, 110, .45), 0 0 0 1px var(--line);
    transform-style: preserve-3d;
    transition: transform .25s var(--ease-out), box-shadow .4s, opacity 1s var(--ease-out);
}
.feat::before { /* üstte renk bandı */
    content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, white));
}
.feat:hover { box-shadow: 0 40px 70px -36px color-mix(in srgb, var(--c) 60%, transparent), 0 0 0 2px var(--c); }
.feat-cyan { --c: var(--cyan); }
.feat-rose { --c: var(--rose); }
.feat-violet { --c: var(--violet); }
.feat-gold { --c: var(--amber); }
.feat h3 { font-size: 24px; font-weight: 850; letter-spacing: -.02em; margin: 22px 0 8px; }
.feat p { color: var(--muted); font-size: 16.5px; }
.feat-visual {
    height: 170px; border-radius: 18px; position: relative; overflow: hidden;
    background:
        radial-gradient(80% 80% at 80% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%),
        linear-gradient(160deg, var(--night-2), var(--night));
    font-family: var(--mono); font-size: 12.5px;
    transform: translateZ(30px);
}

/* parça parça yükleme */
.chunks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 26px 24px; align-content: center; }
.chunks i {
    height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .08);
    animation: chunk 6s var(--ease-out) infinite;
    animation-delay: calc(var(--i) * .32s);
}
.chunks i:nth-child(n+6) { animation-name: chunkLate; }
@keyframes chunk {
    0%, 4% { background: rgba(255, 255, 255, .08); transform: scale(.9); }
    10%, 88% { background: var(--cyan); transform: none; box-shadow: 0 0 16px var(--cyan); }
    100% { background: rgba(255, 255, 255, .08); }
}
@keyframes chunkLate { /* kesintiden sonra devam: geç başlar, tekrar gönderilmez */
    0%, 30% { background: rgba(255, 255, 255, .08); transform: scale(.9); }
    38%, 88% { background: var(--mint); transform: none; box-shadow: 0 0 16px var(--mint); }
    100% { background: rgba(255, 255, 255, .08); }
}
.chunks-cut {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    color: var(--gold); font-weight: 700; letter-spacing: .04em; white-space: nowrap;
    animation: cut 6s steps(1) infinite;
}
@keyframes cut { 0%, 26% { opacity: 0; } 27%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } }

/* videoyu ileri sar */
.scrub { padding: 18px 22px; display: grid; gap: 12px; align-content: center; }
.scrub-screen { height: 82px; border-radius: 12px; background: linear-gradient(120deg, #3B1F6E, #FF4D8D 70%, #FFC53D); display: grid; place-items: center; position: relative; overflow: hidden; }
.scrub-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, .08) 18px 20px); animation: zipScreen 1s linear infinite; }
@keyframes zipScreen { to { background-position: 40px 0; } }
.scrub-play { width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; z-index: 1; }
.scrub-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.scrub-buf { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: rgba(255, 255, 255, .35); }
.scrub-buf.b1 { left: 0; width: 8%; }
.scrub-buf.b2 { left: 58%; width: 0; animation: buf 4s var(--ease-out) infinite; }
@keyframes buf { 0%, 35% { width: 0; } 70%, 100% { width: 14%; } }
.scrub-head {
    position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
    background: var(--rose); box-shadow: 0 0 0 4px rgba(255, 77, 141, .35), 0 0 18px var(--rose);
    animation: jump 4s var(--ease-spring) infinite;
}
@keyframes jump { 0%, 25% { left: 6%; } 35%, 100% { left: 59%; } }
.scrub-time { color: #D7D0F5; justify-self: end; }

/* yazdıkça ara */
.search { display: grid; align-content: center; gap: 8px; padding: 18px 22px; }
.search-box { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 3px var(--violet); color: var(--ink); font-size: 14px; }
.caret { display: inline-block; width: 2px; height: 16px; background: var(--violet); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-hit { padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; opacity: 0; transform: translateX(-20px); transition: opacity .3s, transform .4s var(--ease-spring); }
.search.has-hits .search-hit { opacity: 1; transform: none; }
.search.has-hits .search-hit + .search-hit { transition-delay: .08s; }

/* küçük resimler */
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 22px; }
.thumbs i {
    border-radius: 10px;
    background: linear-gradient(135deg, hsl(calc(var(--i) * 45) 90% 65%), hsl(calc(var(--i) * 45 + 40) 85% 55%));
    animation: thumb 5s var(--ease-spring) infinite;
    animation-delay: calc(var(--i) * .12s);
}
@keyframes thumb {
    0%, 6% { opacity: 0; transform: scale(.4) rotate(-8deg); }
    16%, 86% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: scale(.9); }
}

/* ---------- ALAN ---------- */
.space {
    max-width: 1360px; margin: 0 auto;
    padding: 40px var(--gutter) 160px;
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 100px); align-items: center;
}
.space-copy h2 { margin-bottom: 24px; }
.space-copy p { color: var(--muted); font-size: 18px; max-width: 28em; }
.space-copy .space-note {
    margin-top: 18px; padding: 14px 16px; border-radius: 14px;
    background: color-mix(in srgb, var(--mint) 12%, white);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 35%, transparent) inset;
    font-size: 15.5px; color: var(--ink);
}
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; perspective: 900px; }
.tier {
    --c: var(--mint);
    display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 6px; align-items: center;
    padding: 18px 22px; border-radius: 20px; background: var(--cloud);
    box-shadow: 0 20px 44px -34px rgba(58, 31, 110, .55), 0 0 0 1px var(--line);
    border-left: 5px solid var(--c);
    transition: transform .25s var(--ease-out), box-shadow .4s;
}
.tier:hover { box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 2px var(--c); }
.tier-mint { --c: var(--mint); }
.tier-sky { --c: var(--sky); }
.tier-violet { --c: var(--violet); }
.tier-rose { --c: var(--rose); }
.tier-gold { --c: var(--amber); }
.tier-size { font: 900 24px/1 var(--display); font-style: italic; letter-spacing: -.02em; grid-row: span 2; }
.tier-price { font: 800 16px/1 var(--mono); text-align: right; color: var(--ink); }
.tier-note { grid-column: 2 / 4; font-size: 12.5px; color: var(--muted); }
.tier-bar { height: 12px; border-radius: 12px; background: #EEEAFB; overflow: hidden; }
.tier-bar i {
    display: block; height: 100%; width: 0; border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, white), var(--c));
    box-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent);
    transition: width 1.6s var(--ease-spring);
}
.tiers.is-in .tier-bar i { width: calc(var(--w) * 100%); }
.tiers.is-in .tier:nth-child(2) .tier-bar i { transition-delay: .12s; }
.tiers.is-in .tier:nth-child(3) .tier-bar i { transition-delay: .24s; }
.tiers.is-in .tier:nth-child(4) .tier-bar i { transition-delay: .36s; }
.tiers.is-in .tier:nth-child(n+5) .tier-bar i { transition-delay: .48s; }

/* ---------- KURULUM ---------- */
.host {
    position: relative; overflow: hidden;
    padding: clamp(100px, 12vw, 160px) var(--gutter);
    background:
        radial-gradient(50% 60% at 0% 0%, rgba(34, 211, 238, .25), transparent 70%),
        radial-gradient(50% 60% at 100% 100%, rgba(139, 92, 246, .35), transparent 70%),
        var(--night);
    color: #E9E4FF;
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 100px); align-items: center;
}
.host > * { max-width: 680px; }
.host-copy { justify-self: end; }
.host-copy h2 { color: #fff; margin-bottom: 24px; }
.host-copy p:last-child { color: #B9B1E0; font-size: 18px; }
.term {
    width: 100%; border-radius: 18px; overflow: hidden;
    background: #07051A;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(34, 211, 238, .5);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #120E2E; }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 10px; font: 500 12px/1 var(--mono); color: #6E679A; }
/* <pre> içindeki satır sonları + blok satırlar çift aralık üretmesin: boşluk yalnızca satır içinde korunur */
.term-body { margin: 0; padding: 22px 24px 26px; font: 500 15px/1.9 var(--mono); color: #E9E4FF; white-space: normal; min-height: 230px; }
.tl { display: block; white-space: pre-wrap; min-height: 1.9em; }
.tl[data-cmd]::before { content: "$ "; color: var(--cyan); }
.tl.ok { color: #4ADE80; }
.tl.url { color: var(--gold); }
.term.is-typing .tl { visibility: hidden; }
.term.is-typing .tl.is-shown { visibility: visible; }
.tl.is-typing-now::after { content: ""; display: inline-block; width: .55em; height: 1.1em; vertical-align: -0.2em; background: var(--gold); margin-left: 2px; animation: blink 1s steps(1) infinite; }

/* ---------- SON ÇAĞRI ---------- */
.finale {
    position: relative; overflow: hidden;
    padding: clamp(120px, 16vw, 230px) var(--gutter);
    background:
        radial-gradient(60% 70% at 50% 120%, rgba(255, 159, 28, .55), transparent 70%),
        radial-gradient(45% 60% at 10% 10%, rgba(139, 92, 246, .45), transparent 70%),
        linear-gradient(180deg, var(--night) 0%, #2A1460 100%);
    color: #fff; text-align: center;
}
.finale-streaks i {
    position: absolute; height: 3px; border-radius: 3px; width: 30vw;
    background: linear-gradient(90deg, transparent, var(--gold), #fff);
    filter: drop-shadow(0 0 8px var(--gold));
    animation: fly 3.6s linear infinite;
}
.finale-streaks i:nth-child(1) { top: 18%; animation-delay: 0s; }
.finale-streaks i:nth-child(2) { top: 34%; animation-delay: -1.1s; width: 18vw; background: linear-gradient(90deg, transparent, var(--rose), #fff); }
.finale-streaks i:nth-child(3) { top: 52%; animation-delay: -2.3s; width: 24vw; background: linear-gradient(90deg, transparent, var(--cyan), #fff); }
.finale-streaks i:nth-child(4) { top: 70%; animation-delay: -.6s; width: 14vw; }
.finale-streaks i:nth-child(5) { top: 82%; animation-delay: -2.9s; width: 20vw; background: linear-gradient(90deg, transparent, var(--violet), #fff); }
.finale-streaks i:nth-child(6) { top: 10%; animation-delay: -1.8s; width: 12vw; background: linear-gradient(90deg, transparent, var(--mint), #fff); }
@keyframes fly { from { left: -35vw; } to { left: 110vw; } }
.finale-inner { position: relative; }
.finale h2 {
    font-weight: 900; font-style: italic;
    font-size: clamp(56px, 10vw, 168px);
    line-height: .9; letter-spacing: -.06em;
    margin-bottom: 46px;
    padding-bottom: .06em;
}
.finale-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.finale-login { color: #D7D0F5; font-size: 15px; }
.finale-login:hover { color: var(--gold); }

.foot {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 28px var(--gutter);
    background: #07051A; color: #8F87B8;
    font: 500 13px/1.4 var(--mono);
}

/* ---------- Duyarlı yerleşim ---------- */
@media (max-width: 1020px) {
    .hero-grid, .space, .host { grid-template-columns: 1fr; }
    .host-copy { justify-self: start; }
    .hero { padding-top: 110px; padding-bottom: 120px; }
    .speed-grid { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; }
    .journey-grid { grid-template-columns: 1fr; gap: 0; }
    .stage-wrap { position: sticky; top: 64px; z-index: 2; margin: 0 -4px; }
    .stage { position: relative; top: 0; height: 330px; min-height: 0; border-radius: 24px; }
    .stage.s4 .sc-thumb { height: 110px; }
    .sc { top: 8%; }
    .step { min-height: 72vh; padding-left: 64px; justify-content: flex-start; padding-top: 48px; }
    .step-n { top: 56px; translate: 0 0; }
    .step p { font-size: 16.5px; }
}

@media (max-width: 560px) {
    body.lp { font-size: 16px; }
    .nav-actions .btn-glass { display: none; }
    .nav-brand span { font-size: 17px; }
    .hero-title { font-size: clamp(56px, 16.5vw, 80px); }
    .hero-cta .btn { flex: 1 1 100%; }
    .lab { padding: 16px; border-radius: 22px; }
    .lab-row { grid-template-columns: 1fr; gap: 3px; }
    .hex { font-size: 13px; gap: 3px 8px; }
    .tier { grid-template-columns: 74px minmax(0, 1fr) auto; column-gap: 12px; padding: 16px; }
    .tier-size { font-size: 18px; }
    .tier-price { font-size: 13px; }
    .scroll-cue { display: none; }
    .term-body { font-size: 12.5px; padding: 18px; }
    .chunks { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .load, [data-reveal] { opacity: 1 !important; transform: none !important; }
    .scroll-cue { transform: translateX(-50%) !important; }
    .word-fast::before { display: none; }
}
