/* =========================================================
   CINEMA — Sticky stage, continuous scroll choreography
   --p: 0..1 (eased master progress, written by JS each rAF)
   Tüm dönüşümler ÇAKIŞIK aralıklarda — hiç durağan zone yok.
   CSS'te transform üzerinde transition YOK; JS lerp'i smooth eder.
   ========================================================= */

.cinema {
  position: relative;
  height: 200vh;
  background:
    radial-gradient(ellipse 60% 25% at 25% 12%, rgba(230, 22, 115, 0.20), transparent 60%),
    radial-gradient(ellipse 55% 22% at 80% 25%, rgba(120, 40, 200, 0.16), transparent 60%),
    radial-gradient(ellipse 100% 6% at 50% 100%, rgba(230, 22, 115, 0.25), transparent 70%),
    linear-gradient(
      to bottom,
      var(--bg-0) 0%,
      var(--bg-0) 45%,
      #050508 65%,
      #020206 90%,
      #000004 100%
    );
  z-index: 1;
}

.cinema__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  isolation: isolate;
}

/* INNER wrapper — IDLE state, .is-slide-2 class transition'ı tetikler */
.cinema__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-origin: center 38%;
  /* Idle: tam görünür, blur yok */
  transform: scale(1);
  opacity: 1;
  filter: none;
  border-radius: 0;
  /* Auto-play geçiş — JS .is-slide-2 eklediğinde 1.2s'de çalışır */
  transition:
    transform     1.2s cubic-bezier(0.65, 0, 0.35, 1),
    opacity       1.0s cubic-bezier(0.65, 0, 0.35, 1),
    filter        1.0s cubic-bezier(0.65, 0, 0.35, 1),
    border-radius 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform, filter, opacity;
}

/* SLIDE 2 state — class scroll progress > 0.4'te eklenir.
   Inner sadece hafif dim, hiçbir şeyi gizlemez (truth scene görünür kalmalı) */
.cinema__stage.is-slide-2 .cinema__inner {
  filter: brightness(0.85);
}

@media (prefers-reduced-motion: reduce) {
  .cinema__inner,
  .cinema__stage.is-slide-2 .cinema__inner {
    transform: none; filter: none; border-radius: 0; opacity: 1;
    transition: none;
  }
}

/* ---------- Background layers ---------- */
.cinema__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }

.cinema__mesh {
  opacity: 1;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition:
    opacity   1.0s cubic-bezier(0.65, 0, 0.35, 1),
    transform 1.0s cubic-bezier(0.65, 0, 0.35, 1);
}
.cinema__stage.is-slide-2 .cinema__mesh {
  opacity: 0.6;
  transform: scale(1.05);
}
/* Simple static atmospheric blobs — GPU-hafif, scroll'u zorlamaz.
   Animasyon YOK, mix-blend-mode YOK, hue cycling YOK.
   Footer'ın şöleni orada kalsın; hero burada sahnede olan telefon. */
.cinema__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cinema__mesh-blob--1 {
  width: 55vw; height: 55vw;
  top: -10%; left: -15%;
  background: radial-gradient(circle, rgba(230, 22, 115, 0.45) 0%, transparent 65%);
  opacity: 0.9;
}
.cinema__mesh-blob--2 {
  width: 60vw; height: 60vw;
  top: 5%; right: -20%;
  background: radial-gradient(circle, rgba(52, 60, 144, 0.40) 0%, transparent 65%);
  opacity: 0.85;
}
/* Blob'lar 3-5 hero'da yok — CSS hatası vermesin diye hidden */
.cinema__mesh-blob--3,
.cinema__mesh-blob--4,
.cinema__mesh-blob--5 { display: none; }

.cinema__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(7,7,9,0.85) 100%),
    linear-gradient(180deg, transparent 60%, var(--bg-0) 100%);
  opacity: 0.35;
  transition: opacity 1.0s cubic-bezier(0.65, 0, 0.35, 1);
}
.cinema__stage.is-slide-2 .cinema__vignette { opacity: 0.85; }

/* =========================================================
   PHONE STAGE — Cinematic dolly-in (Apple-style)
   Tek telefon. Tek birleşik transform. Float YOK, backdrop YOK,
   depth pseudo'ları YOK. Scroll'la rahatsız olan hiçbir şey yok.
   ========================================================= */

