/* ---------- Hero layout ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 67px);
  height: calc(100svh - 67px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(12px, 3vh, 32px) 20px clamp(16px, 3vh, 32px);
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(13, 156, 240, 0.075) 55%,
    #f5fcff 100%
  );
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero-decor--a {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 8%;
  background: rgba(140, 209, 20, 0.12);
}

.hero-decor--b {
  width: 380px;
  height: 380px;
  right: -140px;
  top: 30%;
  background: rgba(13, 156, 240, 0.12);
}

/* ---------- Orbit stage ---------- */

.orbit-stage {
  position: relative;
  z-index: 1;
  width: clamp(280px, 40vw, 390px);
  aspect-ratio: 1 / 1;
  margin: 0 auto clamp(6px, 1.5vh, 14px);
  container-type: inline-size;
}

/* Büyük ekranlar: dünya solda (daha büyük), yazı + indirme butonu sağda.
   Telefon/dar ekranlarda üstteki dikey (column) düzen aynen kalır. */
@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 88px);
    padding-inline: clamp(32px, 6vw, 104px);
  }

  .orbit-stage {
    width: clamp(400px, 44vw, 640px);
    margin: 0;
    flex: 0 0 auto;
  }

  .hero-copy {
    text-align: left;
    margin: 0;
    max-width: 460px;
  }

  .hero-copy .tagline-stage {
    align-items: flex-start;
  }
}

.orbit-ring {
  position: absolute;
  inset: 0;
}

.orbit-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-node {
  position: absolute;
  inset: 0;
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
  animation-name: orbit-move;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes orbit-move {
  to {
    offset-distance: 100%;
  }
}

.sticker-hold {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.earth-wrap {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 54cqw;
  height: 54cqw;
  transform: translate(-50%, -50%);
  z-index: 5;
  animation: earth-float 4.4s ease-in-out infinite;
  filter: drop-shadow(0 11px 18px rgba(13, 156, 240, 0.28));
}

@keyframes earth-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(3px); }
  50% { transform: translate(-50%, -50%) translateY(-4px); }
}

.earth-wrap canvas {
  width: 100%;
  height: 100%;
}

/* ---------- Stickers ---------- */

.sticker-vinyl {
  width: 15.5cqw;
  height: 15.5cqw;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.30), rgba(255,255,255,0) 24%),
    radial-gradient(circle at 32% 30%, rgba(0,0,0,0.50), rgba(0,0,0,0.80) 100%);
  box-shadow:
    inset 0 0 0 1.4px rgba(255,255,255,0.28),
    0 4px 10px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-vinyl::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
}

.sticker-vinyl .album-label {
  width: 40%;
  height: 40%;
  border-radius: 50%;
  display: block;
  position: relative;
  box-shadow: 0 0 0 1.4px rgba(255,255,255,0.6);
}

.sticker-vinyl .album-label::after {
  content: "";
  position: absolute;
  width: 15%;
  height: 15%;
  left: 42.5%;
  top: 42.5%;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 0 0 1px rgba(20,31,41,0.12);
}

.album-label--pink { background: #d34b82; }
.album-label--blue { background: #42a5e8; }
.album-label--orange { background: #ee8b45; }

.sticker-polaroid {
  width: 15.5cqw;
  padding: 4.5% 4.5% 4.5%;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 5px 14px rgba(0,0,0,0.20);
  position: relative;
}

.sticker-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.sticker-polaroid .caption {
  display: block;
  text-align: center;
  font-size: 5.6px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(20, 31, 41, 0.55);
  padding-top: 5%;
}

@container (min-width: 1px) {
  .sticker-polaroid .caption {
    font-size: 2.1cqw;
  }
}

.sticker-polaroid .pin {
  position: absolute;
  top: -11%;
  width: 32%;
  height: auto;
  /* .sticker-polaroid img kuralındaki aspect-ratio:1/1 + object-fit:cover'ı
     ez — yoksa pin kareye kırpılıp baş kısmı kesiliyor. */
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.24));
}

.sticker-polaroid .pin.lean-right {
  right: 20%;
  transform: rotate(8deg);
}

.sticker-polaroid .pin.lean-left {
  left: 20%;
  transform: rotate(-8deg);
}

.sticker-stamp {
  width: 15.8cqw;
  position: relative;
  filter: drop-shadow(0 4px 7px rgba(0,0,0,0.24));
}

.sticker-stamp img.frame {
  width: 100%;
  display: block;
}

.sticker-stamp .photo {
  position: absolute;
  left: 6.1%;
  top: 5.6%;
  width: 87%;
  height: 77.4%;
  object-fit: cover;
}

.sticker-stamp .label {
  position: absolute;
  left: 6%;
  width: 88%;
  bottom: 5%;
  text-align: center;
  font-size: 2.05cqw;
  font-weight: 800;
  color: var(--orbit-ink);
  letter-spacing: -0.01em;
}

/* ---------- Hero copy ---------- */

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.hero-copy .wordmark {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 4px;
  background: linear-gradient(135deg, var(--orbit-blue), var(--orbit-blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 3px 10px rgba(13, 156, 240, 0.18);
}

.hero-copy .tagline-stage {
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.hero-copy .tagline {
  font-weight: 800;
  font-size: clamp(15px, 2.1vw, 19px);
  line-height: 1.35;
  margin: 0 0 6px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-copy .tagline-label {
  margin: 0;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orbit-blue);
  transition: opacity 0.5s ease;
}

.hero-copy .tagline-fade {
  opacity: 0;
  transform: translateY(4px);
}

/* ---------- App Store badge ---------- */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0b0d10;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(11, 13, 16, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(11, 13, 16, 0.30);
}

.app-store-badge svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.app-store-badge .label {
  text-align: left;
  line-height: 1.15;
}

.app-store-badge .label small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.86;
}

.app-store-badge .label strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.app-store-badge.is-placeholder {
  filter: grayscale(0.15);
  opacity: 0.92;
  cursor: default;
}

.app-store-note {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(20, 31, 41, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .orbit-node,
  .earth-wrap {
    animation: none !important;
  }
}
