/* ── Hero ───────────────────────────────────────────── */
.hero {
  background: var(--color-bg-page);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.hero__content {
  padding: 0 var(--gutter-mobile) 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}

.hero__body {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-dark);
}

.hero__body strong {
  font-weight: 700;
}

.hero__showcase {
  max-height: 40vh;
  scale: initial;
  object-fit: cover;
}

.hero__cta-btn {
  align-self: center;
  width: fit-content;
  padding: 25px 20px;
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    gap: 0;
  }

  .hero__content {
    display: flex;
    flex-direction: row;
    padding: 2.5rem var(--gutter-desktop);
    align-self: center;
    justify-content: center;
    align-items: center;
  }

  .hero__cta-btn {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
}

/* ── Present ─────────────────────────── */
.present {
  display: none;
  width: 0%;
  height: 0;
}

.present__content {
  display: none;
}

@media (min-width: 900px) {
  .present {
    display: flex;
    width: 100%;
    height: auto;
    gap: 2rem;
    margin: 48px auto;
    align-items: center;
    justify-content: center;
  }

  .present__img {
    width: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .present__content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
  }

  .present__content-title {
    color: var(--color-dark);
    font-size: 56px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .present__content-text {
    color: var(--color-dark);
    font-size: 32px;
    font-weight: lighter;
    font-style: normal;
    line-height: normal;
  }
}

/* ── Start ──────────────────────────────────────────── */
.start {
  background: var(--color-white);
  padding: 4rem var(--gutter-mobile);
  margin: 0 auto;
  max-width: var(--max-width);
  overflow: visible;
}

.start__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.start__track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .start {
    padding: 5rem var(--gutter-desktop);
  }

  .start__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .start__title {
    font-size: 3rem;
  }
}

/* ── Feature Card ───────────────────────────────────── */
.feature-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 270px;
  flex: 0 0 220px;
  scroll-snap-align: start;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  flex-shrink: 0;
}

.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
}

.feature-card__desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-dark);
}

/* ── Advantages ─────────────────────────────────────── */
.advantages {
  background: var(--color-bg-page);
  padding: 5rem var(--gutter-mobile);
}

.advantages__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.advantages__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .advantages {
    padding: 5rem var(--gutter-desktop);
  }
}

@media (min-width: 1200px) {
  .advantages__title {
    font-size: 3rem;
  }
}

/* ── Advantage Card ─────────────────────────────────── */
.adv-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  box-shadow: var(--shadow-card);

  &:nth-child(odd) .adv-card__badge {
    top: 1.25rem;
  }

  &:nth-child(even) .adv-card__badge {
    bottom: 1.25rem;
  }

  @media (min-width: 900px) {
    &:nth-child(odd) .adv-card__badge {
      left: 141px;
    }

    &:nth-child(even) .adv-card__badge {
      left: 118px;
    }
  }
}

.adv-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: visible;
  border-radius: 0;
}

.adv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.adv-card__badge {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  background: var(--color-bg-icon);
  border-radius: var(--radius-xl);
  padding: 0.625rem 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.125rem;

  &.small {
    width: 140px;
  }
}

.adv-card__badge-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
}

.adv-card__badge-sub {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.4;
}

.adv-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.adv-card__title {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
}

.adv-card__how {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.adv-card__desc {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-dark);
}

.adv-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.adv-card__list li {
  display: flow-root;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-dark);
}

.adv-card__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: black;
  font-size: 0.7rem;
  font-weight: 700;
}

.adv-card__check::after {
  content: url(../assets/icons/check.svg);
}

.adv-card__brands-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-dark);
}

.adv-card__brands {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-wrap: wrap;
}

.brand-logo {
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border: 2px solid #e8e8e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.brand-logo:hover {
  border-color: var(--color-primary);
}

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

.adv-card__inline-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-icon);
  border-radius: var(--radius-xl);
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
  align-self: flex-start;
}

