@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;900&display=swap');

/* ═══════════════════════════════════════════════
   GLOBAL VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-lime: #ADFF00;
  --color-dark-gray: #1a1a1a;
  --color-mid-gray: #333333;
  --color-light-gray: #f5f5f5;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --transition: all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
  display: none;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-black);
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  background: var(--color-black);
  font-family: var(--font-body);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════════
   HEADER & LOGOS
═══════════════════════════════════════════════ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 5%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  transition: padding 0.3s ease;
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -40px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.main-header.scrolled::before {
  opacity: 1;
}

.main-header.scrolled {
  padding: 15px 5%;
  background: transparent;
}

.header-logo,
.main-nav {
  mix-blend-mode: difference;
}

.header-logo-img {
  max-width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.7;
}

.nav-btn {
  border: 0.5px solid #ffffff;
  padding: 8px 24px;
  margin-top: -12px;
  transition: all 0.3s ease !important;
  font-weight: 600;
}

.nav-btn:hover {
  background: #ADFF00;
  color: #000 !important;
  opacity: 1 !important;
}

.footer-logo-img {
  max-width: 160px;
  /* Control logo width */
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════ */
.container {
  max-width: 100vw;
  margin: 0;
  padding: 100px 5%;
}

.section-label {
  font-family: var(--font-heading);
  color: var(--color-lime);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-label.dark {
  color: var(--color-black);
}

/* Scroll Animations */
.reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 200vh;
}

.hero-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.hero-line1 {
  color: var(--color-white);
}

.hero-line2 {
  color: var(--color-lime);
}

