/* VinFast 3D Studio v6c — Museum-Grade Slow 3D Hero + 100vw Interactive Atelier (VF 9 & VF 5) + 2 Conversion Sections */

:root {
  --bg: #ffffff;
  --paper: #f6f5f2;
  --ink: #0a0a0a;
  --muted: #68707c;
  --line: rgba(10, 10, 10, 0.11);
  --line-strong: rgba(10, 10, 10, 0.22);
  --accent: #c8102e;
  --accent-dark: #970a22;
  --save: #157347;
  --night-ink: #f4f6f9;
  --night-muted: #98a2b2;
  --night-line: rgba(255, 255, 255, 0.16);
  --max-w: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* OPUS QC #1: Guarantee HTML [hidden] beats display:flex/grid rules everywhere! */
[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

.num {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.display-cond {
  font-family: 'Barlow Condensed', 'Be Vietnam Pro', sans-serif;
}

button,
input,
select {
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================================
   INSTANT ZERO-BLANK-SCREEN LOADING CURTAIN
   ========================================================= */
.vf6-loader {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.vf6-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vf6-loader-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--ink);
}

.vf6-loader-bar {
  width: min(240px, 64vw);
  height: 2px;
  background: rgba(10, 10, 10, 0.1);
  overflow: hidden;
}

.vf6-loader-fill {
  height: 100%;
  width: 8%;
  background: var(--accent);
  transition: width 0.22s ease;
}

.vf6-loader-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   PERSISTENT SINGLE FULL-VIEWPORT 3D STAGE (100vw × 100svh)
   ========================================================= */
.vf6-stage-shell {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: 1;
  background: #ffffff;
  overflow: hidden;
  transition: background-color 0.55s ease;
}

body.mode-atelier .vf6-stage-shell {
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f1efe9 66%, #e6e2d9 100%);
}

body.mode-atelier.env-night .vf6-stage-shell {
  background: radial-gradient(circle at 50% 42%, #141a28 0%, #090c13 62%, #04060a 100%);
}

/* Graphic Backdrop Layer (STRICTLY BEHIND 3D Car Canvas!) */
.vf6-graphic-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Subtle Swiss Studio Frame Hairlines + Monumental Ghost Type Behind 3D Sketch */
.vf6-hero-ghost {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate3d(0, -50%, 0);
  margin-left: -46vw;
  width: 92vw;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(160px, 28vw, 390px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.85;
  color: rgba(10, 10, 10, 0.036);
  white-space: nowrap;
  user-select: none;
}

/* Beat 1 Luxury Editorial Launch Lockup (Bottom-Left Negative Space — Instant 10/10 First Viewport!) */
.vf6-hero-editorial {
  position: absolute;
  left: 42px;
  bottom: 46px;
  z-index: 16;
  max-width: 440px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.vf6-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.vf6-hero-kicker::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

.vf6-hero-h1 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.14;
  padding-top: 0.06em;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}

.vf6-hero-sub {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 340px;
}

/* Whisper Swiss Telemetry Corner (Bottom-Right during Act 1) */
.vf6-hero-telemetry {
  position: fixed;
  right: 36px;
  bottom: 24px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.48);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.mode-atelier .vf6-hero-telemetry {
  opacity: 0;
}

.vf6-cad-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vf6-baseline {
  position: absolute;
  left: 0;
  right: 0;
  top: 55vh;
  height: 1px;
  background: var(--accent);
  transform-origin: center;
  transform: scaleX(0);
  opacity: 0;
}

/* Beat 2–5: Monumental 45vh Architectural Crimson Horizon + Tall Swiss Condensed Poster Marquee */
.vf6-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45vh;
  background: linear-gradient(180deg, #cf102e 0%, #9b0a21 100%);
  transform: translate3d(0, 102%, 0);
  opacity: 0;
  will-change: transform, opacity;
  overflow: hidden;
}

.vf6-horizon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.vf6-marquee-wrap {
  width: 100%;
  margin-top: 8.5vh;
  overflow: hidden;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@keyframes vf6Marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.vf6-marquee-track {
  display: flex;
  width: max-content;
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(40px, 5.6vw, 82px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: vf6Marquee 22s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.vf6-streaks {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

@keyframes vf6Streak {
  0% { transform: translateX(105vw); }
  100% { transform: translateX(-115vw); }
}

.vf6-streak {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.82) 50%, rgba(255,255,255,0) 100%);
  animation: vf6Streak 0.9s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.vf6-streaks.is-running .vf6-streak {
  animation-play-state: running;
}

.vf6-streak.s1 { top: 24%; width: 46vw; animation-duration: 1.65s; }
.vf6-streak.s2 { top: 64%; width: 64vw; animation-duration: 2.15s; animation-delay: -0.45s; }
.vf6-streak.s3 { top: 76%; width: 38vw; animation-duration: 1.55s; animation-delay: -0.9s; }
.vf6-streak.s4 { top: 88%; width: 54vw; animation-duration: 1.95s; animation-delay: -0.25s; }

.vf6-overtake-tag {
  position: absolute;
  left: 50%;
  top: 15vh;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.56);
  opacity: 0;
  white-space: nowrap;
}

/* Beat 6–7: Vertical Split Crimson Curtain — 100% GPU-Composited scaleX (Zero left/width Reflow!) */
.vf6-vert-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 42vw;
  margin-left: -21vw;
  background: linear-gradient(180deg, #cf102e 0%, #a50c24 100%);
  transform-origin: center center;
  opacity: 0;
  will-change: transform, opacity;
}

/* Beat 8: Giant Geometric V I N F A S T Condensed Wordmark */
.vf6-wordmark-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
}

.vf6-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3.4vw, 52px);
  color: var(--accent);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: clamp(64px, 14vw, 196px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.vf6-wm-char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.vf6-wordmark-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

/* Persistent 3D WebGL Canvas */
#vf6-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  display: block;
  touch-action: pan-y;
}

body.mode-atelier.orbit-enabled #vf6-canvas {
  cursor: grab;
}

body.mode-atelier.orbit-enabled #vf6-canvas:active {
  cursor: grabbing;
}

body.mobile-orbit-locked #vf6-canvas {
  touch-action: none;
}

/* =========================================================
   WHISPER-MINIMAL TOP BAR
   ========================================================= */
.vf6-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 65;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.scrolled-past-atelier .vf6-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.vf6-topbar > * {
  pointer-events: auto;
}

.vf6-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.35s ease;
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-brand {
  color: var(--night-ink);
}

.vf6-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.vf6-nav-btn,
.vf6-nav-anchor {
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.42);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.vf6-nav-btn.is-active,
.vf6-nav-btn:hover,
.vf6-nav-anchor:hover {
  color: var(--ink);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-btn,
body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-anchor {
  color: rgba(244, 246, 249, 0.48);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-btn.is-active,
body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-btn:hover,
body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-anchor:hover {
  color: var(--night-ink);
}

.vf6-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vf6-hairline-pill {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vf6-hairline-pill:hover,
.vf6-hairline-pill[aria-pressed='true'] {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.vf6-cta-pill {
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vf6-cta-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-hairline-pill {
  background: rgba(15, 20, 30, 0.84);
  color: var(--night-ink);
  border-color: var(--night-line);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-cta-pill {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Scroll Hint & 2px Progress Hairline (Act 1 Only) */
.vf6-scroll-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.vf6-progress-rail {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  z-index: 45;
  background: rgba(10, 10, 10, 0.08);
  transition: opacity 0.3s ease;
}

.vf6-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  background: var(--accent);
}

body.mode-atelier .vf6-scroll-hint,
body.mode-atelier .vf6-progress-rail {
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   SLOW CINEMA SCROLL RUNWAY (2300vh V17d Museum-Slow!) + 100svh ATELIER ANCHOR
   ========================================================= */
.vf6-scroll-runway {
  position: relative;
  height: 2300vh;
  z-index: 0;
  pointer-events: none;
}

.vf6-atelier-anchor {
  position: relative;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
}

/* =========================================================
   ACT 2: FULL-VIEWPORT 100vw INTERACTIVE 3D ATELIER OVERLAY
   ========================================================= */
.vf6-atelier-hud {
  position: fixed;
  inset: 0;
  z-index: 28;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.mode-atelier:not(.scrolled-past-atelier) .vf6-atelier-hud {
  opacity: 1;
  visibility: visible;
}

body.mode-atelier.in-cabin-view .atelier-identity {
  opacity: 0;
  pointer-events: none;
}

.atelier-identity {
  position: absolute;
  top: 82px;
  left: 36px;
  max-width: 340px;
  pointer-events: auto;
  transition: opacity 0.35s ease;
}

.atelier-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.atelier-model-name {
  margin: 0;
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.35s ease;
}

.atelier-tagline {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 300px;
  transition: color 0.35s ease;
}

.atelier-spec-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  max-width: 280px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.atelier-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.atelier-spec-val {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.atelier-spec-key {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

body.mode-atelier.env-night .atelier-model-name,
body.mode-atelier.env-night .atelier-spec-val {
  color: var(--night-ink);
}

body.mode-atelier.env-night .atelier-tagline,
body.mode-atelier.env-night .atelier-spec-key {
  color: var(--night-muted);
}

body.mode-atelier.env-night .atelier-spec-strip {
  border-top-color: var(--night-line);
}

/* Top-Right: VF 9 | VF 5 Switcher + Clean Day / Night / Hotspots (ZERO X-Ray!) */
.atelier-top-controls {
  position: absolute;
  top: 82px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
}

.model-monolith {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
}

.model-tab-btn {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.22s ease, color 0.22s ease;
}

.model-tab-btn strong {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.model-tab-btn span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.78;
}

.model-tab-btn.is-active {
  background: var(--ink);
  color: #ffffff;
}

body.mode-atelier.env-night .model-monolith {
  background: rgba(14, 19, 28, 0.86);
  border-color: var(--night-line);
}

body.mode-atelier.env-night .model-tab-btn {
  color: var(--night-muted);
}

body.mode-atelier.env-night .model-tab-btn.is-active {
  background: #ffffff;
  color: #0a0a0a;
}

.env-seg-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.env-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.env-pill:hover,
.env-pill.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

body.mode-atelier.env-night .env-pill {
  background: rgba(14, 19, 28, 0.82);
  color: var(--night-ink);
  border-color: var(--night-line);
}

body.mode-atelier.env-night .env-pill:hover,
body.mode-atelier.env-night .env-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* =========================================================
   CRYSTAL-CLEAR NUMBERED 3D HOTSPOT PINS + PULSE RADAR + CARD
   ========================================================= */
.vf6-hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.58); }
  70% { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

.vf6-hotspot-pin {
  position: absolute;
  left: 0;
  top: 0;
  margin-left: -15px;
  margin-top: -15px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(10, 10, 10, 0.12);
  transition: transform 0.22s ease, opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.vf6-pin-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vf6-hotspot-tip {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.vf6-hotspot-pin:hover {
  transform: scale(1.06);
  border-color: var(--accent);
}

.vf6-hotspot-pin.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
  animation: hotspotPulse 1.5s infinite;
  z-index: 6;
}

.vf6-hotspot-pin.is-active .vf6-pin-dot {
  background: #ffffff;
  color: var(--accent);
}

body.mode-atelier.env-night .vf6-hotspot-pin {
  background: rgba(12, 16, 24, 0.92);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

body.mode-atelier.env-night .vf6-hotspot-pin .vf6-pin-dot {
  background: var(--accent);
  color: #ffffff;
}

body.mode-atelier.env-night .vf6-hotspot-pin.is-active {
  background: var(--accent);
  border-color: #ffffff;
}

/* Upgraded High-Contrast Hotspot Detail Card */
.vf6-hotspot-card {
  position: absolute;
  left: 36px;
  bottom: 122px;
  width: min(390px, calc(100vw - 32px));
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(10, 10, 10, 0.14);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vf6-hotspot-card[hidden] {
  display: none;
}

body.mode-atelier.env-night .vf6-hotspot-card {
  background: rgba(12, 16, 24, 0.96);
  border-color: var(--night-line);
  border-left-color: var(--accent);
  color: var(--night-ink);
}

.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hc-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hc-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.hc-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.hc-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

body.mode-atelier.env-night .hc-desc {
  color: var(--night-muted);
}

.hc-btn-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hc-action {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hc-action:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hc-next {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hc-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.mode-atelier.env-night .hc-action {
  background: var(--accent);
  border-color: var(--accent);
}

body.mode-atelier.env-night .hc-next {
  border-color: var(--night-line);
}

/* =========================================================
   BOTTOM FLOATING TACTILE PAINT ATELIER DOCK + SCROLL-DOWN PROMPT
   ========================================================= */
.atelier-bottom-dock {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.atelier-bottom-dock > * {
  pointer-events: auto;
}

.atelier-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  pointer-events: auto;
  white-space: nowrap;
}

.atelier-scroll-cue:hover {
  color: var(--accent);
}

body.mode-atelier.env-night .atelier-scroll-cue {
  color: var(--night-muted);
}

.cam-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cam-hint {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

body.mode-atelier.env-night .cam-hint {
  color: var(--night-muted);
}

.cam-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cam-btn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cam-btn:hover,
.cam-btn.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

body.mode-atelier.env-night .cam-btn {
  background: rgba(14, 19, 28, 0.84);
  color: var(--night-ink);
  border-color: var(--night-line);
}

body.mode-atelier.env-night .cam-btn:hover,
body.mode-atelier.env-night .cam-btn.is-active {
  background: #ffffff;
  color: #0a0a0a;
}

.mobile-orbit-btn {
  display: none;
}

.paint-atelier-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 12px 22px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
}

body.mode-atelier.env-night .paint-atelier-bar {
  background: rgba(12, 16, 24, 0.9);
  border-color: var(--night-line);
}

.paint-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.paint-meta strong {
  font-weight: 700;
  color: var(--ink);
}

.paint-meta span {
  font-size: 11px;
  color: var(--muted);
}

body.mode-atelier.env-night .paint-meta strong {
  color: var(--night-ink);
}

body.mode-atelier.env-night .paint-meta span {
  color: var(--night-muted);
}

.paint-orbs {
  display: flex;
  align-items: center;
  gap: 14px;
}

.paint-orb-btn {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.paint-orb-btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.paint-orb-btn:hover {
  transform: scale(1.12);
}

.paint-orb-btn.is-active {
  transform: scale(1.08);
}

.paint-orb-btn.is-active::after {
  border-color: var(--accent);
}

.drawer-trigger-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.94);
}

body.mode-atelier.env-night .drawer-trigger-cluster {
  background: rgba(12, 16, 24, 0.92);
  border-color: var(--night-line);
}

.dock-price-stack {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.dock-price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dock-price-val {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

body.mode-atelier.env-night .dock-price-val {
  color: var(--night-ink);
}

body.mode-atelier.env-night .dock-price-label {
  color: var(--night-muted);
}

.btn-open-drawer {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.btn-open-drawer:hover {
  background: var(--accent-dark);
}

/* =========================================================
   SECTIONS 3 & 4: SOLID EDITORIAL CONVERSION FLOW BELOW 3D ATELIER
   Glides cleanly over the fixed 3D canvas as buyer scrolls down!
   ========================================================= */
.vf6-conversion-flow {
  position: relative;
  z-index: 50;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

/* Sticky Mini Summary Ribbon (Links Buyer's Chosen 3D Car + Paint Directly to Pricing & Form) */
.conv-sticky-bar {
  position: sticky;
  top: 72px;
  z-index: 55;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.conv-sticky-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.conv-chosen-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.conv-paint-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.22);
  flex-shrink: 0;
}

.conv-sticky-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.conv-sticky-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.conv-back-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.conv-back-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

.conv-section {
  padding: 88px 28px;
}

.conv-section.is-tinted {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.conv-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.conv-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.conv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.conv-eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--accent);
}

.conv-h2 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  padding-top: 0.06em;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.conv-lead {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* SECTION 3 GRID: Decision Comparison + EV vs Gas Savings (Left) | Live On-Road Price & Policy (Right) */
.s3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: start;
}

.s3-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.compare-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.compare-card:hover {
  transform: translateY(-2px);
}

.compare-card.is-active {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.08);
}

.cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cc-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.cc-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink);
}

.compare-card.is-active .cc-badge {
  background: var(--accent);
  color: #ffffff;
}

.cc-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.cc-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.cc-list li::before {
  content: '— ';
  color: var(--accent);
  font-weight: 700;
}

/* EV vs Gas Savings Calculator Card */
.savings-card {
  padding: 26px;
  border-radius: 16px;
  background: #0a0a0a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sav-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sav-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.sav-km-val {
  font-size: 18px;
  font-weight: 800;
  color: #ff4764;
}

.sav-slider {
  width: 100%;
  accent-color: var(--accent);
}

.sav-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sav-kpi {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sav-kpi span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}

.sav-kpi strong {
  font-size: 16px;
  font-weight: 800;
}

.sav-kpi.is-highlight {
  background: rgba(200, 16, 46, 0.22);
  border-color: rgba(255, 71, 100, 0.5);
}

.sav-note {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.56);
}

/* Live On-Road Pricing & Policy Card (Right Column of Section 3) */
.pricing-panel {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pp-car-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pp-car-title h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.pp-car-title span {
  font-size: 12.5px;
  color: var(--muted);
}

/* SECTION 4: CLOSING TEST-DRIVE & ZALO QUOTE SECTION (OPUS QC #7: Zero 160px Void!) */
.s4-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.ticket-card {
  position: sticky;
  top: 96px;
  padding: 28px 30px;
  border-radius: 20px;
  background: #0a0a0a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.ticket-spec-pills {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ticket-spec-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(241, 245, 249, 0.88);
}

.ticket-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff4764;
}

.ticket-model-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-model-row h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.ticket-paint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 600;
}

.ticket-rows {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ticket-row span:first-child {
  color: rgba(255, 255, 255, 0.66);
}

.ticket-row.is-big {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 18px;
  font-weight: 800;
}

.ticket-guarantees {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-guarantees li::before {
  content: '✓ ';
  color: #4ade80;
  font-weight: 800;
}

.form-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-mode-btn {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.form-mode-btn.is-active {
  background: #0a0a0a;
  color: #ffffff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* Shared Choice / Policy / Breakdown / Loan Classes */
.d-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.d-seg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.d-seg-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.d-choice {
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.d-choice strong {
  font-size: 13.5px;
  font-weight: 700;
}

.d-choice span {
  font-size: 12px;
  color: var(--muted);
}

.d-choice.is-active {
  border-color: var(--ink);
  background: #0a0a0a;
  color: #ffffff;
}

.d-choice.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.d-policy-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-policy-card {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.d-policy-card.is-active {
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.04);
}

.d-policy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.d-policy-head strong {
  font-size: 14px;
  font-weight: 700;
}

.d-policy-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.d-policy-desc {
  font-size: 12.5px;
  color: var(--muted);
}

.d-breakdown {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
}

.d-row.is-save {
  color: var(--save);
  font-weight: 600;
}

.d-row.is-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 800;
}

.d-loan-box {
  padding: 16px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.d-loan-box[hidden] {
  display: none;
}

.d-slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.d-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
}

.d-slider-row input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
}

.d-loan-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.d-kpi {
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.d-kpi span {
  font-size: 10.5px;
  color: var(--muted);
}

.d-kpi strong {
  font-size: 13px;
  font-weight: 800;
}

.d-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
  padding-top: 6px;
}

.d-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.d-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--ink);
  min-height: 8px;
}

.d-bar-col:first-child .d-bar-fill {
  background: var(--accent);
}

.d-bar-lbl {
  font-size: 9.5px;
  color: var(--muted);
}

.d-input {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  width: 100%;
  background: #ffffff;
}

.d-submit-btn {
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.d-submit-btn:hover {
  background: var(--accent-dark);
}

.d-copy-box {
  padding: 14px;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid var(--line);
  font-size: 12.5px;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.d-demo-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.vf6-footer {
  padding: 28px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   MOBILE 390px ERGONOMICS (Zero Overlap · Zero Scroll Trap!)
   ========================================================= */
@media (max-width: 900px) {
  .vf6-topbar {
    padding: 12px 14px;
    gap: 8px;
  }

  .vf6-nav-links {
    display: none;
  }

  .vf6-brand {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    gap: 6px;
  }

  .vf6-hairline-pill,
  .vf6-cta-pill {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10.5px;
  }

  .vf6-scroll-runway {
    height: 680vh;
  }

  .vf6-hero-editorial {
    left: 16px;
    right: 16px;
    bottom: 58px;
    max-width: none;
  }

  .vf6-hero-h1 {
    font-size: 34px;
  }

  .vf6-hero-telemetry {
    display: none;
  }

  .vf6-horizon {
    height: 40vh;
  }

  .vf6-marquee-wrap {
    margin-top: 6.5vh;
  }

  .vf6-baseline {
    top: 60vh;
  }

  .atelier-identity {
    top: 56px;
    left: 14px;
    right: auto;
    max-width: 44vw;
  }

  .atelier-kicker,
  .atelier-tagline,
  .atelier-spec-strip {
    display: none;
  }

  .atelier-model-name {
    font-size: 34px;
    line-height: 1.05;
  }

  .atelier-top-controls {
    top: 56px;
    left: 14px;
    right: 14px;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
  }

  .atelier-top-controls > * {
    pointer-events: auto;
  }

  .model-tab-btn {
    min-height: 36px;
    padding: 0 14px;
  }

  .model-tab-btn span {
    display: none;
  }

  .env-seg-bar {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .env-pill {
    flex: 1;
    min-height: 32px;
    padding: 0 8px;
    font-size: 10px;
    text-align: center;
  }

  .vf6-hotspot-pin {
    padding: 3px;
  }

  .vf6-hotspot-tip {
    display: none;
  }

  .vf6-hotspot-pin.is-active .vf6-hotspot-tip {
    display: inline;
    padding-right: 8px;
  }

  .vf6-hotspot-card {
    left: 14px;
    right: 14px;
    bottom: 186px;
    width: auto;
    padding: 14px 16px;
  }

  .atelier-bottom-dock {
    left: 12px;
    right: 12px;
    bottom: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .atelier-scroll-cue {
    bottom: 4px;
    font-size: 8.8px;
    letter-spacing: 0.07em;
  }

  .cam-rail {
    order: 2;
  }

  .cam-hint {
    display: none;
  }

  .cam-pills {
    justify-content: center;
  }

  .cam-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .mobile-orbit-btn {
    display: inline-flex;
    align-items: center;
    border-color: var(--accent);
    color: var(--accent);
  }

  body.mobile-orbit-locked .mobile-orbit-btn {
    background: var(--accent);
    color: #ffffff;
  }

  .paint-atelier-bar {
    order: 1;
    border-radius: 16px;
    padding: 9px 12px;
  }

  .paint-orb-btn {
    width: 30px;
    height: 30px;
  }

  .drawer-trigger-cluster {
    order: 3;
    justify-content: space-between;
    padding: 6px 6px 6px 14px;
  }

  .dock-price-stack {
    text-align: left;
  }

  .dock-price-val {
    font-size: 14px;
  }

  .btn-open-drawer {
    min-height: 40px;
    padding: 0 15px;
    font-size: 12px;
  }

  .conv-sticky-bar {
    top: 58px;
  }

  .conv-sticky-inner {
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .conv-section {
    padding: 52px 16px;
  }

  .s3-grid,
  .s4-grid,
  .compare-pair,
  .sav-kpis,
  .form-grid-2,
  .d-loan-kpis {
    grid-template-columns: 1fr;
  }

  .pricing-panel,
  .ticket-card,
  .form-card,
  .savings-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   V11 UPGRADES: OFFICIAL VINFAST VECTOR LOGO + BEAT 8 CLEAN FINALE
   + AUTHENTIC 3D CURVED VINFAST CABIN PANORAMA OVERLAY (ZERO TOYOTA!)
   ========================================================= */
.vf11-brand-crest {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.vf11-brand-wordmark {
  width: 96px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.vf11-finale-crest {
  width: clamp(68px, 8vw, 106px);
  height: clamp(68px, 8vw, 106px);
  display: block;
  margin-bottom: 6px;
}

.vf11-finale-wordmark {
  width: min(68vw, 600px);
  height: auto;
  aspect-ratio: 93.75 / 11.49;
  display: block;
}

.vf11-finale-rule {
  width: 68px;
  height: 2px;
  background: var(--accent);
  margin: 6px 0 4px;
}

.vf11-cabin-overlay {
  position: fixed;
  inset: 0;
  z-index: 26;
  background: #080a0d;
  color: #f4f6f9;
  overflow: hidden;
}

.vf11-cabin-host {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}

.vf11-cabin-host:active {
  cursor: grabbing;
}

.vf11-cabin-top {
  position: absolute;
  top: 78px;
  left: 36px;
  right: 36px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.vf11-cabin-top > * {
  pointer-events: auto;
}

.vf11-cabin-badge {
  background: rgba(8, 10, 13, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 440px;
}

.vf11-cabin-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.vf11-cabin-badge span {
  display: block;
  font-size: 12px;
  color: #a6b0bf;
  margin-top: 2px;
}

.vf11-cabin-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vf11-cab-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 10, 13, 0.8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vf11-cab-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.vf11-cab-btn--exit {
  background: var(--accent);
  border-color: var(--accent);
}

.vf11-cab-btn--exit:hover {
  background: var(--accent-dark);
}

.vf11-cabin-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vf11-cab-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(8, 10, 13, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.vf11-cab-pin.is-active,
.vf11-cab-pin:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.vf11-cab-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vf11-cabin-note {
  position: absolute;
  left: 36px;
  bottom: 122px;
  z-index: 4;
  max-width: 440px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--accent);
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(10px);
}

.vf11-cabin-note strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 3px;
}

.vf11-cabin-note span {
  display: block;
  font-size: 12.5px;
  color: #b4bdca;
}

body.in-cabin-view {
  overflow: hidden;
}

body.in-cabin-view .vf6-topbar {
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.84) 0%, rgba(6, 9, 14, 0) 100%) !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
}

body.in-cabin-view .vf6-topbar .vf6-brand,
body.in-cabin-view .vf6-topbar .vf6-nav-btn,
body.in-cabin-view .vf6-topbar .vf6-nav-anchor {
  color: #f4f6f9;
}

body.in-cabin-view .vf6-atelier-hud {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* =========================================================
   V12 UPGRADES: 3D INTERACTIVE LAB BAR + IN-CABIN TEST-DRIVE SIMULATOR
   ========================================================= */
.vf12-lab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 470px;
}

.lab-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.lab-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.lab-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
}

body.mode-atelier.env-night .lab-pill {
  background: rgba(14, 19, 28, 0.86);
  color: var(--night-ink);
  border-color: var(--night-line);
}

body.mode-atelier.env-night .lab-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.cam-btn--drive {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
}

.cam-btn--drive:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

body.mode-atelier.env-night .cam-btn--drive {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* V12 Dual-Layer Virtual Test-Drive Overlay */
.vf11-cabin-overlay {
  z-index: 62;
}

.vf12-world-host {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: ew-resize;
}

.vf12-world-host canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.vf12-cockpit-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform: scale(1.065);
  transform-origin: 50% 62%;
  will-change: transform;
}

.vf12-cockpit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  user-select: none;
  transition: filter 0.45s ease;
}

.vf12-cockpit-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(125deg, rgba(255, 224, 175, 0) 22%, rgba(255, 236, 198, 0.42) 50%, rgba(255, 224, 175, 0) 76%);
  mix-blend-mode: screen;
}

/* Live Windshield AR HUD Projected Directly on Driver Glass (True Translucent Holographic Glass Projection!) */
.vf12-hud {
  position: absolute;
  left: 38.2%;
  top: 36.2%;
  transform: translate(-50%, -50%);
  min-width: 158px;
  padding: 6px 10px;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, rgba(6, 18, 32, 0.34) 0%, rgba(6, 18, 32, 0.08) 76%, transparent 100%);
  border: 0;
  color: #e8f8ff;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.85), 0 1px 4px rgba(0, 0, 0, 0.65);
  transition: opacity 0.25s ease;
}

.vf12-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.vf12-blk {
  color: rgba(255, 190, 60, 0.22);
  font-size: 12px;
  transition: color 0.08s ease, text-shadow 0.08s ease;
}

.vf12-blk.is-on {
  color: #ffb000;
  text-shadow: 0 0 12px rgba(255, 176, 0, 0.95);
}

.vf12-hud-adas {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.vf12-hud-adas.is-adas {
  background: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}

.vf12-hud-dmode {
  color: rgba(232, 248, 255, 0.85);
}

.vf12-hud-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin: 2px 0 4px;
}

.vf12-hud-gear {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ff4d6d;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(200, 16, 46, 0.28);
}

.vf12-hud-spd {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 0.92;
  color: #ffffff;
}

.vf12-hud-unit {
  font-size: 11px;
  font-weight: 700;
  color: #bae6fd;
  text-transform: uppercase;
}

.vf12-hud-kw-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin-bottom: 5px;
}

.vf12-hud-kw-fill {
  height: 100%;
  width: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  transition: width 0.08s linear;
}

.vf12-hud-kw-fill.is-regen {
  background: linear-gradient(90deg, #10b981, #6ee7b7);
}

.vf12-hud-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(224, 242, 254, 0.82);
  white-space: nowrap;
}

/* Cabin Top Segmented Bars */
.vf12-cab-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vf12-cab-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(10px);
}

.vf12-seg-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 246, 249, 0.72);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.16s ease, color 0.16s ease;
}

.vf-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.vf11-cab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vf12-adas-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
  margin-right: 4px;
}

.vf12-ctrl-btn--adas.is-active .vf12-adas-dot {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.vf11-cab-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}

.vf12-seg-btn:hover {
  color: #ffffff;
}

.vf12-seg-btn.is-active {
  background: #ffffff;
  color: #0a0a0a;
}

/* Compact Bottom Driving Console */
.vf12-drive-dock {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 6;
  width: min(920px, calc(100vw - 28px));
  padding: 11px 16px 9px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.vf12-drive-dock.is-minimized {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
}

.vf12-dock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.vf12-dock-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vf12-ctrl-btn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.1s ease;
}

.vf12-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.vf12-ctrl-btn:active {
  transform: scale(0.96);
}

.vf12-ctrl-btn--adas.is-active {
  background: rgba(16, 185, 129, 0.24);
  border-color: #34d399;
  color: #6ee7b7;
}

.vf12-pedal {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  touch-action: none;
  transition: transform 0.1s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.vf12-pedal--brake {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.vf12-pedal--brake.is-pressed,
.vf12-pedal--brake:active {
  background: #10b981;
  border-color: #10b981;
  transform: scale(0.96);
}

.vf12-pedal--gas {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.42);
}

.vf12-pedal--gas.is-pressed,
.vf12-pedal--gas:active {
  background: #e11d48;
  transform: scale(0.96);
  box-shadow: 0 0 24px rgba(225, 29, 72, 0.72);
}

.vf12-dock-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(203, 213, 225, 0.76);
  text-align: center;
  flex-wrap: wrap;
}

.vf12-dock-hint strong {
  color: #ffffff;
}

@media (max-width: 900px) {
  .vf12-lab-bar {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    gap: 5px;
  }

  .lab-pill {
    flex: 1 1 46%;
    justify-content: center;
    min-height: 30px;
    padding: 0 8px;
    font-size: 10px;
  }

  .vf11-cabin-top {
    top: 58px;
    left: 10px;
    right: 10px;
    flex-direction: column;
    gap: 6px;
  }

  .vf12-cab-cluster,
  .vf11-cabin-ctrls {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }

  .vf12-seg-btn {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10.5px;
  }

  .vf11-cab-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .vf12-cockpit-img {
    object-position: 39% 46%;
  }

  .vf12-hud {
    left: 46% !important;
    top: 36.2% !important;
    min-width: 146px;
    padding: 4px 8px;
  }

  .vf12-hud-spd {
    font-size: 34px;
  }

  .vf12-drive-dock {
    bottom: 10px;
    width: calc(100vw - 16px);
    padding: 9px 10px;
    border-radius: 14px;
  }

  .vf12-dock-row {
    justify-content: center;
    gap: 6px;
  }

  .vf12-ctrl-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .vf12-pedal {
    min-height: 36px;
    padding: 0 14px;
    font-size: 11.5px;
  }

  .vf12-dock-hint {
    display: none;
  }

  .vf11-cabin-note {
    left: 14px;
    right: 14px;
    bottom: 112px;
    max-width: none;
  }
}

/* =========================================================
   V15 ASTRA UPGRADES:
   1. SCULPTURAL IVORY DIAMOND PINS (ZERO FLOATING TEXT CLUTTER!)
   2. 220px ARCHITECTURAL PART CALLOUT HUD (GIANT 01–05 INDEX)
   3. PIXEL-LOCKED ROTATING STEERING WHEEL + DYNAMIC LIGHT WASHES
   4. SINGLE 56px SMOKED-GLASS DRIVING RAIL
   ========================================================= */
@keyframes vf15RingBreathe {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.18); opacity: 0.48; }
}

.vf6-hotspot-pin.vf15-diamond-pin {
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  animation: none !important;
  transition: opacity 0.35s ease, transform 0.25s ease;
}

.vf6-hotspots-layer.has-active .vf15-diamond-pin:not(.is-active) {
  opacity: 0.2 !important;
}

.vf15-pin-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(10, 12, 16, 0.34);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  transition: width 0.28s ease, height 0.28s ease, border-color 0.25s ease, background 0.25s ease;
}

.vf15-pin-diamond {
  width: 8px;
  height: 8px;
  background: #f8f6f0;
  border: 1px solid rgba(10, 12, 16, 0.55);
  transform: rotate(45deg);
  display: block;
  transition: width 0.28s ease, height 0.28s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.vf15-diamond-pin:hover .vf15-pin-ring {
  width: 28px;
  height: 28px;
  border-color: #ffffff;
  background: rgba(200, 16, 46, 0.26);
}

.vf15-diamond-pin.is-active .vf15-pin-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid #ffffff;
  background: rgba(200, 16, 46, 0.24);
  animation: vf15RingBreathe 2.6s ease-in-out infinite;
}

.vf15-diamond-pin.is-active .vf15-pin-diamond {
  width: 11px;
  height: 11px;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 22px rgba(200, 16, 46, 0.85);
}

/* Hover-only whisper tooltip (NEVER visible at rest!) */
.vf15-diamond-pin .vf6-hotspot-tip {
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8f6f0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vf15-diamond-pin:hover .vf6-hotspot-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Compact 220px ASTRA Architectural Part Callout HUD (Zero Text Wall!) */
.vf6-hotspot-card.vf15-arch-hud {
  width: 224px;
  max-width: 224px;
  left: 36px;
  bottom: 120px;
  padding: 15px 16px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 2px solid var(--accent);
  background: rgba(10, 13, 18, 0.84);
  backdrop-filter: blur(16px);
  color: #f8f6f0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  gap: 8px;
}

.vf15-hc-metric {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff5c77;
}

.vf15-arch-hud .hc-close {
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.vf15-hc-index {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 2px;
}

.vf15-arch-hud .hc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(248, 246, 240, 0.94);
  margin: 0;
  letter-spacing: 0.01em;
}

.vf15-arch-hud .hc-action {
  width: 100%;
  min-height: 34px;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.vf15-arch-hud .hc-action:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.vf15-hc-foot {
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vf15-step-btn {
  width: 28px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.vf15-step-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.vf15-step-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.66);
}

/* Pixel-Locked 1376:768 Driving Cockpit Frame & Live Rotating Steering Wheel */
.vf12-cockpit-wrap {
  transform: scale(1.035);
  overflow: hidden;
}

.vf15-cabin-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: width 0.52s cubic-bezier(0.22, 1, 0.36, 1), height 0.52s cubic-bezier(0.22, 1, 0.36, 1), left 0.52s cubic-bezier(0.22, 1, 0.36, 1), top 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

/* V16 Live Perspective-Locked VinFast OS Center Infotainment Screen */
.vf16-infotainment {
  position: absolute;
  left: 44.65%;
  top: 44.10%;
  width: 12.50%;
  height: 12.75%;
  z-index: 2;
  border-radius: 4px;
  display: block;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(56, 189, 248, 0.14);
}

/* V16 Direct Grab-to-Steer Circular Dial Right Over the VinFast V Wheel */
.vf16-wheel-grab {
  position: absolute;
  left: 35.15%;
  top: 55.2%;
  width: 14.2%;
  height: 25.0%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 6;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.vf16-wheel-grab:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.vf16-wheel-grab.is-grabbing {
  cursor: grabbing;
  border-color: rgba(255, 255, 255, 0.28);
}

/* V16 Subtle Live Side-Mirror Reflections */
.vf16-mirror-fx {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 36%;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.12s linear;
}

.vf16-mirror-fx--l {
  left: 12.6%;
  top: 37.8%;
  width: 8.6%;
  height: 9.0%;
  background: radial-gradient(ellipse at 65% 45%, rgba(255, 224, 175, 0.52), rgba(140, 200, 255, 0.18) 55%, transparent 78%);
}

.vf16-mirror-fx--r {
  left: 80.5%;
  top: 37.8%;
  width: 8.6%;
  height: 9.0%;
  background: radial-gradient(ellipse at 35% 45%, rgba(255, 224, 175, 0.52), rgba(140, 200, 255, 0.18) 55%, transparent 78%);
}

/* V16 Live Pedal Pressure Glow (VF 9 Floorboard Brake & Accelerator) */
.vf16-pedal-fx {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 6px;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.12s ease;
}

.vf16-pedal-fx--brake {
  left: 39.2%;
  top: 70.5%;
  width: 3.4%;
  height: 5.4%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.72) 0%, rgba(16, 185, 129, 0.15) 60%, transparent 100%);
}

.vf16-pedal-fx--gas {
  left: 43.3%;
  top: 70.8%;
  width: 2.6%;
  height: 7.4%;
  background: radial-gradient(circle, rgba(255, 65, 95, 0.78) 0%, rgba(200, 16, 46, 0.18) 62%, transparent 100%);
}

.vf16-pedal-fx.is-on {
  opacity: 1;
}

/* V16 FCW Forward Collision Warning Pulse on Windshield HUD */
@keyframes vf16FcwPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(239, 68, 68, 0.75); }
}

.vf12-hud-adas.is-fcw {
  background: rgba(220, 38, 38, 0.92) !important;
  border-color: #fca5a5 !important;
  color: #ffffff !important;
  animation: vf16FcwPulse 0.42s ease-in-out infinite;
}

.vf12-hud-adas.is-acc {
  background: rgba(16, 185, 129, 0.28) !important;
  border-color: #34d399 !important;
  color: #a7f3d0 !important;
}

.vf12-ctrl-btn.is-pressed {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.75);
  transform: scale(0.96);
}

.vf15-layer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.vf15-wheel-img {
  z-index: 3;
  will-change: transform;
  transform-origin: 35.15% 55.2%;
}

.vf15-vf5-cluster {
  position: absolute;
  left: 35.85%;
  top: 45.6%;
  transform: translate(-50%, -50%);
  z-index: 2;
  min-width: 3.1%;
  padding: 1px 4px;
  border-radius: 4px;
  background: #0d1421;
  text-align: center;
  color: #eef6ff;
  font-size: clamp(12px, 1.35vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(125, 211, 252, 0.72);
}

.vf15-light-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.88;
}

body.part-focus-active .atelier-identity {
  opacity: 0;
  pointer-events: none;
}

/* Subtle Laminated Windshield Grazing Reflection (Feathered radial — zero hard box edge!) */
.vf15-glass-fx {
  position: absolute;
  left: 18%;
  top: 18%;
  width: 64%;
  height: 26%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 238, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0) 76%);
}

/* Restrained Photographic Edge Vignette */
.vf15-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 44%, rgba(0, 0, 0, 0) 56%, rgba(4, 6, 10, 0.44) 100%);
}

/* Minimalist ASTRA OEM Windshield HUD */
.vf15-cabin-frame .vf12-hud {
  z-index: 5;
  min-width: 138px;
  padding: 5px 8px;
  background: radial-gradient(ellipse at center, rgba(6, 16, 28, 0.28) 0%, transparent 78%);
}

/* =========================================================
   V17 FLAGSHIP MACHINED-TITANIUM AUTOMOTIVE DRIVING CONSOLE
   ========================================================= */
.vf12-drive-dock.vf17-console {
  bottom: 16px;
  width: min(980px, calc(100vw - 24px));
  padding: 9px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(22, 27, 38, 0.88) 0%, rgba(8, 10, 16, 0.94) 55%, rgba(5, 7, 11, 0.96) 100%);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  gap: 0;
}

.vf17-console::before {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  top: -1px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62) 50%, transparent);
  pointer-events: none;
}

