/* Hero Section - Full Screen */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: transparent;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg.is-hidden {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 200px;
  left: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transform: translateX(-50%);
  transition: color var(--transition), opacity 0.35s ease, transform 0.35s ease;
  animation: heroScrollFadeIn 1s ease 0.6s both;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.hero-scroll-mouse {
  width: 40px;
  height: 62px;
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.hero-scroll-wheel {
  width: 5px;
  height: 14px;
  background: var(--color-yellow);
  border-radius: 4px;
  animation: heroScrollWheel 1.8s ease-in-out infinite;
}

.hero-scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero-scroll-arrows i {
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero-scroll-arrows i:last-child {
  animation-delay: 0.2s;
  opacity: 0.55;
}

.hero-scroll:hover {
  color: var(--color-yellow);
}

.hero-scroll:hover .hero-scroll-mouse {
  border-color: var(--color-yellow);
}

@keyframes heroScrollFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroScrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 0.2;
    transform: translateY(18px);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes heroScrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.hero-stats {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  padding: 0;
  margin-top: -64px;
  margin-bottom: -52px;
  background: transparent;
}

.hero-stats .stats-bar {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.72) 0%,
    rgba(14, 14, 14, 0.82) 50%,
    rgba(8, 8, 8, 0.88) 100%
  );
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1.5px solid rgba(255, 200, 60, 0.35);
  border-top-color: rgba(255, 220, 100, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Shine / glint layers */
.stats-shine {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.stats-shine-flare-left {
  top: -32px;
  left: -24px;
  width: 160px;
  height: 110px;
  background: radial-gradient(
    ellipse at 45% 55%,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.3) 22%,
    rgba(255, 193, 7, 0.15) 40%,
    transparent 68%
  );
  filter: blur(3px);
}

.stats-shine-flare-right {
  top: -18px;
  right: -12px;
  width: 90px;
  height: 70px;
  background: radial-gradient(
    ellipse at 60% 50%,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    transparent 65%
  );
  filter: blur(4px);
}

.stats-shine-streak-top {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.35) 15%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 80%
  );
}

.stats-shine-streak-bottom {
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.12) 70%,
    transparent 100%
  );
}

.stats-shine-surface {
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 6% 8%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 35% 25% at 92% 12%, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 45%);
}

.hero-stats .stats-bar-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  padding: 36px 20px;
}

.hero-stats .stat-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 10px 22px;
}

.hero-stats .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 62%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.2) 80%,
    transparent 100%
  );
}

.hero-stats .stat-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats .stat-icon img {
  width: 56px;
  height: 56px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.45));
}

.hero-stats .stat-content {
  text-align: left;
  min-width: 0;
}

.hero-stats .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero-stats .stat-label {
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  line-height: 1.35;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

@media (min-width: 1400px) {
  .hero {
    min-height: 120vh;
    min-height: 120dvh;
  }

  .hero-bg {
    height: 120vh;
    height: 120dvh;
  }
}

@media (max-width: 768px) {
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-bg-video {
    object-position: center center;
  }

  .hero-scroll {
    bottom: 130px;
  }
}

@media (max-width: 900px) {
  .hero-scroll {
    bottom: 120px;
  }

  .hero-stats .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 12px;
  }

  .hero-stats .stat-item {
    padding: 14px 16px;
  }

  .hero-stats .stat-item::after {
    display: none;
  }

  .hero-stats .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stats .stat-item:nth-child(even) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-stats .stat-label {
    white-space: normal;
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    height: 100svh;
  }

  .hero-scroll {
    bottom: 100px;
    gap: 14px;
  }

  .hero-scroll-mouse {
    width: 34px;
    height: 52px;
    padding-top: 10px;
  }

  .hero-scroll-wheel {
    width: 4px;
    height: 12px;
  }

  .hero-scroll-arrows {
    font-size: 1rem;
  }

  .hero-stats .stats-bar-inner {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hero-stats .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 12px;
  }

  .hero-stats .stat-item::after {
    display: none;
  }

  .hero-stats .stat-item:last-child {
    border-bottom: none;
  }

  .hero-stats .stat-number {
    font-size: 1.85rem;
  }
}