.cinema__phone-wrap {
  position: absolute;
  top: 50%;
  left: 75%;                /* daha sağa — copy ile çakışma yok */
  transform: translate3d(-50%, -50%, 0);
  z-index: 2;
  width: clamp(280px, 32vw, 400px);   /* küçültüldü */
  height: clamp(580px, 70vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Atmospheric lighting halo — phone "glows" in showroom-like space.
   Multi-source radial lights (4 katman) + breathing animation (transform-only, GPU-cheap). */
.cinema__phone-halo {
  position: absolute;
  inset: -10%; /* extend beyond wrap for diffuse spread */
  background:
    /* Ana magenta glow — phone'un arkasından yayılan ışık */
    radial-gradient(ellipse 55% 65% at 50% 50%, rgba(230, 22, 115, 0.55) 0%, transparent 60%),
    /* Sol indigo accent — perspective lighting */
    radial-gradient(ellipse 40% 50% at 25% 35%, rgba(52, 60, 144, 0.4) 0%, transparent 55%),
    /* Alt "ground glow" — telefon yere basıyor hissi */
    radial-gradient(ellipse 70% 35% at 50% 88%, rgba(230, 22, 115, 0.45) 0%, transparent 60%),
    /* Üst soft mor — atmospheric fill */
    radial-gradient(ellipse 60% 30% at 55% 15%, rgba(180, 90, 200, 0.25) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 1.0s cubic-bezier(0.65, 0, 0.35, 1);
  /* Breathing animation — sadece transform, GPU layer'da çalışır */
  animation: halo-breathe 14s ease-in-out infinite;
  will-change: transform;
}

@keyframes halo-breathe {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33%      { transform: scale(1.06) translate(1.5%, -0.8%); }
  66%      { transform: scale(1.03) translate(-1%, 0.5%); }
}

/* Extra "ground" reflection — telefon altında yansıma + farklı tempo pulse */
.cinema__phone-wrap::after {
  content: "";
  position: absolute;
  bottom: -5%;
  left: 15%;
  right: 15%;
  height: 30%;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(230, 22, 115, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255, 95, 165, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 1.0s cubic-bezier(0.65, 0, 0.35, 1);
  animation: ground-pulse 11s ease-in-out infinite;
  will-change: transform;
}

@keyframes ground-pulse {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(1.10) translateY(-2%); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema__phone-halo,
  .cinema__phone-wrap::after { animation: none !important; }
}

/* Halo + ground glow slide 2'de YARI KALır (telefon görünür kalıyor, halo da kalsın) */
.cinema__stage.is-slide-2 .cinema__phone-halo {
  opacity: 0.5;
}
.cinema__stage.is-slide-2 .cinema__phone-wrap::after {
  opacity: 0.4;
}

/* ---------- Phone: Image-based hero (Plan A — auto-play exit) ----------
   IDLE: scale 1, opaque, hafif floating animation (PNG'de translate ile)
   EXIT: .is-slide-2 class → 1s'de scale 1.35, blur 6px, opacity 0
   Idle floating: .cinema__phone-photo'da `translate` property —
                  parent transform ile çakışmaz, compose olur.
*/
.cinema__phone {
  width: clamp(280px, 30vw, 380px);
  aspect-ratio: 990 / 2144;
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0;
  /* Telefon dekoratif — buton tıklamalarını yakalamasın (wrap'tan inherit etmez) */
  pointer-events: none;

  /* Idle */
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
  transition:
    transform 1.0s cubic-bezier(0.65, 0, 0.35, 1),
    filter    0.9s cubic-bezier(0.65, 0, 0.35, 1),
    opacity   0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform, filter, opacity, translate;

  /* Subtle idle floating — `translate` property parent + tüm child'ları
     (PNG mockup + iframe video) birlikte hareket ettirir. transform ile
     çakışmaz çünkü ayrı CSS özelliği. */
  animation: phone-idle 6s ease-in-out infinite;
}

.cinema__stage.is-slide-2 .cinema__phone {
  /* Phone blurlanır AMA KAYBOLMAZ — truth scene fade in olurken
     telefon arkada görünür kalır, hafif blur ile pasif backdrop hissi. */
  filter: blur(8px);
  opacity: 0.6;
  transform: scale(1.05);
}

/* Idle floating — `translate` property parent transform'a etki etmez (compose olur) */
@keyframes phone-idle {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema__phone,
  .cinema__stage.is-slide-2 .cinema__phone {
    transform: none; filter: none; opacity: 1;
    transition: none;
  }
}

/* ===== PNG mockup (overlay — screen cutout şeffaf, video alttan görünür) ===== */
.cinema__phone-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
  /* Drop shadow telefonun gerçek konturuna uyar */
  filter: drop-shadow(-20px 40px 60px rgba(0, 0, 0, 0.45))
          drop-shadow(0 20px 40px rgba(230, 22, 115, 0.25));
  user-select: none;
  -webkit-user-drag: none;
  /* Idle floating .cinema__phone parent'a taşındı — PNG + iframe birlikte hareket eder */
}
@media (prefers-reduced-motion: reduce) {
  .cinema__phone { animation: none !important; }
}

/* ============================================================
   ESKİ CSS 3D edges — Plan A'da kullanılmıyor, gizli tutuluyor
   ============================================================ */
.cinema__phone-edge,
.cinema__phone-detail,
.cinema__phone-frame { display: none !important; }

/* Eski kurallar — referans için, render edilmiyor */
.cinema__phone-edge--legacy {
  position: absolute;
  pointer-events: none;
  /* Titanyum dikey gradient — gerçek iPhone metal frame ışıklandırması.
     Üstte hafif aydınlık (key light), ortada koyu metal, altta orta ton.
     "Specular highlight" 22% ve 78% noktalarında — chamfer yansımaları. */
  background: linear-gradient(
    180deg,
    #383840 0%,        /* top chamfer light */
    #2a2a32 8%,
    #1c1c24 22%,       /* upper specular */
    #0e0e14 50%,       /* deep metal middle */
    #1c1c24 78%,       /* lower specular */
    #2a2a32 92%,
    #1c1c24 100%
  );
  /* İçeride ek highlight — chamfer'ın oluşturduğu ışık çizgisi */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* SAĞ kenar — phone'un sağ DIŞINDA, 90° hinge ile box'ın sağ yüzeyi olur */
.cinema__phone-edge--right {
  top: 0;
  right: -14px;          /* phone'un sağ kenarının DIŞINDA */
  width: 14px;           /* phone'un kalınlığı = 14px */
  height: 100%;
  transform-origin: left center;   /* hinge: strip'in sol kenarı = phone'un sağ kenarı */
  transform: rotateY(90deg);       /* 90° dön — yüzey artık dik, ileri-geri uzanır */
  border-radius: 0 13.3% 13.3% 0 / 0 6.15% 6.15% 0;
  /* Yan kenarda yatay specular highlight (titanyum chamfer) */
  background:
    linear-gradient(180deg,
      #2c2c34 0%,
      #1a1a22 12%,
      #0a0a10 30%,
      #14141c 50%,
      #0a0a10 70%,
      #1a1a22 88%,
      #2c2c34 100%);
}
.cinema__phone-edge--right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.08) 0%,    /* iç (front'a yakın) hafif aydınlık */
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.06) 100%); /* dış edge highlight */
  border-radius: inherit;
}

.cinema__phone-edge--left {
  top: 0;
  left: -14px;
  width: 14px;
  height: 100%;
  transform-origin: right center;
  transform: rotateY(-90deg);
  border-radius: 13.3% 0 0 13.3% / 6.15% 0 0 6.15%;
  background:
    linear-gradient(180deg,
      #2c2c34 0%,
      #1a1a22 12%,
      #0a0a10 30%,
      #14141c 50%,
      #0a0a10 70%,
      #1a1a22 88%,
      #2c2c34 100%);
}
.cinema__phone-edge--left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.08) 100%);
  border-radius: inherit;
}

