/* CSS variables for the color system (matching iOS AppTheme) */
:root {
  --bg-dark: #060608;             /* AppTheme.background */
  --bg-card: #121218;             /* AppTheme.surface */
  --bg-card-hover: #1A1A22;       /* AppTheme.surfaceElevated */
  --primary: #FF1A1A;             /* AppTheme.accent (Tuner Red) */
  --primary-glow: rgba(255, 26, 26, 0.18);
  --secondary: #FF4D2E;           /* AppTheme.accentHot */
  --secondary-glow: rgba(255, 77, 46, 0.18);
  --amber: #FFB020;               /* AppTheme.amber */
  --chrome: #C8D0DC;              /* AppTheme.chrome */
  --text-main: #FFFFFF;           /* AppTheme.textPrimary */
  --text-muted: rgba(255, 255, 255, 0.62); /* AppTheme.textSecondary */
  --border-color: rgba(255, 255, 255, 0.07); /* AppTheme.border */
  --border-hover: rgba(255, 26, 26, 0.4);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Container */
.container-x {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation Bar */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background-color: rgba(6, 6, 8, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.top-nav .container-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 26, 26, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFF 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navlinks a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.navlinks a:hover {
  color: var(--text-main);
}

.navlinks a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn.primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background-color: #ff3b3b;
  box-shadow: 0 6px 20px rgba(255, 26, 26, 0.42);
}

.btn.ghost {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn.ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Menu Panel */
.mobile-panel {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-dark);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
}

.mobile-panel.open {
  display: flex;
}

.mobile-panel a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-panel a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.laurel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.laurel svg {
  width: 14px;
  height: 18px;
}

.laurel strong {
  color: var(--primary);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 18px;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.scribble {
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 16px;
  width: fit-content;
  margin-bottom: 32px;
}

.hero-qr svg {
  background-color: #fff;
  border-radius: 8px;
  padding: 6px;
  width: 68px;
  height: 68px;
  color: #000;
}

.hero-qr-text {
  display: flex;
  flex-direction: column;
}

.hero-qr-text small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-qr-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #000;
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 12px;
  transition: var(--transition);
}

.store-btn:hover {
  background-color: #121218;
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn small {
  font-size: 10px;
  color: var(--text-muted);
}

.store-btn strong {
  font-size: 14px;
  font-weight: 600;
}

.hero-visual {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255, 26, 26, 0.2);
  border: 1px solid var(--border-color);
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
  transition: var(--transition);
}

.hero-visual img:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 40px rgba(255, 26, 26, 0.35);
}

/* Stats Strip */
.stats-strip {
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
  margin-bottom: 60px;
}

.stats-strip .container-x {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}

.stat .n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat .l {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Section Common Blocks */
.section-block {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.feature:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 26, 26, 0.12);
}

.feature:hover::before {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.feature.flag-blue:hover {
  border-color: rgba(255, 77, 46, 0.4);
  box-shadow: 0 12px 30px rgba(255, 77, 46, 0.1);
}

.feature.flag-yellow:hover {
  border-color: rgba(255, 176, 32, 0.4);
  box-shadow: 0 12px 30px rgba(255, 176, 32, 0.1);
}

.feature.flag-teal:hover {
  border-color: rgba(255, 26, 26, 0.4);
  box-shadow: 0 12px 30px rgba(255, 26, 26, 0.12);
}

.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature:hover .ic {
  background-color: rgba(255, 26, 26, 0.1);
  color: #fff;
  transform: scale(1.05);
}

.feature.flag-blue .ic { color: var(--secondary); }
.feature.flag-blue:hover .ic { background-color: rgba(255, 77, 46, 0.1); }

.feature.flag-yellow .ic { color: var(--amber); }
.feature.flag-yellow:hover .ic { background-color: rgba(255, 176, 32, 0.1); }

.feature.flag-teal .ic { color: var(--primary); }
.feature.flag-teal:hover .ic { background-color: rgba(255, 26, 26, 0.1); }

.feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Duo Layouts */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.duo.reverse {
  grid-template-columns: 1fr 1fr;
}

.duo .copy h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 20px;
}

.duo .copy p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.duo .copy ul {
  list-style: none;
  margin-bottom: 32px;
}

.duo .copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.chk {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 26, 26, 0.15);
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.phone-card {
  width: 100%;
  border-radius: 36px;
  background-color: #000;
  border: 8px solid #1c1c1e;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  aspect-ratio: 9/16;
}

.phone-card video, .phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tilt-r {
  transform: rotate(3deg);
  transition: var(--transition);
}

.tilt-r:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Vehicle Library Models Showcase */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: var(--transition);
}

