/* ==========================================================
   HOW IT WORKS PAGE SPECIFIC STYLES
========================================================== */

.hstat-icon.orange {
  background: var(--orange-100);
  color: var(--orange-600);
}

/* ──── SECTION DESCRIPTIONS ──── */
.section-description {
  max-width: 700px;
  margin-top: 12px;
  color: var(--slate-600);
  margin-left: auto;
  margin-right: auto;
}

.section-description-small {
  max-width: 600px;
  margin-top: 12px;
  color: var(--slate-600);
  margin-left: auto;
  margin-right: auto;
}

/* ──── PROCESS OVERVIEW GRID ──── */
.process-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: center;
}

.overview-card {
  background: white;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  border: 2px solid var(--slate-200);
  text-align: center;
  transition: all var(--tr);
}

.overview-card:hover {
  border-color: var(--green-600);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.overview-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.overview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--slate-900);
  font-weight: 700;
}

.overview-card p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.overview-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: auto;
}

.overview-connector::before {
  content: "";
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--slate-200));
  border-radius: 2px;
}

/* ──── DETAILED STEPS SECTION ──── */
.detailed-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.detailed-step {
  background: white;
  padding: 40px;
  border-radius: var(--r-lg);
  border-left: 5px solid var(--green-600);
  transition: all var(--tr);
}

.detailed-step:hover {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.step-content-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: flex-start;
}

.step-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
}

.step-icon-large.green {
  background: linear-gradient(135deg, #10B981, #059669);
}

.step-icon-large.blue {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.step-icon-large.orange {
  background: linear-gradient(135deg, #F97316, #EA580C);
}

.step-icon-large.purple {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.step-text-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--slate-900);
  font-weight: 700;
}

.step-intro {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.step-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-700);
  padding-left: 0;
}

.step-feature-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--green-100);
  color: var(--green-600);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ──── TIMELINE SECTION ──── */
.timeline-wrapper {
  max-width: 900px;
  margin: 48px auto;
  position: relative;
  padding: 40px 0;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green-600), var(--slate-200));
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-marker {
  text-align: center;
  z-index: 1;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: white;
  border: 4px solid var(--green-600);
  border-radius: 50%;
  margin: 0 auto 12px;
}

.timeline-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-600);
}

.timeline-content {
  padding: 20px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  transition: all var(--tr);
}

.timeline-content:hover {
  border-color: var(--green-600);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--slate-900);
  font-weight: 700;
}

.timeline-content p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ──── REQUIREMENTS GRID ──── */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.requirement-card {
  padding: 28px 24px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  text-align: center;
  transition: all var(--tr);
}

.requirement-card:hover {
  border-color: var(--green-600);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.requirement-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.requirement-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--slate-900);
  font-weight: 700;
}

.requirement-detail {
  color: var(--green-600);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.requirement-note {
  color: var(--slate-600);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ──── BENEFITS GRID ──── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.benefit-card {
  padding: 32px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  transition: all var(--tr);
}

.benefit-card:hover {
  border-color: var(--green-600);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.benefit-icon.green {
  background: linear-gradient(135deg, #10B981, #059669);
}

.benefit-icon.blue {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.benefit-icon.orange {
  background: linear-gradient(135deg, #F97316, #EA580C);
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--slate-900);
  font-weight: 700;
}

.benefit-card p {
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ──── FAQ STYLES ──── */
.faq-container {
  max-width: 800px;
  margin: 48px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  transition: all var(--tr);
}

.faq-item:hover {
  border-color: var(--green-600);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-900);
  transition: all var(--tr);
}

.faq-question:hover {
  color: var(--green-600);
}

.faq-question i {
  transition: transform var(--tr);
  color: var(--green-600);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all var(--tr);
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  color: var(--slate-600);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  opacity: 1;
}

/* ──── RESPONSIVE ──── */
@media (max-width: 1024px) {
  .step-content-wrapper {
    grid-template-columns: 1fr;
  }

  .step-image-wrapper {
    min-width: 100%;
  }

  .timeline-wrapper::before {
    left: 15px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item .timeline-marker,
  .timeline-item .timeline-content {
    grid-column: 1 !important;
    text-align: left !important;
  }

  .timeline-marker {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .timeline-dot {
    margin: 0;
  }
}

@media (max-width: 960px) {
  .process-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-connector {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-overview-grid {
    grid-template-columns: 1fr;
  }

  .detailed-step {
    padding: 24px;
  }

  .step-content-wrapper {
    gap: 20px;
  }

  .step-icon-large {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .step-text-content h3 {
    font-size: 1.3rem;
  }

  .timeline-wrapper {
    padding: 20px 0 20px 40px;
  }

  .timeline-wrapper::before {
    left: 11px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .timeline-markers {
    position: relative;
    left: -10px;
  }

  .benefit-card {
    padding: 24px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-question {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 16px 16px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .process-overview-grid {
    gap: 16px;
  }

  .overview-card {
    padding: 20px 16px;
  }

  .overview-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .overview-card h3 {
    font-size: 1rem;
  }

  .overview-card p {
    font-size: 0.8rem;
  }

  .detailed-step {
    padding: 20px;
    border-left-width: 4px;
  }

  .step-icon-large {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .step-text-content h3 {
    font-size: 1.1rem;
  }

  .step-intro {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .step-feature-list li {
    font-size: 0.85rem;
  }

  .timeline-wrapper {
    padding: 20px 0 20px 30px;
  }

  .timeline-wrapper::before {
    left: 6px;
  }

  .timeline-content {
    padding: 16px;
  }

  .timeline-content h4 {
    font-size: 0.95rem;
  }

  .timeline-content p {
    font-size: 0.8rem;
  }

  .requirement-card {
    padding: 20px 16px;
  }

  .requirement-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .requirement-card h3 {
    font-size: 0.95rem;
  }

  .requirement-detail {
    font-size: 0.85rem;
  }

  .requirement-note {
    font-size: 0.75rem;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 20px;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card p {
    font-size: 0.85rem;
  }

  .faq-container {
    margin: 24px auto;
  }

  .faq-question {
    padding: 14px;
    font-size: 0.9rem;
  }

  .faq-answer p {
    padding: 0 14px 14px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .col-feature {
    grid-column: auto;
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }

  .col-value {
    grid-column: auto;
  }

  .cta-button-wrapper {
    gap: 8px;
  }

  .cta-button-wrapper .btn {
    flex: 1;
    min-width: 120px;
  }
}
