/* ==========================================================================
   CHEVROLET TRACKER 2 — WHITE PORSCHE-LEVEL AUTOMOTIVE EXPERIENCE
   ART DIRECTION: White Minimal / Cinematic Editorial / Luxury Automotive
   Color Palette: 80% White (#FFFFFF/#F7F7F5), 15% Black (#000000), 5% Red Accent (#E31837)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  /* Strict White Luxury Color System */
  --color-white: #FFFFFF;
  --color-offwhite: #F7F7F5;
  --color-lightgrey: #EAEAE8;
  --color-midgrey: #888888;
  --color-darkgrey: #222222;
  --color-black: #000000;
  --color-chevrolet-red: #E31837; /* Accent ONLY */
  
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-offwhite);
  --bg-dark-accent: var(--color-black);

  --text-primary: var(--color-black);
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-inverse: var(--color-white);

  --border-hairline: rgba(0, 0, 0, 0.1);
  --border-light: rgba(0, 0, 0, 0.2);
  --border-dark: rgba(255, 255, 255, 0.15);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 84px;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Baseline */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-white);
  color: var(--text-primary);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--color-white);
}

::selection {
  background: var(--color-black);
  color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-white);
}
::-webkit-scrollbar-thumb {
  background: #cccccc;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-black);
}

/* Custom Minimalist Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.3s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography Hierarchy */
.editorial-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

.editorial-title-hero {
  font-size: clamp(3rem, 11vw, 12rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--color-black);
  word-break: break-word;
  overflow-wrap: break-word;
}

.editorial-title-lg {
  font-size: clamp(2.2rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-black);
  word-break: break-word;
  overflow-wrap: break-word;
}

.editorial-title-md {
  font-size: clamp(1.6rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-black);
  word-break: break-word;
  overflow-wrap: break-word;
}

.editorial-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
}

/* Editorial Buttons */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-black);
  background: transparent;
  border: 1px solid var(--color-black);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  font-family: var(--font-main);
}

