
.ai-video-section {
  position: relative;
  max-width: 1145px;
  margin: 0 auto;
  height: 420px;
  overflow: hidden;
  background: #020d1a;
}

/* Both videos stacked, JS toggles which is visible */
.ai-video-section video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transition: opacity 0.6s ease;
}

.ai-vid-hidden {
  opacity: 0;
  pointer-events: none;
}

.ai-vid-visible {
  opacity: 1;
}

/* Dark vignette */
.ai-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,5,15,0.60) 100%),
    linear-gradient(to bottom, rgba(0,5,15,0.30) 0%, transparent 25%, transparent 75%, rgba(0,5,15,0.40) 100%);
  z-index: 1;
  pointer-events: none;
}

/* HUD corners */
.ai-hud-tl, .ai-hud-tr, .ai-hud-bl, .ai-hud-br {
  position: absolute;
  width: 36px; height: 36px;
  z-index: 3;
  pointer-events: none;
}
.ai-hud-tl { top:18px;    left:18px;   border-top:2px solid rgba(0,200,255,0.75); border-left:2px solid rgba(0,200,255,0.75); }
.ai-hud-tr { top:18px;    right:18px;  border-top:2px solid rgba(0,200,255,0.75); border-right:2px solid rgba(0,200,255,0.75); }
.ai-hud-bl { bottom:18px; left:18px;   border-bottom:2px solid rgba(0,200,255,0.75); border-left:2px solid rgba(0,200,255,0.75); }
.ai-hud-br { bottom:18px; right:18px;  border-bottom:2px solid rgba(0,200,255,0.75); border-right:2px solid rgba(0,200,255,0.75); }

/* Top status */
.ai-status-bar {
  position: absolute;
  top: 22px; left: 64px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.ai-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff99;
  animation: aiPulse 1.4s ease-in-out infinite;
}
@keyframes aiPulse {
  0%,100% { opacity:1; box-shadow: 0 0 7px #00ff99; }
  50%      { opacity:0.2; box-shadow:none; }
}
.ai-status-text {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,255,153,0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.4s;
}

/* Top-right video label badge */
.ai-badge {
  position: absolute;
  top: 18px; right: 64px;
  z-index: 4;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(0,200,255,0.85);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: 1px solid rgba(0,200,255,0.4);
  padding: 4px 12px;
  border-radius: 2px;
  pointer-events: none;
  transition: opacity 0.4s;
  background: rgba(0,10,30,0.45);
}

/* Countdown timer (shown on video 2) */
.ai-countdown {
  position: absolute;
  top: 18px; right: 64px;
  z-index: 5;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,200,0,0.9);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: 1px solid rgba(255,200,0,0.4);
  padding: 4px 12px;
  border-radius: 2px;
  pointer-events: none;
  background: rgba(0,10,30,0.5);
  display: none;
}

/* Video indicator dots bottom-center */
.ai-vid-indicators {
  position: absolute;
  bottom: 48px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.ai-vid-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,180,255,0.3);
  border: 1px solid rgba(0,180,255,0.5);
  transition: background 0.4s, transform 0.4s;
}
.ai-vid-dot.active {
  background: rgba(0,220,255,0.9);
  transform: scale(1.3);
}

/* Scan line */
.ai-scanline {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,200,255,0.0) 10%,
    rgba(0,210,255,0.40) 50%,
    rgba(0,200,255,0.0) 90%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  animation: aiScan 4.5s linear infinite;
}
@keyframes aiScan {
  0%   { top: 0%; }
  100% { top: 100%; }
}

/* Bottom bar */
.ai-info-bar {
  position: absolute;
  bottom: 22px; left: 64px; right: 64px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.ai-info-item {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(0,180,255,0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: aiFlicker 3s ease-in-out infinite;
}
.ai-info-item:nth-child(2) { animation-delay: 0.9s; }
.ai-info-item:nth-child(3) { animation-delay: 1.8s; }
@keyframes aiFlicker {
  0%,100% { opacity:0.7; }
  50%      { opacity:1; }
}

/* Center watermark */
.ai-center-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
}
.ai-center-label h2 {
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: 10px;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
