/* Globist tanıtım sayfası (globist.app).

   Görsel dil uygulamadan ve tanıtım slaytlarından: zemin #0C0D11, mor #A855F7
   yalnızca ışıma ve ince çizgide, mavi #00A6FF düğme ve bağlantıda, kategori
   renkleri uygulamanın kendi renkleri (WorldCategoryColors /
   BriefCategoryColors). Yazı tipi indirilmez: telefonun kendi yazı tipi
   (iPhone'da uygulamadakiyle aynı SF Pro).

   HAREKET KURALI (kullanıcı kararı, 2026-10-09): kaydırmaya bağlı hareket
   YALNIZCA arka planda (.bg). Ön plan kaydırmaya bağlanmaz; her blok ilk
   göründüğünde bir kez belirir (site.js). Eski site telefonda kasıyordu
   (yıldız zemini + bulanık başlık + maskeli parlayan liste). Bu yüzden:
   - yalnızca transform ve opacity hareket eder, birkaç katmanda;
   - backdrop-filter, filter, mask ve text-shadow yok;
   - kaydırmayı dinleyen JS yok; destek yoksa ya da "hareketi azalt" açıksa
     arka plan sabit durur.
   animation-range içinde calc() kullanma: bazı tarayıcılarda animasyon hiç
   başlamıyor. */

:root {
  color-scheme: dark;
  --bg: #0c0d11;
  --surface: #13141b;
  --surface-2: #191b24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a3a6b6;
  --dim: #707385;
  --purple: #a855f7;
  --purple-soft: #d8c4ff;
  --purple-line: rgba(168, 85, 247, 0.42);
  --purple-glow: rgba(168, 85, 247, 0.34);
  --blue: #00a6ff;
  --c-conflict: #ff6b6b;
  --c-politics: #4da3ff;
  --c-economy: #f2b233;
  --c-disaster: #2ec4b6;
  --c-science: #a78bfa;
  --c-society: #f472b6;
  --c-sports: #62c96f;
  --c-culture: #ff8f45;
  --gut: 20px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

/* Dil: <html lang> açılışta <head>'deki küçük betikle seçilir (yanıp sönme
   olmasın); öbür dilin öğeleri hiç çizilmez, tembel görselleri de inmez. */
html[lang='tr'] [data-lang='en'],
html[lang='en'] [data-lang='tr'] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- arka plan: tek hareketli katman ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg__map,
.bg__glow {
  position: absolute;
  will-change: transform, opacity;
}

/* Uygulamanın küre verisinden (world-atlas 110m) noktalı düz harita. Telefonda
   ekrandan çok geniş: kaydırdıkça kıtalar sırayla geçer. */
.bg__map {
  --map-w: 290vw;
  --map-x: -190vw;
  top: 13vh;
  left: 0;
  width: var(--map-w);
  aspect-ratio: 1800 / 690;
  background: url('img/world-dots.svg') center / 100% 100% no-repeat;
  opacity: 0.16;
}

.bg__glow {
  width: 110vmax;
  height: 110vmax;
  border-radius: 50%;
}

.bg__glow--purple {
  top: -62vmax;
  left: -48vmax;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.34), rgba(168, 85, 247, 0.1) 55%, rgba(168, 85, 247, 0));
}

.bg__glow--blue {
  top: -30vmax;
  right: -70vmax;
  background: radial-gradient(closest-side, rgba(0, 166, 255, 0.22), rgba(0, 166, 255, 0.07) 55%, rgba(0, 166, 255, 0));
}

/* Dünya ve ülke özeti bölümlerinde: uygulamanın kategori renkleri. */
.bg__glow--cats {
  top: 4vh;
  left: -58vmax;
  opacity: 0;
  background:
    radial-gradient(closest-side at 38% 42%, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0) 70%),
    radial-gradient(closest-side at 62% 50%, rgba(242, 178, 51, 0.16), rgba(242, 178, 51, 0) 70%),
    radial-gradient(closest-side at 48% 66%, rgba(46, 196, 182, 0.16), rgba(46, 196, 182, 0) 70%),
    radial-gradient(closest-side at 58% 32%, rgba(244, 114, 182, 0.14), rgba(244, 114, 182, 0) 70%);
}

