/* =========================================================================
   İkra — kemer ve eksen
   İskelet: her şey tek bir dikey eksende ortalanıyor. Açılış görseli bir
   kemer içinde, özellikler iki yana açılan numaralı bir liste, ekranlar
   kemerli bir sıra. Yüzen hap, yan yana açılış ve karo ızgarası yok.
   ========================================================================= */

:root {
  color-scheme: dark;

  --ink: #071612;
  --ink-2: #0b1f19;

  --paper: #f3efe4;
  --text-2: #a8b5ae;
  --text-3: #6d7d76;

  --gold: #c9a55f;
  --gold-bright: #e2c48a;
  --gold-wash: rgba(201, 165, 95, 0.14);

  --hair: rgba(226, 196, 138, 0.18);
  --hair-soft: rgba(226, 196, 138, 0.09);
  --glass: rgba(243, 239, 228, 0.038);
  --glass-2: rgba(243, 239, 228, 0.06);

  --drop-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 20px 44px -24px rgba(0, 0, 0, 0.9);
  --drop-2: 0 3px 8px rgba(0, 0, 0, 0.55), 0 54px 104px -46px rgba(0, 0, 0, 0.95);

  --shell: min(1080px, calc(100% - 48px));
  --arch: 999px 999px 20px 20px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sekiz köşeli yıldız örgüsü: iki üst üste binmiş kare. Sabit ve soluk. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cg fill='none' stroke='%23c9a55f' stroke-width='1' opacity='0.5'%3E%3Crect x='15' y='15' width='46' height='46'/%3E%3Crect x='15' y='15' width='46' height='46' transform='rotate(45 38 38)'/%3E%3Ccircle cx='38' cy='38' r='3.4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(64rem 46rem at 50% 4%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(64rem 46rem at 50% 4%, #000 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 50% -8%, rgba(201, 165, 95, 0.2), transparent 62%),
    radial-gradient(52rem 38rem at 50% 108%, rgba(18, 62, 49, 0.6), transparent 62%);
}

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

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100;
  translate: -50% -200%;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  transition: translate 0.4s var(--ease);
}

.skip-link:focus-visible {
  translate: -50% 0;
}

/* ---------------------------------------------------------------- tipografi */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: 1.32rem;
  line-height: 1.26;
}

p {
  margin: 0;
  text-wrap: pretty;
}

/* Ortadaki eksene oturan, iki yanı çizgili göz üstü etiketi. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.lede {
  margin-top: 22px;
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--text-2);
}

.section-heading {
  max-width: min(660px, 100%);
  margin: 0 auto clamp(40px, 5vw, 66px);
  text-align: center;
}

/* ================================================================ ÜST ŞERİT
   İnce, tam genişlikte, ortada marka. Ada değil.
   ================================================================ */

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--shell);
  margin: 0 auto;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--hair-soft);
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--hair);
}

.site-nav {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.4s var(--ease);
}

.site-nav a:hover {
  color: var(--gold-bright);
}

.lang {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  gap: 2px;
}

.lang button {
  border: 0;
  padding: 5px 9px;
  background: transparent;
  color: var(--text-3);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.lang button.is-active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.menu-button {
  grid-column: 3;
  display: none;
  position: relative;
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.4px;
  background: var(--paper);
  translate: -50% 0;
  transition: all 0.45s var(--ease);
}

.menu-button span:first-child {
  top: 12px;
}

.menu-button span:last-child {
  top: 17px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 14.5px;
  rotate: 45deg;
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 14.5px;
  rotate: -45deg;
}

/* ================================================================ EKSEN */

section {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(66px, 8vw, 118px) 0;
  text-align: center;
}

/* ================================================================ AÇILIŞ
   Ortalanmış manşet, altında kemer içinde bir görsel.
   ================================================================ */

.hero {
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.hero h1 {
  max-width: 15ch;
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition:
    scale 0.45s var(--ease),
    background-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.store-button:first-child {
  background: var(--gold);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 22px 52px -24px rgba(201, 165, 95, 0.85);
}

.store-button:first-child .store-mark {
  background: rgba(7, 22, 18, 0.14);
}

.store-button:first-child .store-mark svg {
  fill: var(--ink);
}

.store-button:hover {
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px rgba(226, 196, 138, 0.36);
}

.store-button:first-child:hover {
  background: var(--gold-bright);
}

.store-button:active {
  scale: 0.98;
}

.store-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  background: var(--gold-wash);
  transition: scale 0.45s var(--ease);
}

.store-button:hover .store-mark {
  scale: 1.06;
}

.store-mark svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-bright);
}

.store-copy {
  display: grid;
  line-height: 1.2;
  text-align: left;
}

.store-copy small {
  font-size: 0.69rem;
  font-weight: 500;
  opacity: 0.7;
}

