/* =========================================================
   GHANIA GAWAI
   How It Works
   /cara-kerja/
   ========================================================= */


/* =========================================================
   01. PAGE
   ========================================================= */

.how-page {
  min-height: 100vh;

  background:
    linear-gradient(
      180deg,
      #f7fbfe 0%,
      #ffffff 360px
    );
}


/* =========================================================
   02. HERO
   ========================================================= */

.how-hero {
  position: relative;

  padding:
    66px
    0
    50px;

  overflow: hidden;
}

.how-hero::before {
  content: "";

  position: absolute;

  top: -250px;
  right: -170px;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(20, 146, 222, 0.12),
      rgba(20, 146, 222, 0)
    );

  pointer-events: none;
}

.how-hero::after {
  content: "";

  position: absolute;

  left: -220px;
  bottom: -270px;

  width: 430px;
  height: 430px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(73, 207, 182, 0.12),
      rgba(73, 207, 182, 0)
    );

  pointer-events: none;
}

.how-hero__content {
  position: relative;

  z-index: 2;

  max-width: 760px;

  margin-inline: auto;

  text-align: center;
}

.how-hero__eyebrow {
  margin-bottom: 14px;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  color:
    var(--color-primary);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.how-hero__title {
  max-width: 720px;

  margin:
    0
    auto
    18px;

  font-size:
    clamp(
      42px,
      5.2vw,
      60px
    );

  font-weight: 800;

  line-height: 1.03;

  letter-spacing: -0.048em;
}

.how-hero__title-highlight {
  color:
    var(--color-primary);
}

.how-hero__description {
  max-width: 640px;

  margin:
    0
    auto;

  color:
    var(--color-muted);

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   03. PROCESS OVERVIEW
   ========================================================= */

.how-overview {
  padding:
    22px
    0
    84px;
}

.how-overview__box {
  position: relative;

  padding:
    34px;

  overflow: hidden;

  background:
    var(--color-white);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-xl);

  box-shadow:
    0 18px 54px
    rgba(15, 23, 42, 0.06);
}

.how-overview__grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap: 14px;
}

.how-overview__grid::before {
  content: "";

  position: absolute;

  top: 31px;
  right: 8%;
  left: 8%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(20, 146, 222, 0),
      rgba(20, 146, 222, 0.26),
      rgba(20, 146, 222, 0)
    );

  pointer-events: none;
}


/* =========================================================
   04. OVERVIEW STEP
   ========================================================= */

.how-overview-step {
  position: relative;

  z-index: 2;

  min-width: 0;

  text-align: center;
}

.how-overview-step__number {
  width: 62px;
  height: 62px;

  margin:
    0
    auto
    15px;

  display: grid;

  place-items: center;

  color:
    var(--color-primary);

  background:
    var(--color-primary-soft);

  border:
    1px solid
    rgba(20, 146, 222, 0.14);

  border-radius: 18px;

  font-size: 16px;
  font-weight: 800;
}

.how-overview-step__title {
  margin-bottom: 6px;

  font-size: 14px;
}

.how-overview-step__description {
  margin: 0;

  color:
    var(--color-muted);

  font-size: 10px;

  line-height: 1.6;
}


/* =========================================================
   05. DETAIL SECTION
   ========================================================= */

.how-details {
  padding:
    82px
    0;

  background:
    var(--color-background);
}

.how-details__header {
  max-width: 680px;

  margin-bottom: 48px;
}

.how-details__list {
  display: flex;

  flex-direction: column;

  gap: 28px;
}


/* =========================================================
   06. DETAIL ITEM
   ========================================================= */

.how-detail {
  position: relative;

  min-width: 0;

  display: grid;

  grid-template-columns:
    100px
    minmax(0, 1fr);

  gap: 30px;
}

.how-detail:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 90px;
  bottom: -28px;
  left: 49px;

  width: 1px;

  background:
    linear-gradient(
      180deg,
      rgba(20, 146, 222, 0.24),
      rgba(20, 146, 222, 0.06)
    );
}

.how-detail__marker {
  position: relative;

  z-index: 2;

  width: 100px;

  display: flex;

  justify-content: center;
}

.how-detail__circle {
  width: 62px;
  height: 62px;

  display: grid;

  place-items: center;

  color:
    var(--color-white);

  background:
    linear-gradient(
      145deg,
      var(--color-primary),
      var(--color-secondary)
    );

  border:
    6px solid
    var(--color-background);

  border-radius: 50%;

  box-shadow:
    0 8px 24px
    rgba(20, 146, 222, 0.18);

  font-size: 16px;
  font-weight: 800;
}