@media (min-width: 900px) {
  .adv-card {
    flex-direction: row;

    &:nth-child(odd) {
      flex-direction: row-reverse;
    }
  }

  .adv-card__img.displaced {
    object-position: 100% 100%;
  }

  .adv-card__img-wrap {
    width: 45%;
    min-width: 45%;
    aspect-ratio: auto;
    min-height: 300px;
    border-radius: 0;
  }

  .adv-card__body {
    flex: 1;
    padding: 2rem 2.5rem;
    gap: 1.5rem;
  }

  .adv-card__title {
    font-size: 1.75rem;
  }

  .adv-card__brands-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ── Salary ─────────────────────────────────────────── */
.salary {
  background: var(--color-white);
  padding: 5rem var(--gutter-mobile);
}

.salary__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.salary__title {
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  color: var(--color-dark);
}

.salary__subtitle {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-dark);
  max-width: 640px;
}

/* Slider */
.salary__slider {
  width: 100%;
  max-width: 760px;
  padding: 2.5rem 0 1rem;
  position: relative;
  height: 177px;
}

.salary__track {
  position: absolute;
  top: 83px;
  height: 10px;
  left: 0;
  right: 10px;
  background: var(--color-bg-card);
  border-radius: var(--radius-pill);
  margin: 0 2rem;
}

.salary__dots {
  top: 5px;
  left: 2rem;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.salary__dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  cursor: pointer;
  padding-top: calc(5px + 1rem);
  height: 85px;
  background: none;
  border: none;
}

.salary__dot-knob {
  min-width: 20px;
  min-height: 20px;
  background: var(--color-body);
  border-radius: 50%;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.salary__dot:hover .salary__dot-knob {
  transform: scale(1.2);
}

.salary__dot--active .salary__dot-knob {
  min-width: 28px;
  min-height: 28px;
  margin-top: -5px;
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.salary__dot-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2px;
}

.salary__dot-label span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
}

.salary__dot-label strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
  transition: color var(--transition);
}

.salary__dot--active .salary__dot-label strong {
  color: var(--color-primary-dark);
}

.salary__note {
  color: var(--color-body);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-top: 0.5rem;
}

/* Result area */
.salary__result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.salary__result-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
}

.salary__result-subtitle {
  font-size: 1rem;
  color: var(--color-body);
  margin-top: -0.75rem;
}

/* Cards row */
.salary__cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Coupon card */
.salary__coupon-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0.25rem;
}

.salary__coupon-label {
  font-size: 1rem;
  color: var(--color-dark);
}

/* Product card */
.salary__product-card {
  background: var(--color-bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.salary__product-header {
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.salary__product-header-text {
  font-size: 0.8rem;
  color: var(--color-body);
  align-self: center;
}

.salary__product-header-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.salary__product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.salary__product-tag {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.salary__product-tag--active {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.salary__product-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
}

.salary__product-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.salary__product-remaining-label {
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  color: var(--color-dark);
}

.salary__product-remaining {
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  color: var(--color-dark);
}

/* Cash option */
.salary__cash-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.salary__cash-label {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-dark);
}

.salary__cash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.salary__cash-sublabel {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  color: var(--color-dark);
  text-align: center;
}

/* Replaces the inline style that was on the cash amount wrapper */
.salary__cash-amount-wrap {
  display: flex;
  gap: 0.25rem;
  flex-direction: column;
  align-items: center;
}

.salary__option-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  margin-bottom: 0.5rem;
}

.salary__product-img {
  width: 156px;
  height: 156px;
  object-fit: contain;
}

.salary__option-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.1;
  transition: all 0.35s ease;
}

.salary__option-amount.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

@media (min-width: 1150px) {
  .salary__cards {
    flex-direction: row;
    align-items: stretch;
  }

  .salary__coupon-card {
    flex: 1;
  }

  .salary__product-header-container {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .salary__product-card {
    flex: 2;
    justify-content: center;
  }

  .salary__product-body {
    flex-direction: row;
  }

  .salary__product-img {
    height: 146px;
    width: auto;
  }

  .salary__product-header {
    align-items: center;
  }

  .salary__product-tags {
    justify-content: end;
    flex-direction: column;
    align-items: end;
  }
}

@media (min-width: 900px) {
  .salary {
    padding: 5rem var(--gutter-desktop);
  }
}

@media (min-width: 1200px) {
  .salary__title {
    font-size: 3rem;
  }
}

/* ── Coupon Steps ────────────────────────────────────── */
.coupon {
  background: var(--color-bg-page);
  padding: 4rem var(--gutter-mobile);
  margin: 0 auto;
  overflow: visible;
}

.coupon__title {
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  text-align: center;
  letter-spacing: -0.64px;
  color: var(--color-dark);
}

.coupon__subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  margin: 1.5rem 0 4.5rem;
  color: var(--color-dark);
  text-align: center;
  white-space: nowrap;
}

.step {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  min-width: 280px;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition);

  @media (min-width: 1200px) {
    min-width: 277px;
  }
}