/* ÜST kenar — phone'un üst DIŞINDA, X ekseninde hinge */
.cinema__phone-edge--top {
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  transform-origin: center bottom;
  transform: rotateX(-90deg);
  border-radius: 13.3% 13.3% 0 0 / 50% 50% 0 0;
  background:
    linear-gradient(90deg,
      #1a1a22 0%,
      #0a0a10 30%,
      #14141c 50%,
      #0a0a10 70%,
      #1a1a22 100%);
}

/* ALT kenar */
.cinema__phone-edge--bot {
  bottom: -14px;
  left: 0;
  right: 0;
  height: 14px;
  transform-origin: center top;
  transform: rotateX(90deg);
  border-radius: 0 0 13.3% 13.3% / 0 0 50% 50%;
  background:
    linear-gradient(90deg,
      #1a1a22 0%,
      #0a0a10 30%,
      #14141c 50%,
      #0a0a10 70%,
      #1a1a22 100%);
}

/* ============================================================
   DETAIL LABEL — "Titanyum çerçeve · 6.7"
   Mid-scroll'da (p 0.30–0.55) belirir; Act 2'de telefon düz pozisyona
   geldiğinde "bu güzel detay" hissi verir. Apple keynote'taki etiketler.
   ============================================================ */
.cinema__phone-detail {
  position: absolute;
  top: 18%;
  /* Telefonun sağ kenarına bağlı, dışarı çıkar */
  left: 100%;
  transform: translateX(24px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  /* Hafif pencerede görünür: p 0.28–0.62 arası fade in/out */
  opacity: calc(
    min(1, max(0, var(--p) - 0.28) * 5)
    * (1 - max(0, var(--p) - 0.55) * 5)
  );
  pointer-events: none;
  z-index: 5;
}
.cinema__phone-detail-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-magenta), transparent);
  position: relative;
}
.cinema__phone-detail-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--brand-magenta);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(230, 22, 115, 0.18);
}
.cinema__phone-detail-text {
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile: simpler centered, less dramatic */
@media (max-width: 979px) {
  .cinema__phone-wrap { left: 50%; }
  .cinema__phone {
    --r-y: 0deg;
    --r-x: 0deg;
    --scl: 1;
    --tx: 0;
    --ty: 0;
    --tz: 0;
    width: clamp(260px, 60vw, 340px);
    transform-style: flat;
    box-shadow:
      -12px 30px 50px rgba(0, 0, 0, 0.45),
      0 20px 40px rgba(230, 22, 115, 0.22);
  }
  /* Mobil — yan yüzeyler + detail label scroll ile çalışmıyor, gizle */
  .cinema__phone-edge,
  .cinema__phone-detail { display: none; }
}

/* prefers-reduced-motion: rotation kapalı, statik telefon */
@media (prefers-reduced-motion: reduce) {
  .cinema__phone {
    --r-y: 0deg;
    --r-x: 0deg;
    --scl: 1;
    --tz: 0;
    --tx: 0;
  }
  .cinema__phone-edge,
  .cinema__phone-detail { display: none; }
}

/* ---------- SVG iPhone frame overlay (photorealistic details) ---------- */
.cinema__phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  overflow: visible; /* side buttons extend slightly beyond body */
  display: block;
}