.hero-bottle-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bottle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.bottle-white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.bottle-real {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.bottle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 400px;
  background: radial-gradient(circle, rgba(173, 255, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.hero-subtitle {
  position: absolute;
  bottom: -15vh;
  /* Pushed down to clear bottle */
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 1.2rem;
  letter-spacing: 1px;
  opacity: 0.8;
  white-space: nowrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

.hero-scroll-driver {
  height: 150vh;
  /* Determines how long the scroll animation lasts */
  position: relative;
  z-index: -1;
}

/* ═══════════════════════════════════════════════
   STARLINK-STYLE SECTIONS
═══════════════════════════════════════════════ */
.sl-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  color: var(--color-white);
}

.sl-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sl-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.sl-product-img {
  max-height: 65vh;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.sl-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 5%;
  display: flex;
  flex-direction: column;
}

.sl-bottom-left {
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 80px;
}

.sl-bottom-center {
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 80px;
}

.sl-heading {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sl-body {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sl-btn {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.sl-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ═══════════════════════════════════════════════
   COLOR SHOWCASE
═══════════════════════════════════════════════ */
.color-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6vw;
  width: 100%;
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.color-item:hover {
  transform: translateY(-10px);
}

.color-bottle-img {
  height: 40vh;
  width: 18vw;
  min-width: 140px;
  max-width: 220px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 15px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.color-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--color-white);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════
   SECTION 9 — FOOTER
═══════════════════════════════════════════════ */
.footer-section {
  background: #050505;
  /* very dark gray/black to match hydro link */
  color: #fff;
  padding: 80px 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  max-width: 1400px;
  margin-inline: auto;
}

.footer-logo {
  margin-bottom: 20px;
}


.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background: var(--color-lime);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-lime);
  padding-left: 5px;
}

.footer-contact .icon {
  margin-right: 10px;
  color: var(--color-white);
}

.footer-newsletter {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.footer-newsletter input:focus {
  border-color: var(--color-lime);
}

.footer-newsletter button {
  background: var(--color-lime);
  color: var(--color-black);
  border: 1px solid var(--color-lime);
  padding: 0 20px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background: var(--color-white);
  border-color: var(--color-white);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1400px;
  margin-inline: auto;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--color-lime);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sl-heading {
    font-size: 2.5rem;
  }

  .sl-body {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .sl-btn {
    padding: 12px 30px;
    font-size: 0.8rem;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-subtitle {
    bottom: -10vh;
  }

  .bottle {
    transform: translateX(-50%) scale(0.7);
  }

  .main-nav {
    display: none;
    /* Hide top nav on mobile for simplicity, or keep small gap */
  }

  .sl-section {
    min-height: 500px;
  }

  .color-showcase {
    flex-wrap: wrap;
    gap: 20px;
  }

  .color-bottle-img {
    height: 30vh;
  }
}

/* ═══════════════════════════════════════════════
   SCROLL TO TOP BUTTON
═══════════════════════════════════════════════ */
#scrollUpBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  background-color: var(--color-lime);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#scrollUpBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  .social-icons {
    display: flex;
    gap: 15px;
  }

  .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 50%;
    transition: var(--transition);
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .social-icon:hover {
    background: var(--color-lime);
  }

  .footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
  }

  .footer-links li,
  .footer-contact li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .footer-links a {
    transition: var(--transition);
  }

  .footer-links a:hover {
    color: var(--color-lime);
    padding-left: 5px;
  }

  .footer-contact .icon {
    margin-right: 10px;
    color: var(--color-white);
  }

  .footer-newsletter {
    display: flex;
    margin-top: 20px;
  }

  .footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
  }

  .footer-newsletter input:focus {
    border-color: var(--color-lime);
  }

  .footer-newsletter button {
    background: var(--color-lime);
    color: var(--color-black);
    border: 1px solid var(--color-lime);
    padding: 0 20px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
  }

  .footer-newsletter button:hover {
    background: var(--color-white);
    border-color: var(--color-white);
  }

  .footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 1400px;
    margin-inline: auto;
  }

  .footer-bottom-links {
    display: flex;
    gap: 20px;
  }

  .footer-bottom-links a:hover {
    color: var(--color-lime);
  }

  /* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    .sl-heading {
      font-size: 2.5rem;
    }

    .sl-body {
      font-size: 1rem;
      margin-bottom: 20px;
    }

    .sl-btn {
      padding: 12px 30px;
      font-size: 0.8rem;
    }

    .footer-main-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .social-icons {
      justify-content: center;
    }

    .footer-bottom-bar {
      flex-direction: column;
      gap: 20px;
    }

    .footer-bottom-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  @media (max-width: 768px) {
    .hero-headline {
      font-size: 3rem;
    }

    .hero-subtitle {
      bottom: -10vh;
    }

    .bottle {
      transform: translateX(-50%) scale(0.7);
    }

    .main-nav {
      display: none;
    }

    .sl-section {
      min-height: auto;
      padding: 60px 5%;
    }

    #design {
      flex-direction: column-reverse !important;
      text-align: center;
    }

    #design>div {
      width: 100% !important;
      padding: 40px 5% !important;
    }

    #design img {
      height: 40vh !important;
      object-fit: contain !important;
    }

    .color-showcase {
      flex-wrap: wrap;
      gap: 20px;
    }

    .color-bottle-img {
      height: 30vh;
    }

    /* Specs HUD Mobile Scaling */
    #specs>div:first-child {
      transform: scale(0.6);
    }

    #specs [style*="position: absolute"] {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      width: 100% !important;
      text-align: center !important;
      margin: 20px 0;
      animation: none !important;
      transform: none !important;
    }

    #specs {
      flex-direction: column;
      height: auto !important;
      min-height: 100vh;
      padding: 100px 5%;
    }
  }

  /* ═══════════════════════════════════════════════
   SCROLL TO TOP BUTTON
═══════════════════════════════════════════════ */
  #scrollUpBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background-color: var(--color-lime);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }

  #scrollUpBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #scrollUpBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(196, 233, 0, 0.4);
    background-color: #dffc1a;
  }

  /* ═══════════════════════════════════════════════
   HUD ANIMATIONS
═══════════════════════════════════════════════ */
  @keyframes hudSpin {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes hudSpinReverse {
    100% {
      transform: rotate(-360deg);
    }
  }

  @keyframes floatPath1 {

    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }

    33% {
      transform: translate(40px, -50px) scale(1.05);
    }

    66% {
      transform: translate(-30px, 40px) scale(0.95);
    }
  }

  @keyframes floatPath2 {

    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }

    33% {
      transform: translate(-50px, 30px) scale(0.95);
    }

    66% {
      transform: translate(40px, -40px) scale(1.05);
    }
  }

  @keyframes floatPath3 {

    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }

    33% {
      transform: translate(35px, 50px) scale(1.05);
    }

    66% {
      transform: translate(-45px, -30px) scale(0.95);
    }
  }
