/* ==========================================================================
   GIGGO INDIA — CINEMATIC SCROLL-ANIMATED PRINTING SHOWCASE
   High-Precision Interactive Printing Mechanics & Scroll Scrub Architecture
   ========================================================================== */

.cinematic-showcase-wrapper {
  position: relative;
  width: 100%;
  height: 520vh; /* Dedicated scroll track: ~100vh per scene */
  background: #090B10;
  margin: 0;
  padding: 0;
}

.showcase-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: radial-gradient(circle at 65% 50%, #151924 0%, #090B10 70%, #050608 100%);
  color: #F8FAFC;
  display: flex;
  flex-direction: column;
  z-index: 40;
  font-family: var(--font-sans);
  user-select: none;
}

/* Subtle Technical Precision Grid Background */
.showcase-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.7;
}

.showcase-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  transition: background 0.6s ease;
  top: 30%;
  right: 15%;
}

/* ==========================================================================
   TOP TELEMETRY & PROGRESS BAR
   ========================================================================== */
.showcase-topbar {
  position: relative;
  z-index: 30;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.showcase-brand-telemetry {
  display: flex;
  align-items: center;
  gap: 14px;
}

.showcase-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94A3B8;
}

.showcase-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: pulseLiveDot 2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Segmented Scene Navigation Tabs */
.showcase-scene-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.showcase-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.showcase-tab-btn .tab-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.6;
}

/* Odometer Progress Number */
.showcase-counter-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-counter {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}

.showcase-counter .counter-curr {
  color: var(--cmyk-cyan);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.showcase-counter .counter-sep {
  opacity: 0.3;
  margin: 0 4px;
}

.showcase-counter .counter-total {
  opacity: 0.5;
}

/* Continuous Top Scrub Bar */
.showcase-scrub-meter {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.showcase-scrub-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00BCEB 0%, #EC008C 50%, #FFD500 100%);
  box-shadow: 0 0 12px rgba(0, 188, 235, 0.6);
  transition: width 0.05s linear;
}

/* ==========================================================================
   MAIN DUAL-PANE STAGE LAYOUT
   ========================================================================= */
.showcase-body {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 420px 1fr;
  height: calc(100vh - 65px);
  height: calc(100dvh - 65px);
  overflow: hidden;
  z-index: 20;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN: DYNAMIC NARRATIVE & TELEMETRY
   -------------------------------------------------------------------------- */
.showcase-narrative {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 25;
}

.narrative-scene-data {
  position: relative;
}

.narrative-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 188, 235, 0.1);
  border: 1px solid rgba(0, 188, 235, 0.25);
  color: var(--cmyk-cyan);
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.narrative-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.narrative-subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #E2E8F0;
  font-weight: 400;
  margin: 0 0 24px 0;
}

/* Live Process Phase Bar */
.narrative-phase-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.phase-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.phase-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38BDF8;
  font-weight: 500;
}

.phase-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.4;
  margin: 0;
  min-height: 2.8em;
}

/* Machine Specifications */
.narrative-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.narrative-spec-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748B;
  text-transform: uppercase;
  display: block;
}

.spec-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: #F1F5F9;
  display: block;
  margin-top: 2px;
}

/* Call to Action Group */
.narrative-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.narrative-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.narrative-wa-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.narrative-wa-btn:hover {
  background: #1EBE5B;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.narrative-spec-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.narrative-spec-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.narrative-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-top: 14px;
}

.narrative-scroll-hint svg {
  animation: bounceHint 2s infinite ease-in-out;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: CINEMATIC INTERACTIVE ANIMATION STAGE
   -------------------------------------------------------------------------- */
.showcase-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: hidden;
}

.scene-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  transform-style: preserve-3d;
}