/* =========================================================
   07. DETAIL CARD
   ========================================================= */

.how-detail__card {
  min-width: 0;

  padding:
    28px;

  background:
    var(--color-white);

  border:
    1px solid
    var(--color-border);

  border-radius:
    18px;

  box-shadow:
    var(--shadow-xs);
}

.how-detail__eyebrow {
  margin-bottom: 7px;

  color:
    var(--color-primary);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.how-detail__title {
  margin-bottom: 10px;

  font-size: 24px;
}

.how-detail__description {
  max-width: 720px;

  margin:
    0
    0
    22px;

  color:
    var(--color-muted);

  font-size: 13px;

  line-height: 1.75;
}


/* =========================================================
   08. DETAIL CONTENT GRID
   ========================================================= */

.how-detail__content {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 12px;
}

.how-detail-info {
  min-width: 0;

  padding:
    15px;

  background:
    var(--color-background);

  border:
    1px solid
    var(--color-border);

  border-radius: 12px;
}

.how-detail-info__icon {
  width: 34px;
  height: 34px;

  margin-bottom: 10px;

  display: grid;

  place-items: center;

  color:
    var(--color-primary);

  background:
    var(--color-primary-soft);

  border-radius: 10px;
}

.how-detail-info__icon svg {
  width: 17px;
  height: 17px;
}

.how-detail-info__title {
  margin-bottom: 4px;

  color:
    var(--color-dark);

  font-size: 11px;
  font-weight: 800;
}

.how-detail-info__description {
  margin: 0;

  color:
    var(--color-muted);

  font-size: 10px;

  line-height: 1.55;
}


/* =========================================================
   09. DETAIL LIST
   ========================================================= */

.how-detail__list {
  padding: 0;
  margin:
    18px
    0
    0;

  display: flex;

  flex-direction: column;

  gap: 8px;

  list-style: none;
}

.how-detail__list li {
  display: flex;

  align-items: flex-start;

  gap: 8px;

  color:
    var(--color-text);

  font-size: 11px;

  line-height: 1.6;
}

.how-detail__list li::before {
  content: "✓";

  width: 19px;
  height: 19px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color:
    var(--color-primary);

  background:
    var(--color-primary-soft);

  border-radius: 6px;

  font-size: 9px;
  font-weight: 800;
}


/* =========================================================
   10. REVIEW / OFFER SECTION
   ========================================================= */

.how-review {
  padding:
    82px
    0;
}

.how-review__box {
  position: relative;

  padding:
    46px;

  overflow: hidden;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, 0.9fr);

  align-items: center;

  gap: 52px;

  color:
    rgba(255, 255, 255, 0.82);

  background:
    linear-gradient(
      135deg,
      #102a43,
      #123c58
    );

  border-radius:
    var(--radius-2xl);
}

.how-review__box::after {
  content: "";

  position: absolute;

  right: -170px;
  bottom: -230px;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(73, 207, 182, 0.26),
      rgba(73, 207, 182, 0)
    );

  pointer-events: none;
}

.how-review__content {
  position: relative;

  z-index: 2;
}

.how-review__eyebrow {
  margin-bottom: 10px;

  color:
    var(--color-secondary);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.how-review__title {
  max-width: 590px;

  margin-bottom: 14px;

  color:
    var(--color-white);

  font-size: 31px;

  line-height: 1.15;
}

.how-review__description {
  max-width: 600px;

  margin:
    0
    0
    22px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 13px;

  line-height: 1.75;
}


/* =========================================================
   11. REVIEW FACTORS
   ========================================================= */

.how-review__factors {
  position: relative;

  z-index: 2;

  padding:
    21px;

  background:
    rgba(255, 255, 255, 0.07);

  border:
    1px solid
    rgba(255, 255, 255, 0.09);

  border-radius: 14px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.how-review__factors-title {
  margin-bottom: 13px;

  color:
    var(--color-white);

  font-size: 12px;
  font-weight: 800;
}

.how-review__factors ul {
  padding: 0;
  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 10px;

  list-style: none;
}

.how-review__factors li {
  display: flex;

  align-items: center;

  gap: 9px;

  color:
    rgba(255, 255, 255, 0.82);

  font-size: 11px;
}

.how-review__factors li::before {
  content: "✓";

  width: 20px;
  height: 20px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color:
    var(--color-secondary);

  background:
    rgba(73, 207, 182, 0.12);

  border-radius: 50%;

  font-size: 9px;
  font-weight: 800;
}


/* =========================================================
   12. IMPORTANT INFORMATION
   ========================================================= */

.how-important {
  padding:
    78px
    0;

  background:
    var(--color-background);
}

.how-important__header {
  max-width: 650px;

  margin-bottom: 34px;
}

.how-important__grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 14px;
}

.how-important-card {
  min-width: 0;

  padding: 23px;

  background:
    var(--color-white);

  border:
    1px solid
    var(--color-border);

  border-radius: 15px;

  box-shadow:
    var(--shadow-xs);
}

.how-important-card__icon {
  width: 42px;
  height: 42px;

  margin-bottom: 15px;

  display: grid;

  place-items: center;

  color:
    var(--color-primary);

  background:
    var(--color-primary-soft);

  border-radius: 12px;
}

.how-important-card__icon svg {
  width: 19px;
  height: 19px;
}

.how-important-card__title {
  margin-bottom: 7px;

  font-size: 15px;
}

.how-important-card__description {
  margin: 0;

  color:
    var(--color-muted);

  font-size: 11px;

  line-height: 1.7;
}


/* =========================================================
   13. FAQ PREVIEW
   ========================================================= */

.how-faq {
  padding:
    78px
    0;
}

.how-faq__layout {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.7fr)
    minmax(0, 1.3fr);

  gap: 62px;
}

