/* ============ BASE ============ */
* { font-family: 'Inter', -apple-system, sans-serif; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.brand-logo { font-weight: 700; }

/* ============ INTRO ANIMATION ============ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #1a1a1a 0%, #000 70%);
}
.intro-scene {
  position: absolute;
  bottom: 38%;
  left: 0;
  width: 100%;
  height: 100px;
}
.intro-road {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0 40px, transparent 40px 80px);
  animation: roadMove 1.8s linear infinite;
}
@keyframes roadMove {
  from { background-position: 0 0; }
  to { background-position: -80px 0; }
}
.intro-car {
  position: absolute;
  bottom: -10px;
  left: -240px;
  width: 200px;
  height: auto;
  animation: driveIn 3.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}
@keyframes driveIn {
  0%   { left: -240px; }
  55%  { left: calc(50% - 110px); }
  75%  { left: calc(50% - 110px); }
  100% { left: 110%; }
}
.intro-headlight {
  animation: flicker 1.2s ease-in-out infinite alternate;
}
.intro-glow-strip {
  animation: pulseGlow 1.6s ease-in-out infinite alternate;
}
@keyframes flicker {
  from { opacity: 0.7; }
  to { opacity: 1; }
}
@keyframes pulseGlow {
  from { opacity: 0.25; }
  to { opacity: 0.55; }
}
.intro-beam {
  position: absolute;
  bottom: -6px;
  left: -240px;
  width: 160px;
  height: 40px;
  background: linear-gradient(90deg, rgba(255,220,168,0.5), transparent);
  filter: blur(6px);
  animation: driveIn 3.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.intro-text {
  position: absolute;
  bottom: 26%;
  text-align: center;
  opacity: 0;
  animation: introTextIn 1s ease forwards;
  animation-delay: 2.9s;
}
.intro-text span {
  font-size: 2rem;
  letter-spacing: 0.5em;
  font-weight: 700;
  padding-left: 0.5em;
}
.intro-text p {
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
@keyframes introTextIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.intro-skip {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}
.intro-skip:hover { color: #fff; }

/* ============ NAVBAR ============ */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}
.nav-link:hover { color: #fff; }
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.95);
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { max-height: 300px; }
.mobile-menu a {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

/* ============ HERO ============ */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(93,168,255,0.12), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(244,114,182,0.10), transparent 50%),
    linear-gradient(160deg, #0a0a0c 0%, #050505 60%, #000 100%);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 5%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.7) 100%);
}
.hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.hero-video-layer::after {
  /* Static darken/tint layer instead of a per-frame CSS filter on the
     <video> itself — a filter forces the browser to reprocess every
     decoded frame through a pixel shader, which is what was causing the
     jank. A flat overlay costs nothing. */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4,4,6,0.42);
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.hero-video.active { opacity: 1; }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ============ CTA BUTTONS ============ */
.cta-primary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #000;
  padding: 1rem 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cta-primary:hover { background: #e5e5e5; transform: translateY(-1px); }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 1rem 2.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* ============ BENEFITS ============ */
.benefit-item svg { width: 30px; height: 30px; margin-bottom: 1rem; color: rgba(255,255,255,0.85); }
.benefit-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: 0.01em; }
.benefit-item p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ============ PLACEHOLDER BLOCKS ============ */
.placeholder-block {
  background: linear-gradient(135deg, #131313 0%, #1d1d1d 100%);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  position: relative;
}
.placeholder-block.has-image {
  border-style: solid;
  border-color: rgba(255,255,255,0.07);
  background: radial-gradient(ellipse 75% 65% at 50% 42%, #19191b 0%, #08080a 100%);
}
.placeholder-block.has-image::before {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 50%;
  width: 55%;
  height: 10%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, transparent 75%);
  z-index: 0;
}
.placeholder-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.placeholder-block.has-image img {
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,0.5));
}
.gallery-thumb.has-image img {
  max-width: 78%;
  max-height: 78%;
}
.gallery-main { height: 480px; }
.gallery-thumb {
  height: 90px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: rgba(255,255,255,0.5); }

/* ============ SIZE PILLS ============ */
.size-pill {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.6rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}
.size-pill.active, .size-pill:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.trust-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.trust-mini svg { width: 22px; height: 22px; color: rgba(255,255,255,0.7); }

/* ============ STEPS ============ */
.step-item { text-align: center; padding: 0 0.5rem; }
.step-number {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.step-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.step-item p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ============ COLOR SWATCHES ============ */
.color-swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.color-swatch:hover, .color-swatch.active {
  border-color: #fff;
  transform: scale(1.08);
}

/* ============ REVIEWS ============ */
.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
}
.review-card .stars { color: #fbbf24; letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 0.9rem; }
.review-card p { color: rgba(255,255,255,0.75); line-height: 1.6; font-size: 0.9rem; margin-bottom: 1.25rem; }
.review-card span { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.03em; }

/* ============ INFO CARDS ============ */
.info-card svg { width: 28px; height: 28px; margin-bottom: 1.25rem; color: rgba(255,255,255,0.85); }
.info-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.info-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.info-card a { color: #fff; }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
}
.faq-question span { transition: transform 0.3s ease; color: rgba(255,255,255,0.4); font-size: 1.2rem; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 1.5rem; color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.6; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: radial-gradient(ellipse at 50% 100%, rgba(93,168,255,0.12), transparent 60%), #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============ FOOTER ============ */
.footer-heading {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
footer a {
  display: block;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}
footer a:hover { color: #fff; }
.newsletter-input {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-right: none;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  flex: 1;
  color: #fff;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-btn {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.7rem 1.1rem;
  transition: background 0.3s ease;
}
.newsletter-btn:hover { background: #fff; color: #000; }

/* ============ PRODUCT CARDS (SHOP GRID) ============ */
.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-4px); }
.product-card-image {
  height: 260px;
}
.product-card-body { padding: 1.75rem; }
.product-card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}
.product-card-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-card-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin-bottom: 1rem; }
.product-card-price { display: flex; align-items: baseline; gap: 0.6rem; font-weight: 600; font-size: 1.05rem; }
.product-card-old { font-weight: 400; font-size: 0.85rem; color: rgba(255,255,255,0.35); text-decoration: line-through; }
.product-card-bundle {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(93,168,255,0.08), transparent 70%);
  min-height: 380px;
}
.product-card-bundle-body { display: flex; flex-direction: column; align-items: center; }

/* ============ LEGAL PAGES ============ */
.legal-content { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.7; }
.legal-content > p:first-child { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-bottom: 2rem; }
.legal-content h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: #fff; text-decoration: underline; }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
