/* Mahzen tanıtım sitesi — premium ve sade; siyah zemin, turuncu ışık */

:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.09);
  --fire: #f3924d;
  --fire-hi: #ffb877;
  --fire-lo: #c55f2a;
  --ember: #ff6b3d;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --pad: clamp(22px, 5vw, 56px);
  --max: 1180px;
  --h: 0; /* giriş görselinin açılma ilerlemesi (0…1) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sans); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--fire); color: #1a0d05; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 4px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.br-m { display: none; }
@media (max-width: 700px) { .hero h1 .nowrap { white-space: normal; } .br-m { display: inline; } }

/* ÜST ÇUBUK */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { font-size: 13px; color: #d2d2d7; text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.nav nav a:hover { opacity: 1; color: #fff; }
.nav-btn {
  font-size: 12.5px; font-weight: 500; text-decoration: none; padding: 5px 13px; border-radius: 999px;
  background: var(--fire); color: #1d0e04; transition: background .2s;
}
.nav-btn:hover { background: var(--fire-hi); }

/* ORTAK */
.eyebrow { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--fire); letter-spacing: -.01em; }
.eyebrow.ember { color: var(--ember); }
.big {
  margin: 0; font-weight: 700; letter-spacing: -0.045em; line-height: 1.04;
  font-size: clamp(42px, 6.6vw, 92px);
}
.dim { color: var(--faint); }
.statement-sub { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-weight: 450; }
.statement-sub.center { margin-inline: auto; text-align: center; }
.shot { border-radius: 14px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); }
.stage-light {
  position: absolute; left: 50%; top: 55%; width: 120%; aspect-ratio: 1.6; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(243, 146, 77, .38), rgba(197, 95, 42, .12) 45%, transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.stage-light.small { width: 110%; opacity: .75; }
.stage-light.ember { background: radial-gradient(closest-side, rgba(255, 107, 61, .45), rgba(197, 60, 30, .14) 45%, transparent 72%); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 1. GİRİŞ */
.hero { padding: 116px var(--pad) 0; text-align: center; overflow: hidden; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.hero-icon {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 22px;
  filter: drop-shadow(0 18px 50px rgba(243, 146, 77, .35));
  animation: rise 1.2s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1 {
  margin: 0; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-size: clamp(44px, 7.4vw, 108px);
  animation: rise 1.2s .08s cubic-bezier(.16, 1, .3, 1) both;
}
.glow-text {
  background: linear-gradient(180deg, #ffd3a6 0%, var(--fire) 55%, var(--fire-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 620px; margin: 28px auto 0; color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; font-weight: 450;
  animation: rise 1.2s .16s cubic-bezier(.16, 1, .3, 1) both;
}
.links { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; animation: rise 1.2s .24s cubic-bezier(.16, 1, .3, 1) both; }
.link, .link-fire { font-size: 19px; text-decoration: none; font-weight: 450; }
.link-fire { color: var(--fire); }
.link { color: var(--text); opacity: .8; }
.link:hover, .link-fire:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.stage { position: relative; isolation: isolate; max-width: var(--max); margin: clamp(48px, 6vw, 72px) auto 0; perspective: 1800px; }
.shot-hero {
  width: 100%; transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--h)) * 24deg)) scale(calc(.9 + var(--h) * .1)) translateY(calc((1 - var(--h)) * -30px));
  opacity: calc(.55 + var(--h) * .45);
  will-change: transform;
}

/* 2. GÜVENLİK */
.statement { max-width: var(--max); margin: 0 auto; padding: clamp(140px, 18vw, 230px) var(--pad) 0; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: clamp(70px, 9vw, 120px) 0 0; }
.numbers div { padding-top: 26px; border-top: 1px solid var(--line); }
.numbers dt { display: flex; align-items: baseline; gap: 10px; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-size: clamp(64px, 8vw, 112px); }
.numbers dt small { font-size: .26em; letter-spacing: -.01em; font-weight: 600; color: var(--fire); }
.numbers dd { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 300px; }
.cipher-line {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 100px);
  font: 500 clamp(15px, 1.6vw, 19px)/1.3 var(--mono); color: var(--muted);
}
.cl-plain { color: var(--text); }
.cl-arrow { color: var(--fire); }
.cl-hex { color: var(--fire); word-break: break-all; }