.btn-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.btn-editorial span {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.btn-editorial:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-editorial:hover span {
  color: var(--color-white);
}

.btn-editorial.btn-accent {
  border-color: var(--color-chevrolet-red);
}
.btn-editorial.btn-accent::before {
  background: var(--color-chevrolet-red);
}
.btn-editorial.btn-accent:hover span {
  color: var(--color-white);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-editorial:hover .btn-arrow {
  transform: translateX(6px);
}

/* ==========================================================================
   04. STICKY WHITE HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  transition: height 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  height: 68px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-black);
  flex-shrink: 0;
}

.brand-chevrolet {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.brand-tracker {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-black);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-black);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   05. SCENE 01: HERO (WHITE HUGE AUTOMOTIVE HERO)
   ========================================================================== */
.hero-scene-white {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.hero-text-block {
  padding-top: 40px;
  z-index: 5;
}

.hero-car-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-car-image {
  width: 82%;
  max-width: 1250px;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.08));
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 40px;
  text-decoration: none;
  z-index: 5;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line-container {
  width: 1px;
  height: 48px;
  background: var(--color-lightgrey);
  position: relative;
  overflow: hidden;
}

.scroll-line-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-black);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==========================================================================
   07. SCENE 02: FIRST CINEMATIC SCENE
   ========================================================================== */
.cinematic-scene-white {
  padding: 160px 0;
  background: var(--color-white);
  position: relative;
}

.cinematic-media-container {
  position: relative;
  width: 100%;
  height: 650px;
  background: var(--color-white);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinematic-img {
  width: 75%;
  height: 90%;
  object-fit: contain;
  object-position: right center;
  margin-left: auto;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-media-container:hover .cinematic-img {
  transform: scale(1.03);
}

.cinematic-text-overlay {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 40px 48px;
  border: 1px solid var(--border-hairline);
  max-width: 500px;
}

/* ==========================================================================
   08. SCENE 03: EDITORIAL INTRODUCTION
   ========================================================================== */
.intro-scene-white {
  padding: 180px 0;
  background: var(--color-offwhite);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.intro-editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* ==========================================================================
   09-12. EXTERIOR SCENES (PINNED & SCROLL ANIMATED)
   ========================================================================== */
.exterior-pinned-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  overflow: hidden;
}

.exterior-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exterior-stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.exterior-stage-img.active {
  opacity: 1;
  transform: scale(1);
}

.exterior-caption-box {
  position: absolute;
  top: 140px;
  left: 80px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 32px 40px;
  border: 1px solid var(--border-hairline);
  max-width: 460px;
}

/* Numbered Hotspots */
.hotspot-number-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 20;
}

.hotspot-number-pin:hover, .hotspot-number-pin.active {
  background: var(--color-chevrolet-red);
  transform: translate(-50%, -50%) scale(1.2);
}

/* ==========================================================================
   13. HORIZONTAL SCROLLING DESIGN DETAILS
   ========================================================================== */
.horizontal-scroll-scene {
  padding: 160px 0;
  background: var(--color-white);
  overflow: hidden;
}

.horizontal-track-container {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px;
  -webkit-overflow-scrolling: touch;
}

.detail-card-item {
  position: relative;
  flex: 0 0 540px;
  scroll-snap-align: start;
  background: var(--color-white);
  border: none;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.detail-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.detail-card-img-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.detail-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-card-item:hover .detail-card-img {
  transform: scale(1.05);
}

.detail-card-content {
  padding: 40px;
  position: relative;
  flex-grow: 1;
  background: var(--color-white);
}

.detail-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 40px;
  height: 3px;
  background: var(--color-chevrolet-red);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-card-item:hover .detail-card-content::before {
  width: calc(100% - 80px);
}

.detail-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--color-black);
}

.detail-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   14-15. INTERIOR & DETAILS
   ========================================================================== */
.interior-scene-white {
  padding: 180px 0;
  background: var(--color-offwhite);
}

.interior-hero-frame {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  margin-bottom: 60px;
}

.interior-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interior-grid-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.interior-grid-card {
  position: relative;
  background: var(--color-white);
  border: none;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.interior-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.interior-grid-img-container {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.interior-grid-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.interior-grid-card:hover .interior-grid-img {
  transform: scale(1.05);
}

.interior-grid-content {
  padding: 30px 40px 40px 40px;
  position: relative;
  flex-grow: 1;
  background: var(--color-white);
}

.interior-grid-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 40px;
  height: 3px;
  background: var(--color-chevrolet-red);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.interior-grid-card:hover .interior-grid-content::before {
  width: calc(100% - 80px);
}

.interior-grid-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--color-black);
}

.interior-grid-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   16. TECHNOLOGY GRID
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  position: relative;
  background: var(--color-offwhite);
  padding: 48px 40px;
  border: 1px solid var(--border-hairline);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  cursor: pointer;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-chevrolet-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
  transform: translateY(-8px);
  background: var(--color-white);
  box-shadow: 0 24px 48px rgba(0,0,0,0.06);
  border-color: transparent;
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.02);
  position: absolute;
  top: 10px;
  right: 16px;
  transition: color 0.5s ease;
  line-height: 1;
  z-index: 1;
}

.tech-card:hover .tech-card-number {
  color: rgba(226, 35, 26, 0.05); /* very faint red on hover */
}

.tech-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  opacity: 0.7;
  color: var(--color-black);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
  z-index: 2;
  position: relative;
}

.tech-card:hover .tech-card-icon {
  opacity: 1;
  transform: scale(1.1);
  color: var(--color-chevrolet-red);
}

.tech-card-content {
  position: relative;
  z-index: 2;
}

.tech-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.tech-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   17. HUGE TYPOGRAPHY CHARACTERISTICS
   ========================================================================== */