.how-faq__intro {
  position: sticky;

  top: 110px;

  align-self: start;
}

.how-faq__intro
.section-description {
  margin-bottom: 22px;
}

.how-faq__list {
  display: flex;

  flex-direction: column;

  gap: 9px;
}


/* =========================================================
   14. FAQ ITEM
   ========================================================= */

.how-faq-item {
  overflow: hidden;

  background:
    var(--color-white);

  border:
    1px solid
    var(--color-border);

  border-radius: 13px;

  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.how-faq-item.is-open {
  border-color:
    rgba(20, 146, 222, 0.25);

  box-shadow:
    var(--shadow-sm);
}

.how-faq-item__button {
  width: 100%;

  padding:
    17px
    18px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 18px;

  text-align: left;
}

.how-faq-item__question {
  color:
    var(--color-dark);

  font-size: 13px;
  font-weight: 700;

  line-height: 1.5;
}

.how-faq-item__icon {
  width: 27px;
  height: 27px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color:
    var(--color-primary);

  background:
    var(--color-primary-soft);

  border-radius: 8px;

  transition:
    transform var(--transition-base);
}

.how-faq-item.is-open
.how-faq-item__icon {
  transform:
    rotate(45deg);
}

.how-faq-item__answer {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 320ms ease;
}

.how-faq-item__answer-inner {
  padding:
    0
    18px
    18px;

  color:
    var(--color-muted);

  font-size: 11px;

  line-height: 1.7;
}


/* =========================================================
   15. FINAL CTA
   ========================================================= */

.how-final-cta {
  padding:
    20px
    0
    90px;
}

.how-final-cta__box {
  position: relative;

  padding:
    48px;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      #e8f6fd,
      #eafaf7
    );

  border:
    1px solid
    rgba(20, 146, 222, 0.12);

  border-radius:
    var(--radius-2xl);
}

.how-final-cta__box::after {
  content: "";

  position: absolute;

  right: -160px;
  bottom: -240px;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(20, 146, 222, 0.12),
      rgba(20, 146, 222, 0)
    );

  pointer-events: none;
}

.how-final-cta__content {
  position: relative;

  z-index: 2;

  max-width: 640px;

  margin-inline: auto;
}

.how-final-cta__eyebrow {
  margin-bottom: 9px;

  color:
    var(--color-primary);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.how-final-cta__title {
  margin-bottom: 12px;

  font-size: 34px;
}

.how-final-cta__description {
  max-width: 540px;

  margin:
    0
    auto
    22px;

  color:
    var(--color-muted);

  font-size: 13px;

  line-height: 1.7;
}

.how-final-cta__actions {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 9px;
}


/* =========================================================
   16. LOADING
   ========================================================= */

.how-loading {
  min-height: 180px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 12px;

  color:
    var(--color-muted);

  text-align: center;
}

.how-loading__spinner {
  width: 30px;
  height: 30px;

  border:
    3px solid
    var(--color-border);

  border-top-color:
    var(--color-primary);

  border-radius: 50%;

  animation:
    how-spinner
    0.7s
    linear
    infinite;
}

@keyframes how-spinner {
  to {
    transform:
      rotate(360deg);
  }
}