.hero-section .highlight {
  color: #e91e63;
}

.hero-section {
  display: flex;
  background-image: url("../../../assets/image/home_page_new/bg-img.png");
  background-size: cover;
  backdrop-filter: blur(260px);
  -webkit-backdrop-filter: blur(260px);
  border-radius: 20px;
  min-height: 80vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  padding: 60px;
  gap: 32px;
}

.hero-title h1 {
  text-align: left;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.32;
  opacity: 0;
  margin: 0;
  transform: translateY(-40px);
  animation: fadeFromTop 1s ease-out forwards;
}

.hero-subtext {
  color: #797d7f;
  font-weight: 400;
  line-height: 1.52;
  font-size: 20px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeFromTop 1s ease-out 0.2s forwards;
}

.hero-metric {
  font-size: 52px;
  font-weight: 700;
  color: #e6275d;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeFromTop 1s ease-out 0.4s forwards;

  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}

/* On larger screens → show all in one line */
@media (min-width: 992px) {
  .hero-metric {
    grid-template-columns: repeat(4, 1fr);
    /* 4 pills in one row */
    max-width: 80%;
    /* allow full width */
  }
}



.hero-bottom {
  position: relative;
  overflow: hidden;
  display: none;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10px;
  gap: 10px;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeFromBottom 1.2s ease-out 0.8s forwards;
}

.hand-image::before,
.hand-image::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.hero-bottom::after {
  bottom: 0;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
}

.hero-download-btn {
  display: none;
}

.hero-download-btn a {
  color: #e6275d;
}

.hero-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  /*  */
}

.hand-image {
  position: absolute;
  left: 40%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeFromBottom 1.2s ease-out 0.8s forwards;
}

.hand-image img {
  height: 80vh;
  min-height: 200px;
}

.metric-text {
  font-weight: 400;
  color: #797d7f;
  font-size: 20px;
}

.tab img {
  transition: filter 0.3s ease;
}

.tab.is-active img {
  filter: brightness(0) invert(1);
  /* turns icon white */
}


.store-buttons {
  display: flex;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-40px);
  animation: fadeFromTop 1s ease-out forwards;
}

.playstore-img {
  width: 122px;
  height: 36px;
}

.appstore-img {
  width: 106px;
  height: 36px;
}

/* Animations */
@keyframes fadeFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeFromBottom {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    align-items: center;
    background-position: center;
  }

  .hero-text {
    align-items: center;
    padding: 20px;
    gap: 10px;
  }

  .hero-title h1 {
    text-align: center;
  }

  .br-tag {
    display: none;
  }

  .hand-image {
    position: relative;
    left: 0;
  }

  .hand-image img {
    min-height: 350px;
  }
}

@media (max-width: 425px) {
  .hero-text {
    margin-top: 14px;
    padding: 0 30px;
  }

  .hero-title h1 {
    font-size: 26px;
    line-height: 1.32;
  }

  .hero-download-btn {
    display: block;
    margin: 10px;
  }

  .hero-subtext {
    font-weight: 400;
    line-height: 1.32;
    font-size: 12px;
    text-align: center;
  }

  .hero-bottom .hero-metric {
    font-size: 24px;
  }

  .hero-bottom {
    border-radius: 20px;
    margin-top: 20px;
  }

  .hero-metric {
    gap: 12px;
  }

  .hand-image img {
    width: 370px;
    height: 350px;
  }

  .metric-text {
    font-size: 12px;
  }

  .store-buttons {
    gap: 8.4px;
  }

  .playstore-img {
    width: 94px;
    height: 28px;
  }

  .appstore-img {
    width: 82px;
    height: 28px;
  }
}

.section {
  width: 100%;
}

:root {
  --bg: #ffffff;
  --text: #333333;
  --text-strong: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --pill-top: 6px;
  --easing: cubic-bezier(.22, 1, .36, 1);
  --duration: 420ms;
}

.tabs {
  position: relative;
  display: inline-flex;
  gap: 28px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 4px 12px rgba(0, 0, 0, 0.2);

}

.tab {
  position: relative;
  z-index: 1;
  /* above indicator */
  appearance: none;
  background: transparent;
  border: 0;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  transition: color 220ms ease;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .tab:hover{ color:#9dc1ff; } */
.tab.is-active {
  color: var(--text-strong);
}

.indicator {
  position: absolute;
  top: var(--pill-top);
  bottom: var(--pill-top);
  left: 8px;
  width: 80px;
  border-radius: 9999px;
  background:
    linear-gradient(135deg, #e77494 0%, #e6275d 100%);
  border: 1px solid var(--border-soft);
  box-shadow:
    inset 0 1px 0 #e6275d37,
    0 8px 20px #e6275d23;
  transition:
    left var(--duration) var(--easing),
    width var(--duration) var(--easing);
  pointer-events: none;
}

/* panels */
/* .panels{
  position:relative;
  min-height: 100px;
  color: #1f232a;
  text-align: center;
  max-width: 450px;
}
.panel{
  position:absolute;
  inset:0 auto auto 50%;
  transform: translate(-50%, 8px);
  opacity:0;
  width: 100%;
  font-size: 18px;
  line-height: 1.6;
  transition: opacity 360ms ease, transform 360ms ease;
  font-weight: 400;
}
.panel.is-active{
  opacity:1;
  transform: translate(-50%, 0);
} */

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .indicator {
    transition: none;
  }

  .panel {
    transition: none;
  }
}

/* small screens */
.tab img {
  width: 30px;
  margin-bottom: 5px;
}

@media (max-width:700px) {
  .tabs {
    gap: 6px;
    padding: 8px;
  }

  .tab {
    padding: 12px 7px;
    font-size: 15px;
  }

  .tab img {
    width: 19px;
    margin-bottom: 4px;
  }

  .tab {
    font-size: 10px;
  }
}