/* ==========================================================================
   HOMEPAGE HERO CINEMATIC INTERACTIVE ROBOTICS STYLES
   Scope: .home-hero-cinematic
   ========================================================================== */

/* Hero Container Enhancement */
.home-hero-cinematic {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: 0;
  background-color: #060910;
  overflow: hidden;
}

/* Base Scene Layer with background image */
.home-hero-cinematic .hero-scene-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, rgba(6, 9, 16, 0.98) 0%, rgba(6, 9, 16, 0.90) 36%, rgba(6, 9, 16, 0.40) 65%, rgba(6, 9, 16, 0.25) 85%, rgba(6, 9, 16, 0.6) 100%),
    linear-gradient(180deg, rgba(6, 9, 16, 0.7) 0%, transparent 20%, transparent 65%, rgba(6, 9, 16, 0.98) 100%),
    url('../image/new-images/robotics-hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.02);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

/* Subtle Technical Ambient Grid Overlay */
.home-hero-cinematic .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
}

/* Floor Ambient Blue Pulse & Reflection */
.home-hero-cinematic .hero-floor-glow {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 650px;
  height: 320px;
  background: radial-gradient(ellipse at bottom, rgba(37, 99, 235, 0.28) 0%, rgba(0, 210, 255, 0.08) 45%, transparent 75%);
  pointer-events: none;
  z-index: 2;
  animation: heroFloorPulse 6s ease-in-out infinite alternate;
}

/* Laser Scanning Line Effect Across Industrial Floor */
.home-hero-cinematic .hero-laser-scanner {
  position: absolute;
  bottom: 120px;
  right: 12%;
  width: 500px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 210, 255, 0.75) 50%, transparent 100%);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.6);
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  animation: heroLaserSweep 7s ease-in-out infinite;
}

/* Robotic Lighting Atmosphere (AMR & Robotic Arm Glows) */
.home-hero-cinematic .robot-lighting-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Light beam from overhead lab lamps */
.home-hero-cinematic .ambient-lab-light {
  position: absolute;
  top: 0;
  right: 28%;
  width: 320px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(147, 197, 253, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: heroLightDrift 9s ease-in-out infinite alternate;
}

/* AMR Light Strip Glow Accent */
.home-hero-cinematic .amr-active-glow {
  position: absolute;
  bottom: 23%;
  right: 32%;
  width: 240px;
  height: 70px;
  background: radial-gradient(ellipse, rgba(0, 210, 255, 0.35) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 80%);
  filter: blur(10px);
  animation: amrLightPulse 4s ease-in-out infinite alternate;
}

/* Robotic Arm Articulation Joint Point Glow */
.home-hero-cinematic .arm-active-glow {
  position: absolute;
  top: 36%;
  right: 22%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, transparent 70%);
  filter: blur(12px);
  animation: armLightPulse 5.5s ease-in-out infinite alternate;
}

/* Robotic Arm Toolhead Sensor Beacon */
.home-hero-cinematic .arm-beacon-pulse {
  position: absolute;
  top: 33%;
  right: 34.5%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 12px 3px rgba(0, 210, 255, 0.8), 0 0 24px 6px rgba(37, 99, 235, 0.4);
  animation: beaconBlink 2.2s ease-in-out infinite;
}

/* Live Operational HUD Telemetry Widget */
.home-hero-cinematic .hero-hud-telemetry {
  position: absolute;
  bottom: 85px;
  right: 42px;
  z-index: 4;
  background: rgba(8, 12, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.15);
  pointer-events: auto;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.home-hero-cinematic .hero-hud-telemetry:hover {
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
}

.home-hero-cinematic .hud-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-hero-cinematic .hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
  animation: hudDotPulse 1.8s ease-in-out infinite;
}

.home-hero-cinematic .hud-text-group {
  display: flex;
  flex-direction: column;
}

.home-hero-cinematic .hud-title {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #ffffff;
  text-transform: uppercase;
}

.home-hero-cinematic .hud-subtitle {
  font-family: monospace;
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: #38bdf8;
}