.vf17-console.is-sport {
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(200, 16, 46, 0.16),
    inset 0 1px 0 rgba(255, 130, 150, 0.28);
}

.vf17-console.is-eco {
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(16, 185, 129, 0.14),
    inset 0 1px 0 rgba(110, 231, 183, 0.25);
}

.vf17-console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vf17-mod {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vf17-sep {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  flex: 0 0 1px;
}

/* Module 1: Steering Paddles + Live Blinker Edge Bars + Angle Track */
.vf17-mod--steer {
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}

.vf17-paddles {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vf17-paddle {
  position: relative;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.1s ease;
}

.vf17-paddle .vf-ico {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}

.vf17-paddle:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 255, 255, 0.34);
}

.vf17-paddle.is-pressed,
.vf17-paddle:active {
  transform: scale(0.96);
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(125, 211, 252, 0.72);
}

.vf17-blk-bar {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 3px;
  background: rgba(251, 191, 36, 0.16);
  transition: background 0.08s ease, box-shadow 0.08s ease;
}

.vf17-paddle--l .vf17-blk-bar { left: 4px; }
.vf17-paddle--r .vf17-blk-bar { right: 4px; }
.vf17-paddle--l { padding-left: 14px; }
.vf17-paddle--r { padding-right: 14px; }

