body {
      font-family: 'Inter', sans-serif;
      color: #fff;
      background-color: #0D0325;

    }
    html {
      scroll-behavior: smooth;
    }
    .home {
        background-image: url("/assets/newhome/img/home_bg.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        opacity: 0; /* Start transparent */
        animation: fadeIn var(--duration-slower) var(--ease-out-quart) forwards;
    }
    #features, #recursos {
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100%;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    #features {
      background-image: url("/assets/newhome/img/pasos_bg.jpg");
    }
    #recursos {
      background-image: url("/assets/newhome/img/recursos_bg.jpg");
    }
    .navbar {
      background: transparent;
      position: relative;
    }
    
    /* Language Selector */
    .language-selector .language-btn {
      background: transparent;
      border: none;
      padding: 8px;
      cursor: pointer;
      transition: all var(--duration-normal) var(--ease-smooth);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .language-selector .language-btn:hover {
      background: transparent;
      color: #fff;
    }
    
    .language-selector .dropdown-menu {
      background: #fff;
      border: none;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      padding: 8px;
      margin-top: 8px;
      text-align: center;
    }
    
    .language-selector .dropdown-item {
      padding: 8px 16px;
      border-radius: 8px;
      color: #0D0325;
      font-size: 0.9rem;
      transition: all var(--duration-normal) var(--ease-smooth);
    }
    
    .language-selector .dropdown-item:hover {
      background: rgba(63, 180, 152, 0.1);
      color: #3FB498;
    }
    
    /* Help Icon */
    .help-icon {
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--duration-normal) var(--ease-smooth);
      text-decoration: none;
    }
    
    .help-icon:hover {
      opacity: 0.8;
      transform: scale(1.1);
    }
    .bg-dark {
      background-color: #3FB498 !important;
    }
    
    /* Navbar Toggler Icon - White */
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
  
    /* Navbar Toggler Styling - Match Abrir Cuenta Button */
    .navbar-toggler {
      background-color: #3FB498 !important;
      border: none !important;
      border-radius: 8px;
      padding: 8px 10px;
      transition: all var(--duration-normal) var(--ease-smooth);
      position: relative;
      overflow: hidden;
    }
    
    .navbar-toggler::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
    
    .navbar-toggler:hover {
      background-color: #2D987E !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(63, 180, 152, 0.4);
    }
    
    .navbar-toggler:hover::before {
      left: 100%;
    }
    
    .navbar-toggler:focus {
      box-shadow: 0 4px 12px rgba(63, 180, 152, 0.4) !important;
      outline: none !important;
    }
    
    .navbar-toggler:active {
      box-shadow: 0 4px 12px rgba(63, 180, 152, 0.4) !important;
      outline: none !important;
    }
    
    .navbar-toggler:focus-visible {
      outline: none !important;
      box-shadow: 0 4px 12px rgba(63, 180, 152, 0.4) !important;
    }
  
    /* Responsive Navbar - Tablet and Mobile */
    
    /* Tablet (768px - 991px) */
    @media (max-width: 991.98px) {
      .navbar-logo-img {
        width: 180px !important;
        max-width: 180px;
      }
      
      .integration-img {
        height: 36px !important;
      }
      
      .navbar-nav .nav-item {
        margin-right: 0.5rem !important;
      }
      
      .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 6px 8px;
      }
      
      .btn-account {
        padding: 8px 16px;
        font-size: 0.9rem;
      }
      
      .btn-account img {
        width: 16px;
        height: 16px;
      }
      
      .language-btn,
      .help-icon {
        padding: 6px;
      }
      
      .language-btn img,
      .help-icon img {
        width: 18px;
        height: 18px;
      }
    }
    
    /* Mobile (up to 767px) */
    @media (max-width: 767.98px) {
      .navbar {
        padding: 0.75rem 1rem !important;
      }
      
      .navbar-logo-img {
        width: 150px !important;
        max-width: 150px;
      }
      
      .navbar-expand-custom .navbar-collapse.show {
        padding: 1rem;
      }
      
      .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        margin-bottom: 0 !important;
      }
      
      .navbar-nav .nav-item {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
      }
      
      .navbar-nav .nav-link {
        padding: 10px 0;
        width: 100%;
        justify-content: flex-start;
      }
      
      .integration-img {
        height: 32px !important;
      }
      
      .navbar-actions {
        flex-direction: row;
        gap: 0.75rem !important;
        align-items: center;
      }
      
      .btn-account, .btn-outline, .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
      }
      
      .btn-account img {
        width: 14px;
        height: 14px;
      }
      
    
            .nav-link,
            .nav-link:hover {
        color: #fff;
      }
      
      .language-btn img,
      .help-icon img {
        width: 18px;
        height: 18px;
      }
      
      .navbar-toggler {
        padding: 6px 8px;
      }
    }
    
    /* Small Mobile (up to 575px) */
    .nav-item {
      padding: 3px 15px;
      transition: all var(--duration-normal) var(--ease-smooth);
      opacity: 0.9;
      border-radius: 15px;
    }
    .nav-item:hover {
      background-color: #4A318C57;
      opacity: 1;
      border-radius: 8px;
    }
    
    /* Mobile behavior for Language & FAQ icons (up to 670px) */
    .nav-lang-mobile,
    .nav-faq-mobile {
      display: none;
    }
    
    @media (max-width: 670px) {
      /* KEEP both language and help icons visible always */
      .navbar-actions .language-btn,
      .navbar-actions .help-icon {
        display: flex !important;
      }
      
      /* Hide language selector dropdown wrapper if exists */
      .navbar-actions .language-selector {
        display: flex !important;
      }
      
      /* Hide their equivalents inside the collapsed menu (not needed) */
      .nav-lang-mobile,
      .nav-faq-mobile {
        display: none;
      }
    }
    
    /* Override nav-item hover for integration buttons */
    .nav-item.integration-nav-item:hover {
      background-color: transparent !important;
    }
    
    .nav-item.integration-nav-item .nav-link.integration-link:hover {
      background-color: transparent !important;
    }
    
    /* Ensure horizontal alignment for navbar */
    .navbar-nav {
      display: flex;
      flex-direction: row;
      align-items: center;
    }
    
    .navbar-nav .nav-link {
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    
    .navbar-collapse {
      display: flex;
      align-items: center;
      flex: 1;
      justify-content: center;
    }
    
    .navbar-collapse .navbar-nav {
      width: auto;
    }
    
    /* Navbar Container */
    .navbar-container {
      display: flex;
      align-items: center;
      width: 100%;
      flex-wrap: nowrap;
    }
    
    /* Mobile Action Buttons - Hidden by default */
    .navbar-actions-mobile {
      display: none;
    }
    
    /* Above 670px - Show buttons in navbar-actions */
    @media (min-width: 671px) {
      .navbar-actions .btn-account,
      .navbar-actions .btn-clear {
        display: inline-block !important;
      }
      
      .navbar-actions-mobile {
        display: none !important;
      }
    }
    
    /* Custom Breakpoint - Less than 1350px - COLLAPSE MENU */
    @media (max-width: 1349px) {
      .navbar-expand-custom .navbar-collapse:not(.show) {
        display: none !important;
      }
      
      .navbar-expand-custom .navbar-collapse.show {
        display: block !important;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 3, 37, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        margin-top: 0.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 1000;
      }
      
      .navbar-expand-custom .navbar-toggler {
        display: block !important;
      }
      
      .navbar-expand-custom .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
      }
      
      .navbar-expand-custom .navbar-nav .nav-item {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
      }
      
      .navbar-expand-custom .navbar-nav .nav-link {
        padding: 12px 0;
        width: 100%;
        justify-content: flex-start;
      }
      
      .navbar-actions {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
      }
    }
    
    /* Above 1350px - Show menu, hide toggle */
    @media (min-width: 1350px) {
      .navbar-expand-custom .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
      }
      
      .navbar-expand-custom .navbar-toggler {
        display: none !important;
      }
      
      .navbar-expand-custom .navbar-container {
        flex-wrap: nowrap;
        overflow: visible;
      }
      
      .navbar-expand-custom .navbar-nav {
        flex-wrap: nowrap;
        white-space: nowrap;
        width: auto;
        margin: 0;
      }
      
      .navbar-expand-custom .navbar-menu {
        flex-wrap: nowrap;
        overflow: visible;
      }
      
      .navbar-expand-custom .navbar-menu .nav-link {
        white-space: nowrap;
      }
    }
    
    /* Tighter nav spacing for 1350-1550px range */
    @media (min-width: 1350px) and (max-width: 1550px) {
      .navbar-nav .nav-item {
        padding: 3px 8px;
      }
      
      .navbar-nav .nav-item.me-2,
      .navbar-nav .nav-item.me-md-3 {
        margin-right: 0.25rem !important;
      }
      
      .integration-img {
        height: 36px;
      }
      
      .navbar-logo-img {
        width: 200px;
      }
      
      .btn-account,
      .btn-outline {
        padding: 10px 18px;
        font-size: 0.9rem;
      }
    }
    
    /* Even tighter for 1350-1480px */
    @media (min-width: 1350px) and (max-width: 1480px) {
      .navbar-nav .nav-item {
        padding: 3px 5px;
      }
      
      .navbar-nav .nav-link {
        font-size: 0.85rem;
      }
      
      .integration-img {
        height: 32px;
      }
      
      .navbar-logo-img {
        width: 180px;
      }
      
      .btn-account,
      .btn-outline {
        padding: 8px 14px;
        font-size: 0.85rem;
      }
      
      .navbar-actions {
        gap: 0.35rem !important;
      }
    }
    
    /* Navbar Logo */
    .navbar-brand {
      flex-shrink: 0;
    }
    
    .navbar-logo-img {
      width: 250px;
      height: auto;
      transition: all var(--duration-normal) var(--ease-smooth);
    }
    
    /* Navbar Actions - Always Visible */
    .navbar-actions {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      margin-left: auto;
    }
    
    /* Navbar Menu - Prevent Wrapping */
    .navbar-menu {
      flex-wrap: nowrap;
      white-space: nowrap;
    }
    
    .navbar-menu .nav-item {
      flex-shrink: 0;
    }
    
    /* Integration Images */
    .integration-img {
      height: 42px;
      width: auto;
      max-width: 100%;
      transition: all var(--duration-normal) var(--ease-smooth);
      flex-shrink: 0;
    }
    
    /* Integration Buttons Hover Effect - Similar to Abrir Cuenta */
    .navbar-nav .nav-link.integration-link {
      background-color: transparent;
      border-radius: 8px;
      padding: 4px 8px;
      transition: all var(--duration-normal) var(--ease-smooth);
      position: relative;
      overflow: hidden;
    }
    
    .navbar-nav .nav-link.integration-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
    
    .navbar-nav .nav-link.integration-link:hover {
      background-color: transparent;
      transform: translateY(-1px);
    }
   
    .navbar-nav .nav-link.integration-link:hover::before {
      left: 100%;
    }
    
    /* Navbar Nav Items */
    .navbar-nav .nav-link {
      white-space: nowrap;
      flex-shrink: 0;
    }
    
    /* Navbar Menu */
    .navbar-menu {
      flex-wrap: wrap;
    }
    
    /* Account Button */
    .btn-account {
      white-space: nowrap;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, #45C9A5 0%, #3FB498 50%, #2D987E 100%);
      border: none;
      color: #fff;
      font-weight: 600;
      border-radius: 10px;
      padding: 12px 24px;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(63, 180, 152, 0.4), 
                  0 3px 8px rgba(0, 0, 0, 0.15),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                  0 1px 0 rgba(255, 255, 255, 0.2) inset;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
      transform: translateY(-1px);
    }
    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
    .btn-primary:hover {
      background: linear-gradient(135deg, #4FD9B5 0%, #45C9A5 50%, #3FB498 100%);
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(63, 180, 152, 0.5),
                  0 6px 15px rgba(0, 0, 0, 0.2),
                  0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                  0 1px 0 rgba(255, 255, 255, 0.25) inset;
    }
    .btn-primary:active {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(63, 180, 152, 0.4);
    }
    .btn-primary:hover::before {
      left: 100%;
    }
    .btn-outline {
      border: 2px solid rgba(255, 255, 255, 0.95);
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border-radius: 10px;
      padding: 12px 24px;
      margin-left: 10px;
      font-weight: 600;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15),
                  0 3px 8px rgba(0, 0, 0, 0.12),
                  0 0 0 1px rgba(255, 255, 255, 0.05) inset;
      backdrop-filter: blur(8px);
      transform: translateY(-1px);
    }
    .btn-clear {
      color: #fff;
      padding: 10px 10px;
      margin-left: 10px;
      transition: all var(--duration-normal) var(--ease-smooth);
      position: relative;
      overflow: hidden;
      font-weight: bold;
      text-decoration: none;
      border-radius: 15px;
      opacity: 0.9;
      padding: 10px 15px;
    }
    
    .btn-clear:hover {
      background-color: #4A318C57;
      opacity: 1;
      border-radius: 8px;
      color: #fff;
      
    }
    .btn-outline::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
    .btn-outline:hover {
      background-color: #fff;
      color: #2D987E;
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3),
                  0 6px 15px rgba(0, 0, 0, 0.12);
      border-color: #fff;
    }
    .btn-outline:active {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }
    .btn-outline:hover::before {
      left: 100%;
    }
    .btn-secondary {
      background: linear-gradient(135deg, #7055BF 0%, #5F45AF 50%, #4E359B 100%);
      border: none;
      color: #fff;
      font-weight: 600;
      border-radius: 10px;
      padding: 12px 24px;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(95, 69, 175, 0.4),
                  0 3px 8px rgba(0, 0, 0, 0.15),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                  0 1px 0 rgba(255, 255, 255, 0.2) inset;
      transform: translateY(-1px);
    }
    .btn-secondary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
     .btn-secondary:hover {
      background: linear-gradient(135deg, #8065CF 0%, #7055BF 50%, #5F45AF 100%);
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(95, 69, 175, 0.5),
                  0 6px 15px rgba(0, 0, 0, 0.2),
                  0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                  0 1px 0 rgba(255, 255, 255, 0.25) inset;
    }
    .btn-secondary:active {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(95, 69, 175, 0.4);
    }
    .btn-secondary:hover::before {
      left: 100%;
    }
    .btn-terciary {
      background: linear-gradient(135deg, #76D1E5 0%, #66C1D5 50%, #4A9EB0 100%);
      border: none;
      color: #fff;
      font-weight: 600;
      border-radius: 10px;
      padding: 12px 24px;
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(102, 193, 213, 0.4),
                  0 3px 8px rgba(0, 0, 0, 0.15),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                  0 1px 0 rgba(255, 255, 255, 0.2) inset;
      transform: translateY(-1px);
    }
    .btn-terciary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left var(--duration-slow) var(--ease-smooth);
    }
    .btn-terciary:hover {
      background: linear-gradient(135deg, #86E1F5 0%, #76D1E5 50%, #66C1D5 100%);
      transform: translateY(-4px);
      box-shadow: 0 12px 35px rgba(102, 193, 213, 0.5),
                  0 6px 15px rgba(0, 0, 0, 0.2),
                  0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                  0 1px 0 rgba(255, 255, 255, 0.25) inset;
    }
    .btn-terciary:active {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(102, 193, 213, 0.4);
    }
    .btn-terciary:hover::before {
      left: 100%;
    }
     .btn.disabled {
          background-color: #64647F;
        }
    .hero {
      padding-top: 100px;
      padding-bottom: 100px;
      position: relative;
    }
    .hero h1 {
      font-size: 2.8rem;
      font-weight: 400;
    }
    .hero p {
      font-size: 1.1rem;
      margin-top: 20px;
      color: #D7D1EC;
    }
    .chart-card {
      background: var(--gradient-background, linear-gradient(90.33deg, rgba(114, 102, 151, 0.30) 0%, rgba(52, 35, 102, 0.30) 100%));
      border-radius: 21px;
      overflow: hidden;
      padding: 15px;
    }
    .chart-header {
      font-size: 21px;
      color: #fff;
    }
    .chart-body img {
      border-radius: 8px;
      width: 100%;
    }


    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;                 
      background: rgba(34,197,94,0.15); /* soft green background */
      color: #22c55e;           
      font-size: 0.8rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;      
    }

.live-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;      
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s infinite ease-in-out;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Blinking effect */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Section background blending */
.first-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 35px;
}
.first-box .count {
  font-size: 2.5rem;
}
.first-box h2 {
  font-size: 30px;
  color: #fff;
}

.highlighted {
  font-size: 20px;
}

.panel-card {
  border: 1px solid #2DB696;
  border-radius: 12px

}
.info-card {
  padding: 80px 60px;
}
/* Badges */
.badge-custom {
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 500;
}
.bg-purple { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.bg-green  { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.bg-cyan   { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }

/* Trading Panel */

/* Generic card */
.coin-card {
  border-radius: 15px;
  color: #fff;
  font-weight: 500;
  background: rgba(20,20,40,0.9);
  border: 1px solid transparent;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.coin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left var(--duration-slow) var(--ease-smooth);
}

.coin-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.coin-card:hover::before {
  left: 100%;
}

/* Icon circle */
.coin-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
}

/* Text styles */
.coin-name {
  font-size: 0.9rem;
  opacity: 0.85;
}
.coin-value {
  font-weight: 700;
  font-size: 1.3rem;
}

/* Variants */
.coin-btc {
  border-color: #2DB696;
  box-shadow: 0 0 15px rgba(34,197,94,0.4);
  background: #05DF7236;
}
.bg-btc { background: #2DB696; }

.coin-eth {
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59,130,246,0.4);
  background: #51A2FF24;
}
.bg-eth { background: #3b82f6; }

.coin-doge {
  border-color: #D5A4FF;
  box-shadow: 0 0 15px rgba(168,85,247,0.4);
  background: #C27AFF2E;
}
.bg-doge { background: #a855f7; }

.coin-eos {
  border-color: #eab308;
  box-shadow: 0 0 15px rgba(234,179,8,0.4);
  background: #FDC70033;
}
.bg-eos { background: #eab308; }


/* Stats */
.stats-card {
  border-radius: 16px;
}
.stats-card h2 {
  font-size: 2.2rem;
}
.text-violeta {
  color: #D5A4FF;
}
.text-verde {
  color: #2DB696;
}
.text-azul {
  color: #3B82F6;
}
.text-amarillo {
  color: #EAB308;
}

.section-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 400;
}
.section-title span {
  color: #fff;
  font-weight: 700;
}
.section-subtitle {
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  color: #D7D1EC;
  font-size: 20px;
  font-weight: 400;

}

.feature-card {
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  border: 1px solid #492286;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: all var(--duration-normal) var(--ease-smooth);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
}
.feature-card h5 {
  font-size: 1.1rem;
  margin: 15px 0 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: #D7D1EC;
  padding-top: 10px;
}

/* Icon glowing square */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 0 20px currentColor;
}

/* Colors with glow */
.icon-green { background: #1E505F; color: #22c55e; box-shadow: 0 0 40px #9747FF; }
.icon-pink  { background: #5E186F; color: #db2777; box-shadow: 0 0 40px #9747FF; }
.icon-yellow{ background: #6E622F; color: #eab308; box-shadow: 0 0 40px #9747FF; }
.icon-blue  { background: #1F3B8B; color: #3b82f6; box-shadow: 0 0 40px #9747FF; }
.icon-red   { background: #712D43; color: #ef4444; box-shadow: 0 0 40px #9747FF; }
.icon-purple{ background: #3C3A81; color: #a855f7; box-shadow: 0 0 40px #9747FF; }

#steps {
  padding-top: 100px;
}
#steps h2 {
  color: #fff;
  margin-bottom: 10px;
}


/* Wrapper with arrows between cards */
.steps-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

}

/* Step cards */
.step-card {
  position: relative;
  flex: 1;
  min-width: 218px;

  background: linear-gradient(55.67deg, rgb(255, 255, 255) 40%, rgb(238, 233, 249) 83.65384340286255%, rgb(165, 148, 202) 100%);
  border-radius: 25px;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left var(--duration-slow) var(--ease-smooth);
}
.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 35px rgba(0,0,0,0.4), 0 0 20px rgba(95, 69, 175, 0.2);
}
.step-card:hover::before {
  left: 100%;
}
.step-label {
  display: inline-block;
  background: #5F45AF29;
  border: 1px solid #5F45AF;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5F45AF;
  margin-bottom: 20px;

}
.step-card h5 {
  color: #0F062A;
  font-weight: 600;
  clear: both;
  font-size: 17px;
}
.step-card p {
  color: #72679a;
  font-size: 15px;
}
.step-card img {
  margin-top: 15px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* no margin so it aligns to edges */
}
.step-card a {
  color: #3FB498;
}


.recursos h2 {
  font-size: 2rem;
  font-weight: 700;
}

.links-utiles, .app-download, .faq, .soporte, .material-soporte {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
}
.links-utiles a {
text-decoration: none;
}
.links-utiles .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.links-utiles .card-img-top iframe {
  width: 100%;
  height: 100%;
}
.card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  flex: 1;
}

.card-body {
  color: #72679a;
  font-size: 0.9rem;

}
.card-text {
  color: #0D0325;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Learn More Links */
.learn-more {
  color: #3FB498;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.learn-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3FB498, #2D987E);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.learn-more:hover {
  color: #2D987E;
  transform: translateX(4px);
}

.learn-more:hover::after {
  width: 100%;
}

/* Material de Soporte Cards */
.soporte-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: all var(--duration-normal) var(--ease-smooth);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(238,233,249,0.95) 100%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-decoration: none;
}

.soporte-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-decoration: none;
}

.card-icon {
  background: transparent;
  padding: 0;
  text-align: center;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.material-soporte .card-icon {
  height: 195px;
}
.material-soporte .card-icon .card-img-top {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
}

.soporte-icon {
  width: 100%;
  height: auto;
  filter: none;
}

.soporte-card .card-body {
  padding: 20px;
  color: #72679a;
  font-size: 0.9rem;
}

.soporte-card .card-text {
  color: #0D0325;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
}

.soporte-card .card-body p {
  text-decoration: none;
}

/* FAQ */
.accordion-item {
  background: transparent;
  border: none;
}
.accordion-button {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  transition: all var(--duration-normal) var(--ease-smooth);
  display: flex;
  justify-content: space-between; /* pushes text left, icon right */
  align-items: center;            /* vertical alignment fix */
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.accordion-body {
  color: #D7D1EC;
  font-size: 0.9rem;
  border-radius: 0px 0px 12px 12px;
  background: rgba(255,255,255,0.05);
}

.accordion-button::after {
  content: "+";
  font-weight: 400;
  font-size: 1.8rem;
  color: #D7D1EC;
  background-image: none !important;
  transform: none !important;
  display: flex;
  align-items: center;   /* ensures "+" is centered */
  justify-content: center;
  width: 24px;           /* fixed width to balance */
  height: 24px;          /* fixed height */
  line-height: 1;        /* avoid extra vertical space */
}

.accordion-collapse a {
  color: #3FB498;
}

/* Month Codes Table */
.month-codes-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.month-codes-table thead {
  background: rgba(63, 180, 152, 0.2);
}

.month-codes-table th {
  padding: 12px 16px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(63, 180, 152, 0.3);
}

.month-codes-table td {
  padding: 10px 16px;
  color: #D7D1EC;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.month-codes-table tbody tr:hover {
  background: rgba(63, 180, 152, 0.1);
}

.month-codes-table tbody tr:hover td {
  color: #fff;
}

.month-codes-table tbody tr:last-child td {
  border-bottom: none;
}
.accordion-button:not(.collapsed)::after {
  content: "–";
}
.accordion-button:not(.collapsed) {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 12px 12px 0px 0px;
  transform: translateY(-1px);
}
/* Soporte */
.support-item {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.support-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left var(--duration-slow) var(--ease-smooth);
}
.support-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.support-item:hover::before {
  left: 100%;
}
.support-item a {
  color: #fff;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-smooth);
}
.support-item a:hover {
  color: #A798DD;
  text-decoration: none;
  transform: translateX(2px);
}
.support-item i {
  font-size: 1.2rem;
  color: #a78bfa;
}

/* Footer */
.footer {
  background: #0F062A;
  color: #ccc;
}
.footer h6 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.footer p {
  color: #D7D1EC;
}
.footer a {
  color: #aaa;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
}
.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #3FB498, #5F45AF);
  transition: width var(--duration-normal) var(--ease-smooth);
}
.footer a:hover {
  color: #fff;
  transform: translateY(-1px);
}
.footer a:hover::after {
  width: 100%;
}
.list-unstyled li a {
  color: #D7D1EC;
  transition: all var(--duration-normal) var(--ease-smooth);
}
.list-unstyled li a:hover {
  color: #fff;
  transform: translateX(4px);
}
.sub-footer {
  border-top: 1px solid #302062;
  padding-top: 20px;
}
.animate__delay-01s {
  animation-delay: 0.1s;
}
.animate__delay-03s {
  animation-delay: 0.3s;
}
.animate__delay-06s {
  animation-delay: 0.6s;
}
.animate__delay-09s {
  animation-delay: 0.9s;
}
.animate__delay-1s {
  animation-delay: 1s;
}
.animate__delay-13s {
  animation-delay: 1.3s;
}

.icon-glow {
  animation: neonGlow 4s infinite ease-in-out;
  transition: all var(--duration-normal) var(--ease-smooth);
}
.icon-glow:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}
/* Floating Eco Chat Section */
.eco-chat-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(238,233,249,0.95) 100%);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.2),
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  text-align: center;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  width: 240px;
  border: 1px solid rgba(95, 69, 175, 0.2);
  animation: floatUp 0.6s ease-out, pulseGlow 3s ease-in-out infinite 2s;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-chat-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.25),
    0 0 0 1px rgba(95, 69, 175, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 0 20px rgba(63, 180, 152, 0.3);
}

