/**
 * Q-DASH Professional Video Production & Motion Studio (Platform V3)
 * Live Waveform Oscillations, Moving Timeline Playhead, Storyboard Scenes & Interactive Labs
 * File: assets/css/pro-video-platform-v3-scenes.css
 * Strictly Scoped to .video3
 */

/* Hero Studio Interface Stage */
.video3-hero-stage {
  background: linear-gradient(165deg, rgba(14, 26, 50, 0.95) 0%, rgba(5, 11, 20, 0.98) 100%);
  border: 1px solid rgba(242, 101, 34, 0.35);
  border-radius: var(--vid-radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--vid-shadow-cinematic), 0 0 45px rgba(242, 101, 34, 0.18);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.video3-hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.video3-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  animation: vidRecBlink 1.2s infinite ease-in-out;
}

@keyframes vidRecBlink {
  0% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  50% { opacity: 0.4; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
}

.video3-hero-preview-screen {
  background: radial-gradient(circle at center, #0e1a32 0%, #040810 100%);
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--vid-radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.video3-hero-timeline-wrap {
  background: rgba(4, 8, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

/* Moving Timeline Playhead Animation */
.video3-hero-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f26522;
  box-shadow: 0 0 10px #f26522, 0 0 20px #ff8548;
  z-index: 5;
  pointer-events: none;
  animation: vidPlayheadScan 4.5s infinite linear;
}

.video3-hero-playhead::before {
  content: '▼';
  position: absolute;
  top: -2px;
  left: -4px;
  font-size: 8px;
  color: #f26522;
}

@keyframes vidPlayheadScan {
  0% { left: 5%; opacity: 0.8; }
  95% { left: 95%; opacity: 1; }
  100% { left: 5%; opacity: 0; }
}

.video3-timeline-track {
  height: 26px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  position: relative;
  overflow: hidden;
}

.video3-timeline-block {
  height: 18px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* 12-Step Production Pipeline (Section 4) */
.video3-pipeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.video3-pipeline-step {
  border-radius: var(--vid-radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: var(--vid-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.video3-pipeline-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================================
   AUDIO WAVEFORM OSCILLATIONS & EQUALIZER (Section 6)
   ========================================================= */

.video3-waveform-stage {
  background: radial-gradient(circle at center, #0e1c34 0%, #060d1a 100%);
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--vid-radius-xl);
  padding: clamp(24px, 4vw, 40px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(5, 11, 20, 0.5), 0 0 35px rgba(6, 182, 212, 0.15);
  position: relative;
  overflow: hidden;
}

.video3-waveform-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 12px;
  pointer-events: none;
}

.video3-waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 110px;
  margin: 30px 0;
  padding: 0 10px;
}

.video3-wave-bar {
  width: 6px;
  border-radius: 6px;
  transition: height 0.2s ease;
  min-height: 8px;
}

/* Varied Dynamic Wave Oscillations */
.video3-wave-bar.bar-orange {
  background: linear-gradient(180deg, #ff8548 0%, #f26522 100%);
  box-shadow: 0 0 8px rgba(242, 101, 34, 0.5);
  animation: vidWavePulseA 1.1s infinite ease-in-out alternate;
}

.video3-wave-bar.bar-cyan {
  background: linear-gradient(180deg, #38bdf8 0%, #06b6d4 100%);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
  animation: vidWavePulseB 0.9s infinite ease-in-out alternate;
}

.video3-wave-bar.bar-gold {
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  animation: vidWavePulseC 1.3s infinite ease-in-out alternate;
}

.video3-wave-bar.bar-purple {
  background: linear-gradient(180deg, #c084fc 0%, #8b5cf6 100%);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
  animation: vidWavePulseD 1.0s infinite ease-in-out alternate;
}

@keyframes vidWavePulseA {
  0% { height: 12%; opacity: 0.45; }
  50% { height: 85%; opacity: 0.95; }
  100% { height: 35%; opacity: 0.6; }
}

@keyframes vidWavePulseB {
  0% { height: 30%; opacity: 0.6; }
  50% { height: 15%; opacity: 0.4; }
  100% { height: 95%; opacity: 1; }
}

@keyframes vidWavePulseC {
  0% { height: 60%; opacity: 0.7; }
  50% { height: 95%; opacity: 1; }
  100% { height: 20%; opacity: 0.5; }
}

@keyframes vidWavePulseD {
  0% { height: 25%; opacity: 0.5; }
  50% { height: 75%; opacity: 0.85; }
  100% { height: 90%; opacity: 0.95; }
}

/* Interactive Editing Lab (Section 5) */
.video3-editing-lab {
  background: linear-gradient(165deg, #091322 0%, #040810 100%);
  border: 1px solid rgba(242, 101, 34, 0.35);
  border-radius: var(--vid-radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--vid-shadow-cinematic), 0 0 35px rgba(242, 101, 34, 0.12);
  color: #ffffff;
}

.video3-editing-stages {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.video3-editing-btn {
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--vid-transition);
}

.video3-editing-btn:hover {
  border-color: var(--vid-orange);
  color: var(--vid-orange);
}

.video3-editing-btn.active {
  background: linear-gradient(135deg, var(--vid-orange) 0%, #ff8548 100%);
  border-color: var(--vid-orange);
  box-shadow: 0 4px 18px rgba(242, 101, 34, 0.4);
}

.video3-editing-viewport {
  background: radial-gradient(circle at center, #0f1c32 0%, #03060c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vid-radius-lg);
  padding: 36px 20px;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--vid-transition);
  position: relative;
}

/* Logo Animation Studio (Section 8) */
.video3-logo-stage {
  background: #ffffff;
  border: 1.5px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--vid-radius-xl);
  box-shadow: var(--vid-shadow-elevated);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.video3-logo-canvas {
  background: radial-gradient(circle at center, #152442 0%, #070d18 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vid-radius-lg);
  padding: 50px 20px;
  color: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Kinetic Typography (Section 9) */
.video3-kinetic-stage {
  background: radial-gradient(circle at center, #1a305a 0%, #091322 100%);
  border: 1.5px solid rgba(242, 101, 34, 0.4);
  border-radius: var(--vid-radius-xl);
  padding: clamp(30px, 5vw, 60px);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--vid-shadow-cinematic), 0 0 45px rgba(242, 101, 34, 0.2);
}

.video3-kinetic-headline {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  animation: vidFloat 4s infinite ease-in-out;
}

/* Animated Digital Menu Screen Mockup (Section 10) */
.video3-menu-screen {
  background: #091322;
  border: 8px solid #1c2b48;
  border-radius: 24px;
  box-shadow: var(--vid-shadow-cinematic), 0 0 35px rgba(6, 182, 212, 0.2);
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.video3-menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--vid-transition);
}

.video3-menu-item-row:hover {
  border-color: #f26522;
  transform: translateX(4px);
  background: rgba(242, 101, 34, 0.12);
}

/* Digital Screen Slideshow Visualizer (Section 11) */
.video3-slideshow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video3-screen-frame {
  background: linear-gradient(145deg, #0d1a30 0%, #060c18 100%);
  border: 4px solid #1c2f52;
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  color: #fff;
  box-shadow: var(--vid-shadow-soft);
  transition: var(--vid-transition);
  position: relative;
  overflow: hidden;
}

.video3-screen-frame:hover {
  border-color: var(--vid-orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(242, 101, 34, 0.25);
}

/* Format Explorer (Section 17) */
.video3-formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.video3-format-card {
  background: #ffffff;
  border-radius: var(--vid-radius-lg);
  border: 1.5px solid var(--vid-slate-200);
  box-shadow: var(--vid-shadow-soft);
  padding: 24px 18px;
  text-align: center;
  transition: var(--vid-transition);
}

.video3-format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vid-shadow-elevated);
  border-color: var(--vid-orange);
}

.video3-format-shape {
  background: linear-gradient(135deg, #0b1528, #172a50);
  border-radius: 12px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border: 2px solid rgba(242, 101, 34, 0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.video3-format-shape[data-ratio="9:16"] { width: 70px; height: 120px; }
.video3-format-shape[data-ratio="1:1"] { width: 90px; height: 90px; }
.video3-format-shape[data-ratio="16:9"] { width: 130px; height: 75px; }
.video3-format-shape[data-ratio="display"] { width: 140px; height: 80px; }

/* Interactive Production Mixer (Section 20) */
.video3-mixer-stage {
  background: #ffffff;
  border: 1.5px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--vid-radius-xl);
  box-shadow: var(--vid-shadow-elevated);
  padding: clamp(24px, 4vw, 40px);
}

@media (max-width: 1024px) {
  .video3-slideshow-grid { grid-template-columns: repeat(2, 1fr); }
  .video3-formats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .video3-slideshow-grid,
  .video3-formats-grid { grid-template-columns: 1fr; }
}
