﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Estilos Generales */

/* Cursor Highlight Effect */
.cursor-highlight {
  background: linear-gradient(45deg, #b0d325, #2a9c15, #040404, #01bd2c, #10a100, #01953e, #2c301a, #02b113);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 2s ease-in-out infinite;
  position: relative;
  font-weight: 800;
  letter-spacing: 0.5px;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes blink {

  0%,
  20%,
  80%,
  100% {
    opacity: 1;
  }

  40%,
  60% {
    opacity: 0.3;
  }
}

@keyframes cursorMove {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
  }
}

.exchange-tile {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.exchange-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.exchange-tile:hover {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
  border-color: #00cc00;
}

.exchange-tile strong {
  color: #00cc00;
  font-weight: 700;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  /* Ajustar tamaÃƒÂ±o de fuente */
}

.exchange-tile .text-end {
  color: #00cc00;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  /* Ajustar tamaÃƒÂ±o de fuente */
}

.exchange-tile img {
  border-radius: 3px;
  border: 1px solid rgba(0, 255, 0, 0.3);
  position: relative;
  z-index: 1;
}

#ultimaActualizacion {
  font-size: 0.9rem;
  /* Ajustar tamaÃƒÂ±o de fuente */
  color: #00cc00;
  font-weight: 500;
}

/* TÃƒÂ­tulo de la secciÃƒÂ³n de tasas */
.text-success.fw-bold {
  color: #00cc00 !important;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* SecciÃƒÂ³n completa de tasas de cambio */
#tasaCambioSection {
  background: linear-gradient(135deg, #000000 0%, #001a00 100%);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

#tasaCambioSection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#tasaCambioSection .card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}

#tasaCambioSection .card .p-4 {
  background: transparent !important;
}

/* SecciÃƒÂ³n del Conversor a Pesos Dominicanos */
.card.mt-4.shadow-sm.border-0.p-4 {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
  border: 1px solid rgba(0, 255, 0, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2) !important;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.card.mt-4.shadow-sm.border-0.p-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.card.mt-4.shadow-sm.border-0.p-4 h5 {
  color: #00cc00 !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  position: relative;
  z-index: 1;
}

.card.mt-4.shadow-sm.border-0.p-4 .form-label {
  color: #00cc00 !important;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.card.mt-4.shadow-sm.border-0.p-4 .form-control,
.card.mt-4.shadow-sm.border-0.p-4 .form-select {
  background-color: rgba(0, 0, 0, 0.8) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 255, 0, 0.3) !important;
  border-radius: 12px !important;
  position: relative;
  z-index: 1;
}

.card.mt-4.shadow-sm.border-0.p-4 .form-control:focus,
.card.mt-4.shadow-sm.border-0.p-4 .form-select:focus {
  border-color: #00cc00 !important;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.card.mt-4.shadow-sm.border-0.p-4 .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.card.mt-4.shadow-sm.border-0.p-4 .btn {
  background: linear-gradient(45deg, #00cc00, #33cc33) !important;
  color: #000 !important;
  font-weight: 700;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card.mt-4.shadow-sm.border-0.p-4 .btn:hover {
  background: linear-gradient(45deg, #33cc33, #4dcc4d) !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

.card.mt-4.shadow-sm.border-0.p-4 #conversionResult {
  color: #00cc00 !important;
  font-weight: 700;
  font-size: 1.4rem;
  /* Aumentar tamaÃƒÂ±o de fuente */
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  position: relative;
  z-index: 1;
}


@media (max-width: 767.98px) {
  #sidebarComunicacion {
    display: none !important;
  }

  #btnOpenSidebar {
    display: none !important;
  }
}

/* Sidebar de ComunicaciÃƒÂ³n Consolidado */
.comunicacion-sidebar {
  position: fixed;
  top: 140px;
  left: 20px;
  width: 270px;
  background-color: rgba(10, 10, 10, 0.95);
  border-radius: 14px;
  padding: 20px;
  z-index: 3000;
  border: 1px solid #00df0b;
  box-shadow: 0 0 15px rgba(0, 223, 11, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

.comunicacion-sidebar.collapsed {
  transform: translateX(-320px);
  -webkit-transform: translateX(-320px);
  opacity: 0;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
    -webkit-transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
}

/* BotÃƒÂ³n flotante para abrir sidebar */
#btnOpenSidebar {
  position: fixed;
  top: 110px;
  left: 20px;
  background-color: #0c0;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #111;
  font-size: 20px;
  display: none;
  /* oculto inicialmente porque sidebar estÃƒÂ¡ abierto */
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 0 4px rgba(0, 255, 0, 0.3);
  transition: background-color 0.3s ease;
}

#btnOpenSidebar:hover {
  background-color: #0c0;
}

.comunicacion-sidebar.collapsed {
  transform: translateX(-280px);
  opacity: 0;
  transition: 0.4s ease;
}


/* Estilo de Canales de comunicacion */
.blink {
  animation: blink-animation 4s steps(3, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

/* Sidebar definition was here (cleaned) */

.neon-text {
  color: #02b80e;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 2px #00cd0a, 0 0 5px #19d400;
}

.neon-sub {
  color: #00e108;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 4px;
  display: inline-block;
  text-shadow: 0 0 1px #11d100;
}

.comunicacion-sidebar ul {
  padding-left: 0;
}

.comunicacion-sidebar li {
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.comunicacion-sidebar li:hover {
  color: #01f42a;
}


/* loan-calculator-section */
.loan-calculator-section {
  background: linear-gradient(135deg, #000000 0%, #001a00 100%);
  position: relative;
  overflow: hidden;
}

.loan-calculator-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.loan-calculator-section .card {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.loan-calculator-section .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.loan-calculator-section .form-label {
  font-weight: 600;
  color: #00cc00;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.loan-calculator-section .form-control,
.loan-calculator-section .form-range {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.loan-calculator-section .form-control:focus,
.loan-calculator-section .form-range:focus {
  border-color: #00cc00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.9);
}

.loan-calculator-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.loan-calculator-section .btn-primary {
  background: linear-gradient(45deg, #00cc00, #33cc33);
  border: none;
  color: #000;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
  position: relative;
  z-index: 1;
}

.loan-calculator-section .btn-primary:hover {
  background: linear-gradient(45deg, #33cc33, #4dcc4d);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

#loanTermValue {
  font-size: 1rem;
  color: #00cc00;
  font-weight: 600;
}

#loanResults,
#amortizationSchedule {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 15px;
  color: #fff;
  position: relative;
  z-index: 1;
}

#loanResults p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #fff;
}

#loanResults span {
  font-size: 1.3rem;
  color: #00cc00;
  font-weight: 700;
}

#amortizationSchedule .table {
  color: #fff;
  margin-bottom: 0;
}

#amortizationSchedule .table th,
#amortizationSchedule .table td {
  vertical-align: middle;
  font-size: 0.9rem;
  border-color: rgba(0, 255, 0, 0.2);
  padding: 0.8rem;
}

#amortizationSchedule .table thead th {
  background: rgba(0, 255, 0, 0.1);
  color: #00cc00;
  font-weight: 700;
  border-color: rgba(0, 255, 0, 0.3);
}

#amortizationSchedule .table tbody tr:hover {
  background: rgba(0, 255, 0, 0.05);
}

/* Asegurar que todos los textos en la secciÃƒÂ³n de prÃƒÂ©stamos sean blancos */
.loan-calculator-section .card-body,
.loan-calculator-section .card-title,
.loan-calculator-section h3,
.loan-calculator-section h4,
.loan-calculator-section h5,
.loan-calculator-section p,
.loan-calculator-section span,
.loan-calculator-section div,
.loan-calculator-section small {
  color: #fff !important;
  position: relative;
  z-index: 1;
}

.loan-calculator-section .form-text,
.loan-calculator-section .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.loan-calculator-section .card-title {
  color: #00cc00 !important;
  font-weight: 700;
}

.loan-calculator-section .form-label {
  color: #00cc00 !important;
}

#loanResults span,
#closingCostAmount {
  color: #00cc00 !important;
}

/* Responsiveness adjustments for smaller screens */
@media (max-width: 768px) {

  #amortizationSchedule .table th,
  #amortizationSchedule .table td {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  /* Ocultar algunas columnas para ahorrar espacio en pantallas muy pequeÃƒÂ±as */
  #amortizationSchedule .table th:nth-child(3),
  /* Saldo Inicial */
  #amortizationSchedule .table td:nth-child(3),
  #amortizationSchedule .table th:nth-child(4),
  /* InterÃƒÂ©s */
  #amortizationSchedule .table td:nth-child(4),
  #amortizationSchedule .table th:nth-child(5),
  /* Capital */
  #amortizationSchedule .table td:nth-child(5) {
    display: none;
    /* Oculta estas columnas */
  }
}

/* Estilos especÃƒÂ­ficos para la tabla de amortizaciÃƒÂ³n responsiva */
.amortization-table {
  font-size: 0.85rem;
}

.amortization-table th,
.amortization-table td {
  padding: 0.5rem 0.3rem;
  vertical-align: middle;
  white-space: nowrap;
}

.amortization-table th {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Responsive breakpoints para la tabla */
@media (max-width: 575.98px) {
  .amortization-table {
    font-size: 0.75rem;
  }

  .amortization-table th,
  .amortization-table td {
    padding: 0.4rem 0.2rem;
  }

  .amortization-table th:first-child,
  .amortization-table td:first-child {
    width: 15%;
  }

  .amortization-table th:last-child,
  .amortization-table td:last-child {
    width: 25%;
    font-weight: 600;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .amortization-table {
    font-size: 0.8rem;
  }

  .amortization-table th,
  .amortization-table td {
    padding: 0.45rem 0.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {

  .amortization-table th,
  .amortization-table td {
    padding: 0.5rem 0.3rem;
  }
}

/* Mejoras para el contenedor de la tabla */
#amortizationSchedule .table-responsive {
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#amortizationSchedule .table-responsive::-webkit-scrollbar {
  height: 8px;
}

#amortizationSchedule .table-responsive::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

#amortizationSchedule .table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 0, 0.5);
  border-radius: 4px;
}

#amortizationSchedule .table-responsive::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 0, 0.7);
}

/* Mejorar tabla de amortización en móvil */
@media (max-width: 767.98px) {

  #amortizationSchedule .table th,
  #amortizationSchedule .table td {
    font-size: 0.75rem;
    padding: 0.3rem;
    white-space: nowrap;
  }

  #amortizationSchedule .table-responsive {
    max-height: 300px;
    overflow-y: auto;
  }
}

/* Estilos para la SecciÃƒÂ³n de Tasa de Bitcoin - Ultra Compacta */
.bitcoin-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #111111 100%);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  /* Aumentar el ancho mÃƒÂ¡ximo para mejor visualizaciÃƒÂ³n en mÃƒÂ³viles */
  margin: 0 auto;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.bitcoin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.bitcoin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
  border-color: #00cc00;
}

.bitcoin-icon {
  font-size: 1.5rem;
  margin-right: 8px;
  vertical-align: middle;
  color: #00cc00;
  position: relative;
  z-index: 1;
}

.bitcoin-title-text {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  /* Aumentar tamaÃƒÂ±o de fuente */
  display: inline-block;
  position: relative;
  z-index: 1;
}

.bitcoin-update-text {
  font-size: 0.8rem;
  color: #00cc00;
  margin-top: 5px;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.bitcoin-price {
  font-size: 1.4rem;
  /* Aumentar tamaÃƒÂ±o de fuente */
  font-weight: 800;
  color: #00cc00;
  letter-spacing: -0.5px;
  margin-bottom: 10px !important;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  position: relative;
  z-index: 1;
}

.chart-container {
  position: relative;
  height: 80px;
  width: 100%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 5px;
  z-index: 1;
}

/* Asegura que el canvas de Chart.js sea responsivo dentro de su contenedor */
#btc-chart {
  max-width: 100%;
  height: auto;
}

/* Ensure Chart.js canvas is responsive within its container */
#btc-chart {
  max-width: 100%;
  height: auto;
}

body {
  background-color: #000;
  color: white;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20, 242, 0, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(0, 255, 0, 0.15) 0%, transparent 50%);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 255, 0, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* Navbar - Nuevo DiseÃƒÂ±o Floating Pill */
nav.navbar {
  z-index: 1000;
  background: transparent !important;
  padding-top: 20px !important;
  position: fixed;
  width: 100%;
}

.navbar-pill-container {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 8px 20px;
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  max-width: 1200px;
  width: 95%;
  /* Better Safari responsiveness */
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  -webkit-text-size-adjust: 100%;
}

.navbar-brand {
  display: -webkit-box !important;
  /* Safari fallback */
  display: -webkit-flex !important;
  /* Safari fallback */
  display: flex !important;
  -webkit-box-align: center;
  /* Safari fallback */
  -webkit-align-items: center;
  /* Safari fallback */
  align-items: center;
  padding: 0;
  margin-right: 25px;
  flex-shrink: 0;
  /* Prevent squashing in Safari */
  text-decoration: none;
  overflow: visible;
  -webkit-transform: translateZ(0);
  /* Force hardware override */
  transform: translateZ(0);
}

.brand-logo-circle {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: #000000;
  border-radius: 50%;
  display: -webkit-box;
  /* Safari fallback */
  display: -webkit-flex;
  /* Safari fallback */
  display: flex;
  -webkit-box-align: center;
  /* Safari fallback */
  -webkit-align-items: center;
  /* Safari fallback */
  align-items: center;
  -webkit-box-pack: center;
  /* Safari fallback */
  -webkit-justify-content: center;
  /* Safari fallback */
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  margin-right: 12px;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.brand-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.brand-text {
  color: white !important;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  white-space: nowrap;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  min-width: 180px;
  /* Fixed width to prevent jumping in Safari */
  flex-shrink: 0;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Fix for animation container in Safari */
.stagger-chars {
  perspective: 1000px;
  -webkit-perspective: 1000px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: inline-flex !important;
  align-items: center;
}

.navbar-nav {
  flex-shrink: 0;
}

.btn-portal {
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 5px 15px !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00cc00 !important;
}

.btn-navbar-cta {
  background: #00cc00;
  color: black !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 100px;
  padding: 10px 24px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-navbar-cta:hover {
  background: #33e633;
  transform: scale(1.02);
}

.cta-arrow-circle {
  width: 22px;
  height: 22px;
  background: black;
  color: #00cc00;
  border-radius: 50%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Navbar toggler para mÃƒÂ³viles en el diseÃƒÂ±o pill */
.navbar-toggler {
  border: none !important;
  padding: 0 15px !important;
}

.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='%2300cc00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

@media (max-width: 991.98px) {
  .navbar-pill-container {
    border-radius: 50px;
    padding: 6px 15px;
    margin: 0 10px;
    width: auto;
    flex-wrap: nowrap;
  }

  .brand-logo-circle {
    width: 35px;
    height: 35px;
    padding: 6px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .navbar-collapse {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-top: 15px;
    border-radius: 25px;
    padding: 25px;
    border: 1px solid rgba(0, 204, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

  .navbar-nav {
    text-align: center;
    gap: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 10px !important;
  }

  .btn-navbar-cta.d-lg-none {
    display: flex !important;
    justify-content: center;
    margin: 0;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .navbar-pill-container {
    padding: 5px 10px;
  }
}

/* Hero Principal - Nuevo DiseÃƒÂ±o */
.hero-new-section {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 1rem 10rem;
  overflow: hidden;
  background-color: #000;
}

.hero-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(0, 204, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 50px;
  color: #00cc00;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.badge-icon {
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  color: #00cc00;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

.hero-headline {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 3rem;
  letter-spacing: -1px;
}

.highlight-box {
  display: inline-block;
  vertical-align: middle;
  border: 2px solid #00cc00;
  padding: 5px 25px;
  /* MÃƒÂ¡s espacio interior */
  border-radius: 12px;
  /* Esquinas un poco mÃƒÂ¡s suaves */
  color: #00cc00;
  position: relative;
  margin: 0 5px;
  /* Espacio exterior para que no pegue con las palabras de al lado */
}

.hero-cta-apps {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  /* Ensure wrapping on small screens */
  margin-bottom: 5rem;
}

.hero-cta-apps> :not(:last-child) {
  margin-right: 20px;
}

@supports (gap: 20px) {
  .hero-cta-apps {
    gap: 20px;
  }

  .hero-cta-apps> :not(:last-child) {
    margin-right: 0;
  }
}



.btn-afiliate {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 1rem 2rem !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-afiliate:visited,
.btn-afiliate:active,
.btn-afiliate:link {
  color: #ffffff !important;
}

.btn-afiliate:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-3px);
  border-color: #00cc00 !important;
  box-shadow: 0 5px 20px rgba(0, 204, 0, 0.4) !important;
  color: #ffffff !important;
}

.btn-afiliate i {
  color: #00cc00 !important;
  transition: transform 0.3s ease;
}

.btn-afiliate span {
  color: #ffffff !important;
}

.btn-afiliate:hover i {
  transform: scale(1.1);
  color: #ffffff !important;
}

.app-store-btn {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  min-width: 180px;
}

.app-store-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #00cc00;
}

.app-store-btn i {
  font-size: 2rem;
}

.app-btn-content {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.app-btn-text-centered {
  text-align: center;
  display: block;
}

.app-btn-small {
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.app-btn-large {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.google-play-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  min-width: 180px;
}

.google-play-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #00cc00;
}

.google-play-btn i {
  font-size: 2rem;
}

/* Visual Mockup Section */
.hero-visual-wrap {
  position: relative;
  color: white;
  transition: all 0.3s ease;
}

.google-play-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #00cc00;
}

.google-play-btn i {
  font-size: 2rem;
}

/* Visual Mockup Section */
.hero-visual-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  min-height: 500px;
  height: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.visual-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 204, 0, 0.1);
}

.orbit-1 {
  width: 300px;
  height: 300px;
}

.orbit-2 {
  width: 500px;
  height: 500px;
}

.orbit-3 {
  width: 750px;
  height: 750px;
}

/* Floating Info Cards Container */
.floating-cards-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

/* Base Card Style */
.hero-float-card {
  position: absolute;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: white;
  min-width: 160px;
  pointer-events: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.hero-float-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 204, 0, 0.25);
  border-color: rgba(0, 204, 0, 0.4);
}

/* Card Specifics */

/* Top Left: Users */
.card-users {
  top: 10%;
  left: -5%;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(0, 204, 0, 0.3);
  width: 190px;
  background: linear-gradient(145deg, rgba(40, 40, 40, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-small-title {
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.card-stat-large {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.card-sub-stat {
  font-size: 0.75rem;
  color: #ccc;
  margin-bottom: 12px;
}

.badge-status-active {
  background: #00cc00;
  color: black;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.65rem;
  margin-right: 4px;
}

.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar-circles {
  display: flex;
  padding-left: 10px;
}

.avatar-c {
  width: 26px;
  height: 26px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  border: 2px solid #333;
  font-size: 0.7rem;
  color: #00cc00;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.arrow-action {
  color: #00cc00;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.arrow-action:hover {
  transform: translateX(3px);
}

/* Top Right: Services */
.card-services {
  top: 8%;
  right: -5%;
  width: 170px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-pill-badge {
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  display: inline-block;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-weight: 600;
}

.card-label-gray {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 10px;
  font-weight: 500;
}

.card-stat-white {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.card-desc-gray {
  font-size: 0.7rem;
  color: #bbb;
  margin-top: 4px;
  line-height: 1.3;
}

.card-action-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #fff;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
}

.card-action-btn:hover {
  transform: scale(1.1);
}

/* Bottom Left: Balance */
.card-balance {
  bottom: 20%;
  left: -8%;
  width: 200px;
  background: rgba(15, 15, 15, 0.85);
  border-top: 2px solid #00cc00;
}

.card-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-gray {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 500;
}

.text-success-bright {
  color: #4dff4d;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(0, 255, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.label-gray-xs {
  font-size: 0.65rem;
  color: #666;
  text-transform: uppercase;
}

.trend-icon-circle {
  width: 28px;
  height: 28px;
  background: rgba(0, 255, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff00;
  font-size: 0.8rem;
}

/* Bottom Right: Payment Pill */
.card-payment {
  bottom: 15%;
  right: 2%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  border-radius: 50px;
  background: #dbffdb;
  color: #004d00;
  min-width: auto;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 204, 0, 0.4);
}

.payment-text {
  font-weight: 700;
  font-size: 0.9rem;
}

.payment-icon-check {
  width: 28px;
  height: 28px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Animation Keyframes */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-medium {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes float-fast {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.animate-float-slow {
  animation: float-slow 7s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.animate-float-fast {
  animation: float-fast 5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Responsive Hide & Scale */
@media (max-width: 1200px) {
  .card-users {
    left: -2%;
  }

  .card-services {
    right: -2%;
  }
}

@media (max-width: 991px) {
  .floating-cards-container {
    display: none !important;
  }
}

/* Already handled in 991px query */

.main-phone-mockup {
  position: relative;
  width: 290px;
  /* Slightly narrower for better proportion */
  height: 500px;
  /* Slightly shorter to 'adjust' to content */
  margin-top: 80px;
  /* Lowering the phone more as requested */
  background: #000;
  border: 14px solid #1a1a1a;
  border-radius: 40px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 204, 0, 0.2);
  z-index: 5;
  overflow: hidden;
}

.phone-inner {
  height: 100%;
  background: #000;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive fixes */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-visual-wrap {
    height: 500px;
  }

  .orbit-3 {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .hero-new-section {
    padding: 100px 10px 40px;
    /* Ajustado para que empiece después del navbar */
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 15px;
    margin-bottom: 20px;
  }

  .hero-headline {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .hero-cta-apps {
    gap: 15px;
    margin-bottom: 40px;
  }

  .app-store-btn {
    width: 90%;
    margin: 0 auto !important;
  }

  .hero-visual-wrap {
    height: 350px;
    /* Menos alto para evitar tanto scroll vacío */
    margin-top: 20px;
  }

  .main-phone-mockup {
    width: 180px;
    height: 310px;
    margin-top: 20px;
  }

  .floating-icons {
    transform: scale(0.7);
    /* Reducir escala de íconos flotantes */
  }

  /* Ajuste de secciones automáticas */
  section {
    padding: 40px 0 !important;
  }

  .innovacion-title {
    font-size: 1.8rem !important;
  }

  .innovacion-card {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.7rem;
  }

  .hero-visual-wrap {
    height: 300px;
  }

  .orbit {
    display: none;
    /* Ocultar órbitas en pantallas muy pequeñas para mejorar limpieza */
  }
}

/* Tarjeta de tasas */
.exchange-card {
  max-width: 400px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  padding: 2rem 2.5rem 2.5rem;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
  position: relative;
  top: -80px;
  z-index: 20;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}



.currency-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 15px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.6);
  cursor: default;
  position: relative;
  z-index: 1;
}

.currency-row:hover {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
  border-color: #00cc00;
  background: rgba(0, 255, 0, 0.05);
  transform: translateY(-2px);
}

.currency-flag-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.currency-flag-text img {
  width: 24px;
  border-radius: 3px;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.currency-value {
  font-weight: 700;
  color: #00cc00;
  font-size: 1.1rem;
  min-width: 110px;
  text-align: right;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  position: relative;
  z-index: 1;
}

.exchange-icon {
  text-align: center;
  color: #00cc00;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 1px #00cc00);
}

.btn-convertir {
  width: 100%;
  background: linear-gradient(45deg, #00cc00, #33cc33);
  color: #000;
  font-weight: 700;
  padding: 0.8rem 0;
  border-radius: 50px;
  border: none;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.btn-convertir:hover {
  background: linear-gradient(45deg, #33cc33, #4dcc4d);
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
}

/* SecciÃƒÂ³n de servicios */
.servicios-section {
  background: linear-gradient(145deg, #000000 0%, #001a00 100%);
  padding: 5rem 1rem 4rem;
  position: relative;
  z-index: 10;
}

.servicios-title {
  color: #00cc00;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.logo-servicio {
  max-width: 100%;
  height: auto;
  filter: brightness(200%);
  transition: transform 0.3s ease;
}

.logo-servicio:hover {
  transform: scale(1.05);
}

.servicios-subtext {
  color: #00cc00;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 2rem;
}

.btn-cosas {
  background-color: white;
  color: #00cc00;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.4rem 1.4rem;
  border: none;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-cosas:hover {
  background-color: #00cc00;
  color: black;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* SecciÃƒÂ³n de funcionalidades */
.funcionalidades-section {
  background: radial-gradient(circle at 50% 50%, #002200 0%, #000000 100%);
  padding: 5rem 1rem;
}

.funcionalidades-title {
  color: #00cc00;
  font-weight: 700;
  font-size: 1.8rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  margin-bottom: 0.5rem;
}

.funcionalidades-subtext {
  color: #ccc;
  font-size: 0.85rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  margin-bottom: 2.5rem;
}

.card-funcionalidad {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.1);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
}

.card-funcionalidad:hover {
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
  transform: translateY(-5px);
}

.card-funcionalidad .icon-func {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background-color: #00cc00;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.card-funcionalidad h5 {
  color: #00cc00;
  font-weight: 600;
  font-size: 0.95rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  margin-bottom: 0.5rem;
}

.card-funcionalidad p {
  color: #ccc;
  font-size: 0.8rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  line-height: 1.5;
}

/* PrÃƒÂ©stamos Section */
.prestamos-section {
  background: #000;
  padding: 5rem 1rem;
}

.badge-prestamos {
  background-color: #00cc00;
  color: #000;
  font-weight: 600;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.title-prestamos {
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  margin-top: 0.5rem;
}

.subtitle-prestamos {
  color: #ccc;
  font-size: 0.9rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  margin-bottom: 3rem;
}

.card-prestamo {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  /* Ajustar padding para mÃƒÂ³viles */
  height: 100%;
  min-height: auto;
  /* Eliminar min-height fijo para mejor responsividad */
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-prestamo h5 {
  font-size: 1rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  font-weight: 600;
  color: #00cc00;
  margin-bottom: 0.5rem;
}

.card-prestamo .desc {
  font-size: 0.85rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  color: #bbb;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.lista-check {
  list-style: none;
  padding-left: 0;
  color: #00cc00;
  font-size: 0.85rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.lista-check li {
  margin-bottom: 0.5rem;
}

.btn-prestamo {
  display: inline-block;
  background-color: #00cc00;
  color: black;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  /* Ajustar padding para mÃƒÂ³viles */
  border-radius: 50px;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
  font-size: 0.85rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
}

.btn-prestamo:hover {
  background-color: #33cc33;
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.5);
}

/* Footer Custom Styles */
.footer-custom {
  background-color: #1a1a1a;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 2rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-custom {
    text-align: center;
  }

  .footer-custom .col-md-4 {
    margin-bottom: 2rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
}

.footer-custom h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #00cc00;
  font-size: 1.2rem;
}

.footer-custom p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #bbb;
}

.footer-custom .social-icons a {
  font-size: 1.3rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  color: #00cc00;
  /* ÃƒÂconos de redes sociales verdes */
  transition: color 0.3s ease;
}

.footer-custom .social-icons a:hover {
  color: #00cc00;
  /* Verde claro consistente al pasar el mouse */
}

.footer-custom .uaf-img {
  max-height: 50px;
  /* TamaÃƒÂ±o de las imÃƒÂ¡genes del UAF */
  filter: grayscale(100%) brightness(200%);
  /* Efecto para que se vean bien en el fondo oscuro */
  opacity: 0.7;
}

.footer-custom .app-btn {
  background-color: #00cc00;
  /* Botones de descarga de apps verdes */
  color: black;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  /* Ajustar padding para mÃƒÂ³viles */
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.9rem;
  /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
}

.footer-custom .app-btn:hover {
  background-color: #33cc33;
  color: black;
}

.footer-custom .app-btn i {
  font-size: 1.1rem;
  /* Ajustar tamaÃƒÂ±o de icono para mÃƒÂ³viles */
  margin-right: 0.5rem;
}

.footer-custom .text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-custom .text-white-50:hover {
  color: #00cc00 !important;
}


/* Media Queries */
@media (max-width: 576px) {
  h1.display-4 {
    font-size: 1.8rem;
  }

  .exchange-card {
    top: -40px;
    padding: 1.5rem 1.8rem 2rem;
  }
}

/* Mejoras responsive para mÃƒÂ³viles */
@media (max-width: 768px) {

  /* Navbar responsive */
  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  /* Hero section responsive */
  main {
    padding: 2rem 1rem 3rem;
  }

  h1.display-4 {
    font-size: 2rem;
    line-height: 1.1;
  }

  p.lead {
    font-size: 0.95rem;
  }

  /* Cards responsive */
  .card-funcionalidad,
  .card-prestamo {
    margin-bottom: 1.5rem;
  }

  .card-funcionalidad h5 {
    font-size: 0.95rem;
  }

  .card-funcionalidad p {
    font-size: 0.8rem;
  }

  /* Servicios section responsive */
  .servicios-title {
    font-size: 1.3rem;
  }

  .funcionalidades-title {
    font-size: 1.5rem;
  }

  .servicios-title {
    font-size: 1.5rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  /* Bitcoin cards responsive */
  .bitcoin-card {
    max-width: 100%;
    /* Asegurar que ocupe todo el ancho disponible */
    margin-bottom: 1rem;
  }

  .bitcoin-title-text {
    font-size: 1rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  .bitcoin-price {
    font-size: 1.2rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  /* Exchange tiles responsive */
  .exchange-tile {
    margin-bottom: 1rem;
  }

  .exchange-tile strong {
    font-size: 1rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  /* Footer responsive */
  .footer-custom .app-btn {
    font-size: 0.9rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
    padding: 0.6rem 1.5rem;
  }

  .footer-custom h5 {
    font-size: 1.2rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  .footer-custom p {
    font-size: 0.9rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mÃƒÂ³viles */
  }

  /* Sidebar responsive - ya estÃƒÂ¡ oculto en mÃƒÂ³viles */
  .comunicacion-sidebar,
  #btnOpenSidebar {
    display: none !important;
  }
}

/* Cierre de @media (max-width: 768px) */

@media (max-width: 480px) {

  /* Extra small devices */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1.display-4 {
    font-size: 1.7rem;
  }

  .badge-donde,
  .badge-prestamos,
  .badge-qr,
  .badge-registro {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  .subtext-donde {
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
  }

  /* Cards extra responsive */
  .card-funcionalidad,
  .card-prestamo {
    padding: 1.5rem;
  }

  .icon-func {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Timeline responsive */
  .timeline-marker {
    width: 50px !important;
    height: 50px !important;
    font-size: 1rem !important;
  }

  .timeline-content {
    padding: 1rem !important;
  }

  /* Step numbers responsive */
  .step-number,
  .paso-numero {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  /* QR and registration sections responsive */
  .qr-title,
  .registro-title {
    font-size: 1.5rem;
  }

  .feature-item,
  .paso-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .feature-icon,
  .paso-numero {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Ajustes adicionales para el Navbar en mÃƒÂ³viles */
@media (max-width: 768px) {
  .navbar-collapse {
    background-color: #1a1a1a;
    /* Fondo oscuro para el menÃƒÂº colapsado */
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px;
  }

  .navbar-nav {
    -webkit-flex-direction: column;
    flex-direction: column;
    /* Apilar los elementos del menÃƒÂº */
    -webkit-align-items: center;
    align-items: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    /* Separador entre enlaces */
    color: #00cc00 !important;
    /* Asegurar color verde */
    font-weight: 500;
    font-size: 1rem;
    /* Ajustar tamaÃƒÂ±o de fuente para mejor legibilidad */
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* Estilos para el botÃƒÂ³n BankingWeb dentro del menÃƒÂº colapsado */
  .navbar-collapse .btn-portal {
    width: 80%;
    /* BotÃƒÂ³n de portal mÃƒÂ¡s ancho en mÃƒÂ³vil */
    margin: 1rem auto;
    display: block;
    font-size: 1rem;
    /* Ajustar tamaÃƒÂ±o de fuente */
    padding: 0.7rem 1.5rem;
    /* Ajustar padding */
  }

  .navbar-brand-text {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    min-width: max-content !important;
    display: inline-block !important;
    width: auto !important;
    flex-shrink: 0 !important;
    padding-right: 10px !important;
    margin-right: 10px !important;
    letter-spacing: 0.05em !important;
  }
}

/* Ajustes para la secciÃƒÂ³n Hero en mÃƒÂ³viles */
@media (max-width: 768px) {
  main {
    padding: 3rem 1rem 4rem;
    /* Ajustar padding */
  }

  h1.display-4 {
    font-size: 2.2rem;
    /* TamaÃƒÂ±o de fuente mÃƒÂ¡s grande para el tÃƒÂ­tulo principal */
    line-height: 1.1;
  }

  p.lead {
    font-size: 1rem;
    /* TamaÃƒÂ±o de fuente ligeramente mÃƒÂ¡s grande para el pÃƒÂ¡rrafo */
    padding: 0 0.5rem;
  }

  .badge-donde {
    font-size: 0.75rem;
    padding: 0.4rem 1.2rem;
  }

  .subtext-donde {
    font-size: 0.75rem;
    padding: 0.25rem 0.9rem;
  }

  .btn-afiliate {
    padding: 0.7rem 2rem;
    font-size: 0.95rem;
  }
}

/* === SecciÃƒÂ³n de InnovaciÃƒÂ³n Digital Modernizada === */
.innovacion-modern-section {
  background: #000;
  padding: 8rem 1rem;
  position: relative;
  overflow: hidden;
}

.innovacion-header {
  margin-bottom: 5rem;
}

.innovacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 204, 0, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  color: #00cc00;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.innovacion-badge i {
  font-size: 0.5rem;
  animation: pulse-green 2s infinite;
}

.innovacion-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.innovacion-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
  height: 100%;
}

.innovacion-card:hover {
  border-color: #00cc00;
  transform: translateY(-10px);
  background: #151515;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.1);
  color: #00bd09;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 204, 0, 0.2);
}

.innovacion-card h4 {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.innovacion-card p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-read-more {
  display: inline-flex;
  background: #00cc00;
  color: #000;
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #33e633;
  color: #000;
  transform: scale(1.05);
}

.innovacion-visual-center {
  position: relative;
  z-index: 2;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 204, 0, 0.2);
}

.center-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.innovacion-visual-center:hover .center-img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
  .innovacion-visual-center {
    margin: 3rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .innovacion-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .innovacion-card {
    text-align: center;
    margin-bottom: 2rem;
  }

  .card-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* === SecciÃƒÂ³n de IntegraciÃƒÂ³n / Registro Network === */
.integration-network-section {
  background: #000;
  padding: 8rem 1rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.integration-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  height: 600px;
  /* Base height for the network visualization */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fondo de puntos / Grid */
.integration-bg-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
}

/* CÃƒÂ¡psula Central */
.central-integration-node {
  position: relative;
  z-index: 10;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 35px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 204, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.central-integration-node img {
  width: 35px;
  height: auto;
  object-fit: contain;
}

.central-integration-node span {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nodos del Network */
.network-node {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.node-circle {
  width: 80px;
  height: 80px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.3s ease;
}

.network-node:hover .node-circle {
  border-color: #00cc00;
  box-shadow: 0 0 20px rgba(0, 204, 0, 0.2);
  transform: scale(1.1);
}

.node-label {
  position: absolute;
  width: 180px;
  color: #fff;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.network-node:hover .node-label {
  opacity: 1;
}

/* Posiciones de los Nodos */
.node-left-1 {
  left: 5%;
  top: 15%;
}

.node-left-2 {
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
}

.node-left-3 {
  left: 5%;
  bottom: 15%;
}

.node-right-1 {
  right: 5%;
  top: 15%;
}

.node-right-2 {
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
}

.node-right-3 {
  right: 5%;
  bottom: 15%;
}

/* Ajuste de labels */
.node-left-1 .node-label,
.node-left-2 .node-label,
.node-left-3 .node-label {
  right: 110%;
  text-align: right;
}

.node-right-1 .node-label,
.node-right-2 .node-label,
.node-right-3 .node-label {
  left: 110%;
  text-align: left;
}

/* LÃƒÂ­neas SVG Connection */
.integration-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* === Nuevo DiseÃƒÂ±o Moderno IntegraciÃƒÂ³n === */
.integration-modern-layout {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  max-width: 1200px;
  min-height: 600px;
  height: auto;
  margin: 0 auto;
  padding: 2rem 0;
  z-index: 5;
}

.integration-modern-layout>div {
  margin: 0 40px;
}

@supports (gap: 80px) {
  .integration-modern-layout {
    gap: 80px;
  }

  .integration-modern-layout>div {
    margin: 0;
  }
}

/* Columna Izquierda - Pasos */
.cards-column-left {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 40px;
  /* Uniform vertical spacing */
  z-index: 5;
}

/* Columna Central - App Logo */
.col-center {
  position: relative;
  z-index: 10;
}

.center-app-logo {
  width: 80px;
  height: 80px;
  background: #000;
  border-radius: 20px;
  border: 2px solid rgba(0, 204, 0, 0.3);
  box-shadow: 0 0 40px rgba(0, 204, 0, 0.2), inset 0 0 20px rgba(0, 204, 0, 0.1);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin: 0 auto;
  /* Centrado para Safari */
}

.center-app-logo img {
  width: 45px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 204, 0, 0.4));
}

/* Puntos de conexiÃƒÂ³n en el nodo central */
.center-app-logo::before,
.center-app-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #00cc00;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px #00cc00;
}

.center-app-logo::before {
  left: -4px;
}

.center-app-logo::after {
  right: -4px;
}

/* Columna Derecha - Beneficios */
.cards-column-right {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 40px;
  /* Uniform vertical spacing */
  z-index: 5;
}

.modern-step-card,
.modern-benefit-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 20px;
  width: 310px;
  /* Same width for both */
  min-height: 100px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.modern-step-card:hover,
.modern-benefit-card:hover {
  transform: translateY(-5px);
  border-color: #00cc00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Adjust layout inside cards to match */
.modern-step-card {
  -webkit-flex-direction: row;
  flex-direction: row;
  /* Ensure icon is on right for left col if desired, or standard */
}

.modern-benefit-card {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
  /* Icon on left for right col */
  -webkit-justify-content: space-between;
  justify-content: space-between;
  /* Spacing */
}

.step-info,
.benefit-info {
  flex: 1;
}

.step-info h4,
.benefit-info h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.step-info p,
.benefit-info p {
  color: #aaa;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.2;
}

.step-icon-box,
.benefit-icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.step-icon-box {
  background: linear-gradient(135deg, #003300, #001100);
  color: #00cc00;
  border: 1px solid rgba(0, 204, 0, 0.3);
  margin-left: 15px;
}

.benefit-icon-box {
  background: rgba(0, 204, 0, 0.1);
  color: #00cc00;
  margin-right: 15px;
}

/* Puntos de conexiÃƒÂ³n en las tarjetas */
.modern-step-card::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #00cc00;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 204, 0, 0.8);
}

.modern-benefit-card::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #00cc00;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 204, 0, 0.8);
}

/* Updated SVG Lines Position */
.integration-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-path {
  fill: none;
  stroke: rgba(0, 204, 0, 0.3);
  stroke-width: 1.5px;
}

/* Responsive */
@media (max-width: 1100px) {
  .integration-modern-layout {
    flex-direction: column;
    gap: 40px;
    height: auto;
    /* Reset height for mobile stack */
    padding: 4rem 1rem;
  }

  .cards-column-left,
  .cards-column-right {
    width: 100%;
    align-items: center;
  }

  .modern-step-card,
  .modern-benefit-card {
    width: 90%;
    max-width: 400px;
  }

  .integration-svg-lines {
    display: none;
  }

  .center-app-logo::before,
  .center-app-logo::after,
  .modern-step-card::after,
  .modern-benefit-card::before {
    display: none;
  }
}

.cta-buttons-registro {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 50;
  /* Por encima de todo para ser clickable */
}

/* Responsive */
@media (max-width: 991px) {
  .integration-container {
    height: 900px;
    flex-direction: column;
  }

  .central-integration-node {
    order: 1;
    margin-bottom: 3rem;
  }

  .node-left-1,
  .node-left-2,
  .node-left-3,
  .node-right-1,
  .node-right-2,
  .node-right-3 {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin: 1rem 0;
    width: 100%;
    order: 2;
  }

  .node-label {
    position: static;
    margin-top: 10px;
    width: auto;
    text-align: center !important;
  }

  .integration-svg-lines {
    display: none;
  }
}

/* BotÃƒÂ³n Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #027702;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 255, 0, 0.2);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #027702;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 255, 0, 0.3);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease;
}

.loading-spinner.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 255, 0, 0.2);
  border-top: 4px solid #027702;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-text {
  color: #039703;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Mejoras de accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible para navegaciÃƒÂ³n por teclado */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
  outline: 2px solid #039703;
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #039703;
  color: #000;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Mockup del telÃƒÂ©fono para registro */
.registro-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-registro {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 35px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-mockup-registro::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.phone-screen-registro {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.registro-demo {
  height: 100%;
  background: linear-gradient(135deg, #001100, #000000);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  padding: 2rem 1.5rem;
  color: #fff;
}

.step-indicator {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  font-weight: 700;
}

.step.active {
  background: #039703;
  color: #000;
}

.registro-form-demo {
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.field-label {
  color: #039703;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.field-value {
  color: #fff;
  font-weight: 600;
}

.selfie-demo {
  background: rgba(0, 255, 0, 0.1);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #039703;
  text-align: center;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.5rem;
}

.selfie-demo i {
  font-size: 2rem;
  color: #039703;
}

.success-message {
  background: rgba(0, 255, 0, 0.1);
  padding: 1rem;
  border-radius: 10px;
  border: 2px solid #039703;
  text-align: center;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.success-message i {
  color: #039703;
  font-size: 1.5rem;
}

.success-message span {
  color: #039703;
  font-weight: 700;
}

/* Responsive para registro */
@media (max-width: 768px) {
  .registro-title {
    font-size: 2rem;
  }

  .paso-item {
    flex-direction: column;
    text-align: center;
  }

  .paso-numero {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup-registro {
    width: 240px;
    height: 480px;
  }

  .cta-buttons-registro {
    text-align: center;
  }

  .btn-registro-primary,
  .btn-registro-secondary {
    display: block;
    margin: 0.5rem 0;
    text-align: center;
  }
}

/* ============================================================
   MASTER SAFARI RESPONSIVE & COMPATIBILITY PATCH
   ============================================================ */

/* Force hardware acceleration and fix rendering bugs in Safari */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for Hero Section on Mobile Safari */
@media (max-width: 768px) {
  .hero-new-section {
    padding: 4rem 1rem 2rem !important;
    min-height: auto !important;
    height: auto !important;
  }

  .hero-headline {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 2rem !important;
  }

  .hero-visual-wrap {
    height: auto !important;
    min-height: 400px !important;
    margin-top: 2rem !important;
  }

  .main-phone-mockup {
    margin-top: 20px !important;
    width: 200px !important;
    height: 350px !important;
  }

  .hero-cta-apps {
    margin-bottom: 3rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .app-store-btn {
    min-width: 200px !important;
    padding: 10px 20px !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    display: flex !important;
  }
}

/* Ensure images don't overflow on Safari */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for backdrop-filter visibility in Safari */
.navbar-pill-container,
.hero-badge,
.central-integration-node,
.modern-step-card,
.modern-benefit-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Fix for overlapping elements in Integration Section */
@media (max-width: 1100px) {
  .integration-modern-layout {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    padding: 2rem 1rem !important;
  }

  .cards-column-left,
  .cards-column-right {
    display: block !important;
    width: 100% !important;
  }

  .modern-step-card,
  .modern-benefit-card {
    width: 95% !important;
    max-width: 100% !important;
    margin: 15px auto !important;
    display: flex !important;
  }

  .col-center {
    display: block !important;
    text-align: center !important;
    margin: 3rem 0 !important;
  }

  .integration-svg-lines {
    display: none !important;
  }
}

/* === Safari & Universal Centering Fixes === */
@media (max-width: 991px) {

  .innovacion-modern-section,
  .integration-modern-layout,
  .servicios-section,
  .funcionalidades-section,
  .prestamos-section,
  .footer-custom {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .container,
  .row {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Centrado de imágenes en Safari */
  img,
  .logo-servicio,
  .center-img,
  .uaf-img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  /* Fix para que los textos no se desalineen en Safari */
  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  span {
    text-align: center !important;
    width: 100% !important;
  }

  .modern-step-card,
  .modern-benefit-card,
  .card-funcionalidad,
  .card-prestamo {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 15px auto !important;
    width: 90% !important;
  }

  .lista-check {
    display: inline-block !important;
    text-align: left !important;
    margin: 1rem auto !important;
  }
}

/* Fix específico Safari z-index y rendering */
@supports (-webkit-hyphens:none) {

  .navbar-pill-container,
  .navbar-collapse {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(15, 15, 15, 0.95) !important;
  }

  .integration-modern-layout {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
  }

  .cards-column-left,
  .cards-column-right {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .modern-step-card,
  .modern-benefit-card {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-justify-content: space-between !important;
    justify-content: space-between !important;
  }

  .integration-modern-layout div {
    -webkit-transform: none;
    transform: none;
  }

  /* Ocultar SVG en Safari para evitar problemas de renderizado */
  .integration-svg-lines {
    display: none !important;
  }

  /* Ocultar puntos de conexión en Safari */
  .center-app-logo::before,
  .center-app-logo::after,
  .modern-step-card::after,
  .modern-benefit-card::before {
    display: none !important;
  }

  /* Deshabilitar backdrop-filter en Safari para evitar problemas */
  .modern-step-card,
  .modern-benefit-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(20, 20, 20, 0.95) !important;
    -webkit-transform: none !important;
    transform: none !important;
  }

  /* Ocultar órbitas e íconos flotantes en Safari para simplificar */
  .visual-orbits,
  .floating-icons,
  .floating-cards-container,
  .hero-float-card {
    display: none !important;
  }

  /* Ajustar hero visual para Safari */
  .hero-visual-wrap {
    height: auto !important;
    min-height: 400px !important;
  }

  .main-phone-mockup {
    margin-top: 0 !important;
  }
}