.eco-chat-text {
  font-size: 14px;
  color: #2D1B69;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.eco-chat-text strong {
  background: linear-gradient(135deg, #3FB498 0%, #2D987E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.eco-chat-btn {
  background: linear-gradient(135deg, #5F45AF 0%, #4E359B 100%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(95, 69, 175, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.eco-chat-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.eco-chat-btn:hover::before {
  left: 100%;
}

.eco-chat-btn:hover {
  background: linear-gradient(135deg, #4E359B 0%, #3D2A7A 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 20px rgba(95, 69, 175, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.eco-chat-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.eco-chat-btn:hover .eco-chat-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================
   ANIMATION SYSTEM
   ============================================ */

/* Standard easing curves for consistent animations */
:root {
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Standard animation durations */
:root {
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --duration-slower: 0.7s;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.tradingview-widget-container {
  height: 400px !important;
}
.tradingview-widget-container.coins {
  height: 115px !important;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(0,0,0,0.2),
      0 0 0 1px rgba(255,255,255,0.1),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }
  50% {
    box-shadow: 
      0 8px 32px rgba(0,0,0,0.2),
      0 0 0 1px rgba(95, 69, 175, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.2),
      0 0 15px rgba(63, 180, 152, 0.2);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes gentleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Neon Animation */
@keyframes neonGlow {
  0%, 100% {
    box-shadow: 0 0 12px currentColor,
                0 0 24px currentColor,
                0 0 36px currentColor;
  }
  50% {
    box-shadow: 0 0 18px currentColor,
                0 0 32px currentColor,
                0 0 48px currentColor;
  }
}

/* ============================================
   RESPONSIVE ANIMATIONS & SMALL MOBILE (<=575px)
   ============================================ */

@media (max-width: 575.98px) {
  /* Navbar tweaks */
  .navbar-logo-img {
    width: 120px !important;
    max-width: 120px;
  }
  
  .integration-img {
    height: 28px !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 1rem;
  }

  .info-card {
    padding: 45px 30px;
  }

  .btn-account {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  /* Move Abrir Cuenta / Iniciar Sesión into collapsed menu on very small screens */
  .navbar-actions .btn-account,
  .navbar-actions .btn-clear,
  .navbar-actions .btn-outline {
    display: none !important;
  }
  
  .navbar-expand-custom .navbar-collapse.show .navbar-actions-mobile {
    display: flex !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .btn-account-mobile,
  .btn-sesion-mobile {
    justify-content: center;
    text-align: center;
  }

  /* Cards and layout */
  .panel-card {
    padding: 20px !important;
  }
  .first-box {
    padding: 20px;
  }
  .step-card {
    margin: 0 auto;
  }
  
  /* Reduce motion on mobile for better performance */
  .eco-chat-float {
    animation: floatUp var(--duration-slower) var(--ease-out-quart);
  }
  
  .feature-card:hover,
  .step-card:hover,
  .coin-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  /* Disable shimmer effects on mobile */
  .btn-primary::before,
  .btn-secondary::before,
  .btn-terciary::before,
  .btn-outline::before,
  .step-card::before,
  .coin-card::before,
  .support-item::before {
    display: none;
  }

  /* Ensure outline buttons don’t offset horizontally on small screens */
  .btn-outline {
    margin-left: 0px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .eco-chat-float {
    animation: none;
  }
  
  .icon-glow {
    animation: none;
  }
  
  .live-badge .dot {
    animation: none;
  }
}

    /* Extra small screens: stack hero buttons with 25px gap, left-aligned */
    @media (max-width: 360px) {
      .hero .mt-4 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
      }
      
      /* Remove horizontal offset between hero buttons on this breakpoint */
      .hero .btn-outline {
        margin-left: 0;
      }
      .chart-header {
        text-align: left;
        font-size: 17px;
      }
      .info-card {
        padding: 40px 23px;
      }
      
}