.home-hero-cinematic .hud-metrics-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.home-hero-cinematic .hud-metric {
  display: flex;
  flex-direction: column;
}

.home-hero-cinematic .hud-metric-val {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
}

.home-hero-cinematic .hud-metric-lbl {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Refined Hero Content Formatting without buttons */
.home-hero-cinematic .robotics-hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

.home-hero-cinematic .robotics-subtext {
  margin-bottom: 40px; /* Enhanced breathing room since buttons are removed */
}

.home-hero-cinematic .robotics-metrics-row {
  margin-bottom: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-cinematic .robotics-metric-item {
  transition: transform 0.25s ease;
}

.home-hero-cinematic .robotics-metric-item:hover {
  transform: translateY(-2px);
}

.home-hero-cinematic .robotics-metric-item:hover .robotics-metric-num {
  color: #00d2ff;
}

/* Keyframe Animations */
@keyframes heroFloorPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes heroLaserSweep {
  0% {
    transform: translateY(0) scaleX(0.7);
    opacity: 0;
  }
  20% {
    opacity: 0.75;
  }
  50% {
    transform: translateY(-40px) scaleX(1);
    opacity: 0.85;
  }
  80% {
    opacity: 0.75;
  }
  100% {
    transform: translateY(-80px) scaleX(0.7);
    opacity: 0;
  }
}

@keyframes heroLightDrift {
  0% {
    opacity: 0.6;
    transform: translateY(0);
  }
  100% {
    opacity: 0.95;
    transform: translateY(15px);
  }
}

@keyframes amrLightPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes armLightPulse {
  0% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.85;
  }
}

@keyframes beaconBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.75);
  }
}

@keyframes hudDotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #00d2ff;
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 4px #00d2ff;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero-cinematic .hero-scene-stage {
    transition: none !important;
    transform: none !important;
  }
  .home-hero-cinematic .hero-floor-glow,
  .home-hero-cinematic .hero-laser-scanner,
  .home-hero-cinematic .ambient-lab-light,
  .home-hero-cinematic .amr-active-glow,
  .home-hero-cinematic .arm-active-glow,
  .home-hero-cinematic .arm-beacon-pulse,
  .home-hero-cinematic .hud-dot {
    animation: none !important;
  }
}

/* Responsive Handling */
@media (max-width: 1199px) {
  .home-hero-cinematic .hero-hud-telemetry {
    right: 20px;
    bottom: 80px;
    padding: 8px 12px;
  }
}

@media (max-width: 991px) {
  .home-hero-cinematic {
    padding-top: 110px;
  }
  .home-hero-cinematic .hero-scene-stage {
    background-position: 72% center;
  }
  .home-hero-cinematic .hero-hud-telemetry {
    position: static;
    margin-top: 24px;
    margin-bottom: 24px;
    display: inline-flex;
  }
  .home-hero-cinematic .amr-active-glow,
  .home-hero-cinematic .arm-active-glow,
  .home-hero-cinematic .arm-beacon-pulse,
  .home-hero-cinematic .hero-laser-scanner {
    display: none; /* Keep mobile clean and focused on readable copy & robots */
  }
}

@media (max-width: 767px) {
  .home-hero-cinematic {
    padding-top: 100px;
  }
  .home-hero-cinematic .hero-scene-stage {
    background-image: 
      linear-gradient(180deg, rgba(6, 9, 16, 0.94) 0%, rgba(6, 9, 16, 0.86) 45%, rgba(6, 9, 16, 0.96) 100%),
      url('../image/new-images/robotics-hero-bg.jpg');
    background-position: center;
  }
  .home-hero-cinematic .robotics-headline {
    font-size: 2.2rem;
  }
  .home-hero-cinematic .robotics-metrics-row {
    gap: 20px;
    margin-bottom: 36px;
  }
}

@media (max-width: 575px) {
  .home-hero-cinematic .robotics-headline {
    font-size: 1.95rem;
  }
  .home-hero-cinematic .robotics-metrics-row {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}
