/* ==========================================================================
   ClothMatics Cinematic Storytelling Experience
   Luxury fashion film + Apple product reveal + futuristic AI storytelling
   ========================================================================== */

:root {
  --cinema-bg: #07060c;
  --cinema-surface: #0e0c18;
  --cinema-violet: #5B3DF5;
  --cinema-purple: #7C3AED;
  --cinema-pink: #EC4899;
  --cinema-lavender: #c4b5fd;
  --cinema-text-high: #f8fafc;
  --cinema-text-mid: #94a3b8;
  --cinema-text-dim: #64748b;
  --cinema-border: rgba(255, 255, 255, 0.12);
  --cinema-card-bg: rgba(14, 12, 24, 0.72);
  --cinema-glass: rgba(255, 255, 255, 0.04);
}

/* Natural hero section height, NO sticky scroll hijacking */
.cinematic-hero-experience {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 680px;
  max-height: 900px;
  background: var(--cinema-bg);
  color: var(--cinema-text-high);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Luxury Viewport */
.cinematic-viewport {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 65% 45%, #16122d 0%, #08070e 65%, #050408 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Volumetric studio lights & ambient film grain */
.cinematic-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cinema-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.cinema-glow-purple {
  width: 55vw;
  height: 55vw;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(91, 61, 245, 0.15) 50%, transparent 70%);
}

.cinema-glow-pink {
  width: 40vw;
  height: 40vw;
  bottom: -5%;
  right: -5%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35) 0%, transparent 70%);
}

.cinema-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.4) 0%, rgba(91, 61, 245, 0.2) 60%, transparent 100%);
  filter: blur(1px);
  opacity: 0.3;
}

.cinema-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Split Stage Layout (42% Left Narrative, 58% Right 3D Visual Stage) */
.cinema-split-stage {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  padding: 0 48px;
  z-index: 10;
  box-sizing: border-box;
}

/* Left Narrative Column */
.cinema-narrative-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 25;
  pointer-events: auto;
}

/* Right 3D Stage Column */
.cinema-stage-col {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 15;
}

/* 3D Perspective Canvas for floating garments */
.cinema-3d-space {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top Fixed Luxury Header */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none !important;
  background: rgba(7, 6, 12, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 1000 !important;
}

.site-header .brand,
.site-header .desktop-nav a {
  color: #f8fafc !important;
}

.site-header .button-ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.site-header .button-ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Individual Garment Nodes */
.cinema-garment {
  position: absolute;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition: filter 0.4s ease;
  cursor: pointer;
  pointer-events: auto;
  background: transparent !important;
  border: none !important;
}

.cinema-garment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.02) drop-shadow(0 20px 35px rgba(0, 0, 0, 0.7));
  user-select: none;
  -webkit-user-drag: none;
}

/* HUD Corner Brackets */
.garment-hud-bracket {
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.garment-hud-bracket::before,
.garment-hud-bracket::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #EC4899;
}

.garment-hud-bracket::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.garment-hud-bracket::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

/* Base sizes for photorealistic clothing pieces */
.garment-overshirt {
  width: 290px;
  height: 290px;
  z-index: 10;
}

.garment-tee {
  width: 260px;
  height: 260px;
  z-index: 9;
}

.garment-trousers {
  width: 250px;
  height: 290px;
  z-index: 8;
}

.garment-sneakers {
  width: 250px;
  height: 250px;
  z-index: 7;
}

.garment-accessory {
  width: 190px;
  height: 190px;
  z-index: 5;
}

/* Scanning Beam (Scene 2) */
.cinema-scanner {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translateY(-50vh);
  background: linear-gradient(90deg, transparent 0%, rgba(91, 61, 245, 0.9) 20%, #EC4899 50%, rgba(124, 58, 237, 0.9) 80%, transparent 100%);
  box-shadow: 0 0 28px #EC4899, 0 0 60px rgba(91, 61, 245, 0.7);
  transition: opacity 0.4s ease;
}

.scanner-aura {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(91, 61, 245, 0.12) 40%, rgba(236, 72, 153, 0.28) 50%, rgba(124, 58, 237, 0.12) 60%, transparent 100%);
}

