/*
 * PAZARIO "Çok yakında" sayfası.
 * Referans: design-ref/yakinda-referans.png (1672 × 941). Renkler packages/ui/src/tokens/colors.css ile aynı.
 * Yapı: önce telefon, 1080 px ve üstünde iki sütun (solda metin, sağda sahne görseli).
 */

/* ---------- Yazı tipleri (yerel; dışarıya istek yok) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext-800-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Değişkenler ---------- */
:root {
  --zemin: #040404;
  --turuncu: #ff7a1a;
  --turuncu-2: #f26b0c;
  --turuncu-ust: #ff8a2e;
  --turuncu-acik: #ffa25c;
  --metin: #ffffff;
  --metin-2: #cfcfcf;
  --metin-3: #8c8c8c;
  --cizgi: rgba(255, 255, 255, 0.12);
  --kenar: clamp(20px, 7.3vw, 122px);
  --font-marka: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-govde: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

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

html {
  background: var(--zemin);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  /* Arka plan html'de: body'ye renk verilirse z-index:-1 olan .zemin katmanını örter */
  color: var(--metin);
  font-family: var(--font-govde);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

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

a:focus-visible {
  outline: 2px solid var(--turuncu-acik);
  outline-offset: 6px;
  border-radius: 6px;
}

.gizli {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Arka plan: üstte gri dalga + hafif turuncu ışık ---------- */
.zemin {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("zemin.svg") 40% top / cover no-repeat,
    radial-gradient(60% 45% at 78% 88%, rgba(255, 122, 26, 0.07), transparent 70%),
    var(--zemin);
}

/* ---------- Sayfa iskeleti ---------- */
.sayfa {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  width: 100%;
  max-width: 1720px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--kenar);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- Üst bölüm ---------- */
.ust {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(22px, 7vh, 74px);
}

/* PAZARIO logosu: hız çizgileri + "PAZARI" + sepet ("O") */
.pz-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  animation: giris 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.pz-logo__hiz {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-top: 2px;
  margin-right: 5px;
}
.pz-logo__hiz i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--turuncu);
}
.pz-logo__hiz i:nth-child(1) {
  width: 12px;
}
.pz-logo__hiz i:nth-child(2) {
  width: 17px;
}
.pz-logo__hiz i:nth-child(3) {
  width: 9px;
}
.pz-logo__yazi {
  font-family: var(--font-marka);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.pz-logo__sepet {
  width: auto;
  height: 38px;
  margin-top: 3px;
  margin-left: 1px;
}

/* CTA Yazılım: monogram + YAZILIM */
.cta-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.2s;
  animation: giris 0.8s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.cta-logo:hover {
  opacity: 1;
}
.cta-logo .cta-isaret {
  width: auto;
  height: 22px;
}
.cta-logo__yazi {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d9d9d9;
}

/* ---------- Vitrin (orta bölüm) ---------- */
.vitrin {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding-top: clamp(36px, 7vh, 64px);
}

.metin {
  position: relative;
  z-index: 2;
}

.metin > * {
  animation: giris 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.metin > :nth-child(2) {
  animation-delay: 0.08s;
}
.metin > :nth-child(3) {
  animation-delay: 0.16s;
}
.metin > :nth-child(4) {
  animation-delay: 0.22s;
}
.metin > :nth-child(5) {
  animation-delay: 0.28s;
}

/* Rozet */
.rozet {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #ececec;
}
.rozet__nokta {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    var(--turuncu-acik),
    var(--turuncu) 60%,
    var(--turuncu-2)
  );
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.75);
}
.rozet__nokta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 26, 0.55);
  animation: nabiz 2.4s ease-out infinite;
}

/* Başlık */
.baslik {
  margin: clamp(24px, 4.4vh, 44px) 0 0;
  font-family: var(--font-marka);
  font-size: clamp(2.25rem, 12.6vw, 5.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.baslik__satir {
  display: block;
  white-space: nowrap;
}
.gumus {
  background: linear-gradient(180deg, #ffffff 8%, #ececec 46%, #a8a8a8 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.turuncu {
  background: linear-gradient(180deg, #ffb066 4%, var(--turuncu-ust) 42%, var(--turuncu-2) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 122, 26, 0.28));
}

/* Açıklama */
.aciklama {
  margin: clamp(18px, 3.4vh, 34px) 0 0;
  font-size: clamp(1.0625rem, 4.4vw, 1.375rem);
  line-height: 1.38;
  color: var(--metin-2);
  text-wrap: balance;
}
.aciklama br {
  display: none;
}

/* İlerleme çubuğu (süs) */
.ilerleme {
  position: relative;
  width: 222px;
  max-width: 60%;
  height: 6px;
  margin-top: clamp(22px, 4.2vh, 40px);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.ilerleme span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--turuncu-2), var(--turuncu-ust));
  box-shadow: 0 0 14px rgba(255, 122, 26, 0.6);
}
.ilerleme span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  animation: parilti 2.8s 1s ease-in-out infinite;
}

/* Özellikler: telefonda üç sütun, simge üstte */
.ozellikler {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(26px, 4.6vh, 44px) 0 0;
  padding: 0;
  list-style: none;
}
.ozellikler li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: #f2f2f2;
}
.ozellikler li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.ozellikler svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--turuncu);
  filter: drop-shadow(0 0 8px rgba(255, 122, 26, 0.35));
}

