/* Apple ürün sayfası havası: büyük başlıklar, bol boşluk, beliren öğeler. home.css'ten sonra yüklenir. */
h1 {
  font-size: clamp(38px, 8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-split {
  padding-top: 96px;
  padding-bottom: 72px;
}

.hero .lead {
  max-width: 560px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
}

.section {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: 0;
}

.section-title {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-lead {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.bento .card,
.cta {
  border-radius: 28px;
}

.cta {
  padding: clamp(48px, 8vw, 96px) 24px;
}

.cta h2 {
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.phone {
  border-radius: 48px;
  box-shadow: 0 50px 120px -30px rgba(16, 185, 129, 0.35);
}

/* Cam efektli üst çubuk */
.top {
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.top .wrap {
  min-height: 56px;
}

/* Kaydırınca beliren öğeler (JS yoksa ya da hareket azaltılmışsa her şey görünür) */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 860px) {
  .hero-split {
    padding-top: 56px;
    padding-bottom: 48px;
  }
}

/* Apple gibi açık/koyu şerit geçişleri: tam genişlikte açık bölüm */
.band-light {
  --bg: #f5f5f7;
  --card: #ffffff;
  --border: #e5e5ea;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --dim: #6e6e73;
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.12);
  position: relative;
  margin-top: clamp(72px, 10vw, 128px);
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 0 0 100vmax #f5f5f7;
  clip-path: inset(0 -100vmax);
}

.band-light + .section {
  padding-top: clamp(72px, 10vw, 128px);
}

.band-light .card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
}

.band-light .accent {
  background: none;
  color: var(--emerald);
}

/* Uygulama kareleri */
.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 72px);
  align-items: start;
}

.shot {
  margin: 0;
  text-align: center;
}

.shot-phone {
  padding: 8px;
  border: 1px solid #3f3f46;
  border-radius: 36px;
  background: #111113;
  box-shadow: 0 40px 100px -30px rgba(16, 185, 129, 0.3);
}

.shot-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.shot figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.shot:nth-child(2) {
  margin-top: clamp(0px, 4vw, 48px);
}

@media (max-width: 680px) {
  .shot-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  .shot {
    scroll-snap-align: center;
  }
  .shot:nth-child(2) {
    margin-top: 0;
  }
}

/* Şablon izlerini temizleme turu */
.eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.phone,
.shot-phone {
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  max-width: 15ch;
}

/* Hero cümle animasyonu */
.transcript.typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--emerald);
  animation: blink 0.9s steps(1) infinite;
}

.rows div {
  transition: opacity 0.25s ease-out;
}

.rows div.pending {
  opacity: 0.25;
}

.mini.pressed {
  transform: scale(0.94);
  filter: brightness(1.15);
  transition: transform 0.15s, filter 0.15s;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Yenilikler: ilk ve son kart öne çıkar, ızgara tekdüze olmaktan çıkar */
@media (min-width: 861px) {
  .bento-innovations > .card:first-child {
    grid-column: span 2;
    padding: 32px;
  }
  .bento-innovations > .card:first-child h3 {
    font-size: 24px;
  }
}

/* Düzen turu (26 Kas): ana sayfa daha geniş, başlık iki satıra sığsın */
.wrap {
  max-width: 1120px;
}

/* Uzun metinli bölümler okunur genişlikte kalsın */
#sss > *,
#faq > * {
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 14ch;
}

.shot-row {
  max-width: 920px;
  margin-inline: auto;
}

/* Alt bilgi: bağlantılara parmak boyu dokunma alanı */
.foot a {
  display: inline-block;
  padding: 10px 4px;
}

/* Telefonda üst çubuk tek satır: marka + Destek + dil */
@media (max-width: 420px) {
  .hide-xs {
    display: none;
  }
  .top .wrap {
    gap: 8px;
  }
  .lang {
    margin-left: 0;
  }
}