.vf17-blk-bar.is-on {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.95);
}

.vf17-steer-gauge {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.vf17-steer-mid {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.vf17-steer-tick {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 18px;
  margin-left: -9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #e0f2fe, #38bdf8);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
  transition: transform 0.06s linear;
}

/* Module 2: Recessed Drive Mode Selector + ADAS Pilot + Cruise Stepper + Telemetry */
.vf17-mod--center {
  flex: 1 1 auto;
  justify-content: center;
  gap: 9px;
}

.vf17-modes {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  gap: 2px;
}

.vf17-mode-btn {
  position: relative;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(203, 213, 225, 0.68);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.vf17-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: inline-block;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.vf17-mode-btn:hover {
  color: #ffffff;
}

.vf17-mode-btn.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vf17-mode-btn[data-drive-mode="eco"].is-active .vf17-pip {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.vf17-mode-btn[data-drive-mode="normal"].is-active .vf17-pip {
  background: #7dd3fc;
  box-shadow: 0 0 8px #7dd3fc;
}

.vf17-mode-btn[data-drive-mode="sport"].is-active {
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.42) 0%, rgba(159, 18, 57, 0.28) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 140, 165, 0.45), 0 0 14px rgba(225, 29, 72, 0.35);
}

.vf17-mode-btn[data-drive-mode="sport"].is-active .vf17-pip {
  background: #ff4764;
  box-shadow: 0 0 9px #ff4764;
}

.vf17-adas-btn {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.8);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.vf17-adas-btn.is-active {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.28) 0%, rgba(6, 95, 70, 0.22) 100%);
  border-color: rgba(52, 211, 153, 0.72);
  color: #a7f3d0;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.24), inset 0 1px 0 rgba(167, 243, 208, 0.32);
}

