/* EasyKey360 tanıtım sitesi — el yazımı CSS.
 *
 * NEDEN TAILWIND CDN DEĞİL: eski sürüm `cdn.tailwindcss.com` ile geliyordu;
 * tarayıcıda JIT derleme yaptığı için ilk boyamayı bekletiyor ve stil sınıfları
 * uygulamanın tema jetonlarıyla hiçbir yerde buluşmuyordu. Artık palet
 * doğrudan `src/theme/colors.ts` içindeki "Gece Petrolü" ile AYNI değerlerde —
 * siteden uygulamaya geçen kullanıcı renk değişimi hissetmiyor.
 *
 * TASARIM DİLİ (design/DESIGN2.md · Slash):
 *   neredeyse siyah zemin · 4 kademeli yüzey · GÖLGE DEĞİL 1px kıl payı kenarlık
 *   TEK kromatik aksan (bakır) · 3 kademeli gri metin · 4px ritim
 *   büyük boyutta daha negatif harf aralığı
 */

:root {
  /* Gece Petrolü — src/theme/colors.ts darkColors ile birebir */
  --bg: #080f0f;
  --surface: #0e1616;
  --surface-2: #141d1d;
  --surface-3: #1c2626;
  --border: #26302f;
  --border-soft: #1b2423;

  --ink: #f4f7f6;
  --ink-2: #a4b2b0;
  --ink-3: #6b7876;

  /* TEK aksan: bakır. Petrol burada renk değil, zeminin sıcaklığı. */
  --copper: #cc9166;
  --copper-lit: #dba983;
  --copper-dim: #a8704a;
  --copper-soft: rgba(204, 145, 102, 0.14);
  --copper-line: rgba(204, 145, 102, 0.32);

  --teal: #14746b;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 4px ritmi */
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 72px;
  --s8: 112px;

  --max: 1200px;
  --nav-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Çapa linki tıklanınca başlık sabit navbarın altında kalmasın */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--copper);
  color: #0a1211;
}

/* ── Tipografi ────────────────────────────────────────────────────────── */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 0.98;
  /* Referansların ortak kuralı: büyüdükçe daha negatif harf aralığı */
  letter-spacing: -0.035em;
  margin: 0;
}

h1.display {
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
}

h2.display {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}

.muted {
  color: var(--ink-3);
}

.accent {
  color: var(--copper);
}

/* İtalik serif vurgu — display içinde tek kelimeyi öne çıkarır */
.em {
  font-style: italic;
  color: var(--copper);
}

/* ── Yerleşim ─────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
}

section {
  position: relative;
}

.band {
  padding: var(--s8) 0;
  border-top: 1px solid var(--border-soft);
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--s6);
}

.section-head .eyebrow {
  margin-bottom: var(--s3);
}

.section-head .lede {
  margin-top: var(--s4);
}

/* ── Navigasyon ───────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 15, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(8, 15, 15, 0.9);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--s4);
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--copper);
  transition: right 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.nav-links a.is-active {
  color: var(--ink);
}

/* Sayfa ilerleme çizgisi — navbarın dibinde bakır bir kıl */
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--copper-dim), var(--copper-lit));
}

/* ── Butonlar ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--copper);
  color: #0a1211;
}

.btn-primary:hover {
  background: var(--copper-lit);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--copper-line);
  color: var(--copper);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.arrow {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--s8)) 0 var(--s8);
  overflow: hidden;
}

/* Zemin: iki yumuşak bakır/petrol ışığı + ince ızgara. Görsel değil, CSS —
   sayfa ağırlığı artmasın diye. */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.glow-a {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -14vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(204, 145, 102, 0.4), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate;
}

.glow-b {
  width: 40vw;
  height: 40vw;
  max-width: 540px;
  max-height: 540px;
  bottom: -16vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(20, 116, 107, 0.42), transparent 68%);
  animation: drift 28s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, 6%, 0) scale(1.12);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s7);
  align-items: center;
}

.hero-copy > * + * {
  margin-top: var(--s4);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-soft);
}