.cinema__phone-screen {
  position: absolute;
  inset: 3.9% 4.8% 3.8% 4%;
  z-index: 1;
  border-radius: 30px 20px 20px 45px;
  overflow: hidden;
  background: #07070a;
  clip-path: inset(0 round 9.5% / 3.5%);
  -webkit-clip-path: inset(0 round 9.5% / 3.5%);
  transform: perspective(2200px) rotateY(333deg);
  transform-origin: left center;
}


/* Legacy CSS Dynamic Island + buttons REMOVED — SVG handles these now */
.cinema__phone-notch,
.cinema__phone-buttons { display: none; }

/* Screen glare overlay — subtle diagonal light reflection (still useful on screen) */
.cinema__phone-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 7;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 18%,
      transparent 35%,
      transparent 70%,
      rgba(255, 255, 255, 0.03) 100%);
  mix-blend-mode: screen;
}

/* ---------- Stat anchor (Aptify-style: number + curve connector) ---------- */
.cinema__phone-stat {
  position: absolute;
  top: 12%;
  right: -2%;
  z-index: 5;
  pointer-events: none;
  /* Fade out as we scroll into truth scene */
  opacity: calc(1 - max(0, var(--p) - 0.20) * 4);
  transform: translate3d(0, calc(var(--p) * -20px), 0);
}
.cinema__phone-stat-card {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.65rem 0.95rem;
  background: rgba(20, 20, 27, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  position: relative;
  pointer-events: auto;
}
.cinema__phone-stat-num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.cinema__phone-stat-num .accent {
  background: linear-gradient(135deg, #ff5fa3 0%, #b8bce8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cinema__phone-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}
/* SVG connector — curved dotted line from card pointing to phone */
.cinema__phone-stat-line {
  position: absolute;
  top: 100%;
  right: 12px;
  width: 80px;
  height: 80px;
  pointer-events: none;
  overflow: visible;
}
.cinema__phone-stat-line path {
  fill: none;
  stroke: rgba(230, 22, 115, 0.5);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
}
.cinema__phone-stat-line circle {
  fill: var(--brand-magenta);
  filter: drop-shadow(0 0 6px rgba(230, 22, 115, 0.6));
}
@media (max-width: 980px) {
  .cinema__phone-stat { display: none; }
}

/* Side buttons (subtle frame details) */
.cinema__phone-buttons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.cinema__phone-buttons span {
  position: absolute;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  border-radius: 1px;
}
/* Volume up - left top */
.cinema__phone-buttons span:nth-child(1) { left: -3px; top: 18%; width: 3px; height: 26px; border-radius: 2px 0 0 2px; }
/* Volume down - left middle */
.cinema__phone-buttons span:nth-child(2) { left: -3px; top: 28%; width: 3px; height: 38px; border-radius: 2px 0 0 2px; }
/* Action button - left top small */
.cinema__phone-buttons span:nth-child(3) { left: -3px; top: 12%; width: 3px; height: 18px; border-radius: 2px 0 0 2px; }
/* Power button - right */
.cinema__phone-buttons span:nth-child(4) { right: -3px; top: 22%; width: 3px; height: 56px; border-radius: 0 2px 2px 0; }

/* Screen layers — crossfade across BROAD overlap (0.30-0.65) */
.cinema__phone-layer {
  position: absolute;
  inset: 0;
  /* No transition — opacity is direct CSS calc on --p */
}

/* ---------- Phone video (real menu screen recording) ----------
   Hero phone içinde otantik menü video kayıtı oynar. İlk yüklemede
   poster JPG görünür, video hazır olunca fade-in eder. */
.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4; /* notch (z 6) ve glare (z 7) altında */
  background: #07070a;
  border-radius: inherit;
  /* Poster yüklenirken görünür; canplay JS event'inde data-ready=true */
  opacity: 0;
  transition: opacity 600ms var(--ease-premium);
  pointer-events: none;
}
.phone-video[data-ready="true"] {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  /* Reduced motion: transition'sız, poster sabit görünür */
  .phone-video { opacity: 1; transition: none; }
}
/* Phone screen — hero boyunca sadece menu video görünür.
   Before/after kanıtı Truth section'a taşındı. */
.cinema__phone-layer--menu {
  opacity: 1;
}


/* =========================================================
   Reveal callouts — phone yanında belirir, pair tamamlanınca fade in
   ========================================================= */
.reveal-callout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 440px;
}
.reveal-callout__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-80);
  padding-left: calc(24px + var(--sp-2));
  position: relative;
}
.reveal-callout__eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--brand-magenta), var(--brand-indigo));
}
.reveal-callout__title {
  font-family: var(--ff-display);
  font-size: var(--fs-mega);
  line-height: var(--lh-mega);
  letter-spacing: var(--tracking-mega);
  font-weight: 700;
  color: var(--ink-100);
}
.reveal-callout__title .accent {
  background: var(--grad-text-magenta);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.reveal-callout__sub {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--ink-80);
  max-width: 40ch;
}