.vf17-cruise-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vf17-step {
  width: 26px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s ease, transform 0.1s ease;
}

.vf17-step:hover {
  background: rgba(255, 255, 255, 0.2);
}

.vf17-step:active {
  transform: scale(0.92);
}

.vf17-cruise-val {
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  padding: 0 3px;
}

.vf17-cruise-val strong {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.vf17-cruise-val span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.8);
  margin-top: 1px;
}

.vf17-telemetry {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  min-width: 84px;
}

.vf17-kw {
  font-size: 12px;
  font-weight: 800;
  color: #7dd3fc;
}

.vf17-kw.is-regen {
  color: #34d399;
}

.vf17-kw.is-boost {
  color: #fb7185;
}

.vf17-trip {
  font-size: 10px;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.68);
}

/* Module 3: Brushed-Metal Brake & Sport Launch Pedals */
.vf17-mod--pedals {
  gap: 8px;
}

.vf17-pedal {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.vf17-pedal-led {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 0;
  height: 2px;
  border-radius: 0 0 4px 4px;
}

.vf17-pedal--brake {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.72) 0%, rgba(15, 23, 42, 0.92) 100%);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.vf17-pedal--brake .vf17-pedal-led {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
}

.vf17-pedal--brake.is-pressed,
.vf17-pedal--brake:active {
  transform: scale(0.95);
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  border-color: #6ee7b7;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.55);
}

