html {
    scroll-behavior: smooth;
}

.top-tabs {
    position: absolute;
    top: 25px;        /* slightly inset from top */
    right: 30px;      /* slightly inset from right */
    display: flex;
    gap: 22px;        /* medium spacing */
    z-index: 20;
}

.tab-link {
    background: #2A2A2A;     /* dark gray */
    color: #0094FF;         /* neon blue text */
    padding: 6px 12px;       /* small tabs */
    font-size: 15px;         /* small text */
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;      /* slightly rounded */
    transition: 0.2s ease;
}

.tab-link:hover {
    text-decoration: underline;
    
}
#benefits {
    scroll-margin-top: 50px;
}
.hero-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
   margin-top: -60px;
  margin-bottom: 20px; 
    
}


.contact-btn {
    background: #000000;          
    color: #0094FF;              
    padding: 10px 20px;           
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #0094FF;    
    transition: 0.2s ease;
}

.contact-btn:hover {
    background: #2a2a2a;          
    color: #0094FF;             
    border-color: #0094FF;
}

.call-btn::before {
    content: "\1F4F1 ";
}

.text-btn::before {
    content: "\1F4AC ";
}

/* Popup modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

/* Popup box */
.modal-content {
  background: #ffffff;
  margin: 10% auto;
  padding: 10px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}

/* Close button */
.close {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

    :root {
      --bg-hero: #000000;
      --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    body {
      margin: 0;
      background: #000000;
      font-family: var(--font-main);
    }

    /* HERO AREA */
    .hero {
      width: 100%;
      background: var(--bg-hero);
      padding: 50px 32px 0px;
      box-sizing: border-box;
    }

    /* HERO TEXT — FORCE WHITE */
    .hero-text,
    .hero-text * {
      color: #ffffff !important;
    }


   .hero-header {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    align-items: center;
    column-gap: 24px;
    margin-bottom: 0px;
}

    .hero-logo img {
      width: 100%;
      max-width: 800px;
      height: auto;
      display: block;
    }

    .hero-text h1 {
      margin: 0 0 8px;
      font-size: 1.9rem;
      font-weight: 700;
    }

    .hero-text p {
      margin: 4px 0;
      font-size: 1.1rem;
    }

    .hero-text .price-line {
      margin-top: 8px;
      font-weight: 600;
      font-size: 1.05rem;
    }


    /* HERO IMAGES */
    .hero-images {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 20px;
      margin-bottom: 120px;
    }

    .hero-images img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      border-radius: 6px;
    }


/* BENEFITS SECTION */
/* GLOBAL CONTAINER */
.benefits-container {
  max-width: 1100px;       /* wider so black shows less */
  margin: 30px auto;
  padding: 25px 20px;
  box-sizing: border-box;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #000000;
  background: #ffffff;
  border-radius: 10px;
}

/* BOLD LEVELS */

/* Bold Level A — Main Header Title */
.main-header-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Bold Level B — Primary Benefit Titles + Bonus Section Header */
.primary-title,
.bonus-section-header {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Bold Level C — No Bold (Descriptions + Bonus Items) */
.description,
.bonus-item {
  font-size: 0.9rem;       /* slightly smaller for 2-line fit */
  font-weight: 400;
  margin-bottom: 3px;
  line-height: 1.35;       /* tighter line spacing */
}


/* MAIN BENEFITS */
.main-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;          /* tighter spacing */
  margin-bottom: 60px;
}

/* BONUS SECTION */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;          /* tighter spacing */
  margin-top: 15px;


}

 /* DASHCAM PACKAGE WRAPPER */
.dashcam-wrapper {
  width: 100%;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  margin-top: 150px; /* spacing between benefits and lineup */

}

    .dashcam-grid {
      max-width: 1600px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px 20px;
      padding: 0 20px;
    }

    .dashcam-section {
      position: relative;
      background: white;
      padding: 6px 10px;
      border-radius: 6px;
      box-sizing: border-box;
      color: #000000; /* ALL DASHCAM TEXT BLACK */
    }
