/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-blocks {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% -10%, rgba(249, 115, 22, .08) 0, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 50%, rgba(249, 115, 22, .06) 0, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(249, 115, 22, .05) 0, transparent 50%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  width: fit-content;
  letter-spacing: .01em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Title & Subtitle */
.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 400;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s ease, transform .2s ease;
}

.store-badge-link:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.store-badge {
  display: block;
  height: auto;
  border-radius: 8px;
}

.store-badge-link .store-badge {
  height: 52px;
  width: auto;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  padding: 0 20px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  padding-right: 0;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-frame {
  position: relative;
  width: 285px;
  height: 570px;
  background: #fff;
  border-radius: 40px;
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .1), 0 8px 24px rgba(0, 0, 0, .06), 0 0 0 6px rgba(0, 0, 0, .03);
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(180deg, #fef3c7 0, #fef3c7 35%, #fde68a 35%, #fde68a 100%);
}

.phone-mockup-back {
  position: absolute;
  right: -30px;
  top: 60px;
  z-index: 1;
  opacity: .55;
  transform: scale(.88) rotate(5deg);
  filter: blur(1px);
}

/* Floating Blocks */
.floating-block {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  z-index: 0;
  box-shadow: var(--shadow-md);
}

.block-grass {
  top: 12%;
  right: 84%;
  background: linear-gradient(180deg, #4ade80 0, #4ade80 40%, #92400e 40%);
  animation: float-block 6s ease-in-out infinite;
}

.block-diamond {
  bottom: 18%;
  left: 86%;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  animation: float-block 8s ease-in-out infinite 2s;
}

.block-tnt {
  top: 52%;
  right: 90%;
  background: linear-gradient(180deg, #f87171 0, #f87171 60%, #1c1917 60%);
  animation: float-block 7s ease-in-out infinite 1s;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

  .hero-visual {
    height: 500px;
  }

  .phone-frame {
    width: 250px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 56px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-visual {
    height: 420px;
  }

  .phone-frame {
    width: 210px;
    height: 420px;
    border-radius: 32px;
  }

  .phone-mockup-back {
    display: none;
  }

  .floating-block {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    border-radius: var(--radius-xl);
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    padding: 6px 12px;
  }

  .hero-stat-number {
    font-size: 1.3rem;
  }
}