.vf17-pedal--gas {
  border: 1px solid rgba(255, 110, 134, 0.55);
  background: linear-gradient(180deg, #e11d48 0%, #9f1239 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 180, 195, 0.45), 0 8px 22px rgba(200, 16, 46, 0.48);
}

.vf17-pedal--gas .vf17-pedal-led {
  background: #ffd1da;
  box-shadow: 0 0 10px rgba(255, 209, 218, 0.9);
}

.vf17-pedal--gas.is-pressed,
.vf17-pedal--gas:active {
  transform: scale(0.95);
  background: linear-gradient(180deg, #f43f5e 0%, #be123c 100%);
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.82);
}

@media (max-width: 960px) {
  .vf12-drive-dock.vf17-console {
    bottom: 10px;
    width: calc(100vw - 16px);
    padding: 8px 10px;
    border-radius: 16px;
  }

  .vf17-console-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }

  .vf17-sep,
  .vf17-telemetry {
    display: none;
  }

  .vf17-paddle,
  .vf17-adas-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .vf17-pedal {
    min-height: 38px;
    padding: 0 14px;
  }
}

@media (max-width: 900px) {
  .vf6-hotspot-card.vf15-arch-hud {
    left: 14px;
    right: auto;
    bottom: 184px;
    width: 204px;
    padding: 12px 14px;
  }

  .vf15-hc-index {
    font-size: 44px;
  }
}