@media (min-width: 900px) {
  .bg__map {
    --map-w: 132vw;
    --map-x: -32vw;
    top: 8vh;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .bg__map {
      animation: bg-map linear both;
      animation-timeline: scroll(root);
    }

    .bg__glow--purple {
      animation: bg-purple linear both;
      animation-timeline: scroll(root);
    }

    .bg__glow--blue {
      animation: bg-blue linear both;
      animation-timeline: scroll(root);
    }

    .bg__glow--cats {
      animation: bg-cats linear both;
      animation-timeline: scroll(root);
    }
  }
}

@keyframes bg-map {
  to {
    transform: translate3d(var(--map-x), -5vh, 0);
  }
}

@keyframes bg-purple {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  25% {
    transform: translate3d(42vw, 32vh, 0);
    opacity: 0.65;
  }
  50% {
    transform: translate3d(12vw, 58vh, 0);
    opacity: 0.3;
  }
  80% {
    transform: translate3d(46vw, 30vh, 0);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(30vw, 46vh, 0);
    opacity: 1;
  }
}

@keyframes bg-blue {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  30% {
    transform: translate3d(-46vw, 38vh, 0);
    opacity: 0.6;
  }
  62% {
    transform: translate3d(-16vw, 12vh, 0);
    opacity: 0.35;
  }
  100% {
    transform: translate3d(-42vw, 48vh, 0);
    opacity: 0.9;
  }
}

@keyframes bg-cats {
  0%,
  24% {
    transform: translate3d(0, 24vh, 0);
    opacity: 0;
  }
  38% {
    transform: translate3d(36vw, 6vh, 0);
    opacity: 1;
  }
  56% {
    transform: translate3d(62vw, -6vh, 0);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: translate3d(84vw, -18vh, 0);
    opacity: 0;
  }
}

/* ---------- yüzen üst menü (bulanıklık yok, düz yarı saydam zemin) ---------- */

.nav {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 12px;
  right: 12px;
  z-index: 50;
  max-width: 1080px;
  height: 58px;
  margin: 0 auto;
  padding: 0 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 18, 25, 0.92);
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 31px;
}

.nav__links {
  display: none;
  gap: 4px;
  margin-left: 18px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.langs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.langs button {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 14px/1 var(--font);
  cursor: pointer;
}

.langs button[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

@media (min-width: 760px) {
  .nav__links {
    display: flex;
  }
}

/* ---------- düğmeler, haplar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font: 700 15px/1 var(--font);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  background: #1fb2ff;
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  color: var(--purple-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px 1px rgba(168, 85, 247, 0.8);
}

/* Mağaza kutuları: uygulama mağazaya çıkınca bağlantıya dönecek (resmî rozetle). */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 156px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(19, 20, 27, 0.9);
  color: var(--text);
  line-height: 1.15;
}

.store small {
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 600;
}

.store b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- telefon çerçevesi: gerçek ekran görüntüsü, kodla çizilmiş kasa ---------- */

.phone {
  position: relative;
  flex: none;
  width: var(--pw, 260px);
  padding: 9px;
  border-radius: 46px;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.22),
    0 28px 70px -22px rgba(168, 85, 247, 0.55),
    0 18px 40px -16px rgba(0, 0, 0, 0.85);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 37px;
  aspect-ratio: 1320 / 2868;
  background: #0a0a0d;
}

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

/* Dynamic Island */
.phone__screen::after {
  content: '';
  position: absolute;
  top: 1.25%;
  left: 50%;
  width: 28.6%;
  height: 3.75%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* ---------- giriş ---------- */

.hero {
  position: relative;
  padding: calc(108px + env(safe-area-inset-top, 0px)) 0 28px;
}

.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(44px, 11.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero .lede {
  max-width: 30ch;
}

.hero .stores {
  margin-top: 30px;
}

.hero__note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 14px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__visual .phone {
  --pw: min(288px, 74vw);
}

/* Telefonun arkasında duran ışık (sabit, hareket etmez). */
.hero__visual::before,
.stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  max-width: 640px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.32), rgba(0, 166, 255, 0.08) 60%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 150px;
    padding-bottom: 60px;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero__visual .phone {
    --pw: 320px;
  }
}

/* ---------- bölümler ---------- */

