:root {
  --vh: 1vh;
}

/* =========================
     HERO SECTION
  ========================= */
  .hero-section {
    height: calc(var(--vh) * 100);
    position: relative;
    height: 100vh;
    background: #272631;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    margin: 0;
    padding: 0;
  }


/* hide subtitle & button by default to prevent flash, but still visible if JS isn't present remove if you need visible without JS */
.hero-subtitle,
.hero-button-wrapper {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

  .hero-section h1 {
    position: relative; /* stays in flow */
    font-size: clamp(4rem, 12vw, 16rem);
    font-weight: 600;
    margin-top: 0; /* nudge downward */
    margin-bottom: -80px; /* optional: pull next element closer */
    color: #3e3d488f;
    white-space: nowrap;
    opacity: 0;
    animation: fadeDownCentered 0.6s ease-out forwards;
    pointer-events: none;
    transform: scale(1.1);
    z-index: 0;
    
  }
  
  @keyframes fadeDownCentered {
    0% { opacity: 0; transform: translateY(-10%) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1.1); }
  }

  @media (max-width: 768px) {
    .yokisa-image-container img {
      width: 90%;
    }
  }

  @media (min-width: 1200px) {
    .yokisa-image-container img {
      width: 500px;
    }
  }

  .yokisa-image-container img {
    position: relative;
    margin-top: -50px;
    z-index: 999;
  }

  .hero-content p {
    font-size: 1.3rem;
    margin: 10px 0 30px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* bring content above h1 */
  }
  
  /* =========================
     HERO BUTTONS
  ========================= */
  .hero-button-wrapper {
    background-color: #3e3d48;
    padding: 10px;
    display: inline-flex;
    gap: 10px;
    border-radius: 100px;
    margin-bottom: 40px;
  }
  
  .button-container.animate-liquid {
    display: flex;
    gap: 20px;
  }
  
  .hero-btn {
    all: unset;
    cursor: pointer;
    padding: 0 24px;
    height: 42px;
    min-width: 140px;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* BUY NOW */
  .hero-btn.buy-now {
    background: #272631;
    border: 2px solid #272631;
    color: white;
  }
  .hero-btn.buy-now:hover {
    background: white;
    color: #272631;
    border: 2px solid #fff;
  }
  
  /* BOOK A DEMO */
  .hero-btn.book-demo {
    background: transparent;
    border: 2px solid white;
    color: white;
  }
  .hero-btn.book-demo:hover {
    background: white;
    color: #272631;
  }

  /* Next section */
  .next-section {
    height: 100vh;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }

/* =========================
   LIGHT STREAK BACKGROUND
========================= */
.hero-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  z-index: 0; /* stays behind all content */
  pointer-events: none;
}

.hero-light img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  filter: none;
}

/* Make sure content appears above the light */
.hero-content {
  position: relative;
  z-index: 2;
}

/* =========================
   FORCE BUTTONS ON TOP OF EVERYTHING
========================= */

/* Make sure no background elements can block clicks */
.hero-section * {
  pointer-events: none;
}

/* Bring buttons back to life — clickable and visually above all */
.hero-button-wrapper,
.hero-btn {
  position: relative !important;
  z-index: 9999 !important;      /* topmost layer */
  pointer-events: auto !important; /* clickable again */
}

/* Keep hero text clickable if needed (like Book Demo animation) */
.hero-content {
  position: relative;
  z-index: 5000;
  pointer-events: auto;
}

/* Image stays behind — visible but non-interactive */
.yokisa-image-container img {
  z-index: 1;
  pointer-events: none;
}

/* =========================
   FIX: Make BUY NOW clickable again
========================= */

/* Disable clicks on the image completely */
.yokisa-image-container img {
  pointer-events: none !important;
  position: relative;
  z-index: 1; /* visually behind buttons */
}

/* Ensure the hero content (text + buttons) is always above */
.hero-content {
  position: relative;
  z-index: 999 !important;
  pointer-events: auto;
}

/* Bring the button wrapper above everything */
.hero-button-wrapper {
  position: relative;
  z-index: 1000 !important;
  pointer-events: auto;
}

/* Buttons must always be clickable and visually on top */
.hero-btn {
  z-index: 1001 !important;
  pointer-events: auto;
}

