/* ROOTMARE - HERO SECTION STYLING (BLACK & RED) */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Red Ambient Radial Flare */
.hero-glow-blob {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.12) 0%, rgba(10, 10, 10, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-blob-secondary {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.06) 0%, transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Split Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 120px);
}

/* --- LEFT SIDE: DYNAMIC ANIMATED VISUALS --- */
.hero-visual-col {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(24, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.95) 80%);
  border: 1px solid var(--border-red);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(225, 6, 0, 0.06);
}

#cyber-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

/* Floating Red Cyber HUD Overlays */
.hud-telemetry {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.hud-tag-1 {
  top: 24px;
  left: 24px;
}

.hud-tag-2 {
  bottom: 30px;
  left: 24px;
}

.hud-tag-3 {
  top: 40%;
  right: 18px;
}

.hud-badge {
  background: rgba(12, 12, 12, 0.88);
  border: 1px solid var(--border-red);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(225, 6, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-telemetry 6s infinite ease-in-out;
}

.hud-tag-2 .hud-badge {
  animation-delay: -2s;
}

.hud-tag-3 .hud-badge {
  animation-delay: -4s;
}

.hud-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 6, 0, 0.18);
  color: var(--accent-red);
}

.hud-badge-info {
  display: flex;
  flex-direction: column;
}

.hud-badge-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hud-badge-value {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
}

.hud-radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(225, 6, 0, 0.2);
  pointer-events: none;
}

.hud-radar-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(225, 6, 0, 0.22) 100%);
  animation: radar-spin 8s linear infinite;
}

/* --- RIGHT SIDE: HEADLINE, SLOGAN & CTA --- */
.hero-content-col {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  animation: hero-fade-in-right 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-live-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 24px;
  width: fit-content;
  box-shadow: 0 0 15px rgba(225, 6, 0, 0.15);
}

.hero-headline {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.5vw + 0.5rem, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: 1.22rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 36px;
  max-width: 560px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Quick Trust Metrics in Hero */
.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-accent {
  color: var(--accent-red);
  font-size: 1.2rem;
}

.metric-lbl {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.35;
  margin-top: 4px;
  font-weight: 500;
}



/* Responsive Split */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content-col {
    order: 1;
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .hero-visual-col {
    order: 2;
    height: 380px;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-metrics {
    width: 100%;
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-live-status {
    font-size: 0.72rem;
    padding: 6px 12px;
    letter-spacing: 0.04em;
    text-align: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 18px;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    margin-bottom: 16px;
    line-height: 1.15;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.98rem;
  }

  .hero-trust-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    padding-top: 18px;
  }

  .metric-num {
    font-size: 1.2rem;
    justify-content: center;
  }

  .metric-lbl {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .hero-visual-col {
    height: 300px;
  }

  .hud-radar-sweep {
    width: 220px;
    height: 220px;
    display: block;
  }

  .hud-radar-sweep::after {
    animation: radar-spin 8s linear infinite;
  }

  .hud-telemetry {
    transform: scale(0.82);
    transform-origin: center;
  }
  .hud-tag-1 { top: 4%; left: 0%; }
  .hud-tag-2 { bottom: 6%; left: 0%; }
  .hud-tag-3 { top: 38%; right: -2%; }
}

@media (max-width: 380px) {
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hud-tag-3 {
    display: none;
  }
}