/* 3. ÖZELLİKLER */
.tour { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) 0; }
.tour-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.6fr); gap: clamp(30px, 5vw, 70px); margin-top: 40px; }
.tour-steps { padding-bottom: 20vh; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step h3 { margin: 0 0 12px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); font-size: 18px; max-width: 380px; }
.step.is-on p { color: #c7c7cc; }
.tour-sticky { position: relative; }
.tour-frame { position: sticky; top: calc(50vh - min(26vw, 340px) * .64 - 10px); isolation: isolate; aspect-ratio: 2240 / 1440; margin-top: 15vh; }
.tour-shot { position: absolute; inset: 0; width: 100%; opacity: 0; transform: scale(.985); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.tour-shot.is-on { opacity: 1; transform: none; }

/* 4. KENDİNİ SİLME */
.wipe { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) 0; text-align: center; }
.wipe-copy .statement-sub { margin-inline: auto; }
.ember-text { background: linear-gradient(180deg, #ffb08a, var(--ember) 60%, #b8361a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wipe-stage { position: relative; isolation: isolate; margin: clamp(56px, 8vw, 90px) auto 0; max-width: 1000px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 0; margin: clamp(56px, 7vw, 80px) auto 0; max-width: 960px; text-align: left; }
.facts li { padding-top: 20px; border-top: 1px solid var(--line); }
.facts b { display: block; font-size: 24px; letter-spacing: -.03em; }
.facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }

/* 5. İKİ SİSTEM */
.systems { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) 0; text-align: center; }
.pair { position: relative; isolation: isolate; margin: clamp(60px, 8vw, 100px) auto 0; padding: 0 22% 16% 0; }
.pair::before { content: ""; position: absolute; inset: 10% 0 0; z-index: -1; background: radial-gradient(closest-side, rgba(243, 146, 77, .3), transparent 70%); filter: blur(30px); }
.pair-back { position: absolute; right: 0; bottom: 0; z-index: 2; width: 48%; border-radius: 12px; box-shadow: -30px 40px 100px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1); }
.pair-front { position: relative; width: 100%; }
.caption { margin: 28px 0 0; color: var(--muted); font-size: 14px; font-family: var(--mono); }

/* 6. KURULUM */
.install { max-width: var(--max); margin: 0 auto; padding: clamp(160px, 20vw, 260px) var(--pad) clamp(100px, 12vw, 160px); text-align: center; }
.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 56px 0 0; text-align: left; }
.cmd { position: relative; padding: 26px 26px 24px; border-radius: 22px; background: #0c0c0d; border: 1px solid var(--line); }
.cmd-os { margin: 0 0 18px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.cmd-os small { margin-left: 8px; font-size: 13px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.cmd pre { margin: 0; overflow-x: auto; font: 14px/1.9 var(--mono); color: #d2d2d7; }
.copy {
  position: absolute; top: 22px; right: 22px; font: 500 13px var(--sans); color: var(--text); cursor: pointer;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #1c1c1e; transition: background .2s, color .2s;
}
.copy:hover { background: #2c2c2e; }
.copy.ok { background: var(--fire); color: #1d0e04; border-color: transparent; }
.fine { max-width: 720px; margin: 56px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.fine a { color: var(--fire); }

/* ALT BİLGİ */
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px; color: var(--muted); font-size: 13px; }
.footer-in p { margin: 0; }
.footer-in a { color: var(--muted); }
.footer-links { display: flex; gap: 20px; margin-left: auto !important; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* DUYARLI */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav-btn { margin-left: auto; }
  .numbers, .facts, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .numbers { gap: 28px; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
  .tour-sticky { order: -1; position: sticky; top: 64px; z-index: 2; }
  .tour-frame { position: relative; top: 0; margin-top: 0; }
  .tour-steps { padding-bottom: 0; }
  .step { min-height: 46vh; justify-content: flex-start; padding-top: 32px; }
  .pair { padding: 0 10% 24% 0; }
  .pair-back { width: 58%; }
  .footer-links { margin-left: 0 !important; }
}
@media (max-width: 520px) {
  .hero { padding-top: 104px; }
  .hero-icon { width: 88px; height: 88px; border-radius: 20px; }
  .links { gap: 22px; }
  .shot { border-radius: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  :root { --h: 1; }
}
