:root {
  --bg: #f4f3ef;
  --ink: #111111;
  --mute: #6b6b6b;
  --pill: rgba(255, 255, 255, 0.72);
  --shadow: 0 14px 40px rgba(17, 17, 17, 0.1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  z-index: 80;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

/* ─── Tek ekran ─── */
body.home {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.home main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── Header ─── */
.top {
  flex-shrink: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.pill-nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.06);
}

.pill-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3a3a3a;
}

.pill-nav a:hover,
.pill-nav a:focus-visible,
.pill-nav a[aria-current="page"] {
  background: #fff;
}

.nav-home {
  width: 38px;
  height: 38px;
  padding: 0 !important;
  display: grid;
  place-items: center;
}

.nav-home svg {
  width: 18px;
  height: 18px;
}

.try {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px 6px 16px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.06);
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cdb4a;
  box-shadow: 0 0 0 4px rgba(124, 219, 74, 0.18);
}

/* ─── Hero ─── */
.hero {
  flex: 1;
  min-height: 0;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  padding-inline-end: min(62vw, 520px);
}

.hero-copy {
  max-width: 600px;
  position: relative;
  z-index: 5;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #d7f27a, #c8e8ff 55%, #ead7ff);
}

.mark svg {
  width: 20px;
  height: 20px;
}

h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}

h1 .accent {
  color: #8B6CFF;
}

.lead {
  color: var(--mute);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
}

.store-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  overflow: visible;
}

.btn.dark {
  background: #111;
  color: #fff;
}

.btn.accent {
  background: #8B6CFF;
  color: #fff;
}
.btn.accent:hover { background: #7854F2; }

/* Giriş + Kayıt ol: kendi tam genişlikli satırında yan yana; mağaza
   düğmeleri altta. İki düğme eşit paylaşıyor. */
.web-ikili {
  display: flex;
  gap: 12px;
  flex: 1 1 100%;
}
.web-ikili .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 0.95rem;
}

/* "veya uygulamadan" ayracı: iki yanı ince çizgi, ortası soluk etiket.
   Web girişiyle mağaza indirmesini ayırıyor. */
.ayrac {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0;
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 600;
}
.ayrac::before,
.ayrac::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
}

/* Mağaza düğmeleri: yan yana, daha kompakt ve sönük — web girişi öne
   çıksın. */
.magaza-ikili {
  display: flex;
  gap: 12px;
  flex: 1 1 100%;
}
.magaza-ikili .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 0.95rem;
}
.magaza-ikili .store-ico { width: 18px; height: 18px; }

.btn.light {
  background: #eceae4;
  color: #111;
}

.go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}

.btn.light .go {
  background: #fff;
}

.go svg {
  width: 15px;
  height: 15px;
}

/* ─── Fotoğraf sütunları: tam yükseklik, kaydırmalı ─── */
.photo-grid {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  gap: 12px;
  height: 100dvh;
  padding: 0 14px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-grid .col {
  position: relative;
  width: clamp(108px, 18vw, 190px);
  height: 100%;
  overflow: hidden;
}

.track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.col-up .track {
  animation: slideUp1 28s linear infinite;
}

.col-mid .track {
  animation: slideDown1 32s linear infinite;
  animation-delay: -10s;
}

.col-down .track {
  animation: slideUp1 30s linear infinite;
  animation-delay: -18s;
}

.card {
  width: 100%;
  height: calc((100dvh + 12px) / 3.05);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e8e6e1;
  flex-shrink: 0;
}

/* <picture> satir ici bir kutu; blok yapilmazsa alt satirda birkac
   piksel bosluk birakiyor ve img yuksekligi %100'u kartin degil
   picture'in kendi yuksekliginden aliyor. */
.card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slideUp1 {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes slideDown1 {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}


/* ─── Footer ─── */
.foot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 8px 18px calc(10px + var(--safe-b));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 20px;
  position: relative;
  z-index: 5;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.legal-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mute);
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--ink);
}

.copy {
  font-size: 0.78rem;
  color: var(--mute);
}

/* ─── Yasal sayfalar ─── */
body.doc {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.doc-wrap {
  width: min(720px, calc(100% - 32px));
  margin: 12px auto 40px;
  flex: 1;
}

.doc-wrap .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.doc-wrap h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 6px;
}

