/* ============================================================
   Cosmie — Home page
   Extends styles.css (shared cosmic theme)
   ============================================================ */

.home {
  --maxw-wide: 1120px;
}

/* The legal page constrains main to 780px; the home page is wider. */
.home main {
  max-width: var(--maxw-wide);
  padding: 10px 24px 40px;
}

.home header {
  padding: 18px 24px 14px;
}
.home .header-inner {
  max-width: var(--maxw-wide);
}
.home .brand {
  text-decoration: none;
  border: none;
}

/* ---------- Top nav ---------- */
.home-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--chip-bg);
  border: 1px solid var(--card-brd);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.home-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #1a0f2e;
  background: linear-gradient(94deg, var(--violet-2), var(--pink));
  box-shadow: 0 14px 34px -12px rgba(196, 132, 252, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { box-shadow: 0 20px 44px -12px rgba(196, 132, 252, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--card-brd);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  padding: 40px 0 70px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--violet-2);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-lead em {
  color: var(--violet-2);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* Hero artwork — uygulamanın odak ekranının maketi.
   Dönen yörüngeler ve evre evre değişen gezegen görseli yerine tek, sabit bir
   ürün görseli: ziyaretçi ilk ekranda uygulamanın gerçekte neye benzediğini görür. */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 10px 0;
}

.device-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.42), transparent 68%);
  filter: blur(46px);
  z-index: 0;
}

.device {
  position: relative;
  z-index: 1;
  /* İç ölçüler `cqw` ile cihaz genişliğine bağlanır → maket her boyutta orantılı kalır.
     Destek yoksa yukarıdaki px değerleri geçerli olur. */
  container-type: inline-size;
  width: min(268px, 82%);
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(167, 139, 250, 0.28), transparent 60%),
    linear-gradient(180deg, #120c26, #080614 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px 18px;
  padding: 5.2cqw 6cqw 6.5cqw;
  text-align: center;
}

/* İki ekran (odak / evren) aynı çerçevede yer değiştirir. */
.screen-view {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: screenIn 0.45s ease both;
}
.screen-view[hidden] { display: none; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.device-notch {
  width: 74px;
  height: 18px;
  width: 28cqw;
  height: 6.6cqw;
  border-radius: 999px;
  background: #05030d;
  flex-shrink: 0;
}

.screen-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 11px;
  margin-top: 5cqw;
  padding: 1.9cqw 4.2cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.6rem;
  font-size: 4.3cqw;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.screen-chip-dot {
  width: 7px;
  height: 7px;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--violet-2), var(--pink));
}

/* Odak ekranında gezegenin adı — uygulamadaki başlıkla aynı iş. */
.screen-planet-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  font-size: 5.8cqw;
  line-height: 1.15;
  color: #fff;
  margin-top: 8px;
  margin-top: 3cqw;
}

.screen-planet {
  position: relative;
  width: 55%;
  margin: auto 0 1.5cqw;
}
.screen-planet img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6));
}
.screen-planet-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
  filter: blur(22px);
}

.screen-timer {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.85rem;
  font-size: 13cqw;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.1;
  margin-top: 4px;
}
.screen-remaining {
  font-size: 0.54rem;
  font-size: 3.8cqw;
  font-weight: 600;
  letter-spacing: 1.3px;
  letter-spacing: 0.45cqw;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.screen-progress {
  width: 100%;
  height: 4px;
  height: 1.5cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  margin: 14px 0 12px;
  margin: 5cqw 0 4cqw;
  overflow: hidden;
}
.screen-progress span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-2), var(--pink));
  transition: width 0.9s linear;
}