.scanner-readout {
  position: absolute;
  right: 5vw;
  top: -26px;
  font-family: 'DM Sans', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #EC4899;
  text-shadow: 0 0 10px #EC4899;
}

/* Elegant Metadata Telemetry Cards (Scene 2) */
.cinema-meta-tag {
  position: absolute;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(14, 12, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(91, 61, 245, 0.25);
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 25;
}

.meta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #EC4899;
}

.meta-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #f8fafc;
}

.meta-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #86efac;
}

/* Specific Tag Positions inside Right Stage (5 Garments) */
.meta-1 { top: 12%; left: 14%; }
.meta-2 { top: 12%; right: 14%; }
.meta-3 { bottom: 12%; left: 12%; top: auto; }
.meta-4 { bottom: 12%; right: 12%; top: auto; }
.meta-6 { top: 48%; right: 4%; }

.ctx-1 { top: 18%; left: 8%; }
.ctx-2 { top: 18%; right: 8%; }
.ctx-3 { bottom: 14%; left: 50%; top: auto; transform: translateX(-50%); }

/* Holographic Style Intelligence Core (Scenes 3 & 4 - Radiant 3D Synthesis Halo) */
.cinema-biometric-core {
  position: absolute;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  z-index: 12;
  will-change: transform, opacity;
}

.core-radial-pulse {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(236, 72, 153, 0.22) 45%, transparent 72%);
  filter: blur(16px);
  animation: corePulse 3.5s ease-in-out infinite alternate;
}

@keyframes corePulse {
  0% { transform: scale(0.88); opacity: 0.55; }
  100% { transform: scale(1.22); opacity: 0.95; }
}

.core-neural-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.core-neural-ring.ring-1 {
  width: 190px;
  height: 190px;
  border: 1px dashed rgba(91, 61, 245, 0.5);
  animation: coreSpin 18s linear infinite;
}

.core-neural-ring.ring-2 {
  width: 250px;
  height: 250px;
  border: 1px dotted rgba(236, 72, 153, 0.4);
  animation: coreSpinRev 24s linear infinite;
}

@keyframes coreSpin {
  to { transform: rotate(360deg); }
}

@keyframes coreSpinRev {
  to { transform: rotate(-360deg); }
}

.core-crosshair {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  transform: rotate(45deg);
}

.synthesis-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(18, 15, 32, 0.92);
  border: 1px solid rgba(236, 72, 153, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.35), 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 2;
  white-space: nowrap;
}

.synthesis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.synthesis-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #f8fafc;
  font-weight: 700;
}

/* Context Badges (Scene 3) */
.cinema-context-tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(18, 15, 32, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(124, 58, 237, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 16;
}

.cinema-context-tag span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cinema-lavender);
  font-weight: 600;
}

.cinema-context-tag b {
  font-weight: 600;
  color: #ffffff;
}

/* Scene 4: Criteria Evaluation Badges */
.cinema-criteria-cloud {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 18;
}

