/* ==========================================================================
   SECTION-FIST.CSS — Fist open/reveal animation
   ========================================================================== */

.fist-wrapper {
  height: calc(var(--fist-cycles, 2) * 200vh);
}

.fist {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
}

.fist__stages {
  position: absolute;
  inset: 0;
}

.fist__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.fist__stage.is-active {
  pointer-events: auto;
}

.fist__stage-surface {
  position: absolute;
  inset: 0;
}

.fist__stage--purpose .fist__stage-surface, .fist__stage--process .fist__stage-surface {
  background:
    radial-gradient(circle at top, rgba(1, 157, 244, 0.28), transparent 36%),
    linear-gradient(135deg, #07192a 0%, #0f2741 45%, #07192a 100%);
  backdrop-filter: blur(10px);
}

/* .fist__stage--process .fist__stage-surface {
  background:
    radial-gradient(circle at 80% 20%, rgba(173, 198, 15, 0.22), transparent 30%),
    linear-gradient(135deg, #1a1f08 0%, #0f3026 45%, #07192a 100%);
} */

/* Arms */
.fist__arm {
  position: absolute;
  top: 50%;
  height: 50vh;
  width: auto;
  max-width: none;
  object-fit: cover;
  border-radius: var(--radius-card);
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.fist__arm--left {
  right: 50%;
  transform: translateY(-50%) translateX(0);
  transform-origin: right center;
}

.fist__arm--right {
  left: 50%;
  transform: translateY(-50%) translateX(0);
  transform-origin: left center;
}

/* Content revealed between arms */
.fist__content {
  position: absolute;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-lg);
  opacity: 1;
  pointer-events: none;
  max-width: 800px;
  will-change: transform;
}

.fist__content.is-active {
  pointer-events: auto;
}

.fist__content-eyebrow {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-mint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
  display: block;
}

.fist__content-headline {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.fist__content-headline span {
  color: var(--color-cyan);
}

.fist__content-headline--process {
  max-width: 780px;
  margin-inline: auto;
}

.fist__content-headline--process .fist__content-headline-line {
  display: block;
  color: var(--color-white);
}

.fist__content-headline--process .fist__content-headline-line--sm {
  font-size: clamp(32px, 3.8vw, 48px);
}

.fist__content-headline--process .fist__content-headline-line--lg {
  font-size: clamp(54px, 7vw, 96px);
}

.fist__stage--process .fist__content {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 4vw, 48px);
}

.fist__process-layout {
  width: min(1088px, calc(100vw - 96px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.fist__stage--process .fist__content-headline--process {
  margin-bottom: 0;
}

.fist__stage--process .fist__content-headline-line--sm {
  font-size: clamp(30px, 3.4vw, 48px);
}

.fist__stage--process .fist__content-headline-line--lg {
  font-size: clamp(58px, 7.2vw, 96px);
}

.fist__process-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  width: 100%;
}

.fist__process-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  border: 1px solid #35dfc0;
  border-radius: 24px;
  background: rgba(8, 29, 43, 0.32);
  box-shadow: 0 0 10px rgba(65, 225, 212, 0.9);
}

.fist__process-card-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--color-white);
  flex-shrink: 0;
}

.fist__process-card-icon {
  display: block;
  width: 36px;
  height: 36px;
}

.fist__process-card-copy {
  width: 158px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fist__process-card-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.fist__process-card-rating {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.fist__process-card-stars {
  display: block;
  width: 130px;
  height: 26px;
}

.fist__process-card-label {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
}

@media (max-width: 1199.98px) {
  .fist__process-layout {
    width: min(960px, calc(100vw - 72px));
  }

  .fist__process-cards {
    gap: 24px;
  }

  .fist__process-card {
    padding-inline: 24px;
    gap: 18px;
  }

  .fist__process-card-copy {
    width: auto;
  }

  .fist__process-card-stars {
    width: 110px;
    height: auto;
  }
}

@media (max-width: 991.98px) {
  .fist__stage--process .fist__content {
    padding-inline: 24px;
  }

  .fist__process-layout {
    width: min(720px, 100%);
    gap: 32px;
  }

  .fist__process-cards {
    flex-wrap: wrap;
  }

  .fist__process-card {
    flex: 0 1 320px;
  }

  /* Tablet stars: medium size */
  .fist__process-card-stars {
    width: 88px;
    height: 18px;
  }
}

@media (max-width: 767.98px) {
  .fist__stage--process .fist__content {
    padding-inline: 16px;
  }

  .fist__process-layout {
    width: 100%;
    gap: 24px;
  }

  .fist__stage--process .fist__content-headline-line--sm {
    font-size: clamp(24px, 6vw, 32px);
  }

  .fist__stage--process .fist__content-headline-line--lg {
    font-size: clamp(42px, 10vw, 60px);
  }

  .fist__process-cards {
    gap: 16px;
  }

  .fist__process-card {
    width: 100%;
    max-width: 340px;
    padding: 18px 20px;
    gap: 16px;
  }

  .fist__process-card-icon-wrap {
    width: 52px;
    height: 52px;
  }

  /* Reduce star size - smaller width and height */
  .fist__process-card-stars {
    width: 72px;
    height: 14px;
  }

  /* Make cards more compact */
  .fist__process-card-rating {
    font-size: 14px;
  }

  .fist__process-card-label {
    font-size: 14px;
  }
}

.fist__content-body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
