/* =========================================
   RESPONSIVENESS (Mobile First -> Desktop)
   ========================================= */



@media (max-width: 1199px) {
.header .nav-links{gap: 1.2rem;}
.header .nav-links .btn{margin-left: 1rem;}
.max-wid-80 {
  max-width: 100%;
}


/* Hero */
.hero-section .hero-content h1 { font-size: 2rem; }

/* Feature */
.feature-section .card-text { max-width: 100%; }

}

@media (max-width: 991px) {
  .same-heading {
    margin-bottom: 2rem;
  }

  /* Global */
  .same-section { padding: 3.5rem 0; }
  .max-wid-50 { max-width: 100%; }

  /* Header */
  .header .nav-actions {
    display: none;
  }

  .header .nav-content{justify-content: space-between;}
  .header .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
        gap: 0.6rem;
        z-index: 1002;
        transition: left 0.3s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  }
  .header .nav-links .btn{margin-left: 0; margin-top: 0.8rem;}

  .header .nav-links.active{        left: 0;}

  .header .sidebar-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f6f6f6;
}

  /* Style links for full screen */
  .header .nav-links a:not(.btn) {
    font-size: 1.1rem;
    text-align: center;
    border-bottom: none;
    font-weight: 500;
    color: var(--BlackColor);
    padding: 0.2rem 0;
  }

  .header .nav-links a:hover:not(.btn) {
    color: var(--PrimaryColor);
  }

  .header .nav-links .btn {
    font-size: 1rem;
  }

  /* Ensure toggle is above the menu */
  .header .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1000;
  }
.section-bottom-btn { flex-wrap: wrap;}

.hero-section .dashboard-img-bx img{max-width: 90%;}

  /* Mini Feature: 3 per row */
  .mini-feature-section .row > .col {
    flex: 0 0 auto;
    width: 33.333%;
  }

.hero-section{padding-top: 4rem;}
.why-section .why-card{padding: 1rem;}
.why-section .why-icon{margin-bottom: 1rem;}
.why-section .why-icon img{max-height: 3rem;}

}


@media (max-width: 767px) {

.border-radius-20 { border-radius: 10px; }
.hero-section .dashboard-img-bx{border-radius: 10px;}
.same-heading h2 br{display: none;}
.hero-section .hero-content p{max-width: 100%;}
.mini-feature-section .row > .col {
  width: 50%;
}
.footer .footer-top { padding: 2rem 0; }
.footer .footer-nav { gap: 0.7rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.footer .footer-copy{padding: 1rem 0;}


}

@media (max-width: 568px) {
  html {
    font-size: 15px;
  }

  /* Global */


  /* Asset Pairs: stack on very small screens */
  .asset-pairs-section .usdc-pairs-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .asset-pairs-section .ap-dashed-line { display: none; }
  .asset-pairs-section .ap-to-tokens:after { display: none; }
  .asset-pairs-section .ap-to-tokens { padding: 0.8rem; background: rgba(255,255,255,0.04); border-radius: 0.8rem; width: 100%; }

  /* Mini Feature: 1 per row */
  .mini-feature-section .row > .col {
    width: 100%;
  }


  /* Footer */
  .footer .footer-top { padding: 1.5rem 0; }
.hero-section .dashboard-img-bx{padding: 1rem 1rem 0;}
.hero-section .dashboard-img-bx img{max-width: 100%;}
}


@media (max-width: 480px) {
.section-bottom-btn .btn {
    width: 100%;
}

}