.hero {
  background: #f7f8fd;
  padding: 30px 40px 80px 40px;
  margin-top: -20px;
}

.index-howto-inline {
  background: #f7f8fd;
  padding: 20px 10px 30px 10px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-copy {
  flex: 1;
}

.hero-copy h1 {
  font-size: 36px;
  margin: 0 0 10px;
}

.hero-copy h2 {
  font-size: 36px;
  color: #3b82f6; /* your blue */
  margin: 0 0 20px;
}

.hero-copy p {
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #555;
}

/* Right side packs */

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pack-stack {
  position: relative;
  width: 420px;
  height: 380px;
}

.pack {
  position: absolute;
  bottom: 0;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.22));
  max-width: 56%;
}

/* left pack */
.pack-back {
  left: -6%;
  bottom: -10px;
  transform: rotate(-10deg);
  z-index: 1;
}

/* center */
.pack-main {
  left: 22%;
  bottom: 12px;
  z-index: 3;
}

/* right */
.pack-right {
  right: -15%;
  top: 12%;
  bottom: 10;
  transform: rotate(10deg);
  z-index: 2;
}

/* simple responsiveness */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    order: -1;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap; /* optional, helps if they get too wide */
  }

  #main_container,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* Phones specifically */
@media (max-width: 480px) {
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 24px; /* down from 36px */
  }

  .hero-copy p {
    font-size: 15px; /* slightly smaller body text if needed */
  }

  .hero {
    padding: 10px 10px 80px 20px;
  }
}

@media (max-width: 900px) {
  .hero-visual {
    overflow: hidden;
  }
}

/* =========================
   HERO SLIDER (CLEAN VERSION)
   ========================= */

.hero-slides {
  min-height: 330px;
}

/* Hide all slides by default */
.hero-slide {
  display: none;
}

/* Show active slide */
.hero-slide.active {
  display: contents;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #3b82f6;
}

.hero {
  position: relative; /* REQUIRED */
}

@media (max-width: 900px) {
  .hero-visual {
    overflow: hidden;
    width: 100%;
  }

  .pack-stack {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pack-stack {
    width: 280px;
    height: 240px;
  }

  .pack-back {
    left: 0;
  }

  .pack-right {
    right: 0;
  }
}

/* how to section */
.hero-slide-howto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
}

.hero-slide-howto .howto-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #2563eb;
  margin-bottom: 10px;
}

.hero-slide-howto h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #0c1222;
  margin-bottom: 8px;
}

.hero-slide-howto .howto-sub {
  color: #4e5a72;
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.howto-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  width: 100%;
}

.howto-step {
  background: #ffffff;
  border: 1px solid rgba(10, 14, 26, 0.06);
  border-radius: 12px;
  padding: 16px 8px 16px 10px;
  text-align: left;
  flex: 0 1 calc(33.33% - 9px);
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(12, 18, 34, 0.04);
}

.step-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.step-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0c1222;
  margin-bottom: 2px;
}

.step-info {
  font-size: 0.75rem;
  color: #4e5a72;
  line-height: 1.45;
}

/* Tablet — 768px */
@media (max-width: 768px) {
  .howto-steps {
    gap: 10px;
  }
  .howto-step {
    flex: 0 1 calc(50% - 5px);
    min-width: 140px;
  }
  .hero-slide-howto {
    min-height: auto;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .howto-steps {
    gap: 8px;
  }

  .howto-step {
    flex: 0 1 calc(50% - 4px);
    min-width: 0;
    padding: 12px 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .step-icon {
    font-size: 1.35rem;
    margin: 0;
  }

  .step-name {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
  }

  .step-info {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-slide-howto h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 6px;
    padding: 0 8px;
  }

  .hero-slide-howto .howto-sub {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 20px;
    max-width: 320px;
    padding: 0 8px;
  }
}

.index-faq-inline {
  padding: 40px 40px 40px 40px;
  background: #fff;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