/* =========================================================
   V18 OPUS HIGH QC: FLAGSHIP SHOWROOM REFINEMENTS (#2–#10)
   1. Single Context-Aware Morphing Topbar (zero double sticky bar)
   2. Single Floating Cabin Top Capsule (hides global topbar in Cabin!)
   3. Single 40px Atelier Glass Control Rail + Popover (replaces 9 pills!)
   4. Auto-Dismissing Diamond Whisper Hint + Unified 3-Zone Bottom Dock
   5. Spacious Mobile Atelier (Car Owns >=56% of Viewport, Zero Clipping!)
   ========================================================= */

/* #2: Hide global topbar cleanly while inside Cabin Simulator (single top capsule owns sunroof!) */
.vf6-topbar {
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

body.in-cabin-view .vf6-topbar {
  transform: translateY(-115%);
  opacity: 0;
  pointer-events: none;
}

.vf11-cabin-top.vf18-cabin-capsule {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  min-height: 44px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.26);
  background: rgba(10, 13, 20, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.vf18-cabin-capsule .vf12-cab-seg {
  background: transparent;
  border: 0;
  padding: 0;
  backdrop-filter: none;
}

.vf18-cabin-capsule .vf12-seg-btn {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
}

.vf18-cabin-capsule .vf11-cab-btn {
  min-height: 34px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
}

.vf18-cabin-capsule .vf11-cab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.vf18-cabin-capsule .vf18-cab-exit {
  background: rgba(200, 16, 46, 0.9);
  border-color: rgba(255, 130, 150, 0.35);
  color: #ffffff;
  font-weight: 800;
}

.vf18-cabin-capsule .vf18-cab-exit:hover {
  background: #e11d48;
}

.vf18-cab-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 1px;
}

/* #3: Context-Aware Nav Active Underline + Hide Autoplay Outside Hero Runway */
.vf6-nav-btn,
.vf6-nav-anchor {
  position: relative;
  padding-bottom: 4px;
}

.vf6-nav-btn::after,
.vf6-nav-anchor::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.vf6-nav-btn.is-active,
.vf6-nav-anchor.is-active {
  color: var(--ink) !important;
}

.vf6-nav-btn.is-active::after,
.vf6-nav-anchor.is-active::after {
  transform: scaleX(1);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-btn.is-active,
body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf6-nav-anchor.is-active {
  color: #ffffff !important;
}

body.mode-atelier #btn-v6-auto,
body.scrolled-past-atelier #btn-v6-auto {
  opacity: 0;
  pointer-events: none;
  width: 0;
  min-width: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
  margin: 0;
}

/* #10: Morph Single Topbar in Sections 3 & 4 (replaces duplicate .conv-sticky-bar!) */
.vf18-top-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.045);
  border: 1px solid rgba(10, 10, 10, 0.09);
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  position: absolute;
  left: 50%;
  margin-left: -210px;
  width: 420px;
  justify-content: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
  white-space: nowrap;
}

