/* ==========================================================================
   Networking Hero — Page-scoped styles (loaded only on /networking)
   ========================================================================== */

/* ── Hero Container ── */
.net-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #001212;
  isolation: isolate;
}

/* ── Hero Background Image ── */
.net-hero > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.net-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.60) saturate(0.6);
}

/* ── Dark Overlay for Text Readability ── */
.net-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,18,18,0.75) 0%, rgba(0,18,18,0.35) 40%, rgba(0,18,18,0.35) 60%, rgba(0,18,18,0.75) 100%),
    radial-gradient(circle at 30% 40%, rgba(120,175,46,0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(2,94,196,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* ── Grid Overlay ── */
.net-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}

/* ── Content ── */
.net-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 100px;
  box-sizing: border-box;
}

/* ── Eyebrow ── */
.net-hero-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(120, 175, 46, 0.9);
  margin-bottom: 16px;
  opacity: 0;
  animation: netHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

/* ── Headline ── */
.net-hero-headline {
  font-family: 'Geist', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin: 0 0 20px;
  opacity: 0;
  animation: netHeroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.net-hero-headline .headline-gradient {
  color: #78AF2E;
}

/* ── Sub-headline ── */
.net-hero-sub {
  font-family: 'Geist', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(224, 237, 232, 0.92);
  margin: 0 0 16px;
  opacity: 0;
  animation: netHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

/* ── Description ── */
.net-hero-desc {
  font-family: 'Geist', sans-serif;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(138, 168, 160, 0.9);
  max-width: 700px;
  margin: 0 0 32px;
  opacity: 0;
  animation: netHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

/* ── CTAs ── */
.net-hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: netHeroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.0s;
}

.net-hero-ctas .btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #78AF2E, #025EC4);
  color: #fff;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.net-hero-ctas .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.net-hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 175, 46, 0.3);
}

.net-hero-ctas .btn-primary:hover::after {
  left: 150%;
  transition: left 0.8s ease;
}

.net-hero-ctas .btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(120, 175, 46, 0.2);
}

.net-hero-ctas .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(224, 237, 232, 0.9);
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.net-hero-ctas .btn-secondary:hover {
  border-color: #78AF2E;
  background: rgba(120, 175, 46, 0.1);
  transform: translateY(-2px);
}

/* ── Tags / Pills ── */
.net-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
}

.net-hero-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(120, 175, 46, 0.95);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(120, 175, 46, 0.06);
  opacity: 0;
  animation: tagIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.net-hero-tag:nth-child(1) { animation-delay: 1.2s; }
.net-hero-tag:nth-child(2) { animation-delay: 1.3s; }
.net-hero-tag:nth-child(3) { animation-delay: 1.4s; }
.net-hero-tag:nth-child(4) { animation-delay: 1.5s; }

@keyframes tagIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Indicator ── */
.net-hero .scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  animation: netHeroFadeIn 0.8s ease forwards;
  animation-delay: 2s;
}

/* ── Entrance Animations ── */
@keyframes netHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes netHeroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================================
   LIGHT MODE
   ========================================================================== */
[data-theme="light"] .net-hero-headline {
  color: #fff;
}

[data-theme="light"] .net-hero-headline .headline-gradient {
  color: #5B9BD5;
}

[data-theme="light"] .net-hero-eyebrow {
  color: rgba(2, 94, 196, 0.95);
}

[data-theme="light"] .net-hero-ctas .btn-primary {
  background: linear-gradient(135deg, #025EC4, #38BDF8);
  color: #fff;
}

[data-theme="light"] .net-hero-ctas .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(2, 94, 196, 0.3);
}

[data-theme="light"] .net-hero-ctas .btn-secondary {
  color: rgba(224, 237, 232, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .net-hero-ctas .btn-secondary:hover {
  border-color: #025EC4;
  background: rgba(2, 94, 196, 0.08);
}

[data-theme="light"] .net-hero-tag {
  color: rgba(56, 189, 248, 0.95);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .net-hero-eyebrow,
  .net-hero-headline,
  .net-hero-sub,
  .net-hero-desc,
  .net-hero-ctas,
  .net-hero .scroll-indicator {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .net-hero-tag {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  .net-hero-headline {
    font-size: clamp(36px, 7vw, 64px);
  }

  .net-hero-content {
    padding: 100px 20px 80px;
  }
}

@media (max-width: 767px) {
  .net-hero-headline {
    font-size: clamp(32px, 9vw, 48px);
  }

  .net-hero-sub {
    font-size: 16px;
  }

  .net-hero-desc {
    font-size: 14px;
  }

  .net-hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .net-hero-ctas .btn-primary,
  .net-hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .net-hero-tags {
    flex-direction: column;
    align-items: center;
  }

  .net-hero .scroll-indicator {
    bottom: 20px;
  }
}