/* ---------- Scenes ---------- */
.cinema__scene {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  /* pointer-events scene'in kendi spesifik kurallarına bırakıldı.
     Önceki global `none` + container `auto` kombinasyonu, gizli truth
     container'ını hero butonlarının üstünde tıklanabilir tutuyordu. */
}
.cinema__scene > .container { width: 100%; }

/* Hero scene: idle visible + tıklanabilir, .is-slide-2 → fade out + pasif */
.cinema__scene--hero {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity   0.8s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.cinema__stage.is-slide-2 .cinema__scene--hero {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

.hero-copy { display: flex; flex-direction: column; gap: var(--sp-5); max-width: 580px; }
.hero-copy__title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-mega);
  font-weight: 700;
  color: var(--ink-100);
}
.hero-copy__title .accent {
  background: var(--grad-text-magenta);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy__sub { font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--ink-80); max-width: 50ch; font-weight: 400; }
.hero-copy__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero-copy__meta {
  display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3);
  font-size: var(--fs-xs); color: var(--ink-60); letter-spacing: 0.02em;
}
.hero-copy__meta .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Truth scene: idle hidden, .is-slide-2 → fade in (200ms delay for hand-off feel) */
.cinema__scene--truth {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition:
    opacity   1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
    transform 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  align-items: center;
}
.cinema__stage.is-slide-2 .cinema__scene--truth {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.truth-copy { display: flex; flex-direction: column; gap: var(--sp-5); max-width: 540px; }
.truth-copy__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-80); font-weight: 500;
}
.truth-copy__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--brand-magenta); }
.truth-copy__title {
  font-family: var(--ff-display); font-size: var(--fs-hero);
  line-height: var(--lh-mega); letter-spacing: var(--tracking-mega);
  font-weight: 700; color: var(--ink-100);
}
.truth-copy__title .accent {
  background: var(--grad-text-magenta);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.truth-copy__sub { font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--ink-80); max-width: 46ch; }