.dashcam-video {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  user-select: none;
}
.yt-icon {
    display: inline-block;
    background: #ff0000;
    color: #ffffff;
    border-radius: 4px;
    padding: 0 5px;
    margin-left: 5px;
    font-size: 10px;
    line-height: 16px;
    height: 16px;
    vertical-align: middle;
}

    /* DASHCAM TITLES — BLACK */
    .dashcam-title {
      color: #000000;
      font-size: 1.05rem;
      font-weight: 700;
      margin: 0 0 6px 0;
    }

    /* FEATURES — BLACK */
    .dashcam-features {
      margin: 0 0 10px 0;
      padding-left: 20px;
      color: #000000;
      font-size: 0.95rem;
    }

    .dashcam-features li {
      margin-bottom: 3px;
    }

    /* PRICING TABLE — BLACK */
    .dashcam-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.85rem;
      color: #000000;
    }

    .dashcam-table td {
      padding: 3px 0;
    }

    .dashcam-table td:first-child {
      text-align: left;
    }

    .dashcam-table td:last-child {
      text-align: right;
    }

    .total-row td {
      font-weight: 700;
      padding-top: 6px;
      border-top: 1px solid #ccc;
    }
    /* 1. Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Ensure the body acts as the anchor point for positioning */
body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 60px; /* Creates room for the link at the very bottom */
}

/* 2. Center at the absolute bottom of the page */
.back-to-top {
  position: absolute;
  bottom: 20px;          /* Sits 20px from the absolute end of the page */
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none; /* Removes the underline */
  color: #0094FF;
}

/* 3. Hover Effect */
.back-to-top:hover {
  opacity: 0.6;
}



/* MOBILE */
@media (max-width: 800px) {

 
    /* TOP TABS */

    .top-tabs {
        top: 10px;
        right: 10px;
        gap: 8px;
        
    }

    .tab-link {
        font-size: 11px;
        padding: 4px 8px;
    }

    /* HERO */

    .hero {
        padding: 20px 16px 24px;
    }

    .hero-header {
        grid-template-columns: 1fr;
        row-gap: 15px;
        text-align: center;
    }

    .hero-logo {
        text-align: center;
    }

    .hero-logo img {
    width: 100%;
    max-width: 450px;
    margin: -50px auto 0;
    display: block;
}

    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    /* CONTACT BUTTONS */

    .hero-contact-buttons {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 15px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .contact-btn {
        font-size: 15px;
        padding: 10px 16px;
    }

    /* IMAGES */

    .hero-images {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }

    .hero-images img {
        height: 140px;
    }

    /* BENEFITS */

    .main-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px 0;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* DASHCAMS */

    .dashcam-wrapper {
        margin-top: 60px;
    }

    .dashcam-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .dashcam-section {
        padding: 10px;
    }

    .dashcam-video {
        position: static;
        display: block;
        text-align: right;
        margin-bottom: 10px;
    }

    .dashcam-title {
        margin-top: 0;
        padding-right: 0;
    }

    .dashcam-table {
        font-size: 0.8rem;
}


.dashcam-wrapper {
    margin-top: 20px;
    padding-bottom: 20px;
}

.top-tabs {
    position: static;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
}
.hero-text {
    margin-top: -60px;
}
#benefits {
scroll-margin-top: 0;
}
/* Mobile Center Layout (Screens 768px wide or smaller) */
@media (max-width: 768px) {
  .back-to-top {
    /* 1. Force the position type to absolute at the bottom */
    position: absolute !important;
    bottom: 20px !important;
    
    /* 2. Precision horizontal centering math */
    left: 50% !important;
    right: auto !important; /* Prevents mobile layouts from stretching the tab */
    transform: translateX(-50%) !important; /* Offsets width to find true center */
    
    /* 3. Text and bounding box safety overrides */
    display: inline-block !important; /* Keeps container tightly wrapped to text */
    text-align: center !important;     /* Centers internal icon and text */
    white-space: nowrap !important;    /* Stops text/icon from wrapping onto two lines */
    width: max-content !important;     /* Shrinks bounds to fit contents perfectly */
  }
}


}