:root {
--bg: #0a0a0a;
--panel: #111111;
--panel-2: #161616;
--fg: #f5f5f5;
--muted: #a0a0a0;
--kicker: #ffd200;
--kicker-ink: #000000;
--radius: 18px;
--border: 1px solid rgba(255, 255, 255, 0.08);
--shadow-1: 0 6px 30px rgba(0, 0, 0, 0.35);
--shadow-2: 0 18px 60px rgba(255, 210, 0, 0.18);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: Inter, Segoe UI, Roboto, system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}


a { color: var(--kicker); text-decoration: none; }
a:hover { text-decoration: underline; }


img { max-width: 100%; display: block; }


/* Accessibility */
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


/* Containers & Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 24px; }


header {
display: flex; align-items: center; justify-content: space-between; gap: 14px;
margin-bottom: 8px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 46px; filter: drop-shadow(0 0 8px rgba(255,210,0,0.6)); }
.tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav a { margin-left: 12px; }


.divider { height: 2px; background: linear-gradient(90deg, var(--kicker), transparent); margin: 18px 0; }


/* Cards & Surfaces */
.card, .video-card, .login-card {
background: var(--panel); border: var(--border); border-radius: var(--radius);
padding: 14px; box-shadow: var(--shadow-1);
}
.login-card { max-width: 520px; margin: 24px auto; padding: 18px; }


/* Buttons */
.btn {
display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
background: #0f0f0f; color: #fff; border: 1px solid rgb(255, 230, 0);
padding: 12px 16px; border-radius: 12px; font-weight: 800;
transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative; overflow: hidden;
}
.btn::before {
content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgb(255, 230, 0), transparent);
transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { 
transform: translateY(-2px) scale(1.02); 
border-color: var(--kicker); 
box-shadow: 0 15px 40px rgba(255, 230, 0), 0 5px 15px rgba(0,0,0,0.3); 
}
.btn:active { transform: translateY(0) scale(0.98); transition: all 0.1s ease; }
.btn:focus-visible { outline: 3px solid rgba(255,210,0,.45); outline-offset: 2px; }


.btn.primary { background: transparent(--kicker); color: rgb(255,255,255)(--kicker-ink); border-color: rgb(255, 230, 0); }
.btn.primary:hover { box-shadow: var(--shadow-2); }


/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;   /* ← replaces the gradient + panel */
  border: none;              /* optional: remove panel border */
  box-shadow: none;          /* optional: remove panel shadow */
}

.hero h1 { margin: px 0 4px; font-size: clamp(26px, 4.2vw, 44px); font-weight: 900; color: var(--kicker); }
.hero p { max-width: 74ch; color: #e6e6e6; }


/* Showcase grid (index) */
.showcase { display: grid; gap: 16px; grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }


.video { 
  width: 100%; 
  aspect-ratio: 16/9; 
  background: #000; 
  border-radius: 18px; 
  border: 2px solid rgba(255, 221, 87, 0.2); /* faint soft yellow border */
  overflow: hidden;
  position: relative; 
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* glow effect */
  box-shadow: 0 0 12px rgba(255, 221, 87, 0.45), 
              0 0 30px rgba(255, 200, 60, 0.35);
}

.video::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,210,0,0.1), transparent);
  opacity: 0; transition: opacity 0.3s ease; z-index: 1;
}

.video video { 
  width: 100%; height: 100%; object-fit: cover;
  transition: all 0.3s ease; opacity: 0.8;
}



/* Photo rail */
.rail {
  display: flex; gap: 12px; overflow-x: auto; padding: 8px 0; margin: 12px 0;
  scrollbar-width: thin; scrollbar-color: var(--kicker) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--kicker); border-radius: 3px; }
.rail img {
  min-width: 300px; height: 200px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.rail img::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,210,0,0.1) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.rail img:hover::before { transform: translateX(100%); }
.rail img:hover {
  transform: scale(1.05) rotateY(5deg); 
  box-shadow: 0 20px 40px rgba(255,210,0,0.3), 0 0 20px rgba(255,210,0,0.1);
  border-color: rgba(255,210,0,0.5);
}

/* Lightbox */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000;
  background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(8px);
}
.lightbox img {
  max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Badge system */
.badges { margin: 16px 0; }
.badges-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-block; background: rgba(255,210,0,0.1); color: var(--kicker);
  padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,210,0,0.3);
}

