:root {
    --primary: #005fae;
    --secondary: #007dc8;
    --accent: #f3703c;
    --dark: #002d55;
    --light: #f7f9fc;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
  }
  
  /* NAV */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffffee;
    backdrop-filter: blur(6px);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    font-size: 1.5rem;
  }

  .kit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
  }
  
  nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: color 0.25s;
  }

  nav a:hover {
    color: var(--accent);
    background-color: var(--light);
  }
  nav a.active {
    color: var(--accent);
    font-weight: 700;
  }
  .nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
  }


  /* HERO */
  .hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 6rem 1rem 2rem;
    background: url('../images/heroBkgB.png');
    background-size:100%;
    background-repeat: no-repeat;

    position: relative;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;

  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
  }

  .heroLogo {
    width: 100%;
    padding: 1rem 0;
    margin-bottom: 1.4rem;
  }
  .heroLogo img{
    width: 93%;
  }
  .hero h1 {
    font-size: clamp(1rem, 4vw + 0.5rem, 3rem);
    font-weight: 700;
    margin-bottom: 1.3rem;
  }
  
  .hero p {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    margin-bottom: 2rem;
    font-weight: 300;
  }
  .hero-glint {
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,0.12) 40%,
      rgba(255,255,255,0.25) 50%,
      rgba(255,255,255,0.12) 60%,
      transparent 100%
    );
    transform: skewX(-20deg);
    z-index: 2;
    pointer-events: none;
  }
  .btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s;
  }
  
  .btn:hover {
    background: #d85e2c;
  }
  .svgContainer {
    position: relative;
    width: 100%;
    box-sizing: border-box;

  }
  .acman-container {
    position: fixed;
    bottom: -3rem; /* ⬅️ raised from 1rem */
    right: 5rem;
    width: 13%;
    z-index: 100;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .acman-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

  }
  
  .pill-wrapper {
    transform: translateY(-6rem); /* pull it closer to ACman’s feet */
  }

/* ACman SVG animation-ready */
#ACmanSVG {
  width: 100%;
  height: auto;
  margin-top:4rem;
  margin-left:3.5rem;
  z-index:55;
}

.acman-pill {
  display: inline-flex;
  align-items: center;
  margin-top: -12rem;
  gap: 0.6rem;
  background: white;
  color: black;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 9999px; /* ensures fully rounded */
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
  white-space: nowrap;
  z-index:99;
}

.acman-pill:hover {
  transform: scale(1.05);
}

