/* Import Modern Google Fonts */
/* =====================================
   MAIN SECTION CONTAINER
===================================== */
.inf-how-section {
  width: 100%;
  background: #FAFAFC;
  padding: 110px 24px;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.inf-how-section * {
  box-sizing: border-box;
}

.inf-how-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* =====================================
   SECTION HEADING
===================================== */
.inf-how-heading {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.inf-how-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 249, 51, 0.08);
  border: 1px solid rgba(200, 249, 51, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.inf-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C8F933;
}

.inf-how-label {
  color: #0A0A0A;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.inf-how-heading h2 {
  font-family: "Sora", sans-serif;
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.8px;
  color: #0A0A0A;
}

.inf-gradient-text {
  background: linear-gradient(100deg, #C8F933 0%, #C8F933 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.inf-how-heading p {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #535353;
  max-width: 620px;
}

/* =====================================
   STEPS GRID & CONNECTORS
===================================== */
.inf-how-steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: center;
}

/* Step Card */
.inf-how-step {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(23, 23, 23, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inf-how-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(23, 23, 23, 0.08);
  border-color: rgba(200, 249, 51, 0.3);
}

/* Card Header */
.inf-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.inf-how-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(200, 249, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.inf-icon-purple {
  background: rgba(200, 249, 51, 0.12);
}

.inf-icon-pink {
  background: rgba(200, 249, 51, 0.12);
}

.inf-how-number {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #CBD5E1;
  letter-spacing: 1px;
}

/* Typography Inside Cards */
.inf-how-step h3 {
  font-family: "Sora", sans-serif;
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: -0.5px;
}

.inf-how-step p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #727272;
  flex-grow: 1;
}

/* Feature Badge */
.inf-how-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  background: #F1F5F9;
  font-size: 13px;
  font-weight: 600;
  color: #3F3F3F;
  align-self: flex-start;
}

.inf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

/* Connectors */
.inf-how-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.inf-connector-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #E2E8F0 0%, #CBD5E1 100%);
  z-index: 1;
}

.inf-connector-arrow {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* =====================================
   BOTTOM CTA
===================================== */
.inf-how-cta {
  margin-top: 64px;
  padding: 28px 36px;
  border-radius: 24px;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(23, 23, 23, 0.12);
}

.inf-how-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.inf-how-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.inf-how-cta-text strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.inf-how-cta-text p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #A1A1A1;
}

.inf-how-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none !important;
  background: linear-gradient(100deg, #C8F933 0%, #C8F933 100%);
  color: #0A0A0A !important;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inf-how-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 249, 51, 0.35);
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 1024px) {
  .inf-how-section {
    padding: 80px 20px;
  }

  .inf-how-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .inf-how-connector {
    display: none; /* Removed confusing lines on mobile for cleaner card layout */
  }

  .inf-how-heading h2 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .inf-how-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    text-align: center;
  }

  .inf-how-cta-left {
    flex-direction: column;
    gap: 12px;
  }

  .inf-how-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .inf-how-section {
    padding: 56px 16px;
  }

  .inf-how-heading {
    margin-bottom: 40px;
  }

  .inf-how-heading h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .inf-how-heading p {
    font-size: 15px;
  }

  .inf-how-step {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .inf-how-step h3 {
    font-size: 24px;
  }

  .inf-how-step p {
    font-size: 14px;
  }

  .inf-how-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}
