/* Responsive improvements for the "How it works" section */

/* Base responsive adjustments */
@media (min-width: 1400px) {
  .how-section {
    padding-block: var(--space-10);
  }
  
  .section-header {
    margin-bottom: var(--space-8);
  }
  
  .section-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
  }
  
  .section-divider {
    width: 90px;
    margin-top: 1.25rem;
  }
  
  .steps-grid {
    gap: var(--space-6);
  }
  
  .step-card {
    padding: var(--space-7) var(--space-6);
  }
  
  .step-number-container {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-4);
  }
  
  .step-number {
    font-size: 1.3rem;
  }
  
  .step-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .step-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }
  
  .step-text {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Large screens */
@media (min-width: 1800px) {
  .how-section {
    padding-block: var(--space-11);
  }
  
  .section-header {
    margin-bottom: var(--space-9);
  }
  
  .section-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-top: 0.75rem;
  }
  
  .section-divider {
    width: 110px;
    height: 3px;
    margin-top: 1.5rem;
  }
  
  .section-circles {
    gap: 10px;
  }
  
  .section-circles .circle {
    width: 10px;
    height: 10px;
  }
  
  .steps-grid {
    max-width: 1500px;
    gap: var(--space-7);
  }
  
  .step-card {
    padding: var(--space-8) var(--space-7);
  }
  
  .step-number-container {
    width: 50px;
    height: 50px;
    margin-bottom: var(--space-5);
  }
  
  .step-number-container::before {
    inset: -4px;
  }
  
  .step-number {
    font-size: 1.5rem;
  }
  
  .step-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  .step-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .step-text {
    font-size: 1.125rem;
    line-height: 1.6;
  }
}

/* Extra large screens */
@media (min-width: 2200px) {
  .how-section {
    padding-block: var(--space-12);
  }
  
  .section-header {
    margin-bottom: var(--space-10);
  }
  
  .section-icon {
    width: 90px;
    height: 90px;
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 3.25rem;
  }
  
  .section-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin-top: 1rem;
  }
  
  .section-divider {
    width: 130px;
    height: 3px;
    margin-top: 1.75rem;
  }
  
  .section-circles {
    gap: 12px;
    margin-top: var(--space-5);
  }
  
  .section-circles .circle {
    width: 12px;
    height: 12px;
  }
  
  .steps-grid {
    max-width: 1800px;
    gap: var(--space-8);
  }
  
  .step-card {
    padding: var(--space-9) var(--space-8);
  }
  
  .step-number-container {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-6);
  }
  
  .step-number-container::before {
    inset: -5px;
  }
  
  .step-number {
    font-size: 1.75rem;
  }
  
  .step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .step-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .step-text {
    font-size: 1.25rem;
    line-height: 1.7;
  }
}

/* Ultra-wide screens */
@media (min-width: 2400px) {
  .how-section {
    padding-block: var(--space-14);
  }
  
  .steps-grid {
    max-width: 2000px;
  }
  
  .step-card {
    padding: var(--space-10) var(--space-9);
  }
  
  .step-card:hover {
    transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
  }
  
  .step-number-container {
    width: 70px;
    height: 70px;
  }
  
  .step-number {
    font-size: 2rem;
  }
  
  .step-icon {
    font-size: 3rem;
  }
  
  .step-title {
    font-size: 1.8rem;
  }
  
  .step-text {
    font-size: 1.35rem;
  }
  
  /* Special 3D effect enhancement for ultra-wide screens */
  .steps-grid {
    perspective: 1200px;
  }
  
  .step-card {
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  }
  
  .step-card:hover {
    box-shadow: 
      0 20px 30px -15px rgba(0,0,0,0.3),
      0 0 20px rgba(212,175,55,0.1);
  }
}