/* ============================================
   SHILOHI SAFETY NETS — Hero Section
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ── Background Image ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* ── Gradient Overlay ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6,19,38,0.95) 0%, rgba(11,31,58,0.75) 40%, rgba(7,87,201,0.2) 100%),
    linear-gradient(180deg, transparent 50%, rgba(6,19,38,0.9) 100%);
  z-index: 1;
}

/* ── Net Grid Overlay ── */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(201, 163, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 74, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  perspective: 800px;
  transform: rotateX(2deg);
  transform-origin: center bottom;
  opacity: 0.4;
}

/* ── Content ── */
.hero__content {
  position: relative;
  z-index: 5;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-3xl);
  width: 100%;
}

.hero__text {
  max-width: 720px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.hero__title-line {
  display: block;
}

.hero__title-line--gold {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-200);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ── 3D Shield ── */
.hero__shield {
  position: relative;
  width: 320px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero__shield-inner {
  position: relative;
  width: 200px;
  height: 230px;
  transform-style: preserve-3d;
}

.hero__shield-shape {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(201, 163, 74, 0.3));
}

/* Shield decorative rings */
.hero__shield-ring {
  position: absolute;
  border: 1px solid rgba(201, 163, 74, 0.15);
  border-radius: 50%;
  animation: rotateSlow 25s linear infinite;
}

.hero__shield-ring:nth-child(2) {
  inset: -30px;
  animation-direction: reverse;
  animation-duration: 35s;
  border-color: rgba(22, 136, 255, 0.1);
}

.hero__shield-ring:nth-child(3) {
  inset: -60px;
  animation-duration: 45s;
  border-color: rgba(201, 163, 74, 0.08);
}

/* ── Scroll Indicator ── */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-300);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: float 2s ease-in-out infinite;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero__text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__shield {
    display: none;
  }

  .hero__label {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
