.hepigo-promo-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  min-height: 550px;
  display: flex;
  align-items: center;
  /* Background miring Putih ke Merah */
  background: linear-gradient(105deg, #ffffff 60%, #ce1018 60.1%);
}

.hepigo-text-logo {
  font-weight: 800;
  font-family: sans-serif;
  color: #ce1018;
  font-size: 2.5rem;
  letter-spacing: -1px;
}

.benefit-pill {
  background-color: #ce1018;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  max-width: 100%;
  box-shadow: 0 10px 20px rgba(206, 16, 24, 0.3);
  text-decoration: none;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

/* --- Gift & Coin Animation Wrapper --- */
.gift-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

/* Update class ini */
.gift-box-base {
  position: relative;
  z-index: 10;
  transform: rotate(-5deg); /* Posisi miring default */
  transition: transform 0.3s;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));

  animation: floatBox 3s ease-in-out infinite;
}

.gift-wrapper:hover .gift-box-base {
  transform: rotate(0deg) scale(1.05);
}

/* Coin General Style */
.hepigo-coin {
  position: absolute;
  z-index: 20;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

/* Coin 1 (Kiri Atas) */
.coin-1 {
  width: 20%;
  top: 10%;
  left: 20%;
  animation: floatCoin 3s ease-in-out infinite;
}

/* Coin 2 (Tengah Atas) */
.coin-2 {
  width: 18%;
  top: -10%;
  left: 50%;
  animation: floatCoin 4s ease-in-out infinite 0.5s;
}

/* Coin 3 (Kanan Bawah) */
.coin-3 {
  width: 15%;
  top: 25%;
  right: 15%;
  animation: floatCoin 3.5s ease-in-out infinite 1s;
}

/* Animation Keyframes */
@keyframes floatCoin {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes floatBox {
  0% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-15px) rotate(-5deg);
  }
  100% {
    transform: translateY(0px) rotate(-5deg);
  }
}

/* Responsif HP untuk Promo Section */
@media (max-width: 991px) {
  .hepigo-promo-section {
    background: linear-gradient(180deg, #ffffff 55%, #ce1018 55.1%);
    text-align: center;
    padding-bottom: 2rem;
  }
  .gift-wrapper {
    margin-top: 3rem;
    max-width: 70%;
  }
}

/* --- Vertical Tabs Style --- */
.hepigo-nav .nav-link {
  color: #666;
  background-color: transparent;
  transition: all 0.3s;
  font-weight: 500;
}

.hepigo-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: var(--honda-red);
}

