body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px; /* Aligns roughly with the scroll section content */
  background: rgba(255, 255, 255, 0.85); /* Light glass */
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  color: #000;
}

.nav-content {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  flex: 1; /* Pushes the links to the center */
}

.nav-links {
  flex: 2; /* Takes up middle space */
  display: flex;
  justify-content: center;
}

.nav-links a {
  color: #555;
  text-decoration: none;
  margin: 0 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000;
}

.nav-buy-container {
  flex: 1; /* Pushes the button perfectly to the right */
  display: flex;
  justify-content: flex-end;
}

.buy-button {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.buy-button:active {
  transform: scale(0.95);
}

.buy-button:hover {
  background: #333;
}

/* 1-IMAGE HERO SECTION */
.hero-section {
  height: 300vh; /* Reduced height, still plenty of scroll time */
  position: relative;
  background-color: #fff; /* White background to absorb jpeg background */
}

.sticky-container {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.single-image-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-img {
  width: 100%;
  max-width: 800px;
  object-fit: contain;
  mix-blend-mode: darken; /* Erases white background perfectly */
  /* Starts invisible so intro screen takes focus */
  opacity: 0;
  transform: scale(0.8);
  filter: blur(20px);
  will-change: transform, filter, opacity;
}

.glare {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  mix-blend-mode: overlay; /* Soft reflection effect */
  pointer-events: none;
  will-change: transform, background;
  transform: translateX(-100%);
}

.intro-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 20;
  text-align: center;
  color: #000;
}

.intro-screen h1 {
  font-size: 5rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.intro-screen p {
  font-size: 1.5rem;
  color: #555;
  margin-top: 10px;
}

.scroll-indicator {
  margin-top: 60px;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.arrow-down {
  width: 15px;
  height: 15px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* EARGEAR SCROLL SECTION */
.eargear-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
  background-color: #fff;
  color: #000;
}

.eargear-sticky {
  position: sticky;
  top: 10vh; 
  height: 80vh;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Base image styling */
.eargear-img {
  position: absolute;
  width: 100%;
  max-width: 600px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: darken;
}

.eargear-img.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.eargear-content {
  width: 50%;
  padding-right: 5%;
  padding-bottom: 20vh;
}

.scroll-step {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.2;
  transition: opacity 0.5s;
}

.scroll-step.active {
  opacity: 1;
}

.scroll-step h2 {
  font-size: 3.5rem;
  margin: 0 0 15px 0;
  letter-spacing: -0.02em;
  background: none;
  -webkit-text-fill-color: #000;
  color: #000;
}

.scroll-step p {
  font-size: 1.4rem;
  color: #333;
  line-height: 1.6;
}

/* FOOTER BUY SECTION */
.buy-section {
  text-align: center;
  padding: 100px 20px;
  background: #111;
  border-top: 1px solid #333;
}

.buy-section h2 {
  font-size: 3rem;
  margin: 0 0 10px 0;
  color: #fff;
}

.buy-section p {
  font-size: 1.2rem;
  color: #a1a1a6;
  margin-bottom: 40px;
}

.large-buy {
  background: #fff;
  color: #000;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.large-buy:hover {
  background: #ddd;
}
.large-buy:active {
  transform: scale(0.95);
}

.mobile-img {
  display: none;
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}

/* MOBILE RESPONSIVE */
@media (max-width: 800px) {
  .hero-section h1 { font-size: 2.5rem; }
  .hero-section p { font-size: 1rem; }
  
  .eargear-section {
    display: block;
    padding: 0;
    background-color: #fff;
  }
  
  /* Hide desktop sticky images on mobile */
  .eargear-sticky {
    display: none;
  }
  
  /* Show interleaved images */
  .mobile-img {
    display: block !important;
    margin: 0 auto 30px auto;
  }

  .eargear-content {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 2;
    padding-bottom: 5vh;
  }
  
  .scroll-step {
    min-height: auto; /* Remove 60vh minimum to flow naturally */
    padding: 80px 20px; /* Space them out natively */
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    opacity: 1 !important; /* Force visible on mobile, kill JS fade */
  }
  
  .scroll-step h2 {
    font-size: 2rem;
    color: #000;
  }
  
  .scroll-step p {
    font-size: 1.1rem;
    color: #333;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  
  .buy-section h2 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
}