/* Yenilikler telefonda alt alta 8 kart yerine yatay kaydırmalı şerit */
@media (max-width: 768px) {
  .bento-innovations {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .bento-innovations::-webkit-scrollbar {
    display: none;
  }
  .bento-innovations > .card {
    scroll-snap-align: center;
  }
}

/* .hero'nun kısaltma padding'i .wrap yan boşluğunu sıfırlıyordu (telefonda içerik kenara yapışıyordu) */
.hero {
  padding-left: 16px;
  padding-right: 16px;
}

/* Tasarım turu (26 Kas) */

/* Hero: tek ana çağrı, ikincil keşif bağlantısı; telefonun arkasında yumuşak ışık */
.text-link {
  align-self: center;
  padding: 10px 6px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  color: var(--text);
}
.hero-split .phone {
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 140px 10px rgba(16, 185, 129, 0.16);
}

/* Yenilikler rozetleri: tek yeşil yerine dengeli bir renk ailesi */
.bento-innovations > .card:nth-child(3) .badge { background: rgba(14, 165, 233, 0.14); color: #0284c7; }
.bento-innovations > .card:nth-child(4) .badge { background: rgba(244, 63, 94, 0.12); color: #e11d48; }
.bento-innovations > .card:nth-child(6) .badge { background: rgba(245, 158, 11, 0.16); color: #d97706; }
.bento-innovations > .card:nth-child(8) .badge { background: rgba(14, 165, 233, 0.14); color: #0284c7; }

/* Kart tipografisi: başlık belirgin, açıklama sakin */
.bento .card h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}
.bento .card p {
  font-size: 15px;
  line-height: 1.55;
}

/* Açık şerit: koyu zeminden sert kesik yerine üst ve altta yumuşak geçiş */
.band-light::before,
.band-light::after {
  content: '';
  position: absolute;
  left: -100vmax;
  right: -100vmax;
  height: 48px;
  pointer-events: none;
}
.band-light::before {
  top: 0;
  background: linear-gradient(#e9e9ee, rgba(245, 245, 247, 0));
}
.band-light::after {
  bottom: 0;
  background: linear-gradient(rgba(245, 245, 247, 0), #e9e9ee);
}

/* Uygulama kareleri: ortadaki öne çıkar, altında fayda cümlesi */
.shot figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 400;
}
@media (min-width: 681px) {
  .shot:nth-child(2) .shot-phone {
    scale: 1.06;
    transform-origin: top center;
  }
  .shot:nth-child(2) figcaption {
    margin-top: 32px;
  }
}

/* Alt bilgi: marka + bağlantılar iki sütun */
.foot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px 48px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.foot-brand p {
  max-width: 420px;
  margin: 12px 0 16px;
  color: var(--muted);
}
.foot-cta {
  font-size: 15px;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0 32px;
  align-content: start;
}
.foot-copy {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .foot .wrap {
    grid-template-columns: 1fr;
  }
}
.foot .brand {
  padding: 0;
  color: var(--text);
}
.foot .foot-cta {
  display: inline-flex;
  padding: 12px 20px;
  color: #04130d;
}

/* Gerçekçi hero telefonu (FiltreAI tarzı): metal çerçeve, Dynamic Island, durum çubuğu, yüzen kartlar */
.phone-stage {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 310px;
}
.phone-stage::before {
  content: '';
  position: absolute;
  inset: -8% -30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0) 72%);
  pointer-events: none;
}
.phone-float {
  animation: wa-float 6s ease-in-out infinite;
}
.hero-split .phone {
  position: relative;
  max-width: none;
  padding: 11px;
  border: 1px solid #52525b;
  border-radius: 52px;
  background: linear-gradient(145deg, #3f3f46, #18181b 40%, #27272a 70%, #52525b);
  box-shadow: inset 0 0 0 2px #0a0a0a, 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 140px 10px rgba(16, 185, 129, 0.14);
}
/* Yan tuşlar */
.hero-split .phone::before,
.hero-split .phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #3f3f46;
}
.hero-split .phone::before { left: -4px; top: 120px; height: 56px; box-shadow: 0 -44px 0 -12px #3f3f46; }
.hero-split .phone::after { right: -4px; top: 150px; height: 80px; }
.hero-split .phone-screen {
  position: relative;
  padding-top: 8px;
  border-radius: 42px;
  overflow: hidden;
}
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  margin: 0 -4px 10px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.status-bar > span:first-child { width: 54px; text-align: center; }
.island {
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
}
.sb-icons { display: inline-flex; align-items: flex-end; gap: 4px; width: 54px; justify-content: center; }
.sb-icons i { display: block; background: var(--text); border-radius: 1px; }
.sb-icons i:nth-child(1) { width: 15px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-icons i:nth-child(2) { width: 13px; height: 9px; border-radius: 9px 9px 2px 2px; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.sb-icons i:nth-child(3) { width: 22px; height: 10px; border-radius: 3px; background: none; border: 1.5px solid var(--muted); box-shadow: inset 14px 0 0 -1px var(--text); }

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(32, 32, 36, 0.97);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.7);
  text-align: left;
}
.toast-budget {
  top: 150px;
  left: -104px;
  width: 224px;
  padding: 12px 14px;
  animation: wa-toast 8s ease-in-out infinite;
}
.fc-head { display: flex; justify-content: space-between; margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.fc-head span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.fc-head img { border-radius: 4px; }
.fc-title { margin: 6px 0 0; font-size: 14px; font-weight: 700; }
.fc-body { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.fc-body b { color: var(--emerald); }
.toast-saved {
  right: -40px;
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.4s ease-out, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.toast-saved.show { opacity: 1; transform: none; }
.toast-saved b { display: block; font-size: 14px; }
.toast-saved span:last-child { color: var(--muted); line-height: 1.3; }
.fc-check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--emerald);
  color: #04130d;
  font-weight: 800;
}
@media (max-width: 560px) {
  .toast-budget { left: -6px; top: -34px; width: 206px; }
  .toast-saved { right: -8px; }
}

@keyframes wa-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes wa-toast {
  0%, 8% { opacity: 0; transform: translateY(-14px) scale(0.97); }
  16%, 82% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

/* Modern kaydırma animasyonları: tarayıcı destekliyorsa kaydırmaya bağlı (JS'siz), desteklemiyorsa mevcut reveal.js */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .shot-phone {
      animation: wa-shot linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    .section-title {
      animation: wa-title linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .hero-split .phone-stage {
      animation: wa-hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 600px;
    }
  }
}
@keyframes wa-shot {
  from { opacity: 0.2; transform: translateY(80px) scale(0.92) rotateX(12deg); }
  to { opacity: 1; transform: none; }
}
@keyframes wa-title {
  from { opacity: 0; transform: translateY(32px); letter-spacing: 0; }
  to { opacity: 1; transform: none; }
}
@keyframes wa-hero-out {
  to { transform: translateY(60px) scale(0.94); opacity: 0.5; }
}
.shot-row { perspective: 1200px; }

/* Yenilikler kartları: imleç altında hafif ışık (dokunmatik olmayan ekranlar) */
@media (hover: hover) {
  .bento .card {
    background-image: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgba(16, 185, 129, 0.10), transparent 60%);
    transition: transform 0.25s ease-out, border-color 0.25s;
  }
  .bento .card:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-float, .toast-budget { animation: none; }
  .toast-saved { opacity: 1; transform: none; transition: none; }
}

/* Açık şeridin tam genişlik katmanları (-100vmax) yatay kaydırma yaratmasın */
html,
body {
  overflow-x: clip;
}