.vf18-top-summary .conv-paint-dot {
  width: 14px;
  height: 14px;
}

.vf18-top-sep {
  opacity: 0.35;
}

.vf18-top-price {
  color: var(--accent);
  font-weight: 800;
}

body.scrolled-past-atelier .vf6-nav-links {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body.scrolled-past-atelier .vf18-top-summary {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide redundant standalone sticky bar on desktop (topbar now morphs smoothly!) */
@media (min-width: 961px) {
  .conv-sticky-bar {
    display: none;
  }
}

/* #4: Model Switcher Nestled Top-Left + Single 40px Glass Control Rail Top-Right! */
.atelier-identity {
  top: 76px;
  gap: 3px;
}

.atelier-identity .vf18-model-switch {
  margin-bottom: 6px;
  padding: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
}

.atelier-identity .atelier-model-name {
  font-size: clamp(46px, 5.2vw, 66px);
  line-height: 1.04;
}

.atelier-identity .atelier-tagline {
  margin: 2px 0 8px;
  font-size: 13px;
  line-height: 1.42;
}

.atelier-identity .atelier-spec-strip {
  padding-top: 10px;
  gap: 10px 20px;
}

.atelier-identity .vf18-model-switch .model-tab-btn {
  min-height: 34px;
  padding: 5px 14px;
}

.atelier-identity .vf18-model-switch .model-tab-btn strong {
  font-size: 13px;
}

.atelier-identity .vf18-model-switch .model-tab-btn span {
  font-size: 10px;
}

.vf18-rail-wrap {
  top: 86px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition: opacity 0.35s ease;
}

body.part-focus-active .vf18-rail-wrap {
  opacity: 0.24;
}

body.part-focus-active .vf18-rail-wrap:hover {
  opacity: 1;
}

.vf18-atelier-rail {
  height: 42px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.11);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 28px -12px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  pointer-events: auto;
}

body.mode-atelier.env-night .vf18-atelier-rail {
  background: rgba(16, 20, 30, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.vf18-env-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.vf18-rail-btn {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.vf18-rail-btn .vf-ico {
  width: 14px;
  height: 14px;
}

.vf18-rail-btn:hover {
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink);
}

.vf18-rail-btn.is-active,
.vf18-rail-btn[aria-expanded='true'] {
  background: var(--ink);
  color: #ffffff;
}

body.mode-atelier.env-night .vf18-rail-btn {
  color: rgba(244, 246, 249, 0.74);
}

body.mode-atelier.env-night .vf18-rail-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.mode-atelier.env-night .vf18-rail-btn.is-active,
body.mode-atelier.env-night .vf18-rail-btn[aria-expanded='true'] {
  background: #ffffff;
  color: #0a0a0a;
}

.vf18-rail-sep {
  width: 1px;
  height: 16px;
  background: rgba(10, 10, 10, 0.14);
  margin: 0 3px;
}

body.mode-atelier.env-night .vf18-rail-sep {
  background: rgba(255, 255, 255, 0.18);
}

.vf18-diamond-ico {
  font-size: 9px;
  line-height: 1;
}

.vf18-lab-count {
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vf18-caret {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.vf18-lab-trigger[aria-expanded='true'] .vf18-caret {
  transform: rotate(180deg);
}

/* Transient Suspension Mode Pill (only shows when non-standard ride height is active!) */
.vf18-susp-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}

/* Sleek 268px Popover Menu for 4 Real-Time 3D Lab Interactions */
.vf18-lab-popover {
  width: 268px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
}

body.mode-atelier.env-night .vf18-lab-popover {
  background: rgba(13, 17, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.65);
}

.vf18-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

body.mode-atelier.env-night .vf18-pop-head {
  color: rgba(148, 163, 184, 0.85);
}

.vf18-pop-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.14);
  background: transparent;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.vf18-pop-item {
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(10, 10, 10, 0.03);
  color: var(--ink);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.vf18-pop-item:hover {
  background: rgba(10, 10, 10, 0.07);
}

.vf18-pop-item.is-active {
  background: rgba(200, 16, 46, 0.09);
  border-color: rgba(200, 16, 46, 0.42);
}

body.mode-atelier.env-night .vf18-pop-item {
  background: rgba(255, 255, 255, 0.05);
  color: #f4f6f9;
}

body.mode-atelier.env-night .vf18-pop-item:hover {
  background: rgba(255, 255, 255, 0.11);
}

body.mode-atelier.env-night .vf18-pop-item.is-active {
  background: rgba(200, 16, 46, 0.24);
  border-color: rgba(255, 92, 119, 0.62);
}

.vf18-pop-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(10, 10, 10, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.mode-atelier.env-night .vf18-pop-ico {
  background: rgba(255, 255, 255, 0.1);
}

.vf18-pop-item.is-active .vf18-pop-ico {
  background: var(--accent);
  color: #ffffff;
}

.vf18-pop-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1 1 auto;
  min-width: 0;
}

.vf18-pop-copy strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.vf18-pop-copy small {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.25;
}

body.mode-atelier.env-night .vf18-pop-copy small {
  color: rgba(203, 213, 225, 0.68);
}

.vf18-pop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.16);
  flex-shrink: 0;
}

body.mode-atelier.env-night .vf18-pop-dot {
  background: rgba(255, 255, 255, 0.2);
}

.vf18-pop-item.is-active .vf18-pop-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(200, 16, 46, 0.8);
}

/* #5: Centered Auto-Dismiss Whisper Hint + Unified Clean 3-Zone Bottom Dock */
.vf18-stage-hint {
  position: absolute;
  left: 50%;
  bottom: 112px;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.46);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

body.mode-atelier.env-night .vf18-stage-hint {
  color: rgba(244, 246, 249, 0.5);
}

.vf18-stage-hint.is-dismissed,
body.part-focus-active .vf18-stage-hint {
  opacity: 0;
}

.atelier-bottom-dock.vf18-dock {
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.vf18-dock .cam-rail {
  justify-self: start;
}

.vf18-dock .paint-atelier-bar {
  justify-self: center;
}

.vf18-dock .drawer-trigger-cluster {
  justify-self: end;
}

/* #9: Spacious Mobile Atelier (390x844 — Car Owns >=56% Height, Zero 5-Row Pileup!) */
@media (max-width: 900px) {
  .vf6-topbar {
    padding: 10px 14px;
  }

  .vf18-top-summary {
    display: none;
  }

  .atelier-identity {
    top: 58px;
    left: 14px;
    right: auto;
    max-width: 48vw;
  }

  .atelier-identity .vf18-model-switch {
    margin-bottom: 0;
  }

  .atelier-identity .vf18-model-switch .model-tab-btn {
    min-height: 32px;
    padding: 4px 11px;
  }

  .atelier-identity .vf18-model-switch .model-tab-btn span,
  .atelier-identity .atelier-kicker,
  .atelier-identity .atelier-model-name,
  .atelier-identity .atelier-tagline,
  .atelier-identity .atelier-spec-strip {
    display: none;
  }

  .vf18-rail-wrap {
    top: 58px;
    right: 14px;
  }

  .vf18-atelier-rail {
    height: 38px;
    padding: 2px;
  }

  .vf18-rail-btn {
    height: 32px;
    padding: 0 8px;
    font-size: 10px;
    gap: 4px;
  }

  .vf18-lbl-desk {
    display: none;
  }

  .vf18-lab-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    width: auto;
    z-index: 95;
    border-radius: 20px;
    padding: 14px;
  }

  .vf18-stage-hint {
    display: none;
  }

  .atelier-bottom-dock.vf18-dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .vf18-dock .paint-atelier-bar {
    order: 1;
    width: 100%;
    padding: 7px 12px;
    justify-content: space-between;
  }

  .vf18-dock .paint-meta span {
    display: none;
  }

  .vf18-dock .cam-rail {
    order: 2;
    width: 100%;
  }

  .vf18-dock .cam-pills {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .vf18-dock .cam-btn {
    flex-shrink: 0;
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }

  /* Money feature "▶ Chạy thử trong xe" leads clearly at far left on mobile! */
  .vf18-dock .cam-btn--drive {
    order: -2;
  }

  .vf18-dock .mobile-orbit-btn {
    order: -1;
  }

  .vf18-dock .cam-pills::-webkit-scrollbar {
    display: none;
  }

  .vf18-dock .drawer-trigger-cluster {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding: 6px 6px 6px 14px;
  }

  /* Single compact cabin capsule on mobile */
  .vf11-cabin-top.vf18-cabin-capsule {
    top: 10px;
    max-width: calc(100vw - 16px);
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .vf18-cabin-capsule::-webkit-scrollbar {
    display: none;
  }

  .ticket-card {
    position: static;
  }
}

/* =========================================================
   V19B BILINGUAL LANGUAGE TOGGLE PILL (VI | EN)
   ========================================================= */
.vf-lang-seg {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  gap: 2px;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vf-lang-btn {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.56);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.vf-lang-btn:hover {
  color: var(--ink);
}

.vf-lang-btn.is-active {
  background: var(--ink);
  color: #ffffff;
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf-lang-seg {
  background: rgba(15, 20, 30, 0.84);
  border-color: var(--night-line);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf-lang-btn {
  color: rgba(244, 246, 249, 0.62);
}

body.mode-atelier.env-night:not(.scrolled-past-atelier) .vf-lang-btn.is-active {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 760px) {
  .vf-lang-seg {
    min-height: 32px;
    padding: 2px;
  }
  .vf-lang-btn {
    min-height: 26px;
    padding: 0 7px;
    font-size: 10px;
  }
}
