/* =========================================================
   BERANDA (HERO & STATS) STYLES
   ========================================================= */

/* Hero */
.hero {
  padding: 150px 0 100px;
  background:
    radial-gradient(1000px 500px at 85% 15%, rgba(245, 166, 35, 0.22), transparent 70%),
    radial-gradient(600px 600px at 15% 85%, rgba(122, 0, 0, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(196, 0, 0, 0.3) 0%, rgba(216, 0, 0, 0.2) 45%, rgba(158, 0, 0, 0.34) 100%),
    url('../img/hero-bg-desktop.png') center / cover no-repeat,
    #B00000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--flame);
  text-shadow: 0 2px 14px rgba(245, 166, 35, 0.35);
}

.hero p {
  margin-top: 22px;
  max-width: 530px;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 600;
  background: linear-gradient(105deg, #FFFFFF 0%, #FFF3D1 45%, #FFB703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.hero p b {
  font-weight: 700;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-box img {
  width: min(440px, 100%);
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.42));
  animation: floatHero 5s ease-in-out infinite;
  user-select: none;
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.hero-badge-float {
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Floating Stats Strip */
.stats {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0;
}

.stats-in {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 16px;
  border: 1px solid var(--line);
}

.stat {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--line);
  position: relative;
}

.stat:last-child {
  border-right: none;
}

.stat b {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    background:
      radial-gradient(600px 400px at 85% 10%, rgba(245, 166, 35, 0.22), transparent 70%),
      linear-gradient(180deg, rgba(196, 0, 0, 0.32) 0%, rgba(216, 0, 0, 0.22) 50%, rgba(158, 0, 0, 0.38) 100%),
      url('../img/hero-bg-desktop.png') center / cover no-repeat,
      #B00000;
  }

  .hero {
    padding: 120px 0 84px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-box {
    order: -1;
  }

  .hero-logo-box img {
    width: 240px;
  }

  .stats-in {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .stat {
    border-right: 1px solid var(--line);
  }

  .stat:nth-child(even) {
    border-right: none;
  }

  .stat:nth-child(-n+2) {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
}