.criteria-pill {
  position: absolute;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(15, 13, 26, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(236, 72, 153, 0.35);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 72, 153, 0.25);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.criteria-pill.pill-verified {
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(34, 197, 94, 0.25);
}

/* ==========================================================================
   Complete 3D Ghost-Mannequin Turntable Showcase (Scenes 5 & 6)
   ========================================================================== */
.cinema-3d-turntable {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(0.92);
  z-index: 22;
  will-change: transform, opacity;
}

.cinema-3d-turntable.active {
  pointer-events: auto;
}

.turntable-stage {
  position: relative;
  width: 320px;
  height: 460px;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.turntable-stage:active {
  cursor: grabbing;
}

.turntable-card-holo {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.look-3d-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 35px rgba(91, 61, 245, 0.35));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.look-3d-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* Holographic Pedestal Base */
.turntable-pedestal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotateX(72deg);
  width: 300px;
  height: 110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.pedestal-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  background: radial-gradient(ellipse at center, rgba(91, 61, 245, 0.35) 0%, rgba(236, 72, 153, 0.12) 55%, transparent 80%);
  box-shadow: 0 0 35px rgba(91, 61, 245, 0.45), inset 0 0 25px rgba(124, 58, 237, 0.3);
}

.pedestal-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
  animation: pedestalSpin 20s linear infinite;
}

.pedestal-grid {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.25) 0%, transparent 70%);
}

@keyframes pedestalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Turntable Telemetry & Drag Prompt */
.turntable-hud {
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 26;
  pointer-events: none;
}

.turntable-pill-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(14, 12, 25, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c4b5fd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}



/* Scene 5: Luxury Recommendation Overlay */
.cinema-look-card {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) translateX(24px);
  width: 290px;
  padding: 24px 22px;
  background: rgba(14, 12, 25, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(91, 61, 245, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
}

.cinema-look-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

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

.look-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EC4899;
}

.look-score {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
}

.look-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.look-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.look-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--cinema-lavender);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.look-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.look-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  color: #e2e8f0;
}

.look-checklist li svg {
  width: 16px;
  height: 16px;
  color: #EC4899;
  flex-shrink: 0;
}

/* Editorial Typography & Scene Titles in Left Narrative Column */
.cinema-narratives {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 380px;
}

.cinema-title-block {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateY(20px);
  text-align: left;
  width: 100%;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-title-block.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateY(0);
}

.cinema-title-block[data-scene="6"] {
  top: 50%;
  transform: translateY(-50%) translateY(20px);
}

.cinema-title-block[data-scene="6"].active {
  transform: translateY(-50%) translateY(0);
}

.cinema-subheading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EC4899;
  margin-bottom: 12px;
}

.cinema-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.cinema-heading .gradient-word {
  background: linear-gradient(135deg, #a78bfa 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinema-lede {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  color: var(--cinema-text-mid);
  margin: 14px 0 0 0;
  max-width: 480px;
  line-height: 1.55;
}

.cinema-feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cinema-feat-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #e2e8f0;
}

/* Scene 6: Final Brand Anthem & CTAs */
.cinema-final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  pointer-events: auto;
}

.cinema-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5B3DF5 0%, #EC4899 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(91, 61, 245, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cinema-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.5);
}

.cinema-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cinema-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}



.cinema-trust-pill {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--cinema-text-mid);
}

.cinema-trust-pill span {
  display: flex;
  align-items: center;
  gap: 6px;
}



/* Mobile & Tablet Adaptations */
@media (max-width: 992px) {
  .cinema-split-stage {
    grid-template-columns: 46% 54%;
    padding: 0 24px;
  }

  .cinema-heading {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  }

  .cinema-lede {
    font-size: 0.95rem;
  }

  .cinema-look-card {
    width: 250px;
    padding: 18px 16px;
  }
}

