* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #fcfcf4;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: #2b2b2b;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.15s; 
}

.hero-section {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3vh 4vw;
  position: relative;
}

.header-logo {
  width: 100%;
  max-width: clamp(320px, 80vw, 1000px);
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 1vh;
}

.header-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

    .hero-image-container {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: clamp(260px, 32vw, 420px);
      height: 68vh;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      z-index: 2;
      pointer-events: none;
    }

    .hero-image-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: bottom center;
      filter: drop-shadow(0px 8px 20px rgba(50, 70, 180, 0.12));
    }

    .bottom-section {
      width: 100%;
      max-width: 850px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.2vh;
      z-index: 3;
      margin-bottom: 1.5vh;
    }

    .instruction-text {
      color: #3b50c4;
      font-weight: 700;
      font-size: clamp(0.85rem, 1.5vw, 1.1rem);
      text-align: center;
    }

    .button-group {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      width: 100%;
      max-width: 680px;
      padding: 0 10px;
    }

    .nav-btn {
      background-color: #3b50c4;
      color: #ffffff;
      text-decoration: none;
      text-align: center;
      padding: 10px 16px;
      border-radius: 50px;
      font-size: clamp(0.78rem, 1.1vw, 0.92rem);
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.2s ease-in-out;
      box-shadow: 0 4px 12px rgba(59, 80, 196, 0.25);
    }

    .nav-btn:hover {
      background-color: #2e40a3;
      transform: translateY(-2px);
    }

    @media (max-width: 600px) {
      .hero-image-container {
        width: 100vw;
        height: 75vh;                 
        bottom: 0;
      }

      .hero-image-container img {
        transform: scale(1.12);    
        transform-origin: bottom center;
      }

      .button-group {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 280px;
      }

      .bottom-section {
        margin-bottom: 2vh;
      }
    }