.doc-wrap .meta {
  color: var(--mute);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.doc-wrap h2 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
  letter-spacing: -0.03em;
}

.doc-wrap h3 {
  font-size: 0.95rem;
  margin: 14px 0 6px;
  letter-spacing: -0.02em;
}

.doc-wrap p,
.doc-wrap li {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.doc-wrap ul {
  padding-inline-start: 18px;
  margin-bottom: 10px;
}

.doc-wrap a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.doc .foot {
  width: 100%;
  padding-inline: 18px;
}




/* ─── Iki dillilik ─── */
/* Varsayilan TURKCE: JS calismazsa da sayfa dolu gelir (kullanicilarin
   cogu Turk). JS, tarayici diline veya kayitli tercihe bakip <html> uzerine
   data-lang yaziyor; asagidaki kurallar ona gore blogu degistiriyor. */
.lang[lang="en"] { display: none; }
/* ---------- Cok dilli icerik ---------- */
/* Her dil blogu sayfada duruyor, yalnizca secili olan gosteriliyor.
   8 dil: tr, en, de, es, fr, it, az, ar.
   Bir sayfada secili dilin blogu YOKSA i18n.js `data-lang`i en'e
   dusuruyor; kullanicinin secimi localStorage'da kendi haliyle kaliyor. */
.lang { display: none; }

html[data-lang="tr"] .lang[lang="tr"],
html[data-lang="en"] .lang[lang="en"],
html[data-lang="de"] .lang[lang="de"],
html[data-lang="es"] .lang[lang="es"],
html[data-lang="fr"] .lang[lang="fr"],
html[data-lang="it"] .lang[lang="it"],
html[data-lang="az"] .lang[lang="az"],
html[data-lang="ar"] .lang[lang="ar"] { display: block; }

html[data-lang="tr"] span.lang[lang="tr"],
html[data-lang="en"] span.lang[lang="en"],
html[data-lang="de"] span.lang[lang="de"],
html[data-lang="es"] span.lang[lang="es"],
html[data-lang="fr"] span.lang[lang="fr"],
html[data-lang="it"] span.lang[lang="it"],
html[data-lang="az"] span.lang[lang="az"],
html[data-lang="ar"] span.lang[lang="ar"] { display: inline; }

/* ---------- Footer dil secici ---------- */
/* Ust barda degil burada: sayfanin isi icerik, dil secimi nadir yapilan
   bir islem. Yerli `select` kullaniliyor -- mobilde isletim sisteminin
   kendi listesi aciliyor, hem erisilebilir hem kendi acilir menumuzu
   yazmamiz gerekmiyor. */
.foot-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dil-sec {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 10px;
  border: 1px solid var(--cizgi, rgba(0, 0, 0, .12));
  border-radius: 999px;
  color: var(--soluk, #6b7280);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}

.dil-sec:hover { color: var(--ink, #111); border-color: rgba(0, 0, 0, .26); }

.dil-sec:focus-within {
  color: var(--ink, #111);
  border-color: var(--accent, #8B6CFF);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #8B6CFF) 18%, transparent);
}

/* `select` seffaf: cerceveyi ve oku biz ciziyoruz, boylece hem tema
   rengini aliyor hem tarayicilar arasinda ayni gorunuyor. */
.dil-sec select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  padding: 0 2px;
  cursor: pointer;
  outline: none;
}

.dil-sec select option { color: #111; background: #fff; }
.dil-ok { opacity: .55; pointer-events: none; }

/* Ekran okuyucu icin etiket; gorsel olarak gizli. */
.gorunmez {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .foot-alt { justify-content: center; }
}


/* ─── Telefon ─── */
/* Masaustunde duzen yatay: metin solda, fotograf sutunlari sagda SABIT.
   Telefonda o sutunlar 3 x ~108px = ~348px tutuyor ve 375px'lik ekranda
   yaziya 143px birakip uzerine biniyordu. Burada duzen dikeye cevriliyor:
   ustte yatay kayan bir fotograf bandi, altinda metin ve dugmeler.
   Band kalan bosluga yayiliyor (flex:1), boylece kucuk telefonda
   kendiliginden kisaliyor, buyukte uzuyor; metin her zaman sigiyor. */
@media (max-width: 859px) {
  .hero {
    width: 100%;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-copy {
    order: 2;
    max-width: none;
    padding: 0 20px;
  }

  .photo-grid {
    order: 1;
    position: static;
    flex: 1;
    min-height: 140px;
    height: auto;
    width: 100%;
    padding: 0;
    gap: 10px;
    flex-direction: column;
    overflow: hidden;
  }

  .photo-grid .col {
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 0;
  }

  /* Iki satir yeterli; ucuncusu dikeyde yer birakmiyor. */
  .photo-grid .col-down {
    display: none;
  }

  .track {
    flex-direction: row;
    width: max-content;
    height: 100%;
    gap: 10px;
  }

  .card {
    height: 100%;
    width: auto;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
  }

  .col-up .track {
    animation: slideLeft 34s linear infinite;
  }

  .col-mid .track {
    animation: slideRight 38s linear infinite;
    animation-delay: -12s;
  }

  /* RTL'de yatay bandin yonu ters -- bkz. slideLeftRtl aciklamasi. */
  [dir="rtl"] .col-up .track  { animation-name: slideLeftRtl; }
  [dir="rtl"] .col-mid .track { animation-name: slideRightRtl; }

  h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.55;
    max-width: none;
    margin-bottom: 20px;
  }

  /* 375px'te iki hap yan yana sigmiyor (~364px gerekiyor), alt alta. */
  .actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 52px;
  }

  .top {
    padding: 14px 20px 4px;
  }

  .foot {
    padding: 10px 20px calc(12px + var(--safe-b));
    gap: 6px 16px;
  }
}

@keyframes slideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* RTL'de yatay bandin yonu ters.
   `flex-direction: row` sagdan sola dizildigi icin `width: max-content`
   olan band KUTUNUN SAG kenarina yaslaniyor: sol kenari
   (kutu genisligi - band genisligi) kadar eksiye duser. Ustune LTR
   icin yazilmis `translateX(-50%)` binince band tamamen ekranin
   solunda kaliyor ve fotograf serisi bos gorunuyordu. Burada ayni
   dongu arti yonde calisiyor. */
@keyframes slideLeftRtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

@keyframes slideRightRtl {
  from { transform: translateX(50%); }
  to   { transform: translateX(0); }
}


/* ─── Masaüstü ─── */
@media (min-width: 860px) {
  .top {
    padding: 18px 40px 8px 48px;
  }

  .pill-nav {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    width: 100%;
    max-width: none;
    padding-block: 0;
    padding-inline: 48px 40px;
    padding-inline-end: min(54vw, 620px);
  }

  .hero-copy {
    max-width: 580px;
    padding-top: 0;
  }

  h1 {
    font-size: clamp(2.8rem, 5vw, 4.1rem);
    line-height: 1.14;
    margin-bottom: 24px;
  }

  .lead {
    margin-bottom: 36px;
  }

  .photo-grid {
    gap: 14px;
    padding-inline-end: 28px;
  }

  .photo-grid .col {
    width: 190px;
  }

  .col-mid .track {
    animation: slideDown1 32s linear infinite;
    animation-delay: -10s;
  }

  .col-down .track {
    animation: slideUp1 30s linear infinite;
    animation-delay: -18s;
  }

  .track {
    gap: 14px;
  }

  .card {
    height: calc((100dvh + 14px) / 3.05);
    border-radius: 24px;
  }

  .foot {
    padding-inline-start: 48px;
    padding-inline-end: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }

  .col-up .track,
  .col-mid .track,
  .col-down .track {
    animation: none;
  }

  .col-mid .track {
    transform: translateY(-25%);
  }

  .col-down .track {
    transform: translateY(-12%);
  }

  /* Telefonda band yatay; dikey kaydirma yerine yatay duraklama. */
  @media (max-width: 859px) {
    .col-mid .track {
      transform: translateX(-25%);
    }

    [dir="rtl"] .col-mid .track {
      transform: translateX(25%);
    }
  }
}

/* ---------------- Giriş / Kayıt ol düğmeleri ---------------- */

.btn.cizgi {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(17, 17, 17, 0.22);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.btn.cizgi:hover {
  border-color: rgba(17, 17, 17, 0.5);
  background: rgba(17, 17, 17, 0.04);
}