/* Başlık satırlarının maskeyle açılması için her satır kendi kutusunda durur */
.line-mask {
  display: block;
  overflow: hidden;
}

.line-mask > span {
  display: block;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  padding-top: var(--s2);
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Telefon maketi */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 145, 102, 0.22), transparent 70%);
  filter: blur(50px);
}

.hero-visual .shot {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  will-change: transform;
}

.hero-visual .shot img {
  width: 100%;
  /* Fotoğrafın parlak masası zemine yaklaşsın */
  filter: saturate(0.9) contrast(1.04) brightness(0.82);
}

.hero-visual .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 15, 0.28), rgba(8, 15, 15, 0.06) 40%, rgba(8, 15, 15, 0.55));
  pointer-events: none;
}

/* ── Kayan şerit (marquee) ────────────────────────────────────────────── */

.ticker {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
  overflow: hidden;
  padding: var(--s3) 0;
  /* Uçlarda yumuşak sönme — şerit kesilmiş gibi durmasın */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: var(--s6);
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.ticker-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}

/* ── Yatay kayan "bir gün" bölümü ─────────────────────────────────────── */

.day {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* Sabitlenen sahne: başlık + şerit birlikte. Yüksekliği ekranı aşmamalı,
   yoksa pin sırasında alt kısım kesiliyor. */
.day-stage {
  padding: var(--s6) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s5);
}

.day-head {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

/* Yatay ilerleme rayı — sabitlenmiş bölümde nerede olduğunu gösterir */
.day-rail {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  max-width: 240px;
  overflow: hidden;
}

.day-rail span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Varsayılan: ŞERİT PARMAKLA KAYDIRILIR. GSAP devreye girince (js-motion)
   kilitlenir, çünkü konumu artık dikey scroll sürüyor.
   Bu sıra önemli: reduced-motion'da ya da JS gelmediğinde `overflow: hidden`
   kalsaydı kartların çoğuna hiç ulaşılamazdı. */
.day-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.day-viewport::-webkit-scrollbar {
  display: none;
}

body.js-motion .day-viewport {
  overflow: hidden;
}

.day-track {
  display: flex;
  gap: var(--s4);
  /* Sol boşluk içerik kolonuyla hizalı başlasın (şerit tam genişlikte) */
  padding: 0 var(--s4);
  padding-left: max(var(--s4), calc((100vw - var(--max)) / 2));
  will-change: transform;
}

.day-card {
  flex: 0 0 min(78vw, 380px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-2);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-height: 296px;
}

.day-time {
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--copper);
}

.day-card h3 {
  color: var(--ink);
}

.day-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.day-card .who {
  margin-top: auto;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
}

/* ── Özellik listesi (madde madde) ────────────────────────────────────── */

.feature-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: var(--s7);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--nav-h) + var(--s5));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail button {
  appearance: none;
  background: none;
  border: 0;
  border-left: 2px solid var(--border);
  color: var(--ink-3);
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  padding: 8px 0 8px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.rail button:hover {
  color: var(--ink-2);
}

.rail button.is-active {
  color: var(--copper);
  border-left-color: var(--copper);
  padding-left: 20px;
}

.rail .rail-num {
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  margin-right: 10px;
  font-size: 0.75rem;
}

.rail button.is-active .rail-num {
  color: var(--copper-dim);
}

.feature-groups {
  display: flex;
  flex-direction: column;
  gap: var(--s7);
}

.fgroup {
  border-top: 1px solid var(--border);
  padding-top: var(--s5);
}

.fgroup-head {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  margin-bottom: var(--s3);
}

.fgroup-num {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--copper-dim);
  letter-spacing: 0.06em;
}

.fgroup > p {
  margin: 0 0 var(--s4);
  color: var(--ink-2);
  max-width: 62ch;
}

.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s3) var(--s5);
}

.bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--copper);
}

.bullets strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Vaat kartları ────────────────────────────────────────────────────── */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s3);
}

.promise {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.promise:hover {
  border-color: var(--copper-line);
  transform: translateY(-4px);
}

.promise .stat {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--copper);
}