/* ============================================================
   Mobile (≤979px) — Static vertical stack
   ------------------------------------------------------------
   Scroll choreography desktop deneyimi; mobilde absolute overlap
   hero-copy + CTA + phone arasında çakışma yaratıyor. Mobil için
   sticky stage + 280vh scroll kaldırıldı, dikey akış:
     hero-copy → phone → truth-copy → diğer section'lar.
   ============================================================ */
/* ============================================================
   MOBILE — Magazine layout
   Telefon sağa yaslı + arkaplan rolu, hero copy önde+üstte (overlay).
   Apple/Linear/Stripe mobile hero pattern.
   ============================================================ */
@media (max-width: 979px) {
  .cinema {
    height: auto;
    /* Mobile: tek bir hero stage (slider yok), doğal scroll */
    background:
      radial-gradient(ellipse 90% 50% at 70% 30%, rgba(230, 22, 115, 0.30), transparent 60%),
      radial-gradient(ellipse 70% 40% at 30% 80%, rgba(120, 40, 200, 0.22), transparent 60%),
      var(--bg-0);
  }
  .cinema__stage {
    position: static; height: auto;
    filter: none; transform: none; border-radius: 0;
  }
  .cinema__inner {
    position: relative; transform: none; filter: none; border-radius: 0;
    /* Magazine layout container — phone arkada, copy önde */
    min-height: calc(100vh - var(--nav-h, 64px));
    overflow: hidden;
  }
  .cinema__vignette { display: none; }

  /* Telefon — sağa yaslı + dikey ortalı, arkaplan rolu, küçük + ekrandan taşkın */
  .cinema__phone-wrap {
    position: absolute;
    top: 50%;
    right: -10%;           /* sağ kenardan dışarı taşan kompozisyon */
    left: auto; bottom: auto;
    transform: translateY(-50%);
    width: 55vw;
    max-width: 270px;
    height: auto;
    aspect-ratio: 990 / 2144;
    z-index: 1;            /* hero-copy arkasında */
    margin: 0;
    opacity: 0.95;
  }
  .cinema__phone {
    --r-y: 0deg; --r-x: 0deg; --scl: 1; --tx: 0; --ty: 0;
    width: 100%;
    box-shadow:
      -10px 24px 40px rgba(0, 0, 0, 0.55),
      0 16px 30px rgba(230, 22, 115, 0.22);
  }
  .cinema__phone-halo { inset: -5%; filter: blur(50px); opacity: 0.55; }

  /* Hero scene — copy önde, full width, üstte */
  .cinema__scene {
    position: relative; inset: auto;
    opacity: 1 !important; transform: none !important;
    z-index: 2;
    padding-block: var(--sp-7) var(--sp-6);
    align-items: flex-start;
  }
  .cinema__scene--hero {
    /* Hero copy üstte, telefon arkada — overlap için padding-bottom yüksek */
    min-height: calc(100vh - var(--nav-h, 64px));
    padding-bottom: 30vh;     /* alta telefon görünsün diye boşluk */
    padding-top: var(--sp-8); /* nav'dan daha rahat boşluk — başlık aşağı kaysın */
    align-items: flex-start;
  }
  .cinema__scene--hero > .container {
    align-self: flex-start;
    padding-top: var(--sp-7); /* başlık alanı menüden uzaklaşsın */
  }

  /* Hero başlık — text okunaklılığı için subtle text-shadow + font tweak */
  .hero-copy {
    max-width: 100%;
    position: relative;
  }
  .hero-copy__title {
    /* Telefon arkasındayken metin net okunsun */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }
  .hero-copy__sub {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    /* Sub copy genişliğini sınırla — telefon alanına girmesin */
    max-width: 92%;
  }
  .hero-copy__ctas {
    margin-top: var(--sp-3);
    flex-wrap: wrap;
  }

  /* Truth scene mobile — telefon arkasından sonra, doğal scroll */
  .cinema__scene--truth {
    min-height: auto;
    padding-block: var(--sp-9) var(--sp-10);
    background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 9, 0.85) 30%, var(--bg-0) 100%);
  }
  .cinema__scene--truth .truth-copy {
    max-width: 100%;
  }

  /* Progress + scroll cue mobilede gereksiz */
  .cinema__progress, .cinema__scroll-cue { display: none; }

  /* Features sheet mobilede normal akışta */
  .features-sheet { transform: none !important; opacity: 1 !important; filter: none !important; }
  .cinema__phone-screen {
    inset: 3.9% 3.8% 3.5% 4%;
    transform: perspective(2000px) rotateY(324deg);
    border-radius: 30px 20px 20px 40px;
  }
}