.screen-pills {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
}
.screen-pills div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
/* Gezegen adı en uzun değer → ortadaki sütuna biraz daha pay. */
.screen-pills div:nth-child(2) { flex: 1.35; }
.screen-pills strong {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-size: 5cqw;
  font-weight: 700;
  color: #fff;
  /* Pill değerleri her zaman tek satır; sığmayan uzun ad üç noktayla kesilir. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screen-pills span {
  font-size: 0.52rem;
  font-size: 3.7cqw;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Evren ekranı — uygulamanın evren detayına benzer: isim, kısa istatistik satırı,
   yıldız zemininde küçük gezegen ızgarası. */
.universe-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  font-size: 10.5cqw;
  letter-spacing: -0.2px;
  line-height: 1.1;
  /* iOS'taki evren başlığı gibi: yukarıda geniş nefes payı. */
  margin-top: 34px;
  margin-top: 12.5cqw;
  background: linear-gradient(180deg, #fff, var(--violet-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Üye şeridi — uygulamadaki gibi hafif üst üste binen dairesel avatarlar. */
.universe-members {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-top: 3.5cqw;
}
.universe-members img {
  width: 26px;
  height: 26px;
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  object-fit: cover;
  background: #0b0818;
  border: 1.5px solid rgba(12, 8, 26, 0.95);
  box-shadow: 0 4px 10px -3px rgba(0, 0, 0, 0.7);
}
.universe-members img + img {
  margin-left: -8px;
  margin-left: -2.6cqw;
}

.universe-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 4px;
  gap: 1.4cqw;
  margin-top: 6px;
  margin-top: 2.2cqw;
  font-size: 0.46rem;
  font-size: 3.1cqw;
  color: var(--ink-faint);
}
.universe-stats strong { color: #fff; font-weight: 700; }
.universe-stats em { font-style: normal; }
.universe-dot {
  width: 3px;
  height: 3px;
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.universe-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  gap: 1.5cqw;
  width: 100%;
  margin-top: 12px;
  margin-top: 4.5cqw;
  /* Izgara kalan alanı kaplar ve dikeyde ortalanır: telefon uzun olduğunda
     gezegenler tepede toplanıp altta boşluk bırakmasın. */
  flex: 1;
  align-content: center;
  overflow: hidden;
}
.universe-grid img {
  width: 100%;
  height: auto;
  display: block;
}
/* Yeni kazanılan gezegen ızgaraya yerleşirken büyüyerek belirir. */
.universe-grid img.fresh {
  animation: planetLand 0.5s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
@keyframes planetLand {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}

/* Evren ekranının yıldız serpintisi — sabit konumlu ufak noktalar, animasyonsuz. */
.universe-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 14%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1.1px 1.1px at 78% 9%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.6px 1.6px at 32% 27%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 66% 33%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 48%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 22% 61%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 54% 72%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 84% 78%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 16% 86%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 44% 92%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1px 1px at 70% 57%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 38% 6%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 94% 22%, rgba(255,255,255,0.42), transparent 60%);
}

.screen-btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  font-size: 4.6cqw;
  color: #1a0f2e;
  padding: 9px 0;
  padding: 3.4cqw 0;
  border-radius: 999px;
  background: linear-gradient(94deg, var(--violet-2), var(--pink));
  box-shadow: 0 8px 20px -8px rgba(196, 132, 252, 0.7);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.screen-btn:hover { filter: brightness(1.06); }
.screen-btn:active { transform: scale(0.97); }

/* Tamamlanan gezegenin odak ekranından evrene uçuşu. */
.planet-fly {
  position: absolute;
  z-index: 5;
  width: 55%;
  left: 22.5%;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.4, 1), opacity 0.55s ease;
}
.planet-fly[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }

.section-head {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.22;
  color: #fff;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1rem;
}
.btn-shuffle { margin-top: 22px; }
.shuffle-icon { font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 22px;
  padding: 22px 20px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.step-img {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
}
.step-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
}
.step-no {
  display: block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--violet);
  margin-bottom: 6px;
}
.step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 7px;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Planet gallery ---------- */
.planet-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.planet-card {
  appearance: none;
  border: 1px solid var(--card-brd);
  background: var(--card);
  border-radius: 22px;
  padding: 18px 12px 16px;
  cursor: pointer;
  text-align: center;
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  animation: pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.planet-card:hover,
.planet-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(196, 181, 253, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 50px -24px rgba(167, 139, 250, 0.75);
  outline: none;
}
.planet-card img {
  width: 100%;
  max-width: 128px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.planet-card:hover img { transform: scale(1.07) rotate(-3deg); }
.planet-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.planet-stages {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

.grid-hint {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 22px;
  padding: 26px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.35);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.35), rgba(240, 171, 252, 0.22));
  border: 1px solid var(--card-brd);
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 8px;
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- Broken planet note ---------- */
.broken-note {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 30px 32px;
  border-radius: 24px;
  background: rgba(244, 114, 182, 0.07);
  border: 1px solid rgba(244, 114, 182, 0.22);
}
.broken-art {
  flex-shrink: 0;
  width: 96px;
  line-height: 0;
}
.broken-art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}
.broken-note h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}
.broken-note p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 30px; }
.cta {
  position: relative;
  text-align: center;
  padding: 52px 32px 46px;
  border-radius: 30px;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(167, 139, 250, 0.28), transparent 70%),
    var(--card);
  border: 1px solid var(--card-brd);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.cta-planets {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 22px;
}
.cta-planets img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
}
.cta-planets img:nth-child(1) { transform: translateX(20px) scale(0.82); }
.cta-planets img:nth-child(3) { transform: translateX(-20px) scale(0.82); }
.cta-planets img:nth-child(2) { position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  color: #fff;
  margin-bottom: 10px;
}
.cta p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}
/* Mağaza rozetleri — uygulama henüz yayında olmadığı için bağlantı DEĞİL:
   tıklanabilir görünmesinler diye imleç değişmez ve hafif soluk dururlar. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  opacity: 0.9;
  cursor: default;
  user-select: none;
}
.store-badge-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.store-badge-text small {
  font-size: 0.62rem;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}
.store-badge-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

.store-soon {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}
/* "Çok yakında · Bekleme listesine katıl" — not ve bağlantı aynı satırda. */
.store-soon-sep {
  margin: 0 6px;
  opacity: 0.5;
}
.waitlist-link {
  color: var(--violet-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.waitlist-link:hover {
  color: #fff;
  border-color: #fff;
}

/* Hero'da rozetlerin hemen altında küçük not; alttaki CTA'da kapsül rozeti. */
.hero-store-soon {
  margin-top: 6px;
  margin-bottom: 34px;
}
.store-soon-pill {
  display: inline-block;
  margin-top: 0;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--violet-2);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  padding: 11px 22px;
  border-radius: 999px;
}

/* ---------- Footer ---------- */
.home-footer {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 40px 24px 60px;
  text-align: center;
}
.footer-inner {
  border-top: 1px solid var(--card-brd);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand { font-size: 1.2rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--violet-2); }
.footer-note {
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.footer-note .heart { color: var(--pink); }

/* ---------- Stage modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade 0.25s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  text-align: center;
  padding: 30px 28px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(30, 20, 58, 0.96), rgba(12, 8, 30, 0.97));
  border: 1px solid var(--card-brd);
  box-shadow: var(--shadow);
  animation: rise-modal 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rise-modal {
  from { opacity: 0; transform: translateY(22px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--card-brd);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.modal-stage {
  position: relative;
  width: 216px;
  height: 216px;
  margin: 6px auto 20px;
  display: grid;
  place-items: center;
}
.modal-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.6));
  animation: stage-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes stage-in {
  from { opacity: 0; transform: scale(0.86); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-stage-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

.modal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 4px;
}
.modal-sub {
  color: var(--ink-faint);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.stage-track {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.stage-dot {
  appearance: none;
  border: 1px solid var(--card-brd);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 7px;
  width: 58px;
  height: 58px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.stage-dot img { width: 100%; height: 100%; object-fit: contain; opacity: 0.55; transition: opacity 0.25s ease; }
.stage-dot:hover { transform: translateY(-2px); }
.stage-dot:hover img { opacity: 0.85; }
.stage-dot.active {
  border-color: var(--violet-2);
  background: rgba(167, 139, 250, 0.18);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.35), 0 10px 24px -12px rgba(167, 139, 250, 0.8);
}
.stage-dot.active img { opacity: 1; }

.modal-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.modal-nav .btn { flex: 1; padding: 12px 16px; font-size: 0.9rem; }
.modal-nav .btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 0 50px;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats, .store-badges { justify-content: center; }
  .hero-store-soon { text-align: center; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; min-height: 0; }
  /* Maket telefon dar ekranda ilk ekranı tamamen kaplamasın: yüksekliği sınırla,
     genişlik en-boy oranından gelsin. */
  .device { width: auto; height: min(66vh, 560px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .home-nav a { padding: 7px 12px; font-size: 0.82rem; }
  .home .header-inner { justify-content: center; }
  /* Menü ve dil seçici tek satıra sığmıyor → ikisi de ortalanır. */
  .header-actions { width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
  .home main { padding: 6px 16px 30px; }
  .section { padding: 44px 0; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 74px 1fr; gap: 4px 16px; align-items: center; text-align: left; padding: 18px; }
  .step-img { width: 74px; height: 74px; margin: 0; grid-row: 1 / span 3; }
  .step-no { margin-bottom: 0; }
  .planet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .broken-note { flex-direction: column; text-align: center; gap: 14px; padding: 26px 22px; }
  .cta { padding: 40px 22px 36px; border-radius: 24px; }
  .modal-stage { width: 168px; height: 168px; }
  .stage-dot { width: 50px; height: 50px; }
  .modal-card { padding: 26px 20px 22px; }
  .home-nav { flex-wrap: wrap; justify-content: center; }
  .device { height: min(64vh, 520px); }
}

@media (prefers-reduced-motion: reduce) {
  .planet-card, .modal-card, .modal-stage img, .modal-backdrop {
    animation: none !important;
  }
  .screen-progress span { transition: none; }
  .btn:hover, .planet-card:hover, .step:hover, .feature:hover { transform: none; }
}