.promise p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* ── 3 adım ───────────────────────────────────────────────────────────── */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.step-line {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border);
  transform-origin: left center;
}

.step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--copper-line);
  background: var(--bg);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--copper);
}

.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 34ch;
}

/* ── Ağ / güven bandı ─────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
}

.frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05) brightness(0.72);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 15, 15, 0.1), rgba(8, 15, 15, 0.72));
}

.checklist {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.checklist li {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--copper-line);
  background: var(--copper-soft);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.tick svg {
  width: 11px;
  height: 11px;
  stroke: var(--copper);
  stroke-width: 2.5;
  fill: none;
}

/* ── SSS ──────────────────────────────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  text-align: left;
  padding: var(--s4) 0;
  display: flex;
  align-items: center;
  gap: var(--s3);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--copper);
}

.faq-q .sign {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-q .sign::before,
.faq-q .sign::after {
  content: "";
  position: absolute;
  inset: 50% 2px auto;
  height: 1px;
  background: var(--copper);
}

.faq-q .sign::after {
  transform: rotate(90deg);
  transition: opacity 0.25s ease;
}

.faq-item.is-open .sign::after {
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  height: 0;
}

.faq-a p {
  margin: 0;
  padding: 0 0 var(--s4);
  color: var(--ink-2);
  max-width: 70ch;
  font-size: 0.9375rem;
}

/* ── Kapanış çağrısı ──────────────────────────────────────────────────── */

.closer {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(204, 145, 102, 0.14), transparent 70%),
    var(--surface);
  padding: var(--s8) var(--s4);
}

.closer .cta-row {
  justify-content: center;
}

.closer .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ── Alt bilgi ────────────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--border);
  padding: var(--s6) 0 var(--s5);
  background: #050a0a;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s5);
}

.foot h4 {
  margin: 0 0 var(--s3);
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.foot a {
  color: var(--ink-2);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.foot a:hover {
  color: var(--copper);
}

.foot-bottom {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

/* ── Animasyon başlangıç durumları ────────────────────────────────────────
 * JS yüklenemezse içerik GÖRÜNÜR kalmalı: bu yüzden gizleme sınıfını
 * animations.js `js-motion` bayrağını gövdeye yazdıktan sonra CSS uygular.
 */
body.js-motion [data-reveal] {
  opacity: 0;
}

body.js-motion .line-mask > span {
  transform: translateY(105%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* Ray dikey scroll'a bağlı; hareket kapalıyken hep boş görünürdü */
  .day-rail {
    display: none;
  }
  .glow-a,
  .glow-b {
    animation: none;
  }
  body.js-motion [data-reveal] {
    opacity: 1;
  }
  body.js-motion .line-mask > span {
    transform: none;
  }
}

/* ── Duyarlılık ───────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }
  /* Dar ekranda başlık ÖNCE gelsin — maket sayfanın tepesini yemesin */
  .hero {
    padding-top: calc(var(--nav-h) + var(--s6));
  }
  .hero-visual .shot {
    max-width: 300px;
  }
  .day-stage {
    padding: var(--s5) 0;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
  .rail {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: var(--s2);
    padding-bottom: var(--s2);
    /* Yatay şeritte sol kenarlık anlamsız — çip görünümüne düşer */
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar {
    display: none;
  }
  .rail button {
    border-left: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    white-space: nowrap;
  }
  .rail button.is-active {
    border-color: var(--copper);
    padding-left: 14px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
  .step-line {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --s7: 48px;
    --s8: 72px;
  }
  /* Menü kaybolmuyor, yatay kaydırılabilir bir şeride dönüyor:
     telefonda da bölümlere üstten gidilebilsin. */
  .nav .wrap {
    gap: var(--s3);
  }
  .nav-links {
    gap: var(--s3);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    white-space: nowrap;
    font-size: 0.8125rem;
  }
  .brand span {
    display: none;
  }
  .nav .btn-primary {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .band {
    padding: var(--s8) 0;
  }
}