@media (max-width: 768px) {
  .cinematic-hero-experience {
    height: auto;
    min-height: 720px;
  }

  .cinema-split-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 86px 16px 60px 16px;
    height: auto;
  }

  .cinema-narrative-col {
    width: 100%;
    height: auto;
    min-height: 240px;
    justify-content: center;
    text-align: center;
  }

  .cinema-narratives {
    max-width: 360px;
    min-height: 240px;
  }

  .cinema-title-block {
    text-align: center;
    transform: translateY(12px);
    top: 0 !important;
  }

  .cinema-title-block.active {
    transform: translateY(0) !important;
  }

  .cinema-title-block[data-scene="6"],
  .cinema-title-block[data-scene="6"].active {
    top: 0 !important;
    transform: translateY(0) !important;
  }

  .cinema-heading {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .cinema-lede {
    font-size: 0.85rem;
    line-height: 1.38;
    margin: 8px auto 0 auto;
  }

  .cinema-feature-highlights {
    justify-content: center;
    margin-top: 10px;
  }

  .cinema-stage-col {
    width: 100%;
    height: 380px;
    min-height: 380px;
  }

  /* Garment sizes on mobile (5 pieces) */
  .garment-overshirt { width: 140px; height: 140px; }
  .garment-tee { width: 120px; height: 120px; }
  .garment-trousers { width: 125px; height: 125px; }
  .garment-sneakers { width: 115px; height: 115px; }
  .garment-accessory { width: 90px; height: 90px; }

  /* Suppress secondary tags on mobile to avoid overcrowding */
  .meta-3, .meta-4, .meta-6,
  .ctx-3, .ctx-4, .ctx-5,
  .crit-3, .crit-4, .crit-5 {
    display: none !important;
  }

  .meta-1 {
    top: 4% !important;
    left: 8px !important;
    right: auto !important;
    max-width: 155px !important;
    padding: 5px 8px !important;
  }

  .meta-2 {
    top: 4% !important;
    right: 8px !important;
    left: auto !important;
    max-width: 155px !important;
    padding: 5px 8px !important;
  }

  .ctx-1 { top: 4% !important; left: 8px !important; max-width: 155px !important; padding: 5px 8px !important; font-size: 0.7rem !important; }
  .ctx-2 { top: 4% !important; right: 8px !important; max-width: 155px !important; padding: 5px 8px !important; font-size: 0.7rem !important; }

  .synthesis-badge {
    padding: 6px 14px !important;
    font-size: 0.68rem !important;
  }

  /* Compact mobile Look Card so 3D mannequin is fully visible */
  .cinema-look-card {
    position: absolute;
    left: 14px !important;
    right: 14px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    background: rgba(14, 12, 26, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9) !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    transform: translateY(16px) !important;
    z-index: 35 !important;
  }

  .cinema-look-card.active {
    transform: translateY(0) !important;
  }

  .cinema-look-card .look-header {
    margin-bottom: 2px !important;
  }

  .cinema-look-card .look-kicker {
    font-size: 0.65rem !important;
  }

  .cinema-look-card .look-score {
    font-size: 0.76rem !important;
    padding: 2px 6px !important;
  }

  .cinema-look-card .look-title {
    font-size: 0.98rem !important;
    margin: 0 0 4px 0 !important;
  }

  .cinema-look-card .look-meta-chips {
    margin-bottom: 0 !important;
    gap: 4px !important;
  }

  .cinema-look-card .look-chip {
    font-size: 0.64rem !important;
    padding: 2px 6px !important;
  }

  .cinema-look-card .look-checklist {
    display: none !important; /* Hide long vertical list on mobile so 3D mannequin is clearly visible */
  }

  /* Mobile Turntable Sizing */
  .cinema-3d-turntable {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    transform: scale(0.68) translateY(-30px) !important;
    z-index: 22 !important;
  }

  .cinema-3d-turntable.shifted-desktop {
    transform: scale(0.68) translateY(-30px) !important; /* Keep centered on mobile */
  }

  .turntable-stage {
    width: 240px !important;
    height: 350px !important;
  }

  .turntable-pedestal {
    width: 210px !important;
    height: 75px !important;
    bottom: 12px !important;
  }

  .turntable-hud {
    bottom: -36px !important;
    transform: translateX(-50%) scale(0.85) !important;
  }

  .cinema-title-block[data-scene="6"] .cinema-heading {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
  }

  .cinema-title-block[data-scene="6"] .cinema-lede {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    margin: 4px auto 0 auto !important;
    max-width: 290px !important;
  }

  .cinema-btn-primary {
    padding: 10px 20px !important;
    font-size: 0.84rem !important;
  }

  .cinema-btn-secondary {
    padding: 9px 16px !important;
    font-size: 0.80rem !important;
  }

  .cinema-final-actions {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 8px auto 0 auto !important;
  }

  .cinema-trust-pill {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 6px !important;
    font-size: 0.66rem !important;
  }
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .cinematic-hero-experience {
    height: auto;
    min-height: 100vh;
  }

  .cinematic-viewport {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 80px 20px;
  }

  .cinema-scanner {
    display: none !important;
  }

  .cinema-title-block {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cinema-3d-space {
    position: relative;
    height: 480px;
  }

  .cinema-look-card {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    margin: 20px auto;
  }
}

/* =============================================================================
   CLOTHMATICS UNIFIED LUXURY DARK DESIGN SYSTEM
   Full visual cohesion across color theme, typography, buttons, and layout
   ============================================================================= */

body.marketing-active,
body:has(#marketing-view:not(.hidden)) {
  background: #08070d;
  color: #ffffff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#marketing-view {
  background: #08070d !important;
  color: #ffffff !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-x: hidden;
}

#marketing-view h1,
#marketing-view h2,
#marketing-view h3,
#marketing-view h4 {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
}