.step__number {
  width: 32px;
  height: 32px;
  background: var(--color-bg-icon);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.step__desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-dark);
}

/* ── More Benefits ───────────────────────────────────── */
.more {
  display: block;
  background: var(--color-white);
  padding: 5rem var(--gutter-mobile);
}

.more__inner {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
}

.more__title {
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.64px;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 24px;
}

@media (min-width: 900px) {
  .more {
    padding: 5rem var(--gutter-desktop);
  }

  .more__title {
    margin-bottom: 32px;
  }

  .more__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

.more-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 280px;
  min-height: 494px;
}

.more-card__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.more-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.more-card__desc {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color: var(--color-dark);
}

/* ── Trust ───────────────────────────────────────────── */
.trust {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.trust__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center 30%;
  gap: 2.5rem;

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: -1;
  }
}

.trust__header {
  text-align: center;
  color: var(--color-white);
  margin-top: 16px;
}

.trust__title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.trust__subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.trust__stats {
  width: 100%;
  height: 100%;
}

.trust__stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  &.first {
    top: 168px;
    left: 16px;
  }

  &.second {
    top: 300px;
    right: 16px;
  }

  &.third {
    top: 438px;
    left: 16px;
  }

  &.fourth {
    top: 573px;
    right: 16px;
  }
}

.trust__stat-number {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  color: var(--color-dark);
}

.trust__stat-label {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 96%;
  color: var(--color-dark);
}

.trust__stat-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.3;
}

@media (min-width: 900px) {
  .trust__inner {
    width: 100%;
    min-height: 1000px;
    background-size: contain;
    background-position: 0% 100%;
    max-width: 100%;

    img {
      object-position: 50%;
    }
  }

  .trust__header {
    margin-top: 96px;
  }

  .trust__stats {
    width: 100%;
    height: 100%;
  }

  .trust__stat {
    width: 256px;

    &.first {
      top: 25%;
      left: 13%;
    }

    &.second {
      top: 60%;
      right: auto;
      left: 13%;
    }

    &.third {
      top: 37%;
      left: auto;
      right: 15%;
    }

    &.fourth {
      top: 70%;
      right: 15%;
    }
  }
}

@media (min-width: 1200px) {
  .trust__header {
    width: fit-content;
    align-self: center;
    padding: 0.75rem 1.25rem;
  }

  .trust__title {
    font-size: 3rem;
  }
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  background: var(--color-white);
  padding: 5rem var(--gutter-mobile);
}

.faq__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.faq__subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: -0.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  background: none;
  border: none;
  cursor: pointer;
}

.faq__btn:hover span {
  color: var(--color-primary);
}

.faq__chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-dark);
  transition: transform var(--transition);
}

.faq__item--open .faq__chevron,
.faq__btn[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-dark);
  overflow: hidden;
}

.faq__answer[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .faq {
    padding: 5rem var(--gutter-desktop);
  }
}

@media (min-width: 1200px) {
  .faq__title {
    font-size: 3rem;
  }
}
