/* ==========================================================================
   PRO-TEC AIR VAULT - THE ULTIMATE VEHICLE SANCTUARY
   World-Class Luxury Automotive Aesthetics & Responsive Mobile Experience
   ========================================================================== */

:root {
  --bg-pitch: #000000;
  --bg-deep: #050505;
  --bg-surface: #0a0a0a;

  --gold-primary: #e5b463;
  --gold-glow: rgba(229, 180, 99, 0.45);
  --gold-ambient: #f7ca80;
  --gold-muted: #9e8555;
  --gold-dark: #6e5831;

  --text-white: #ffffff;
  --text-silver: #d1d5db;
  --text-muted: #737373;
  --text-subtle: #525252;

  --accent-red: #e01a22;
  --accent-green: #008c45;
  --accent-white: #ffffff;

  --font-logo: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-automotive: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: var(--bg-pitch);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  user-select: none;
}

/* ==========================================================================
   Stage & Background Architecture
   ========================================================================== */

.stage-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-pitch);
  overflow: hidden;
}

.background-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('car-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.01);
  transition: transform 1.2s var(--transition-smooth);
}

/* Volumetric Atmospheric Lighting */
.ambient-glow {
  position: absolute;
  width: 25vw;
  height: 100vh;
  top: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

.glow-left {
  left: 0;
  background: radial-gradient(ellipse at 3% 50%, rgba(229, 180, 99, 0.22) 0%, rgba(229, 180, 99, 0.05) 45%, transparent 75%);
  animation: glowPulseLeft 8s ease-in-out infinite alternate;
}

.glow-right {
  right: 0;
  background: radial-gradient(ellipse at 97% 50%, rgba(229, 180, 99, 0.22) 0%, rgba(229, 180, 99, 0.05) 45%, transparent 75%);
  animation: glowPulseRight 8s ease-in-out infinite alternate 4s;
}

/* Vertical light tubes */
.vertical-light {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 245, 220, 0.05) 0%,
    rgba(255, 230, 180, 0.6) 20%,
    rgba(255, 245, 225, 0.95) 50%,
    rgba(255, 220, 160, 0.6) 80%,
    rgba(255, 200, 120, 0.2) 100%
  );
  box-shadow: 0 0 22px 5px rgba(229, 180, 99, 0.45);
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.light-left {
  left: 3.5%;
}

.light-right {
  right: 3.5%;
}

.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 45%, rgba(0, 0, 0, 0.5) 85%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 3;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* ==========================================================================
   Header & Action Controls
   ========================================================================== */

.top-bar {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: 0.8rem 2.5rem 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.brand-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-silver);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(229, 180, 99, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: scale(1.05);
}

.btn-vip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  background: rgba(18, 16, 12, 0.7);
  border: 1px solid rgba(229, 180, 99, 0.3);
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--transition-smooth);
}

.btn-vip:hover {
  background: rgba(229, 180, 99, 0.15);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(229, 180, 99, 0.25);
  transform: translateY(-1px);
}

.vip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

/* ==========================================================================
   Main Presentation Content
   ========================================================================== */

.main-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
  padding: 0 1.2rem;
  margin-top: clamp(0.3rem, 1vh, 0.9rem);
  margin-bottom: auto;
}

/* Logo: Official PRO-tec AIR VAULT */
.logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(0.6rem, 1.4vh, 1.1rem);
}

/* Studio Ambient Light Panel: Illuminates the background behind the logo so the pure black stripe and brand silhouette are highlighted with dramatic contrast */
.logo-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 26vw, 420px);
  height: clamp(80px, 12vh, 130px);
  background: 
    radial-gradient(ellipse 60% 50% at 65% 58%, rgba(229, 180, 99, 0.45) 0%, rgba(255, 245, 225, 0.25) 30%, rgba(229, 180, 99, 0.08) 55%, transparent 75%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 255, 255, 0.14) 0%, rgba(229, 180, 99, 0.05) 50%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

.brand-logo {
  position: relative;
  z-index: 2;
  width: clamp(250px, 22vw, 360px);
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px rgba(229, 180, 99, 0.18));
  transition: transform 0.35s var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* Headline: COMING SOON - Styled to Match Official Brand Logo Typography */
.headline {
  font-family: var(--font-automotive);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  letter-spacing: clamp(0.14em, 0.26em, 0.36em);
  color: var(--text-white);
  text-transform: uppercase;
  margin-left: clamp(0.14em, 0.26em, 0.36em);
  margin-bottom: clamp(0.3rem, 0.7vh, 0.55rem);
  white-space: nowrap;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.35),
    0 0 45px rgba(229, 180, 99, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.9);
  animation: subtleBreathing 6s ease-in-out infinite alternate;
}

/* Subtitle: THE ULTIMATE VEHICLE SANCTUARY */
.subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.56rem, 0.82vw, 0.76rem);
  font-weight: 600;
  letter-spacing: clamp(0.28em, 0.44em, 0.58em);
  color: #a4abb8;
  text-transform: uppercase;
  margin-left: clamp(0.28em, 0.44em, 0.58em);
  margin-bottom: clamp(0.9rem, 1.8vh, 1.5rem);
  white-space: nowrap;
}

/* ==========================================================================
   Countdown Clock (Cockpit Telemetry HUD Card)
   ========================================================================== */

