/* ==========================================================================
   Hero Section with Video Background, Dotted Mask & High-Tech Typography
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 3rem;
}

/* Video Background Layer */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: brightness(0.65) contrast(1.1);
}

/* Slider Revolution style Dotted Pattern Mask */
.hero-dotted-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.72) 1.25px, transparent 1.25px);
  background-size: 4px 4px;
  pointer-events: none;
}

/* Dark Gradient Vignette Overlay */
.hero-vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.45) 0%, rgba(7, 9, 14, 0.88) 80%, rgba(7, 9, 14, 0.98) 100%),
              linear-gradient(to bottom, rgba(7, 9, 14, 0.7) 0%, transparent 40%, rgba(7, 9, 14, 0.95) 95%, var(--bg-primary) 100%);
  pointer-events: none;
}

[data-theme="light"] .hero-vignette-overlay {
  background: radial-gradient(circle at center, rgba(246, 248, 251, 0.4) 0%, rgba(246, 248, 251, 0.85) 85%, var(--bg-primary) 100%),
              linear-gradient(to bottom, rgba(246, 248, 251, 0.6) 0%, transparent 40%, var(--bg-primary) 100%);
}

/* Hero Content Area */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top Badge */
.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: rgba(0, 210, 255, 0.09);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: var(--border-radius-full);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.15);
  animation: fadeInDown 0.8s var(--ease-apple);
}

.hero-location-badge .pulse-orb {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Main Hero Headline */
.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.12;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.9s var(--ease-apple);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: #cbd5e1;
  max-width: 840px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s var(--ease-apple);
}

[data-theme="light"] .hero-subtitle {
  color: #334155;
}

/* Button Cluster */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 4rem;
  animation: fadeInUp 1.1s var(--ease-apple);
}

/* Hero Key Metric Strip */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 1100px;
  margin-top: 1rem;
  animation: fadeInUp 1.2s var(--ease-apple);
}

.metric-card {
  background: rgba(13, 18, 28, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), var(--shadow-glow-cyan);
}

.metric-number {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}