/* Sahne görseli: telefonda metnin altında, kenardan kenara */
.sahne {
  position: relative;
  z-index: 1;
  margin: 8px calc(-1 * var(--kenar)) 0;
  animation: sahne-giris 1.2s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.sahne img {
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 16%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- Alt bölüm ---------- */
.alt {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--cizgi);
  font-size: 13px;
  color: var(--metin-3);
}
.alt p {
  margin: 0;
}
.alt__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.alt__cta:hover {
  opacity: 1;
}
.alt__cta .cta-isaret {
  width: auto;
  height: 15px;
}

/* Çok dar telefon: CTA logosunda yalnızca monogram */
@media (max-width: 359px) {
  .cta-logo__yazi {
    display: none;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .pz-logo__hiz {
    gap: 4px;
    margin-top: 2px;
    margin-right: 6px;
  }
  .pz-logo__hiz i {
    height: 4px;
  }
  .pz-logo__hiz i:nth-child(1) {
    width: 17px;
  }
  .pz-logo__hiz i:nth-child(2) {
    width: 24px;
  }
  .pz-logo__hiz i:nth-child(3) {
    width: 13px;
  }
  .pz-logo__yazi {
    font-size: 40px;
    letter-spacing: -0.6px;
  }
  .pz-logo__sepet {
    height: 53px;
    margin-top: 4px;
  }
  .cta-logo .cta-isaret {
    height: 26px;
  }
  .cta-logo__yazi {
    font-size: 14px;
  }

  .rozet {
    gap: 13px;
    padding: 12px 22px 12px 16px;
    font-size: clamp(15px, 1.1vw, 18px);
  }
  .rozet__nokta {
    width: 14px;
    height: 14px;
  }

  /* Özellikler tek satır, simge solda */
  .ozellikler {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 14px;
  }
  .ozellikler li {
    flex-direction: row;
    gap: 14px;
    padding: 4px clamp(16px, 1.75vw, 29px);
    font-size: clamp(14px, 1vw, 16.5px);
    text-align: left;
    white-space: nowrap;
  }
  .ozellikler li:first-child {
    padding-left: 0;
  }
  .ozellikler svg {
    width: 28px;
    height: 28px;
  }

  .aciklama br {
    display: inline;
  }

  .sahne img {
    margin-right: 0;
  }

  .alt {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: clamp(22px, 3.6vh, 36px) 0 clamp(26px, 5vh, 50px);
    font-size: 15px;
  }
  .alt__cta {
    font-size: 16px;
  }
  .alt__cta .cta-isaret {
    height: 17px;
  }
}

/* ---------- Masaüstü: iki sütun (referans düzeni) ---------- */
@media (min-width: 1080px) {
  .zemin {
    background-position:
      left top,
      0 0,
      0 0;
  }

  .vitrin {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    align-items: center;
    align-content: stretch;
    padding-block: clamp(24px, 4vh, 48px);
  }

  .baslik {
    font-size: clamp(3rem, 6.3vw, 6.75rem);
    line-height: 0.96;
  }

  .aciklama {
    font-size: clamp(1.125rem, 1.5vw, 1.5625rem);
  }

  .ozellikler {
    flex-wrap: nowrap;
  }

  /* Görsel düzeni etkilemez: sağ kenara yaslı, dikeyde ortalı, üst/alt bölümlerin arkasına taşabilir */
  .sahne {
    align-self: stretch;
    margin: 0;
  }
  .sahne img {
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--kenar));
    width: min(calc(100% + var(--kenar)), 97vh);
    width: min(calc(100% + var(--kenar)), 97svh);
    max-width: none;
    transform: translateY(-50%);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 22%),
      linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%),
      radial-gradient(40% 35% at 0 0, transparent 40%, #000 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 22%),
      linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%),
      radial-gradient(40% 35% at 0 0, transparent 40%, #000 100%);
  }
}

/* Çok geniş ekran: sayfa ortalanır, görselin sağ kenarı da yumuşatılır */
@media (min-width: 1721px) {
  .sahne img {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 22%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%),
      radial-gradient(40% 35% at 0 0, transparent 40%, #000 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 22%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 10%, #000 86%, transparent 100%),
      radial-gradient(40% 35% at 0 0, transparent 40%, #000 100%);
  }
}

/* ---------- Hareket ---------- */
@keyframes giris {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sahne-giris {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nabiz {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes parilti {
  0% {
    transform: translateX(-100%);
  }
  60%,
  100% {
    transform: translateX(260%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
