/* ========================================
   How BeeQR Works Page - Matching Uses Page Style
   ======================================== */

/* BeeQR Brand Colors */
:root {
  --beeqr-yellow: #FFC107;
  --beeqr-dark-grey: #333333;
  --beeqr-yellow-light: #FFD54F;
  --beeqr-yellow-dark: #FFA000;
}

/* Hero Section */
.howitworks-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #e9ecef;
}

.howitworks-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
}

.howitworks-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Steps Section */
.howitworks-steps {
  background: #ffffff;
  padding: 80px 0;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--beeqr-yellow);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.2);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--beeqr-yellow);
  color: var(--beeqr-dark-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.step-description {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Introduction Section */
.howitworks-intro {
  background: #fafbfc;
  padding: 60px 0;
}

.intro-content {
  font-size: 1.125rem;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Closing Section */
.howitworks-closing {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
  border-top: 1px solid #e9ecef;
}

.closing-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
}

.closing-description {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

.closing-cta {
  margin-top: 2rem;
}

.closing-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .howitworks-hero-title {
    font-size: 2.5rem;
  }

  .howitworks-hero-subtitle {
    font-size: 1.125rem;
  }

  .step-card {
    padding: 2rem;
  }

  .howitworks-steps {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .howitworks-hero {
    padding: 60px 0 40px;
  }

  .howitworks-hero-title {
    font-size: 2rem;
  }

  .howitworks-hero-subtitle {
    font-size: 1rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .closing-title {
    font-size: 1.875rem;
  }

  .closing-description {
    font-size: 1rem;
  }

  .closing-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .closing-cta .btn.ms-3 {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .howitworks-hero-title {
    font-size: 1.75rem;
  }

  .step-icon {
    font-size: 2.5rem;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.step-card:focus {
  outline: 2px solid var(--beeqr-yellow);
  outline-offset: 4px;
}