/* Feature grid */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 16px;
}
.feature {
  background: var(--panel-2); border: var(--border); border-radius: 12px;
  padding: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.feature h3 {
  margin: 0 0 8px 0; color: var(--kicker); font-size: 18px; font-weight: 700;
}
.feature p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Spec items styling */
.spec-item {
  margin-bottom: 12px;
}
.spec-item:last-child {
  margin-bottom: 0;
}
.spec-item strong {
  display: block;
  color: var(--kicker);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spec-item p {
  margin: 0;
  padding-left: 8px;
  border-left: 2px solid rgba(255,210,0,0.2);
  color: var(--fg);
}


/* Forms and inputs */
.row {
  display: flex; gap: 8px; align-items: stretch; margin: 16px 0;
}
input[type="password"], input[type="text"] {
  flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; background: var(--panel-2); color: var(--fg);
  font-size: 16px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="password"]:focus, input[type="text"]:focus {
  outline: none; border-color: var(--kicker); box-shadow: 0 0 0 3px rgba(255,210,0,0.1);
}

/* Error styling */
.error {
  display: none; color: #ff6b6b; background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3); border-radius: 8px;
  padding: 8px 12px; margin-top: 8px; font-size: 14px;
}

/* Tour section */
.tour-row {
  display: flex; gap: 24px; align-items: flex-start; justify-content: space-between;
  margin-top: 16px;
}
.tour-meta { flex: 1; }
.tour-title {
  font-size: 24px; font-weight: 800; color: var(--kicker); margin-bottom: 8px;
}
.tour-where, .tour-when, .tour-route {
  margin-bottom: 6px; color: var(--muted);
}
.tour-description {
  margin-top: 12px; color: var(--fg); line-height: 1.5; font-size: 14px;
}
.tour-cta { 
  flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; 
}

/* Tables (deck page) */
table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  background: var(--panel-2); border-radius: 8px; overflow: hidden;
}
th, td {
  padding: 12px 16px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.1);
}
th {
  background: rgba(255,210,0,0.1); color: var(--kicker); font-weight: 700;
  text-align: left;
}
td:first-child { text-align: left; }

/* Budget levels */
.levels {
  display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap;
}
.level {
  flex: 1; min-width: 200px; background: var(--panel-2); border: var(--border);
  border-radius: 8px; padding: 12px 16px; display: flex;
  justify-content: space-between; align-items: center;
}

/* Metrics display */
.metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px; margin: 16px 0;
}
.metric {
  text-align: center; background: var(--panel-2); border: var(--border);
  border-radius: 8px; padding: 16px 12px;
}
.num {
  font-size: 28px; font-weight: 900; color: var(--kicker); line-height: 1;
}
.lbl {
  font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Build specifications */
.build-specs { margin: 16px 0; }
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 16px;
}
.spec {
  text-align: center; background: var(--panel-2); border: var(--border);
  border-radius: 12px; padding: 20px 16px; transition: all 0.3s ease;
  cursor: pointer;
}
.spec:hover {
  transform: translateY(-3px); border-color: rgba(255,210,0,0.4);
  box-shadow: 0 10px 30px rgba(255,210,0,0.1);
}
.spec-label {
  font-size: 14px; color: var(--muted); margin-bottom: 8px; 
  text-transform: uppercase; letter-spacing: 0.5px;
}
.spec-value {
  font-size: 20px; font-weight: 800; color: var(--kicker); line-height: 1.2;
}

/* Typography improvements */
h1, h2, h3 { line-height: 1.2; }
h2 {
  margin: 0 0 16px 0; font-size: clamp(20px, 3vw, 28px); font-weight: 800;
  color: var(--fg);
}
p { line-height: 1.6; margin: 0 0 12px 0; }
.hint {
  font-size: 14px; color: var(--muted); font-style: italic;
}

/* CTA row */
.cta-row {
  display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap;
}

/* Footer */
footer {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--muted); font-size: 14px;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-main { flex: 1; }
.footer-credit {
  display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: 0.7;
}
.credit-logo {
  height: 20px; width: auto; opacity: 0.8;
}

/* Animation classes for reveal effects */
.card, .feature {
  opacity: 0; transform: translateY(40px) scale(0.95); 
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.card.in-view, .feature.in-view {
  opacity: 1; transform: translateY(0) scale(1);
}
.card.in-view:nth-child(odd) { animation: slideInLeft 0.8s ease forwards; }
.card.in-view:nth-child(even) { animation: slideInRight 0.8s ease forwards; }

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-30px) translateY(20px); }
  100% { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(30px) translateY(20px); }
  100% { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Canvas for matrix rain effect */
#matrixRain {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; opacity: 0.7;
}