#marketing-view p {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.7 !important;
}

/* Luxury Eyebrows / Badges */
#marketing-view .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #c4b5fd !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  background: rgba(124, 58, 237, 0.12) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.15) !important;
  margin-bottom: 16px !important;
}

#marketing-view .eyebrow span {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

/* Unified Button System */
#marketing-view .button,
.site-header .button,
footer .button {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  padding: 13px 26px !important;
  font-size: 0.95rem !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#marketing-view .button-primary,
.site-header .button-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35) !important;
}

#marketing-view .button-primary:hover,
.site-header .button-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5) !important;
}

#marketing-view .button-ghost,
.site-header .button-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
}

#marketing-view .button-ghost:hover,
.site-header .button-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

#marketing-view .button-light {
  background: #ffffff !important;
  color: #08070d !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

#marketing-view .button-light:hover {
  transform: translateY(-2px) !important;
  background: #f1f0f5 !important;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25) !important;
}

#marketing-view .button-outline-light {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

#marketing-view .button-outline-light:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Proof Strip */
.proof-strip {
  background: rgba(12, 10, 22, 0.9) !important;
  border-block: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  height: 64px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
}

.proof-strip i {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

/* Answer Hub / About */
.answer-hub {
  padding-block: 110px !important;
  background: radial-gradient(circle at 15% 30%, rgba(124, 58, 237, 0.08), transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(236, 72, 153, 0.06), transparent 45%),
              #08070d !important;
}

.answer-intro {
  max-width: 1240px;
  margin: 0 auto;
}

.answer-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
}

.answer-intro > p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1.1rem !important;
}

.answer-grid {
  max-width: 1240px;
  margin: 44px auto 0 auto !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.answer-grid article {
  padding: 34px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  background: rgba(16, 14, 28, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.answer-grid article:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.2) !important;
}

.answer-grid h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  line-height: 1.35 !important;
}

.answer-grid p {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.95rem !important;
}

/* Three-Step Journey */
.story.section {
  padding-block: 110px !important;
  background: radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.09), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.06), transparent 45%),
              #0a0812 !important;
}

.story .section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
}

.story .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.story .step-card {
  min-height: 330px !important;
  padding: 34px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  color: #ffffff !important;
  background: rgba(16, 14, 28, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.story .step-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.2) !important;
}

.story .step-card.featured {
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  background: linear-gradient(145deg, rgba(28, 20, 58, 0.95), rgba(45, 27, 105, 0.85) 60%, rgba(108, 99, 255, 0.3)) !important;
  box-shadow: 0 25px 60px rgba(124, 58, 237, 0.28), inset 0 0 40px rgba(124, 58, 237, 0.15) !important;
}

