 /* Steps Section */
 .steps-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.trading-rules-section h2,
.steps-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px; 
    text-shadow: 0 0 10px rgba(0, 221, 235, 0.8);
    margin-bottom: 40px;
    text-align: center;
}
.trading-rules-section h2 span,
.steps-section h2 span {
    color: #00ddeb;
    text-shadow: 0 0 15px rgba(0, 221, 235, 1);
}

.step-footer h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 221, 235, 0.8);
    margin-bottom: 10px;
    text-align: center;
}


.step-footer{
    position: relative;
    max-width: 1220px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 221, 235, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-top: 10px;

}


.steps-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 1600px;
}

.step-card {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 221, 235, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 221, 235, 0.5);
}



.step-number {
    position: absolute;
    top: 10px;
    left: 4%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00ddeb, #0077b6);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 221, 235, 0.5);
    z-index: 2;
}

.step-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 221, 235, 0.5);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-card p {
    font-size: 1rem;
    color: #e0e0e0;
    text-shadow: 0 0 3px rgba(0, 221, 235, 0.3);
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.cta-button {
    padding: 15px 30px;
    background: linear-gradient(90deg, #00ddeb, #0077b6);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 221, 235, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 221, 235, 0.8);
}













/* ================= STEPS SECTION RESPONSIVE ================= */

/* Large devices (desktops, 1200px and down) */
@media (max-width: 1200px) {
    .step-footer {
      width: 900px;
    }
    
    .steps-container {
      max-width: 1200px;
    }
  }
  
  /* Medium devices (tablets, 992px and down) */
  @media (max-width: 992px) {
    .steps-section {
      padding: 60px 20px;
    }
    
    .step-footer {
      width: 700px;
      padding: 25px;
    }
    
    .steps-container {
      gap: 25px;
    }
    
    .step-card {
      width: 280px;
      padding: 25px;
    }
    
    .trading-rules-section h2,
    .steps-section h2,
    .step-footer h2 {
      font-size: 2.2rem;
      margin-bottom: 30px;
    }
  }
  
  /* Small devices (landscape phones, 768px and down) */
  @media (max-width: 768px) {
    .steps-section {
      padding: 50px 15px;
    }
    
    .step-footer {
      width: 90%;
      padding: 20px;
    }
    
    .steps-container {
      gap: 20px;
    }
    
    .step-card {
      width: calc(50% - 30px);
      min-width: 250px;
      padding: 20px;
    }
    
    .trading-rules-section h2,
    .steps-section h2,
    .step-footer h2 {
      font-size: 1.8rem;
      letter-spacing: 1px;
      margin-bottom: 25px;
    }
    
    .step-card h3 {
      font-size: 1.3rem;
    }
    
    .step-card p {
      font-size: 0.9rem;
    }
    
    .step-number {
      font-size: 1rem;
      padding: 4px 12px;
    }
    
    .cta-button {
      padding: 12px 25px;
      font-size: 1rem;
    }
  }
  
  /* Extra small devices (portrait phones, 576px and down) */
  @media (max-width: 576px) {
    .steps-section {
      padding: 40px 10px;
    }
    
    .step-footer {
      width: 95%;
      padding: 15px;
      border-radius: 12px;
    }
    
    .steps-container {
      gap: 15px;
    }
    
    .step-card {
      width: 100%;
      max-width: 300px;
      min-width: auto;
      padding: 20px 15px;
    }
    
    .trading-rules-section h2,
    .steps-section h2,
    .step-footer h2 {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
    
    .step-card h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }
    
    .step-card p {
      font-size: 0.85rem;
      line-height: 1.4;
    }
    
    .step-number {
      left: 5%;
      font-size: 0.9rem;
    }
    
    .cta-button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
    
    /* Adjust grid animation for mobile */
    .step-card::before {
      background-size: 20px 20px;
      opacity: 0.4;
    }
  }
  
  /* Very small devices (phones under 400px) */
  @media (max-width: 400px) {
    .trading-rules-section h2,
    .steps-section h2,
    .step-footer h2 {
      font-size: 1.3rem;
    }
    
    .step-card {
      padding: 15px 10px;
    }
    
    .step-card h3 {
      font-size: 1.1rem;
    }
    
    .step-card p {
      font-size: 0.8rem;
    }
  }