/* Floating particles effect */
.floating-particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; width: 2px; height: 2px; background: var(--kicker);
  border-radius: 50%; opacity: 0.3;
  animation: float 15s infinite linear;
}
.particle:nth-child(2n) { animation-duration: 20s; opacity: 0.2; }
.particle:nth-child(3n) { animation-duration: 25s; width: 1px; height: 1px; }

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Hero glow effect */
.hero::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,210,0,0.03) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}

/* Mobile responsive design for medium to large phones */
@media (max-width: 768px) {
  .wrap { padding: 12px; }
  
  header {
    flex-direction: column; align-items: flex-start; gap: 8px;
    margin-bottom: 12px;
  }
  .nav { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
  .nav a { margin-left: 0; }
  
  .hero {
    padding: 16px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 8px;
  }
  .hero h1 { 
    font-size: clamp(24px, 7vw, 36px); 
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  
  .cta-row {
    flex-direction: row; 
    gap: 8px;
    justify-content: center;
  }
  .btn { 
    text-align: center; 
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
  }
  
  /* Tighter card spacing */
  .card {
    margin: 8px 0;
    padding: 12px;
  }
  
  .divider {
    margin: 12px 0;
  }
  
  /* Feature grid optimizations */
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .feature {
    padding: 12px;
  }
  .feature h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .feature p {
    font-size: 14px;
    line-height: 1.4;
  }
  
  /* Build specs grid - 2 columns on mobile */
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .spec {
    padding: 12px 8px;
  }
  .spec-label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .spec-value {
    font-size: 13px;
    line-height: 1.2;
  }
  
  /* Metrics - keep 2x2 layout but tighter */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .metric {
    padding: 12px 8px;
  }
  .num {
    font-size: 24px;
  }
  .lbl {
    font-size: 10px;
  }
  
  /* Gallery improvements */
  .rail {
    margin: 8px 0;
    gap: 8px;
  }
  .rail img {
    min-width: 240px; 
    height: 150px;
  }
  
  /* Tour section */
  .tour-row {
    flex-direction: column; 
    gap: 12px;
  }
  .tour-title {
    font-size: 20px;
  }
  .tour-description {
    font-size: 13px;
    margin-top: 8px;
  }
  
  /* Table improvements */
  table {
    font-size: 13px;
  }
  th, td {
    padding: 6px 8px;
  }
  
  /* Budget levels */
  .levels {
    flex-direction: column;
    gap: 8px;
  }
  .level {
    min-width: auto;
    padding: 8px 12px;
  }
  
  .login-card {
    margin: 12px auto; 
    padding: 16px;
  }
  
  /* Typography tightening */
  h2 {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 12px;
  }
  
  p {
    margin-bottom: 8px;
  }
}

/* Optimized for smaller phones */
@media (max-width: 480px) {
  .wrap { padding: 10px; }
  
  .hero {
    padding: 14px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hero h1 {
    font-size: clamp(22px, 8vw, 30px);
  }
  .hero p {
    font-size: 14px;
  }
  
  /* Build specs back to single column on very small screens */
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .spec {
    padding: 10px 12px;
  }
  .spec-value {
    font-size: 12px;
  }
  
  /* Metrics single column */
  .metrics {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  /* Gallery adjustments */
  .rail img {
    min-width: 200px; 
    height: 120px;
  }
  
  /* Form improvements */
  .row {
    flex-direction: column;
    gap: 6px;
  }
  
  input[type="password"], input[type="text"] {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 10px 14px;
  }
  
  .btn {
    padding: 12px 16px;
  }
  
  /* Tighter feature cards */
  .feature {
    padding: 10px;
  }
  .feature h3 {
    font-size: 15px;
  }
  .feature p {
    font-size: 13px;
  }
  
  /* Card spacing */
  .card {
    padding: 10px;
    margin: 6px 0;
  }
  
  .divider {
    margin: 10px 0;
  }
}

/* Performance optimizations */
* {
  will-change: auto;
}

.btn, .card, .feature, .rail img {
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Focus states for accessibility */
.btn:focus-visible,
input:focus-visible,
.rail img:focus-visible {
  outline: 3px solid var(--kicker);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .particle {
    animation: none;
  }
  
  .hero::after {
    animation: none;
  }
}

.hero .truck-glow{
  display:block;
  width:min(100%,1200px);
  height:auto;            /* prevents squish */
  object-fit:contain;     /* keeps proportions if any height slips in */
  aspect-ratio: 2 / 1;    /* optional: hints natural ratio */
}