.characteristics-scene-white {
  padding: 180px 0;
  background: var(--color-white);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.stats-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-editorial-box {
  border-top: 2px solid var(--color-black);
  padding-top: 32px;
}

.stat-num-large {
  font-size: clamp(2.5rem, 6.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-black);
  margin-bottom: 12px;
}

.stat-label-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   20-26. PORSCHE-STYLE VISUAL CONFIGURATOR (PORSCHE 911 LANDING LOOK)
   ========================================================================== */
.configurator-scene-white {
  padding: 160px 0;
  background: var(--color-white);
}

.trim-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 24px;
  flex-wrap: wrap;
}

.trim-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  padding: 10px 0;
}

.trim-tab-btn:hover {
  color: var(--text-secondary);
}

.trim-tab-btn.active {
  color: var(--color-black);
}

.trim-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-black);
}

/* Color Swatches Selection */
.color-swatches-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.color-swatches-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.color-swatches-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.color-swatch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  outline: none;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
}

.color-swatch-btn.active {
  transform: scale(1.2);
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.color-selected-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.1em;
}

/* Porsche Stage Viewport (Pure White Studio) */
.configurator-stage-viewport {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 520px;
  margin: 0 auto 60px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}

.porsche-stage-bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.configurator-stage-img {
  width: 85%;
  max-width: 1150px;
  max-height: 440px;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Car Floor Drop Shadow (matching Porsche screenshot) */
.car-ground-shadow {
  position: absolute;
  bottom: 25px;
  width: 75%;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}

/* Car Body Color Tint Filters */
.color-tint-white {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.06));
}