.store-copy strong {
  font-size: 0.93rem;
  font-weight: 700;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--text-3);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

/* Kemer: görsel yarım daire bir tacın altında duruyor. */
.hero-media {
  position: relative;
  width: min(520px, 100%);
  margin: clamp(44px, 5vw, 72px) auto 0;
  padding: 12px;
  border-radius: var(--arch);
  background: var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(243, 239, 228, 0.12),
    0 0 0 1px var(--hair),
    var(--drop-2);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -8% -3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 165, 95, 0.26), transparent 70%);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 999px 999px 10px 10px;
}

/* ================================================================ MADALYONLAR */

.stat-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
}

.stat-band > div {
  display: grid;
  gap: 2px;
  padding: 6px clamp(20px, 4vw, 54px);
  border-left: 1px solid var(--hair-soft);
}

.stat-band > div:first-child {
  border-left: 0;
}

.stat-band strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--gold-bright);
}

.stat-band span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ================================================================ ÖZELLİKLER
   Ortadaki eksenin iki yanına açılan numaralı satırlar. Karo yok.
   ================================================================ */

.bento {
  display: grid;
  max-width: 880px;
  margin-inline: auto;
  counter-reset: feature;
}

.tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 30px 0 32px;
  border-top: 1px solid var(--hair-soft);
  counter-increment: feature;
  text-align: center;
  transition: background-color 0.5s var(--ease);
}

.tile:hover {
  background: rgba(201, 165, 95, 0.05);
}

/* Roma rakamı yerine ince altın bir sayı; başlığın üstünde. */
.tile::before {
  content: counter(feature, decimal-leading-zero);
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.tile p {
  max-width: 62ch;
  margin-inline: auto;
  font-size: 0.96rem;
  color: var(--text-2);
}

/* ================================================================ KEMERLİ SIRA
   Ekranlar kemer biçiminde kırpılmış, ortadaki daha uzun bir sıra.
   ================================================================ */

.rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
  align-items: end;
  padding: 6px 0 10px;
}

.rail img {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--arch);
  box-shadow:
    0 0 0 1px var(--hair-soft),
    var(--drop-1);
  transition:
    translate 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}

/* Orta kemer en uzun, kenardakiler kademeli olarak alçalıyor. */
.rail img:nth-child(1),
.rail img:nth-child(5) {
  aspect-ratio: 5 / 6.4;
}

.rail img:nth-child(2),
.rail img:nth-child(4) {
  aspect-ratio: 5 / 7.2;
}

.rail img:hover {
  translate: 0 -10px;
  box-shadow:
    0 0 0 1px rgba(226, 196, 138, 0.34),
    var(--drop-2);
}

.rail-note {
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--text-3);
}

/* ================================================================ SÖZ */

.quote-band {
  padding-block: clamp(56px, 7vw, 96px);
}

.quote-band p {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.5;
  max-width: 34ch;
  margin-inline: auto;
  padding-top: 40px;
}

/* Ortadaki ekseni işaretleyen küçük bir süsleme. */
.quote-band p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  translate: -50% 0;
  rotate: 45deg;
  border: 1px solid var(--gold);
}

/* ================================================================ KAPANIŞ */

.download > div {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(44px, 5vw, 70px) clamp(26px, 4vw, 56px);
  border-radius: 260px 260px 24px 24px;
  background:
    radial-gradient(28rem 18rem at 50% 0%, rgba(201, 165, 95, 0.2), transparent 68%),
    var(--glass);
  box-shadow: inset 0 0 0 1px var(--hair);
}

.download h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  width: var(--shell);
  margin-inline: auto;
  padding: 26px 0 48px;
  border-top: 1px solid var(--hair-soft);
  font-size: 0.85rem;
  color: var(--text-3);
}

.site-footer > span {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--paper);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

/* ================================================================ AÇILIŞLAR */

.js [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 0.8s var(--ease-soft) var(--d, 0ms),
    translate 0.8s var(--ease-soft) var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ================================================================ DAR EKRAN */

@media (max-width: 860px) {
  :root {
    --shell: min(1080px, calc(100% - 32px));
  }

  .rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .rail img,
  .rail img:nth-child(1),
  .rail img:nth-child(5),
  .rail img:nth-child(2),
  .rail img:nth-child(4) {
    aspect-ratio: 5 / 7;
  }

  .stat-band > div {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    padding: 14px 0 12px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .lang {
    grid-column: 1;
    justify-self: start;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.55s var(--ease),
      padding 0.55s var(--ease);
  }

  .site-nav.is-open {
    max-height: 200px;
    padding: 12px 0 4px;
  }

  .site-nav a {
    padding: 9px 0;
  }

  section {
    padding: clamp(54px, 13vw, 84px) 0;
  }

  .rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .download > div {
    border-radius: 160px 160px 20px 20px;
    padding: 34px 20px 38px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    translate: 0;
  }
}
