/* ============================================================
   ULTRA-PREMIUM HOW TO USE SECTION (FONT AWESOME & LUXURY DESIGN)
   ============================================================ */

.how-to-use-section {
  padding: 100px 0 110px;
  background: radial-gradient(circle at 50% 0%, rgba(241, 245, 249, 0.8) 0%, #ffffff 70%),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.how-to-use-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.how-to-use-header {
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.how-to-use-subhead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.6);
  padding: 6px 18px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.how-to-use-subhead .subhead-line {
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  display: inline-block;
}

.how-to-use-subhead .subhead-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #0f172a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.how-to-use-subhead .subhead-text i {
  color: #059669;
  font-size: 13px;
}

.how-to-use-title {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.how-to-use-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.7;
  margin: 0 auto;
}

/* STEP CARDS CONTAINER & FLEX WRAPPER WITH ARROWS */
.how-to-use-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.how-step-card-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

/* CARD BOX */
.how-step-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.02);
  padding: 40px 26px 36px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease;
}

/* Top Accent Line on Card */
.how-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.how-step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px -12px rgba(15, 23, 42, 0.1), 0 10px 24px -6px rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

.how-step-card:hover::before {
  opacity: 1;
}

/* ELEGANT STEP NUMBER WATERMARK/BADGE */
.step-number-bg {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  opacity: 0.7;
  pointer-events: none;
  transition: color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.how-step-card:hover .step-number-bg {
  color: #059669;
  opacity: 0.25;
  transform: scale(1.1);
}

/* PURE FONT AWESOME CIRCLE ICON */
.step-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(209, 250, 229, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-top: 22px;
  margin-bottom: 26px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06), 0 8px 20px rgba(5, 150, 105, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.4s ease, 
              color 0.4s ease, 
              box-shadow 0.4s ease;
}

/* Ensure no hardcoded emoji pseudo-elements exist */
.step-icon-circle::after {
  content: none !important;
  display: none !important;
}

.how-step-card:hover .step-icon-circle {
  transform: scale(1.12) rotate(4deg);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15), 0 14px 28px rgba(5, 150, 105, 0.25);
  border-color: transparent;
}

.step-icon-circle i {
  transition: transform 0.35s ease;
}

.how-step-card:hover .step-icon-circle i {
  transform: scale(1.08);
}

/* CARD TEXT CONTENT */
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.step-accent-bar {
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 3px;
  margin-top: auto;
  transition: width 0.35s ease, background 0.35s ease;
}

.how-step-card:hover .step-accent-bar {
  width: 54px;
}

/* STEP CONNECTING ARROWS */
.step-connector-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
  transition: all 0.35s ease;
}

.how-step-card-wrap:hover .step-connector-arrow {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3);
}

/* Hide arrow on last step */
.how-step-card-wrap:last-child .step-connector-arrow {
  display: none !important;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 991px) {
  .how-to-use-grid {
    flex-direction: column;
    gap: 28px;
  }
  .step-connector-arrow {
    right: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(50%) rotate(90deg);
  }
  .how-step-card-wrap:hover .step-connector-arrow {
    transform: translateX(50%) rotate(90deg) scale(1.15);
  }
  .how-to-use-title {
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .how-to-use-title {
    font-size: 28px;
  }
  .how-step-card {
    padding: 32px 20px 28px;
  }
  .how-to-use-section {
    padding: 70px 0 80px;
  }
}