/* Daha küçük ekranlarda telefon biraz daha küçük + daha yana */
@media (max-width: 480px) {
  .cinema__phone-wrap {
    top: 50%;
    right: -14%;
    width: 60vw;
    max-width: 240px;
    opacity: 0.88;
  }
  .cinema__scene--hero {
    padding-bottom: 25vh;
  }
  .cinema__scene--hero > .container {
    padding-top: var(--sp-8);
  }
  .hero-copy__sub {
    max-width: 88%;
  }
  .cinema__phone-screen {
    border-radius: 30px 20px 20px 40px;
  }
}

/* Progress bar */
.cinema__progress {
  position: absolute; right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 80px;
  background: rgba(255,255,255,0.08);
  z-index: 4; border-radius: 2px; overflow: hidden;
  opacity: calc(1 - max(0, var(--p) - 0.85) * 6);
}
.cinema__progress::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: calc(var(--p) * 100%);
  background: linear-gradient(180deg, var(--brand-magenta), var(--brand-indigo));
}
@media (max-width: 700px) { .cinema__progress { display: none; } }

/* Scroll cue */
.cinema__scroll-cue {
  position: absolute; bottom: 4vh; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: var(--ink-60); font-size: var(--fs-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 5;
  opacity: 0.7;
  /* Tıklanabilir buton — features-sheet'e snap eder */
  background: transparent;
  border: 0;
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.4s ease-out, color 0.3s ease-out, transform 0.3s ease-out;
}
.cinema__scroll-cue:hover {
  opacity: 1;
  color: var(--brand-magenta);
  transform: translateX(-50%) translateY(-2px);
}
.cinema__scroll-cue:focus-visible {
  outline: 2px solid var(--brand-magenta);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Slide-2'de de GÖRÜNÜR — sadece daha sönük tonda */
.cinema__stage.is-slide-2 .cinema__scroll-cue { opacity: 0.5; }
.cinema__scroll-cue-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--ink-60), transparent);
  position: relative; overflow: hidden;
}
.cinema__scroll-cue-line::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, var(--brand-magenta), transparent);
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}
@media (max-width: 700px) { .cinema__scroll-cue { display: none; } }

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  .cinema { height: auto; }
  .cinema__stage { position: static; height: auto; padding-block: clamp(4rem, 10vw, 8rem); }
  .cinema__phone { transform: none; }
  .cinema__phone-wrap { position: relative; left: auto; top: auto; transform: none; margin-inline: auto; }
  .cinema__scene { position: relative; opacity: 1; transform: none; padding-block: var(--sp-8); }
  .cinema__phone-layer--menu { opacity: 1; }
  .cinema__phone-layer--photo { opacity: 0; }
  .cinema__progress, .cinema__scroll-cue { display: none; }
}