.countdown-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.countdown-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.6vw, 2rem);
  padding: clamp(0.6rem, 1.2vh, 0.9rem) clamp(1.2rem, 2.5vw, 2.4rem);
  max-width: 100%;
  background: rgba(10, 9, 8, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 180, 99, 0.25);
  border-radius: 14px;
  box-shadow: 
    0 16px 45px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(229, 180, 99, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(44px, 5.5vw, 70px);
}

.digits-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(2rem, 3.4vw, 2.8rem);
}

.digits {
  font-family: var(--font-automotive);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

/* 06 Days in warm luxury gold */
.digits.gold {
  color: var(--gold-primary);
  background: linear-gradient(180deg, #fff2d0 0%, #e5b463 50%, #b8822e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(229, 180, 99, 0.55));
}

.unit-label {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 0.68vw, 0.64rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #7b828e;
  margin-top: 0.25rem;
  margin-left: 0.26em;
  text-transform: uppercase;
}

.time-col-days .unit-label {
  color: #a38c5b;
}

.divider {
  font-family: var(--font-automotive);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 300;
  color: rgba(229, 180, 99, 0.28);
  line-height: 1;
  user-select: none;
}

/* Sanctuary Stage Spacer */
.sanctuary-stage-spacer {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bottom-footer {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: 1rem 2.5rem clamp(1.8rem, 3.5vh, 2.8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Signature Quad-Color Racing Livery Stripe in Footer (Expanded & Prominent) */
.footer-racing-stripe-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  max-width: clamp(300px, 34vw, 560px);
  margin: 0 1.5rem;
  transform: translateY(-16px);
}

.footer-racing-stripe {
  position: relative;
  width: 100%;
  height: clamp(8px, 1.1vh, 12px);
  display: flex;
  transform: skewX(-14deg);
  border-radius: 1px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
  transition: transform 0.35s var(--transition-smooth);
  cursor: pointer;
}

.footer-racing-stripe:hover {
  transform: skewX(-14deg) scale(1.03);
}

/* Atmospheric Studio Glow behind the stripe matching reference design */
.footer-racing-stripe::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 42px;
  background: 
    radial-gradient(ellipse 40% 65% at 85% 50%, rgba(229, 180, 99, 0.45) 0%, rgba(255, 240, 215, 0.2) 35%, transparent 75%),
    radial-gradient(ellipse 85% 50% at 50% 50%, rgba(229, 180, 99, 0.18) 0%, rgba(255, 255, 255, 0.08) 40%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
}

.stripe-bar {
  height: 100%;
  display: block;
}

/* Red is intentionally smaller as explicitly requested */
.stripe-red {
  flex: 0 0 14%;
  background-color: #c40817;
  box-shadow: 0 0 10px rgba(196, 8, 23, 0.5);
}

.stripe-green {
  flex: 1;
  background-color: #085426;
}

.stripe-white {
  flex: 1;
  background-color: #fefefe;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

/* 100% PURE SOLID BLACK as explicitly requested */
.stripe-black {
  flex: 1;
  background-color: #000000;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-left {
  text-transform: uppercase;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.footer-link:hover {
  color: var(--gold-primary);
}

.footer-sep {
  opacity: 0.4;
}

/* ==========================================================================
   VIP Modal Window
   ========================================================================== */

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

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

.modal-card {
  position: relative;
  width: 90%;
  max-width: 480px;
  background: linear-gradient(160deg, #161513 0%, #0d0c0b 100%);
  border: 1px solid rgba(229, 180, 99, 0.3);
  border-radius: 12px;
  padding: 2.5rem 2.2rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(229, 180, 99, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gold-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.modal-logo-img {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.modal-title {
  font-family: var(--font-automotive);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.78rem;
  color: var(--text-silver);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  font-weight: 600;
}

.form-group input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-white);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 180, 99, 0.25);
}

.modal-submit-btn {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #e5b463 0%, #b8822e 100%);
  border: none;
  border-radius: 6px;
  padding: 0.85rem 1.2rem;
  color: #0b0a08;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.modal-submit-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.modal-success {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 20px rgba(229, 180, 99, 0.3);
}

.modal-success h4 {
  font-family: var(--font-automotive);
  color: var(--gold-primary);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.modal-success p {
  font-size: 0.78rem;
  color: var(--text-silver);
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes subtleBreathing {
  0% {
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 0.2),
      0 0 40px rgba(229, 180, 99, 0.1);
  }
  100% {
    text-shadow: 
      0 0 32px rgba(255, 255, 255, 0.35),
      0 0 65px rgba(229, 180, 99, 0.25);
  }
}

@keyframes glowPulseLeft {
  0% {
    opacity: 0.55;
    transform: scaleX(0.95);
  }
  100% {
    opacity: 0.85;
    transform: scaleX(1.05);
  }
}

@keyframes glowPulseRight {
  0% {
    opacity: 0.55;
    transform: scaleX(0.95);
  }
  100% {
    opacity: 0.85;
    transform: scaleX(1.05);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.tick-flip {
  animation: digitTick 0.3s var(--transition-smooth);
}

@keyframes digitTick {
  0% {
    transform: translateY(-4px) scale(1.04);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   Responsive Architecture & Mobile-First Excellence
   ========================================================================== */