.sec {
  position: relative;
  padding: 88px 0;
}

.sec__head {
  max-width: 760px;
}

.sec__head--center {
  margin: 0 auto;
  text-align: center;
}

.sec h2 {
  margin-top: 18px;
  font-size: clamp(36px, 8.6vw, 62px);
  line-height: 1.04;
}

.sec__head > .eyebrow + h2 {
  margin-top: 18px;
}

.sec__head > h2:first-child {
  margin-top: 0;
}

/* İki tonlu açıklama: ilk cümle beyaz, devamı gri. */
.lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 4.5vw, 21px);
  line-height: 1.45;
}

.lede b {
  color: var(--text);
  font-weight: 600;
}

.fine {
  margin-top: 18px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
}

.checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.45;
}

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--purple);
}

/* Telefonların durduğu sahne. Telefonlar kutunun içinde TAM görünür, hiçbir
   kenarda kesilmez: yükseklik telefona göre uzar, iki telefonun genişliği de
   kutunun iç genişliğinden hesaplanır (dar ekranda küçülür, taşmaz). */
.stage {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 40px 14px;
}

.stage::before {
  top: 40%;
}

.stage .phone {
  --pw: min(250px, 56vw);
}

/* (iç genişlik − 14 px aralık) / 2: iki telefon her genişlikte yan yana sığar. */
.stage--duo .phone {
  --pw: min(232px, calc((100% - 14px) / 2));
}

.stage--duo .phone + .phone {
  margin-top: 48px;
}

/* Alttaki "Örnek: …" yazısı telefonun altında durur, üstüne binmez. */
.stage--caption {
  padding-bottom: 64px;
}

.stage__caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 13, 17, 0.92);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .sec {
    padding: 104px 0;
  }

  .split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
  }

  .split--flip .sec__head {
    order: 2;
  }

  .split .stage {
    margin-top: 0;
  }

  .stage {
    padding-left: 20px;
    padding-right: 20px;
  }

  .stage .phone {
    --pw: 280px;
  }

  .stage--duo .phone {
    --pw: min(248px, calc((100% - 14px) / 2));
  }
}

/* ---------- üç söz ---------- */

.promises {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(19, 20, 27, 0.82);
  padding: 26px 24px 28px;
}

.promise .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--purple-line);
  border-radius: 16px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple-soft);
  box-shadow: 0 0 28px -6px rgba(168, 85, 247, 0.55);
}

.promise .icon svg {
  width: 26px;
  height: 26px;
}

.promise h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.15;
}

.promise p {
  margin-top: 8px;
  color: var(--muted);
}

@media (min-width: 760px) {
  .promises {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- kategori hapları ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(25, 27, 36, 0.85);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.chips li[style]::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.chips li.is-on {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

/* ---------- veri cümlesi ---------- */

.datum {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(19, 20, 27, 0.82);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.datum b {
  color: var(--text);
}

.datum__n {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ---------- kutu ızgarası ---------- */

.bento {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}

.bento .card {
  overflow: hidden;
}

.bento h3 {
  font-size: 26px;
  line-height: 1.12;
}

.bento .card > p {
  margin-top: 10px;
  color: var(--muted);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.tile-icon svg {
  width: 23px;
  height: 23px;
}

.filters {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.filters li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--purple-line);
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.06);
  font-size: 15px;
  line-height: 1.35;
}

.filters svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--purple-soft);
}

/* Arama kartındaki telefon TAM görünür. Eskiden kutu sabit yükseklikteydi ve telefonu
   esnetiyordu: çerçeve ekrandan kısa kalıp ekranın ortasında yuvarlanıyor, satırlar
   çerçevenin dışına taşıp düz kesiliyordu. Telefon kendi boyunda kalır; kart ızgarada
   uzarsa kalan boşluğun ortasında durur. */
.peek {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}

.peek .phone {
  --pw: min(210px, 100%);
}

.shelf {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.shelf li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.shelf svg {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--purple-soft);
}

.shelf b {
  font-size: 16px;
}

.shelf span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.cloud {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cloud li:nth-child(3n + 1) {
  font-size: 30px;
  color: var(--text);
}

.cloud li:nth-child(3n + 2) {
  font-size: 22px;
  color: #c9cbd6;
}

.cloud li:nth-child(3n) {
  font-size: 26px;
  color: var(--muted);
}

.source-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 166, 255, 0.45);
  border-radius: 26px;
  background: rgba(0, 166, 255, 0.08);
  color: var(--blue);
  box-shadow: 0 0 46px -8px rgba(0, 166, 255, 0.6);
}

.source-icon svg {
  width: 46px;
  height: 46px;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento .card--search {
    grid-column: span 3;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .bento .card--library {
    grid-column: span 3;
  }

  .bento .card--langs {
    grid-column: span 3;
  }

  .bento .card--source {
    grid-column: span 6;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 28px;
    align-items: center;
  }

  .bento .card--source .source-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .bento .card--source > p {
    margin-top: 6px;
  }

  .card--search .peek {
    flex: 1;
  }
}

/* ---------- sayılar ---------- */

.stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  padding: 22px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(19, 20, 27, 0.82);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(46px, 13vw, 104px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(13px, 3.4vw, 17px);
  line-height: 1.3;
}

/* Açılır listeler (ülkeler, SSS): kapalıyken içerik çizilmez. */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

.countries {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(19, 20, 27, 0.82);
}

.countries > summary,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
}

.countries > summary::after,
.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
}