.scene-viewport.active-scene {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* ==========================================================================
   SCENE 1: DTF PRINT SHEETS STAGE
   ========================================================================== */
.stage-dtf {
  position: relative;
  width: 90%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Digital Art Card */
.dtf-art-card {
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(18, 22, 32, 0.9);
  border: 1px solid rgba(0, 188, 235, 0.5);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 188, 235, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transform-origin: center center;
  will-change: transform, opacity;
}

.dtf-art-badge {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cmyk-cyan);
  background: rgba(0, 188, 235, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.dtf-art-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* 2. Industrial DTF Printer Machine Assembly */
.dtf-printer-assembly {
  position: absolute;
  width: 620px;
  height: 340px;
  background: #11141D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 5;
  will-change: transform, opacity;
}

.printer-chassis-top {
  height: 48px;
  background: linear-gradient(180deg, #1C2230 0%, #131722 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.printer-model-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.08em;
}

.printer-cmyk-leds {
  display: flex;
  gap: 6px;
}

.printer-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.led-c { background: #00BCEB; box-shadow: 0 0 6px #00BCEB; }
.led-m { background: #EC008C; box-shadow: 0 0 6px #EC008C; }
.led-y { background: #FFD500; box-shadow: 0 0 6px #FFD500; }
.led-w { background: #FFFFFF; box-shadow: 0 0 6px #FFFFFF; }

.printer-bed-area {
  position: relative;
  height: 292px;
  background: #0B0D13;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vacuum bed grid */
.printer-bed-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.6;
}

/* Transfer Film Roll Web */
.dtf-film-web {
  position: absolute;
  width: 440px;
  height: 240px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform, opacity;
}

.dtf-film-registration {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  pointer-events: none;
}

/* Printing Reveal Mask */
.dtf-print-reveal-mask {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: hidden;
  clip-path: inset(0 0 100% 0); /* Progressive reveal from top to bottom */
  will-change: clip-path;
}

.dtf-printed-design {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 188, 235, 0.4));
}

/* Moving Printhead Carriage */
.dtf-printhead-carriage {
  position: absolute;
  top: 18px;
  left: 20%;
  width: 100px;
  height: 60px;
  background: linear-gradient(180deg, #2D3748 0%, #1A202C 100%);
  border: 1px solid rgba(0, 188, 235, 0.4);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 188, 235, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 12;
  will-change: transform, left;
}

.printhead-guide-rail {
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(180deg, #4A5568 0%, #2D3748 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  z-index: 11;
}

.printhead-jet-spray {
  position: absolute;
  bottom: -18px;
  width: 40px;
  height: 18px;
  background: linear-gradient(180deg, rgba(0, 188, 235, 0.7) 0%, rgba(236, 0, 140, 0.4) 50%, transparent 100%);
  filter: blur(1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* 3. T-Shirt Final Transfer Stage */
.dtf-tshirt-stage {
  position: absolute;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  opacity: 0;
  transform: scale(0.85) translateY(40px);
  will-change: transform, opacity;
}

.tshirt-mockup {
  position: relative;
  width: 380px;
  height: 440px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

.tshirt-base-svg {
  width: 100%;
  height: 100%;
}

.tshirt-print-zone {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tshirt-transferred-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.tshirt-peel-film {
  position: absolute;
  top: 100px;
  left: 50%;
  width: 170px;
  height: 170px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  transform: translateX(-50%) rotate(-12deg);
  transform-origin: top right;
  opacity: 0;
  will-change: transform, opacity;
}

.heatpress-flash {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 170, 0, 0.5) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   SCENE 2: UV DTF PRINTED SHEETS STAGE
   ========================================================================== */
.stage-uv-dtf {
  position: relative;
  width: 90%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D Exploded Layers Stack */
.uv-layers-stack {
  position: absolute;
  width: 320px;
  height: 320px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-35deg);
  will-change: transform, opacity;
}

.uv-layer {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.uv-layer-white {
  background: rgba(255, 255, 255, 0.85);
  transform: translateZ(0px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.uv-layer-cmyk {
  background: rgba(18, 22, 32, 0.4);
  transform: translateZ(60px);
  box-shadow: 0 10px 30px rgba(0, 188, 235, 0.3);
}

.uv-layer-varnish {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  transform: translateZ(120px);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
}

.uv-layer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
}

/* UV Lamp Curing Glow */
.uv-cure-beam {
  position: absolute;
  width: 480px;
  height: 120px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0) 0%, rgba(168, 85, 247, 0.4) 30%, rgba(0, 240, 255, 0.6) 50%, rgba(168, 85, 247, 0.4) 70%, rgba(168, 85, 247, 0) 100%);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  z-index: 18;
  will-change: transform, opacity;
}

/* Curved Bottle / Tumbler Application */
.uv-bottle-stage {
  position: absolute;
  width: 420px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  will-change: transform, opacity;
}

.uv-bottle-mockup {
  position: relative;
  width: 220px;
  height: 420px;
  background: linear-gradient(90deg, #181B22 0%, #2D3342 40%, #101218 75%, #252A36 100%);
  border-radius: 36px 36px 24px 24px;
  box-shadow: -16px 24px 50px rgba(0, 0, 0, 0.8), inset 4px 0 8px rgba(255, 255, 255, 0.15), inset -4px 0 8px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bottle-cap {
  position: absolute;
  top: -24px;
  width: 90px;
  height: 28px;
  background: linear-gradient(90deg, #333946 0%, #4B5563 50%, #1F2937 100%);
  border-radius: 8px 8px 2px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.bottle-specular-gleam {
  position: absolute;
  top: 0;
  left: 28%;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.uv-decal-on-bottle {
  position: relative;
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.uv-peel-transfer {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  transform: rotate(-25deg) translate(-20px, -20px);
  opacity: 0;
  will-change: transform, opacity;
}

/* ==========================================================================
   SCENE 3: SUBLIMATION PRINTING STAGE
   ========================================================================== */
.stage-sublimation {
  position: relative;
  width: 90%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. RIP Computer Monitor */
.subli-rip-station {
  position: absolute;
  width: 320px;
  height: 240px;
  background: #11141D;
  border: 2px solid #283042;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 8;
  will-change: transform, opacity;
}

.rip-screen-header {
  height: 28px;
  background: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #94A3B8;
}

.rip-screen-body {
  flex: 1;
  background: #090B10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rip-mirrored-art {
  width: 130px;
  height: 130px;
  transform: scaleX(-1); /* Mirrored for sublimation transfer */
  filter: saturate(0.7) brightness(0.9);
  transition: transform 0.3s ease;
}

.rip-mirror-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(236, 0, 140, 0.2);
  border: 1px solid rgba(236, 0, 140, 0.4);
  color: var(--cmyk-magenta);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 2. Heavy Clamshell Heat Press */
.subli-heatpress-assembly {
  position: absolute;
  width: 580px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  will-change: transform, opacity;
}

.heatpress-base {
  position: absolute;
  bottom: 40px;
  width: 440px;
  height: 80px;
  background: linear-gradient(180deg, #2D3748 0%, #1A202C 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heatpress-digital-panel {
  position: absolute;
  bottom: -20px;
  left: 24px;
  background: #000000;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  display: flex;
  gap: 14px;
}

.temp-indicator {
  color: #EF4444;
  font-size: 0.85rem;
  font-weight: 700;
}

.pressure-indicator {
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: 700;
}

.heatpress-upper-platen {
  position: absolute;
  top: 60px;
  width: 420px;
  height: 60px;
  background: linear-gradient(180deg, #4A5568 0%, #2D3748 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  transform-origin: 90% top;
  transform: rotate(-25deg);
  will-change: transform;
}

.heatpress-platen-glow {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: #EF4444;
  box-shadow: 0 0 16px #EF4444;
  opacity: 0.8;
}

/* Garment & Sublimation Infusion */
.subli-jersey-target {
  position: absolute;
  bottom: 85px;
  width: 320px;
  height: 220px;
  background: #F8FAFC;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.subli-mesh-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.4;
}

.subli-final-art {
  width: 160px;
  height: 160px;
  object-fit: contain;
  opacity: 0;
  filter: saturate(1.4) contrast(1.1);
  will-change: opacity, filter;
}

.subli-vapor-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.4) 0%, rgba(236, 0, 140, 0.2) 50%, transparent 80%);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   SCENE 4: FLATBED UV PRINTING STAGE
   ========================================================================== */
.stage-flatbed {
  position: relative;
  width: 90%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flatbed-table {
  position: absolute;
  width: 640px;
  height: 360px;
  background: #11141D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(25deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.flatbed-ruler-x {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #64748B;
}

.flatbed-suction-grid {
  position: absolute;
  inset: 20px 0 0 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Acrylic Clear Rigid Sheet */
.flatbed-acrylic-sheet {
  position: relative;
  width: 320px;
  height: 240px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(60px);
  opacity: 0;
  will-change: transform, opacity;
}

.acrylic-edge-bevel {
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0, 188, 235, 0.4);
}

.acrylic-direct-print-mask {
  position: relative;
  width: 180px;
  height: 180px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0); /* Left-to-right wipe by gantry */
  will-change: clip-path;
}

.acrylic-print-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Traversing UV Gantry Beam */
.flatbed-gantry-beam {
  position: absolute;
  top: 0;
  left: 20%;
  width: 44px;
  height: 100%;
  background: linear-gradient(90deg, #2D3748 0%, #4A5568 50%, #1A202C 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  will-change: transform, left;
}

.gantry-uv-lamp {
  width: 28px;
  height: 60px;
  background: #7C3AED;
  box-shadow: 0 0 20px #7C3AED, 0 0 40px #00F0FF;
  border-radius: 4px;
}

/* Lifted 3D Product Showcase */
.flatbed-reveal-stage {
  position: absolute;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85) translateZ(80px);
  z-index: 25;
  will-change: transform, opacity;
}

.acrylic-sign-display {
  position: relative;
  width: 280px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 188, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(-15deg) rotateX(10deg);
}

/* ==========================================================================
   SCENE 5: DTG PRINTING (DIRECT-TO-GARMENT) STAGE
   ========================================================================== */
.stage-dtg {
  position: relative;
  width: 90%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DTG Printer Housing */
.dtg-printer-body {
  position: absolute;
  width: 620px;
  height: 380px;
  background: #0F1219;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  z-index: 5;
}

.dtg-chamber {
  position: absolute;
  inset: 48px 24px 24px 24px;
  background: #07080C;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sliding Platen Tray */
.dtg-platen-tray {
  position: absolute;
  width: 380px;
  height: 440px;
  background: #1A202C;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(120px);
  will-change: transform;
}

.dtg-tshirt-on-platen {
  position: relative;
  width: 320px;
  height: 380px;
  background: #11141B;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fabric Weave Macro Texture Overlay */
.dtg-fabric-weave {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.7;
}

.dtg-direct-print-mask {
  position: relative;
  width: 170px;
  height: 170px;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.dtg-head-rail {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 8px;
  background: #2D3748;
  z-index: 15;
}

.dtg-printhead {
  position: absolute;
  top: 80px;
  left: 30%;
  width: 80px;
  height: 48px;
  background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  z-index: 16;
  will-change: transform, left;
}

/* Clean Product Macro Zoom */
.dtg-macro-showcase {
  position: absolute;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  z-index: 25;
  will-change: transform, opacity;
}

.dtg-macro-card {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dtg-macro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ==========================================================================
   BOTTOM CONTROLS & REPLAY BAR
   ========================================================================== */
.showcase-bottom-controls {
  position: absolute;
  bottom: 20px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
}

.showcase-control-btn {
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

.showcase-control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.showcase-control-btn:active {
  transform: translateY(1px);
}

.showcase-control-btn:focus-visible {
  outline: 2px solid var(--cmyk-cyan);
  outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .showcase-body {
    grid-template-columns: 340px 1fr;
  }
  
  .narrative-title {
    font-size: 1.8rem;
  }

  .showcase-scene-tabs {
    display: none; /* Conserve header space */
  }
}

@media (max-width: 768px) {
  .cinematic-showcase-wrapper {
    height: 480vh;
  }

  .showcase-topbar {
    padding: 12px 16px;
  }

  .showcase-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: calc(100vh - 55px);
    height: calc(100dvh - 55px);
  }

  .showcase-narrative {
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .narrative-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .narrative-subtitle {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  .narrative-phase-card {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .phase-desc {
    font-size: 0.8rem;
    min-height: auto;
  }

  .narrative-specs-grid,
  .narrative-scroll-hint {
    display: none; /* Keep mobile viewport compact */
  }

  .stage-dtf,
  .stage-uv-dtf,
  .stage-sublimation,
  .stage-flatbed,
  .stage-dtg {
    transform: scale(0.75);
  }
}

@media (max-width: 480px) {
  .stage-dtf,
  .stage-uv-dtf,
  .stage-sublimation,
  .stage-flatbed,
  .stage-dtg {
    transform: scale(0.64);
  }
}

@media (max-width: 360px) {
  .stage-dtf,
  .stage-uv-dtf,
  .stage-sublimation,
  .stage-flatbed,
  .stage-dtg {
    transform: scale(0.52);
  }
}

/* Accessible Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  .cinematic-showcase-wrapper {
    height: auto;
  }

  .showcase-viewport {
    position: relative;
    height: auto;
  }

  .showcase-body {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .scene-viewport {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    height: 400px;
  }
}


/* ==========================================================================
   LIGHT BLUE THEME OVERRIDES FOR CINEMATIC SHOWCASE
   ========================================================================== */
.cinematic-showcase-wrapper {
  background: #F0F7FF !important;
}

.showcase-viewport {
  background: linear-gradient(135deg, #F0F7FF 0%, #E5F1FF 60%, #D6E9FF 100%) !important;
  color: #172B4D !important;
}

.showcase-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.04) 1px, transparent 1px) !important;
  opacity: 0.8 !important;
}

.showcase-ambient-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(214, 233, 255, 0.4) 60%, transparent 100%) !important;
  opacity: 0.5 !important;
}

.showcase-topbar {
  background: rgba(240, 247, 255, 0.94) !important;
  border-bottom: 1px solid #D5E4F5 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.showcase-live-pill {
  background: #FFFFFF !important;
  border: 1px solid #D5E4F5 !important;
  color: #163A70 !important;
}

.showcase-scene-tabs {
  background: #FFFFFF !important;
  border: 1px solid #D5E4F5 !important;
}

.showcase-tab-btn {
  color: #536780 !important;
}

.showcase-tab-btn:hover {
  color: #172B4D !important;
  background: #F0F7FF !important;
}

.showcase-tab-btn.active {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 1px solid #2563EB !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

.showcase-tab-btn.active .tab-num {
  color: #D6E9FF !important;
}

.showcase-counter {
  color: #172B4D !important;
}

.showcase-counter .counter-curr {
  color: #2563EB !important;
}

.showcase-counter .counter-sep {
  color: #536780 !important;
  opacity: 0.5 !important;
}

.showcase-counter .counter-total {
  color: #536780 !important;
  opacity: 0.7 !important;
}

.showcase-scrub-meter {
  background: #D5E4F5 !important;
}

.showcase-scrub-fill {
  background: linear-gradient(90deg, #2563EB 0%, #00BCEB 50%, #2563EB 100%) !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4) !important;
}

/* Left Narrative Column */
.showcase-narrative {
  background: rgba(255, 255, 255, 0.94) !important;
  border-right: 1px solid #D5E4F5 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 4px 0 24px rgba(22, 58, 112, 0.04) !important;
}

.narrative-tag {
  background: #D6E9FF !important;
  border: 1px solid #BFDBFE !important;
  color: #163A70 !important;
}

.narrative-title {
  color: #172B4D !important;
}

.narrative-subtitle {
  color: #536780 !important;
}

.narrative-phase-card {
  background: #F0F7FF !important;
  border: 1px solid #D5E4F5 !important;
}

.phase-label {
  color: #536780 !important;
}

.phase-status {
  color: #2563EB !important;
}

.phase-desc {
  color: #172B4D !important;
}

.narrative-spec-item {
  background: #FFFFFF !important;
  border: 1px solid #D5E4F5 !important;
}

.spec-key {
  color: #536780 !important;
}

.spec-val {
  color: #172B4D !important;
}

.narrative-spec-link {
  background: #FFFFFF !important;
  border: 1px solid #D5E4F5 !important;
  color: #172B4D !important;
}

.narrative-spec-link:hover {
  background: #F0F7FF !important;
  border-color: #2563EB !important;
  color: #2563EB !important;
}

.narrative-scroll-hint {
  color: #536780 !important;
}

/* Art cards on stage */
.dtf-art-card {
  background: #FFFFFF !important;
  border: 1px solid #BFDBFE !important;
  box-shadow: 0 16px 36px rgba(22, 58, 112, 0.12), 0 0 20px rgba(37, 99, 235, 0.15) !important;
}