.story .step-number {
  display: inline-flex !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  color: #c4b5fd !important;
  background: rgba(124, 58, 237, 0.18) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.story .featured .step-number {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.story .step-icon {
  width: 58px !important;
  height: 58px !important;
  margin: 36px 0 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  color: #a855f7 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.story .featured .step-icon {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fbbf24 !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.story .step-icon svg {
  width: 28px !important;
  height: 28px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.story .step-card h3 {
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}

.story .step-card p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Product Showcase */
.product-showcase {
  padding: 110px max(28px, calc((100vw - 1280px)/2)) !important;
  background: radial-gradient(circle at 50% 30%, rgba(79, 70, 229, 0.1), transparent 50%),
              radial-gradient(circle at 15% 80%, rgba(236, 72, 153, 0.08), transparent 45%),
              #08070d !important;
  color: #ffffff !important;
}

.showcase-heading h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
}

.showcase-heading > p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1.05rem !important;
}

.showcase-covers {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 46px;
}

.showcase-covers figure,
.showcase-flow figure {
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: rgba(14, 12, 25, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5) !important;
}

.showcase-covers figure {
  border-radius: 24px !important;
  overflow: hidden !important;
}

.showcase-covers img {
  border-radius: 23px 23px 0 0 !important;
  background: #0d0b1a !important;
  display: block;
  width: 100%;
  height: auto;
}

.showcase-covers figcaption {
  padding: 18px 22px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  background: rgba(18, 15, 32, 0.95) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.showcase-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: auto;
}

.showcase-flow figure {
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.showcase-flow figure:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 25px 55px rgba(124, 58, 237, 0.25) !important;
}

.showcase-flow img {
  background: #0d0b1a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.showcase-flow figure > span {
  background: linear-gradient(135deg, #7C3AED, #EC4899) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4) !important;
}

.showcase-flow figcaption {
  color: #ffffff !important;
  background: rgba(18, 15, 32, 0.95) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* Web Features & Digital Closet */
.feature-section {
  background: radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1), transparent 45%),
              #08070d !important;
  padding-block: 110px !important;
  color: #ffffff !important;
}

.feature-copy h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
}

.feature-copy > p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1.05rem !important;
}

.feature-copy ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 30px 0 !important;
}

.feature-copy li {
  padding: 12px 0 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.feature-copy li::before {
  content: "✦" !important;
  color: #a855f7 !important;
  font-weight: 700 !important;
}

.feature-copy li b {
  color: #ffffff !important;
}

.closet-preview {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 26px !important;
  background: rgba(16, 14, 28, 0.75) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.closet-preview img {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  border-radius: 16px !important;
}

.closet-preview figcaption {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  background: rgba(18, 15, 32, 0.95) !important;
}

.closet-preview figcaption b {
  color: #ffffff !important;
}

.closet-preview figcaption span {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Privacy & Boundaries */
.privacy.section {
  padding-block: 110px !important;
  background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08), transparent 45%),
              #08070d !important;
}

.privacy-card {
  border-radius: 28px !important;
  background: rgba(16, 14, 28, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 56px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
}

.privacy h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
}

.privacy-points p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.privacy-points b {
  color: #ffffff !important;
  font-size: 1.05rem !important;
}

.privacy-points span {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Final CTA */
.final-cta {
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.35) 0%, rgba(14, 11, 26, 0.95) 70%),
              #08070d !important;
  border-block: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-block: 110px !important;
  color: #ffffff !important;
}

.final-cta h2 {
  color: #ffffff !important;
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  line-height: 1.15 !important;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 600px !important;
  margin-inline: auto !important;
}

/* Footer */
footer {
  background: #08070d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 40px 32px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
}

footer .brand {
  color: #ffffff !important;
}

footer p {
  color: rgba(255, 255, 255, 0.55) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color 0.2s ease !important;
}