.acman-pill .icon {
  background: radial-gradient(circle at 30% 30%, #0070f3, #0051c3);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* MODAL OVERLAY */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-modal.active {
  display: flex;
  backdrop-filter: blur(10px);
}

/* MODAL CONTENT CONTAINER */
.video-content {
  position: relative;
  background: #000;
  border-radius: 1rem;
  padding: 1rem;
  max-width: 80vw;
  width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* VIDEO PLAYER */
.video-content video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

/* CLOSE BUTTON */
.close-video {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: white;
  border: 2px solid #ccc;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
  z-index: 1000;
}

.close-video:hover {
  background: #f2f2f2;
}
  .algaeGuardSVG {
    position: absolute;
    width: 40%;
    left: -10%;
    top: 15vh;
    z-index: 7;
  }
  .thought-bubble {
    position: absolute;
    top: 30vh;
    left: 4.5%;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 200px;
    text-align: center;
    line-height: 1.4;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
    z-index: 12;
  }
  
  .algaeGuardSVG:hover .thought-bubble {
    opacity: 1;
    transform: scale(1);
  }
  .thought-dots {
    position: absolute;
    top: 40vh; /* adjust based on bubble position */
    left: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 12;
  }
  
  .thought-dots span {
    display: block;
    background: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  
  .thought-dots span:nth-child(2) {
    width: 8px;
    height: 8px;
    margin-left: 5px;
  }
  
  .thought-dots span:nth-child(3) {
    width: 6px;
    height: 6px;
    margin-left: 7px;
  }

  
  /* STEPS */
  .steps {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
  }
  
  .steps h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary);
  }
  
  .step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .step {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  .step img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 1.5rem;
  }
  
  .step h3 {
    font-size: 1.125rem;
    margin: 0.5rem auto;
    color: var(--primary);
  }
  
  .step p {
    padding: 0 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }
  
  .step .learn-btn {
    margin: 0 auto 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.25s;
  }
  
  .step .learn-btn:hover {
    color: var(--accent);
  }
  
  /* BENEFITS */
  .benefits {
    background: var(--primary);
    color: #fff;
    padding: 4rem 1rem;
  }
  
  .benefits-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
  }
  
  .benefit span {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 0.4rem;
  }
  
  .benefit-list h2 {
    margin-bottom: 1.25rem;
    font-size: 2rem;
    color: #fff;
  }
  
  .benefit-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  /* DOWNLOADS */
  .downloads {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
  }
  
  .downloads h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary);
  }
  
  .download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
  }
  
  .download {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .download img {
    width: 100px;
    margin-bottom: 1rem;
  }
  
  .download a {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
  }
  
  .download a:hover {
    color: var(--accent);
  }

  .cold-air {
    position: absolute;
    bottom: 6rem;
    left: -150px;
    opacity: 0;
    z-index: 1;
  }
  
  /* TESTIMONIALS */
  .testimonials {
    background: var(--primary);
    padding: 4rem 1rem;
  }
  
  .testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--light);
  }
  
  .testimonial-wrap {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .testimonial {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  .testimonial h4 {
    color: var(--dark);
    font-weight: 700;
  }
  
  /* CTA */
  .cta {
    text-align: center;
    padding: 4rem 1rem;
  }
  
  .cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
  }
  
  .cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  /* FOOTER */
  footer {
    background: #ffffff;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
  }
  /* --- Fixed CTA button --- */
.buy-kit-cta{
  position:fixed;
  top:100px;              /* adjust to sit below your nav */
  left:22px;
  z-index:6000;
  padding:.7rem 1rem;
  font-weight:700;
  letter-spacing:.02em;
  background:#ff7a1a;    /* CRT brand orange */
  color:#0b1b2b;         /* CRT ink */
  border:none;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  cursor:pointer;
  outline-offset:3px;
  animation:pulse 2.2s ease-in-out infinite;
}
.buy-kit-cta:focus-visible{ box-shadow:0 0 0 3px #7cc4ff; }
@media (prefers-reduced-motion: reduce){
  .buy-kit-cta{ animation:none; }
}

@keyframes pulse{
  0%,100%{ transform:scale(1); box-shadow:0 6px 18px rgba(0,0,0,.18); }
  50%{ transform:scale(1.10); box-shadow:0 10px 26px rgba(0,0,0,.24); }
}

/* Mobile thumb-friendly placement */
@media (max-width: 768px){
  .buy-kit-cta{
    top:auto; left:50%; bottom:18px; transform:translateX(-50%);
  }
}

/* --- Modal / dialog --- */
.kit-dialog[hidden]{ display:none; }
.kit-dialog{
  position:fixed; inset:0; z-index:7000;
  background:rgba(0,0,0,.54);
  display:grid; place-items:center;
  padding:20px;
}
.kit-dialog__card{
  background:linear-gradient(180deg,#0f253a,#0b1b2b); /* CRT deep blues */
  color:#f2f6fa;
  width:min(920px, 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:0;
  overflow:hidden;
}
@media (max-width:900px){
  .kit-dialog__card{ grid-template-columns: 1fr; }
}

.kit-dialog__close{
  position:absolute; top:10px; right:14px;
  font-size:32px; line-height:1; padding:.2rem .5rem;
  color:#f2f6fa; background:transparent; border:none; cursor:pointer;
}
.kit-dialog__media{
  background:#051320;
  display:grid; place-items:center;
  padding:24px;
}
.kit-dialog__media img{
  width:100%; height:auto; max-width:560px; border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.kit-dialog__content{
  padding:28px 28px 24px;
  display:flex; flex-direction:column; gap:14px;
}
.kit-dialog__price{
  display:flex; align-items:baseline; gap:12px; margin:.25rem 0 .35rem;
}
.kit-dialog__amount{
  font-size:2rem; font-weight:800; color:#ffffff;
}
.kit-dialog__note{
  font-size:.95rem; color:#bcd0e0;
}

.kit-dialog__actions{
  display:flex; flex-wrap:wrap; gap:10px; margin:.25rem 0 .5rem;
}
.kit-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.75rem 1rem; border-radius:12px; text-decoration:none; font-weight:700;
  border:1px solid rgba(255,255,255,.14);
}
.kit-btn--primary{ background:#ff7a1a; color:#22160b; border-color:#ff7a1a; }
.kit-btn--ghost{ background:transparent; color:#f2f6fa; }

.kit-dialog__bullets{
  margin:.25rem 0 0; padding-left:1.2rem; color:#bcd0e0;
}
.kit-dialog__bullets li{ margin:.2rem 0; }
  @media (max-width: 768px) {
    .features-grid,
    .steps-grid,
    .download-grid {
      grid-template-columns: 1fr;
    }
  
    .benefits-inner {
      grid-template-columns: 1fr;

    }
  
    .benefit {


      gap: 0.5rem;
    }
  
    .benefit span {
      margin: 0;
    }
  
    .benefit-image img {
      width: 90%;
      margin-top: 2rem;
    }
  
    .download {
      padding: 1rem;
    }
  
    .download img {
      width: 80px;
    }
  
    .download h4 {
      font-size: 1.1rem;
    }
  
    .download a {
      font-size: 0.95rem;
    }
  
    nav ul {
      display: none;
      flex-direction: column;
      background: #fff;
      position: absolute;
      top: 100%;
      right: 1.5rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      padding: 1rem;
      border-radius: 0.5rem;
    }
  
    nav ul.open {
      display: flex;
    }
  
    nav a {
      width: 100%;
    }
  
    .nav-toggle {
      display: block;
    }
  
    .logo {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
    }
  
    .kit-title {
      font-size: 1rem;
    }
  
    .hero {
      background-position: center top;
      background-size: cover;
      background-attachment: scroll;
      background-repeat: no-repeat;
      padding: 6rem 1.5rem 4rem;
      min-height: auto;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .hero .btn {
      padding: 0.65rem 1.25rem;
      font-size: 0.95rem;
    }
  }
  @media (max-width: 1000px) {
    .svgContainer {
      display: none;
    }

  }
  @media (max-width: 768px) {
    .acman-container {
      bottom: -1rem;
      right: 1rem;
      width: 25vw; /* Slightly wider for smaller screens */
    }
  
    #ACmanSVG {
      margin-top: 1rem;
      margin-left: 0;
    }
  
    .pill-wrapper {
      transform: translateY(-2rem); /* Less pull-up for spacing */
    }
  
    .acman-pill {
      font-size: 0.75rem;
      padding: 0.4rem 1rem;
      gap: 0.4rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .text {
      display: none;
    }
    .acman-pill .icon {
      width: 24px;
      height: 24px;
      font-size: 0.85rem;
    }
  }