details[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

/* Ülke listesi açık gelir (kullanıcı kararı); sağdaki yazı o an ne yapılacağını söyler.
   Yazı ile ok tek parça okunsun diye aralık 10: 320 px'te de başlık tek satırda kalır. */
.countries > summary {
  gap: 10px;
}

.countries__toggle {
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.countries[open] .countries__show,
.countries:not([open]) .countries__hide {
  display: none;
}

/* Telefonda da iki sütun: liste açık geldiği için tek sütunda 6 ekran boyu tutuyordu. */
.countries__grid {
  margin: 0;
  padding: 4px 20px 22px;
  list-style: none;
  columns: 2;
  column-gap: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* Bayrak sabit enli bir kutu (Apple'ın emoji bayrağı kadar, 1,4em): her ad aynı hizadan
   başlar. İki satıra inen adın ikinci satırı bayrağın altından değil adın hizasından devam
   eder; yoksa "Devletleri" bayraksız ayrı bir ülke gibi duruyordu. */
.countries__grid li {
  break-inside: avoid;
  padding-left: calc(1.4em + 8px);
  text-indent: calc(-1.4em - 8px);
}

.flag {
  display: inline-block;
  width: 1.4em;
  margin-right: 8px;
  text-indent: 0;
}

/* Kuzey Kıbrıs ve Somaliland'in ISO kodu, dolayısıyla emoji bayrağı yok.
   Uygulamadaki gibi gerçek bayrak resmi (img/flags), uygulamanın 1,4:1 kutusunda.
   Boyu ve yan boşlukları Apple'ın emoji bayrağına göre: ülke adları aynı hizada. */
.flag img {
  display: inline-block;
  width: 1.12em;
  height: 0.8em;
  margin: 0 0.18em 0 0.11em;
  object-fit: cover;
  border-radius: 2px;
}

@media (min-width: 760px) {
  .countries__grid {
    columns: 4 180px;
  }
}

/* ---------- SSS ---------- */

.faq {
  max-width: 820px;
  margin: 36px auto 0;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(19, 20, 27, 0.82);
}

.faq summary {
  font-size: 18px;
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

/* ---------- son çağrı ---------- */

.final {
  text-align: center;
}

.final img {
  width: 80px;
  height: 83px;
  margin: 0 auto 22px;
}

.final h2 {
  margin: 0 auto;
  max-width: 12ch;
  font-size: clamp(42px, 10.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.final .lede {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.final .stores {
  justify-content: center;
  margin-top: 28px;
}

.final .fine {
  margin-top: 22px;
  font-size: 15px;
}

/* ---------- alt bilgi ---------- */

.footer {
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.footer a {
  color: var(--muted);
}

.footer .spacer {
  flex: 1;
}

/* ---------- bir kez belirme (ön plan; kaydırmaya bağlı DEĞİL) ----------
   Sınıfı <head>'deki betik ekler; site.js hiç yüklenmezse 2,5 sn sonra geri
   alınır ve içerik görünür kalır. */
.js-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal--late {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