footer a:hover {
  color: #ffffff !important;
}

/* Responsive Overrides */
@media (max-width: 950px) {
  .answer-intro {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .answer-grid {
    grid-template-columns: 1fr !important;
  }
  .showcase-heading {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .showcase-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .feature-section {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .privacy-card {
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
    gap: 28px !important;
  }
}

@media (max-width: 620px) {
  .story.section,
  .privacy.section,
  .product-showcase,
  .feature-section,
  .answer-hub,
  .final-cta {
    padding-block: 70px !important;
  }
  .story .steps {
    grid-template-columns: 1fr !important;
    margin-top: 34px !important;
  }
  .showcase-covers {
    grid-template-columns: 1fr !important;
  }
  .showcase-flow {
    grid-template-columns: 78vw 78vw !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
  }
  .showcase-flow figure {
    scroll-snap-align: start !important;
  }
  .final-cta > div:last-child {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* =============================================================================
   APP VIEW & DIALOG ISOLATION CONTRACT
   Ensures #app-view and all modal dialogs preserve crisp light-theme surfaces
   with high-contrast dark ink (#1a1a2e) typography without any dark-theme leakage.
   ============================================================================= */

body.app-authenticated,
body:has(#app-view:not(.hidden)) {
  background: #f8f7ff !important;
  color: #1a1a2e !important;
}

.app-view {
  background: radial-gradient(circle at 85% 0, rgba(255, 79, 163, 0.1), transparent 34rem), linear-gradient(145deg, #f8f7ff, #f1eeff 72%) !important;
  color: #1a1a2e !important;
}

.app-content {
  color: #1a1a2e !important;
}

.app-view h1,
.app-view h2,
.app-view h3,
.app-view h4,
.app-view h5,
.app-view h6,
.app-topbar h2,
#panel-title,
.today-copy h3,
.camera-page-heading h3,
.section-intro h3,
.dash-title h3,
.panel-heading-row h2,
.generated-head h3,
.stylist-form h3,
.complete-outfit-head h2,
.camera-tips h4,
.camera-placeholder b,
.camera-mode-card b,
.month-controls b,
.day-plans h3,
.plan-card h4,
.purchase-form-head h4,
.purchase-placeholder h4,
.style-result-card h4,
.notification-card h4 {
  color: #1a1a2e !important;
}

.stylist-promo h3,
.style-score-card h3,
.learned-style h3,
.festival-strip h3,
.full-look-unavailable b {
  color: #ffffff !important;
}

.user-chip div b,
#user-name {
  color: #1a1a2e !important;
}

.user-chip div small,
#user-email {
  color: #6e6e8a !important;
}

.today-copy p,
.camera-page-heading p,
.section-intro p,
.dash-title p {
  color: #6e6e8a !important;
}

.month-controls button {
  color: #1a1a2e !important;
}

dialog,
.garment-dialog,
.confirm-dialog,
.look-builder-dialog,
.garment-upload-dialog,
#auth-dialog {
  background: #ffffff !important;
  color: #1a1a2e !important;
}

dialog h1, dialog h2, dialog h3, dialog h4,
.garment-dialog h1, .garment-dialog h2, .garment-dialog h3, .garment-dialog h4,
#auth-dialog h1, #auth-dialog h2, #auth-dialog h3, #auth-dialog h4 {
  color: #1a1a2e !important;
}

dialog p,
.garment-dialog p,
#auth-dialog p {
  color: #6e6e8a !important;
}

.app-view .button-ghost,
dialog .button-ghost {
  background: transparent !important;
  color: #1a1a2e !important;
  border: 1px solid #e6e2ff !important;
  backdrop-filter: none !important;
}

.app-view .button-ghost:hover,
dialog .button-ghost:hover {
  background: #f1eeff !important;
  color: #2d1b69 !important;
  border-color: #6c63ff !important;
}


