/* =================================================
   1. GLOBAL RESET & BASE STYLES
   ================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

img {
  max-width: 100%;
  display: block;
}

.text-center { text-align: center; }
.text-accent { color: #e11d48; }
.section { padding: 96px 0; }
.bg-light { background-color: #f8fafc; }

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* =================================================
   2. STICKY HEADER & LOGO INVERSION
   ================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: rgba(10, 14, 22, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 44px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.logo-light { display: block; }
.logo-dark { display: none; }

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-btn-highlight {
  background: #e11d48;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-btn-highlight:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled .logo-light { display: none; }
.header.scrolled .logo-dark { display: block; }
.header.scrolled .nav-link { color: #475569; }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active { color: #e11d48; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header.scrolled .mobile-toggle span {
  background-color: #0f172a;
}

/* =================================================
   3. HERO SLIDER & HIGH-RES MEDIA VIEWPORT
   ================================================= */
.hero-slider-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #090c12;
  overflow: hidden;
}

.slider-viewport {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translateX(0%);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
  width: 33.333333%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide 1: Content */
.slide-content-slide {
  background: radial-gradient(circle at 50% 25%, #8C0000 0%, #4A0000 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 860px;
  text-align: center;
  color: #ffffff;
  padding: 100px 24px 40px;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.5);
  color: #fda4af;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
  background: #be123c;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 22px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.metric-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-item p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
}

/* =================================================
   MEDIA SLIDES: HIGH RESOLUTION & PRESERVATION
   ================================================= */
.slide-media-slide {
  background: #090c12;
  padding-top: 70px; /* Headroom so sticky nav doesn't obstruct graphic */
}

.slide-media-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Slide 2: Truck Specific */
.slide-truck {
  background: #11141b;
}

.img-truck {
  width: 100%;
  height: 100%;
   
  object-fit: cover; /* Keeps whole vehicle visible on wide displays */
  object-position: center center;
}

/* Slide 3: Billboard Panoramic Resolution Fix */
.slide-billboard {
  /* Matching color gradient to the GIF's deep blue background */
  background: radial-gradient(circle at 50% 50%, #0d2644 0%, #051326 100%);
}

.img-billboard {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  object-fit: contain; /* Prevents edge cropping: 100% of the graphic is shown on desktop */
  object-position: center center;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: #e11d48;
  border-color: #e11d48;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  width: 34px;
  border-radius: 10px;
  background: #e11d48;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.7);
}

/* =================================================
   4. ABOUT SECTION
   ================================================= */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #fff1f2;
  color: #e11d48;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* =================================================
   5. HOW IT WORKS
   ================================================= */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fecdd3;
  display: block;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* =================================================
   6. PRODUCT SPECIFICATION TABLE
   ================================================= */
.specs-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th,
.specs-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.specs-table th {
  background-color: #0f172a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.specs-table td {
  font-size: 0.95rem;
  color: #475569;
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background-color: #f8fafc; }

/* =================================================
   7. SAMPLES & GALLERY
   ================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.gallery-media-box {
  position: relative;
  height: 380px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fallback-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-3 { background: linear-gradient(135deg, #27272a, #3f3f46); }

.placeholder-graphic span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
}

.gallery-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.gallery-info { padding: 24px; }
.gallery-info h4 { font-size: 1.25rem; color: #0f172a; margin-bottom: 6px; }
.gallery-info p { color: #64748b; font-size: 0.92rem; }

/* =================================================
   8. WHERE TO INSTALL
   ================================================= */
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.install-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.install-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #e11d48;
  background: #fff1f2;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.install-box h3 { font-size: 1.35rem; color: #0f172a; margin-bottom: 10px; }
.install-box p { color: #64748b; margin-bottom: 18px; font-size: 0.95rem; }

.install-perks { list-style: none; }
.install-perks li {
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
}
.install-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e11d48;
  font-weight: 800;
}

/* =================================================
   9. CONTACT SECTION
   ================================================= */
.contact-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.contact-info-col {
  padding: 56px 48px;
  background: #0f172a;
  color: #ffffff;
}

.contact-info-col h2 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.2; }
.contact-info-col p { color: #94a3b8; margin-bottom: 36px; }

.contact-meta { display: flex; flex-direction: column; gap: 18px; }
.meta-row strong {
  display: block;
  font-size: 0.85rem;
  color: #e11d48;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.meta-row span { font-size: 1rem; color: #e2e8f0; }

.contact-form-col { padding: 56px 48px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e11d48;
}

.btn-block { width: 100%; }

.form-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

/* =================================================
   10. FOOTER
   ================================================= */
.footer {
  background: #080a0f;
  color: #94a3b8;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo { height: 32px; margin-bottom: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: #ffffff; }

/* =================================================
   11. EMBEDDED LANDSCAPE POP-UP AD & VIDEO
   ================================================= */
.ag-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ag-modal-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ag-ad-card.landscape {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: row;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ag-modal-backdrop.is-visible .ag-ad-card.landscape {
  transform: translateY(0) scale(1);
}

.ag-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, color 0.2s;
}

.ag-close-btn:hover {
  color: #ef4444;
  transform: scale(1.08);
}

.ag-media-col {
  position: relative;
  flex: 0 0 42%;
  background: #0b0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
}

.ag-media-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 5;
}

.ag-banner-gif {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.ag-content-col {
  flex: 1;
  background: #ffffff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e11d48;
  letter-spacing: 1px;
}

.ag-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
}

.ag-subtext {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 24px;
}

.ag-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.ag-btn-primary {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.ag-btn-primary:hover { background: #be123c; }

.ag-btn-secondary {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.ag-btn-secondary:hover { background: #f1f5f9; }

.ag-video-backdrop {
  z-index: 1000000;
  background: rgba(0, 0, 0, 0.85);
}

.ag-video-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.ag-video-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.ag-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.ag-video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =================================================
   12. RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ================================================= */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nav-link { color: #0f172a !important; }
  
  .hero-slider-section,
  .slider-viewport {
    height: 90vh; /* Better vertical proportions on phone screens */
    min-height: 600px;
  }

  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .steps-flow { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .metric-divider { display: none; }
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }

  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }

  /* --- Mobile Optimization for Media Slides --- */
  .slide-media-slide {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Truck: Fits container cleanly with focal center */
  .img-truck {
    object-fit: cover;
    object-position: 65% center; /* Focuses directly on glowing banner & bowl */
    transform: scale(1.05);
  }

  /* Billboard: Focuses on ambassador and core brand title */
  .img-billboard {
    object-fit: cover;
    object-position: right center; /* Retains model, headline, and roll-on bottle */
  }

  /* Ad Modal responsive fallback */
  .ag-ad-card.landscape {
    flex-direction: column;
    max-width: 380px;
    max-height: 92vh;
    overflow-y: auto;
  }
  .ag-media-col {
    flex: none;
    width: 100%;
    padding-top: 24px;
  }
  .ag-banner-gif { max-height: 260px; }
  .ag-content-col { padding: 24px 20px; text-align: center; }
}