/* State Active: Merah dengan Shadow */
.hepigo-nav .nav-link.active {
  background-color: var(--honda-red);
  color: white;
  box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

/* Badge Nomor di Menu */
.hepigo-nav .nav-link .badge {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  color: #666;
}

.hepigo-nav .nav-link.active .badge {
  background-color: white;
  color: var(--honda-red);
}

/* Garis Merah Pendek di Judul Konten */
.line-red {
  width: 60px;
  height: 4px;
  background-color: var(--honda-red);
}

/* Level Cards */
.level-card {
  transition: transform 0.3s;
}
.level-card:hover {
  transform: translateY(-5px);
}

/* Kotak Kecil Warna-Warni (Aplikasi) */
.earn-card-mini {
  border-radius: 12px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.earn-card-mini:hover {
  transform: translateY(-3px);
}

/* Warna Custom Sesuai Gambar */
.bg-dark-red {
  background-color: #8b0000;
}
.bg-pink {
  background-color: #ffc0cb;
}

.earn-card-activity {
  border-radius: 12px;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  border: 2px solid #eee;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Custom Carousel Indicators (Dots) */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0 6px;
  opacity: 0.3;
}
.carousel-indicators .active {
  opacity: 1;
  width: 12px;
  height: 12px;
}

/* --- Slide 2 Styles (Mockup HP) --- */
.step-phone-wrapper {
  position: relative;
  padding-top: 30px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-phone-wrapper:hover {
  transform: translateY(-5px);
}

.step-phone-img {
  max-height: 230px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--honda-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- Custom Gradient Button (Untuk Tab 6) --- */
.btn-gradient-red {
  background: linear-gradient(
    90deg,
    #ff5f6d 0%,
    #ffc371 100%
  ); /* Fallback jika merah gagal */
  background: linear-gradient(
    90deg,
    #ed1c24 0%,
    #ff6b6b 100%
  ); /* Merah Honda Gradient */
  color: white;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(237, 28, 36, 0.3);
}

.btn-gradient-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
  color: white;
}

/* Ubah warna tombol saat tidak aktif (collapsed) agar terlihat beda */
.btn-gradient-red.collapsed {
  background: white;
  color: var(--honda-red);
  border: 2px solid var(--honda-red);
  box-shadow: none;
}
.btn-gradient-red.collapsed i {
  background-color: var(--honda-red) !important;
  color: white;
}

/* --- Benefit Level List Style --- */
.benefit-header {
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.benefit-header-starter {
  background: linear-gradient(90deg, #29b6f6, #0288d1);
}
.benefit-header-rider {
  background: linear-gradient(90deg, #6c757d 0%, #adb5bd 100%);
}
.benefit-header-racer {
  background: linear-gradient(90deg, #997737, #a67b2b);
}
.benefit-header-champion {
  background: linear-gradient(90deg, #d32f2f, #b71c1c);
}

/* Item Benefit */
.benefit-item {
  transition: background-color 0.2s;
}

.benefit-item:hover {
  background-color: #f8f9fa;
}

.benefit-item img {
  object-fit: contain;
  background-color: transparent;
}

/* --- Styles untuk Section Kalkulasi Level --- */

.calc-btn {
  background-color: #ed1c24;
  color: white;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(237, 28, 36, 0.3);
  font-size: 0.9rem;
  cursor: default;

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden; /* Untuk efek kilau jika mau ditambahkan nanti */
}

.calc-btn:hover {
  background-color: #c4161c; /* Merah lebih gelap */
  transform: translateY(-5px); /* Tombol naik ke atas 5px */
  box-shadow: 0 8px 15px rgba(237, 28, 36, 0.5); /* Bayangan makin besar & lembut */
  cursor: pointer; /* Ubah kursor jadi jari tunjuk */
}

.calc-btn:active {
  transform: translateY(-2px); /* Turun sedikit saat diklik */
  box-shadow: 0 4px 6px rgba(237, 28, 36, 0.3);
}

.calc-img {
  transition: all 0.3s ease;
  position: relative;
}

.calc-img:hover {
  scale: 160%;
  z-index: 100;
  cursor: pointer;
}

/* --- Style Tab 7 (Cara Cek Hepigo) --- */

/* Badge Nomor Langkah (Lingkaran Merah) */
.step-badge-red {
  background-color: var(--honda-red);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0; /* Agar tidak gepeng */
  box-shadow: 0 3px 6px rgba(237, 28, 36, 0.3);
}

/* --- FAQ Section Styles --- */

/* Reset Border & Background Accordion Item */
.accordion-hepigo .accordion-item {
  border: none;
  background-color: transparent;
}

/* Style Tombol Accordion (Merah) */
.accordion-hepigo .accordion-button {
  background-color: #ed1c24; /* Merah Honda */
  color: white;
  font-weight: 600;
  border-radius: 10px !important; /* Sudut tumpul */
  box-shadow: 0 4px 6px rgba(237, 28, 36, 0.2); /* Bayangan merah halus */
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Saat tombol diklik (Expanded), tetap merah tapi agak gelap sedikit */
.accordion-hepigo .accordion-button:not(.collapsed) {
  background-color: #d3181f;
  color: white;
  box-shadow: 0 6px 12px rgba(237, 28, 36, 0.3);
}

/* Mengubah warna panah (Chevron) menjadi Putih */
.accordion-hepigo .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: scale(1.2); /* Memperbesar panah sedikit */
}

/* Style Isi Accordion (Body) */
.accordion-hepigo .accordion-body {
  background-color: white;
  border: 1px solid #eee;
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 1.5rem;
  margin-top: -5px; /* Sedikit naik agar nyambung dengan header */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Efek Hover pada Tombol FAQ */
.hover-scale {
  transition: transform 0.2s;
}
.hover-scale:hover {
  transform: scale(1.05);
}