.color-tint-black {
  filter: brightness(0.3) contrast(1.3) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.color-tint-grey {
  filter: brightness(0.65) contrast(1.1) grayscale(1) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.color-tint-burgundy {
  filter: sepia(1) hue-rotate(300deg) saturate(3.5) brightness(0.55) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.color-tint-navy {
  filter: sepia(1) hue-rotate(180deg) saturate(3.5) brightness(0.45) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

.configurator-scene-white {
  padding: 100px 0;
  background: var(--color-offwhite);
}

.porsche-config-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  max-width: 1000px;
  margin: 180px auto 0 auto;
  padding: 0 60px 60px 60px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.porsche-car-stage {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -180px;
  margin-bottom: 20px;
}

.porsche-car-img {
  width: 900px;
  max-width: 110%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.4s ease, filter 0.4s ease;
  mix-blend-mode: darken;
}

.porsche-card-content {
  text-align: left;
}

.porsche-card-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.porsche-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.porsche-badge {
  background: var(--color-offwhite);
  color: var(--color-black);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.porsche-badge.dark {
  background: var(--color-black);
  color: var(--color-white);
}

.porsche-specs-grid {
  display: flex;
  gap: 80px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-hairline);
}

.porsche-spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.porsche-spec-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-black);
}

.porsche-spec-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.porsche-configure-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.porsche-config-section {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   27. EDITORIAL COMPARISON TABLE
   ========================================================================== */
.table-scene-white {
  padding: 160px 0;
  background: var(--color-white);
}

/* ==========================================================================
   27. BENTO GRID (PREMIUM EQUIPMENT)
   ========================================================================== */
.bento-grid-scene {
  padding: 120px 0;
  background: var(--color-offwhite);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid var(--border-hairline);
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.bento-img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover .bento-img {
  transform: scale(1.08);
}

.bento-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Specific Box Sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-large .bento-img {
  height: 70%;
}
.bento-large .bento-title {
  font-size: 1.8rem;
}

.bento-tall {
  grid-row: span 2;
}
.bento-tall .bento-img {
  height: 65%;
}

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
}
.bento-wide .bento-img {
  width: 50%;
  height: 100%;
}
.bento-wide .bento-content {
  width: 50%;
}

/* ==========================================================================
   34. FINAL CTA & FOOTER
   ========================================================================== */
.final-cta-white {
  padding: 220px 0 140px 0;
  background: var(--color-white);
  text-align: center;
  border-top: 1px solid var(--border-hairline);
}

.footer-white {
  padding: 60px 0;
  background: var(--color-white);
  border-top: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Modal Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--color-white);
  border: 1px solid var(--border-hairline);
  padding: 40px;
  max-width: 650px;
  width: 90%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-black);
  cursor: pointer;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  .header-nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }
  .btn-editorial {
    padding: 14px 28px;
    font-size: 0.8rem;
  }
  .intro-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cinematic-media-container {
    height: 500px;
  }
  .cinematic-text-overlay {
    left: 30px;
    bottom: 30px;
    padding: 24px 30px;
    max-width: 400px;
  }
  .exterior-caption-box {
    top: 100px;
    left: 24px;
    padding: 24px 28px;
    max-width: 380px;
  }
  .detail-card-item {
    flex: 0 0 400px;
  }
  .interior-hero-frame {
    height: 500px;
  }
  .interior-grid-scenes {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .porsche-config-card {
    padding: 40px;
    margin-top: 120px;
  }
  .porsche-car-stage {
    margin-top: -120px;
  }
  .porsche-car-img {
    width: 100%;
    max-width: 100%;
  }
  .porsche-specs-grid {
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
  }
  .bento-wide {
    grid-column: span 2;
  }
  .config-details-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .hero-car-image {
    width: 95%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  .container {
    padding: 0 20px;
  }
  .header-nav {
    display: none;
  }
  .header .btn-editorial {
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .hero-scene-white {
    min-height: 90vh;
  }
  .hero-car-image {
    width: 100%;
  }
  .hero-text-block {
    padding-top: 24px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
  .cinematic-scene-white {
    padding: 80px 0;
  }
  .cinematic-media-container {
    height: 360px;
  }
  .cinematic-text-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    background: var(--color-white);
    backdrop-filter: none;
    padding: 24px 0;
    border: none;
    max-width: 100%;
  }
  .intro-scene-white {
    padding: 80px 0;
  }
  .intro-editorial-grid {
    gap: 24px;
  }
  .exterior-caption-box {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 100%;
    padding: 20px;
  }
  .horizontal-scroll-scene {
    padding: 80px 0;
  }
  .detail-card-item {
    flex: 0 0 300px;
  }
  .detail-card-img {
    height: 220px;
  }
  .interior-scene-white {
    padding: 80px 0;
  }
  .interior-hero-frame {
    height: 300px;
    margin-bottom: 32px;
  }
  .interior-grid-img {
    height: 200px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-card {
    padding: 24px;
  }
  .characteristics-scene-white {
    padding: 80px 0;
  }
  .stats-editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .trim-tabs-bar {
    gap: 16px;
    margin-bottom: 32px;
  }
  .trim-tab-btn {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  .porsche-config-card {
    padding: 24px;
    margin-top: 60px;
  }
  .porsche-car-stage {
    margin-top: -80px;
    margin-bottom: 20px;
  }
  .porsche-card-title {
    font-size: 2.2rem;
  }
  .porsche-specs-grid {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  .porsche-configure-area {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  .bento-grid-scene {
    padding: 80px 0;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large, .bento-tall, .bento-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .bento-item {
    min-height: 320px;
  }
  .bento-wide {
    flex-direction: column;
  }
  .bento-wide .bento-img, .bento-wide .bento-content {
    width: 100%;
  }
  .bento-img {
    height: 200px;
  }
  .bento-large .bento-img {
    height: 220px;
  }
  .bento-large .bento-title {
    font-size: 1.4rem;
  }
  .final-cta-white {
    padding: 120px 0 80px 0;
  }
}

@media (max-width: 430px) {
  .stats-editorial-grid {
    grid-template-columns: 1fr;
  }
  .trim-tabs-bar {
    gap: 12px;
  }
  .trim-tab-btn {
    font-size: 0.75rem;
  }
  .color-swatches-list {
    gap: 12px;
  }
  .color-swatch-btn {
    width: 30px;
    height: 30px;
  }
}