.model-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(255, 26, 26, 0.15);
}

.model-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.model-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.model-card:hover .model-img {
  transform: scale(1.06);
}

.model-thumb svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.3;
  transition: var(--transition);
}

.model-card:hover .model-thumb svg {
  color: var(--primary);
  opacity: 0.8;
  transform: scale(1.1);
}

.model-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(6, 6, 8, 0.85);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

.model-info {
  padding: 18px;
}

.model-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.model-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FAQ Collapsible Accordions */
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
}

.q {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.q[open] {
  border-color: var(--text-muted);
}

.q summary {
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.q summary::-webkit-details-marker {
  display: none;
}

.q summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.q[open] summary::after {
  content: '−';
  color: var(--primary);
}

.q p {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Call to Action Footer Box */
.cta-block {
  background: linear-gradient(135deg, rgba(18, 12, 24, 0.8) 0%, rgba(6, 6, 8, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, var(--primary-glow) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.cta-block .inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-block h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.final-cta-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sticker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-3deg);
  letter-spacing: -0.5px;
}

.sticker.red {
  background-color: var(--primary);
  color: #fff;
}

.sticker.white {
  background-color: #FFF;
  color: #000;
  transform: rotate(2deg);
  margin-top: 8px;
  font-size: 14px;
}

.final-cta-qr {
  margin-top: 24px;
  background-color: #fff;
  padding: 10px;
  border-radius: 16px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--border-color);
}

.final-cta-qr svg {
  width: 100%;
  height: 100%;
  color: #000;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  background-color: rgba(0,0,0,0.3);
  margin-top: auto;
}

.site-footer .row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer .col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.site-footer .col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.site-footer .col a:hover {
  color: var(--text-main);
  transform: translateX(2px);
}

.legal {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive Layout Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .laurel, .hero-qr, .cta-row {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual img {
    transform: none;
    max-width: 420px;
  }
  
  .stats-strip .container-x {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .duo {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .duo.reverse {
    grid-template-columns: 1fr;
  }
  
  .duo .copy ul {
    display: inline-block;
    text-align: left;
  }
  
  .duo .copy .cta-row {
    justify-content: center;
  }
  
  .phone-card {
    max-width: 320px;
  }
  
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-block .inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-block h2, .cta-block p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .site-footer .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .navlinks {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .stats-strip .container-x {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .models-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .legal {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================
   Splash Screen Animations & Overlay Styles 
   ========================================== */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* clip the splashPulse animation overflow (scale 1.04 + rotate 2deg) */
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 90%;
  max-height: 90%; /* leaves 10vh of breathing room so the loader never clips */
  text-align: center;
}

.splash-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(50vw, 220px);
  max-height: min(60vh, 380px);
  aspect-ratio: 9 / 16; /* logo.png is 1152×2048, true 9:16 portrait */
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 0 50px var(--primary-glow);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  animation: splashPulse 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite alternate;
}

.splash-loader {
  width: min(280px, 70vw);
  height: 3px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.splash-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 10px var(--primary);
  animation: progressLoad 2.2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

@keyframes splashPulse {
  0% {
    transform: scale(0.92) rotate(-2deg);
    box-shadow: 0 0 25px rgba(255, 26, 26, 0.2);
  }
  100% {
    transform: scale(1.04) rotate(2deg);
    box-shadow: 0 0 55px rgba(255, 26, 26, 0.6);
  }
}

@keyframes progressLoad {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Hide body scroll while splash is active */
body.splash-active {
  overflow: hidden !important;
}

/* Landing page content transition state */
.main-wrapper {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(10px);
}

.main-wrapper.fade-in {
  opacity: 1;
  transform: translateY(0);
}

