:root {
  --primary-color: #00d4ff;
  --secondary-color: #0066ff;
  --dark-color: #0a0a0a;
  --darker-color: #050505;
  --light-color: #ffffff;
  --gray-color: #666666;
  --light-gray: #cccccc;
  --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --gradient-secondary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --neon-glow: 0 0 20px rgba(0, 212, 255, 0.5);
  --neon-glow-strong: 0 0 30px rgba(0, 212, 255, 0.8);
  --shadow-light: 0 4px 15px rgba(0, 212, 255, 0.2);
  --shadow-medium: 0 8px 25px rgba(0, 212, 255, 0.3);
  --shadow-strong: 0 15px 35px rgba(0, 212, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--light-color);
  background: var(--dark-color);
  overflow-x: hidden;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Selección de texto */
::selection {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  z-index: 1000 !important;
  position: fixed !important;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  text-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  text-shadow: var(--neon-glow-strong);
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  color: var(--light-gray) !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Buttons */
.btn {
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--dark-color);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: var(--dark-color);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--light-color);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-color);
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-color);
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}

/* Button Effects */
.magnetic-btn {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.btn-shine {
  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 ease;
  z-index: 1;
}

.btn:hover .btn-shine {
  left: 100%;
}

/* Text Effects */
.glow-text {
  text-shadow: var(--neon-glow);
  transition: text-shadow 0.3s ease;
}

.glow-text:hover {
  text-shadow: var(--neon-glow-strong);
}

/* PREVENIR FRAGMENTACIÓN DE TEXTO */
.hero-title,
.hero-subtitle,
.hero-description,
.section-title {
  word-break: keep-all !important;
  word-wrap: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  hyphens: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ASEGURAR QUE EL TEXTO NO SE FRAGMENTE */
.hero-title span {
  display: inline !important;
  white-space: nowrap;
}

/* DESHABILITAR EFECTOS PROBLEMÁTICOS */
.glitch-text::before,
.glitch-text::after {
  display: none !important;
}

/* EFECTO ALTERNATIVO SEGURO */
.safe-glow:hover {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  transition: text-shadow 0.3s ease;
}

/* HERO SECTION - CORRECCIÓN COMPLETA */
.hero-section {
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%,
      rgba(0, 212, 255, 0.08) 0%,
      transparent 50%),
    radial-gradient(circle at 80% 80%,
      rgba(0, 102, 255, 0.05) 0%,
      transparent 50%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 100;
  padding: 2rem 0;
  isolation: isolate;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 101;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: var(--light-gray);
  position: relative;
  z-index: 101;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--light-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 101;
}

.hero-buttons {
  margin-top: 2rem;
  position: relative;
  z-index: 101;
}

.hero-image {
  text-align: center;
  position: relative;
  z-index: 50;
}

/* HERO PLACEHOLDER IMAGE - NUEVA CLASE ESPECÍFICA */
.hero-placeholder-image {
  background: rgba(0, 212, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  z-index: 50;
  transition: all 0.3s ease;
  isolation: isolate;
}

.hero-placeholder-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.4);
}

.hero-icon-container {
  position: relative;
  z-index: 60;
}

.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 55;
  pointer-events: none;
}

.hero-floating-icon {
  position: absolute;
  color: rgba(0, 212, 255, 0.6);
  font-size: 1.5rem;
  animation: floatIcon 4s ease-in-out infinite;
  z-index: 55;
}

.hero-bg-effects {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1 !important;
  pointer-events: none;
}

.floating-shape {
  position: absolute !important;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  animation: floatShape 6s ease-in-out infinite;
  z-index: -1 !important;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-15px) rotate(180deg);
    opacity: 1;
  }
}

/* Stats Section */
.stats-section {
  background: rgba(0, 212, 255, 0.02);
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  z-index: 10;
}

.stat-item {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  border-radius: 15px;
  position: relative;
  z-index: 10;
}

.stat-item:hover {
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-shadow: var(--neon-glow);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styles */
.section-header {
  position: relative;
  z-index: 10;
}

.section-badge {
  margin-bottom: 1rem;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bg-primary-gradient {
  background: var(--gradient-primary);
  color: var(--dark-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.section-description {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--gradient-bg);
  position: relative;
  z-index: 10;
  isolation: isolate;
}

.about-features {
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.feature-item:hover {
  color: var(--light-color);
  transform: translateX(5px);
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-color);
}

.cta-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light-gray);
}

.about-image .placeholder-image {
  background: rgba(0, 212, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  z-index: 50;
  transition: all 0.3s ease;
}

.about-image .placeholder-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.4);
}

/* TRADING SECTION - CORRECCIÓN COMPLETA */
.trading-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 100px 0;
}

.trading-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.8) 30%,
      rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.trading-section .container {
  position: relative;
  z-index: 2;
}

.trading-benefits-container {
  padding: 2rem 0;
  position: relative;
  z-index: 100;
  isolation: isolate;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.03);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  isolation: isolate;
}

.benefit-item:hover {
  background: rgba(0, 212, 255, 0.08);
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.3);
}

.benefit-number {
  background: var(--gradient-primary);
  color: var(--dark-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--neon-glow);
  position: relative;
  z-index: 101;
}

.benefit-content {
  position: relative;
  z-index: 101;
}

.benefit-content h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--light-gray);
  margin: 0;
  line-height: 1.5;
}

.trading-image {
  text-align: center;
  position: relative;
  z-index: 50;
}

/* TRADING PLACEHOLDER IMAGE - NUEVA CLASE ESPECÍFICA */
.trading-placeholder-image {
  background: rgba(0, 212, 255, 0.05);
  border-radius: 20px;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  z-index: 50;
  transition: all 0.3s ease;
  isolation: isolate;
}

.trading-placeholder-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.4);
}

.trading-icon-container {
  position: relative;
  z-index: 60;
}

.trading-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 55;
  pointer-events: none;
}

.trading-floating-icon {
  position: absolute;
  color: rgba(0, 212, 255, 0.6);
  font-size: 1.5rem;
  animation: floatIcon 4s ease-in-out infinite;
  z-index: 55;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: var(--gradient-bg);
  position: relative;
  z-index: 10;
}

.form-control option {
  background-color: #ffffff;
  color: #000000;
  padding: 8px 12px;
}

.form-control select,
.form-control {
  background-color: #ffffff;
  color: #000000;
}

/* Ensure select dropdown has proper styling */
select.form-control option {
  background-color: #fff;
  color: #333;
  font-weight: normal;
}

/* For better browser compatibility */
select.form-control {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #ddd;
}

select.form-control:focus {
  background-color: #ffffff;
  color: #333333;
  border-color: var(--primary-color, #007bff);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.service-card {
  background: rgba(0, 212, 255, 0.03);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 50 !important;
  backdrop-filter: blur(10px);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(0, 212, 255, 0.1),
      transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-strong);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--dark-color);
  box-shadow: var(--neon-glow);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: var(--neon-glow-strong);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.service-description {
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.service-features .feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--light-gray);
  font-size: 0.9rem;
}

.service-features .feature i {
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: rgba(0, 102, 255, 0.02);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  z-index: 10;
}

.cta-container {
  background: rgba(0, 212, 255, 0.05);
  border-radius: 30px;
  padding: 4rem 3rem;
  text-align: center;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 212, 255, 0.2);
  position: relative;
  z-index: 10;
}

.cta-icon {
  margin-bottom: 2rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 212, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  color: var(--primary-color);
  font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--gradient-bg);
  position: relative;
  z-index: 10;
}

.contact-form-container {
  position: relative;
  z-index: 10;
}

.contact-form {
  background: rgba(0, 212, 255, 0.03);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 50 !important;
  isolation: isolate;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  transition: all 0.3s ease;
}

.form-control {
  background: rgba(0, 212, 255, 0.05);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  color: var(--light-color);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 100%;
}

.form-control:focus {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  color: var(--light-color);
  outline: none;
}

.form-control::placeholder {
  color: #888888;
}

.form-focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.form-group:focus-within .form-focus-line {
  width: 100%;
}

.contact-info-card {
  background: rgba(0, 212, 255, 0.03);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--dark-color);
  box-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: var(--neon-glow-strong);
}

.contact-info-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--light-gray);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--darker-color);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  z-index: 10;
}

.footer-brand h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: var(--neon-glow);
}

.footer h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer p {
  color: var(--light-gray);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--neon-glow);
}

.footer-divider {
  border-color: rgba(0, 212, 255, 0.2);
  margin: 2rem 0;
}

.footer-copyright {
  color: var(--light-gray);
  font-size: 0.9rem;
}

.footer-badges .badge {
  margin-left: 0.5rem;
}

.footer-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.footer-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 8s ease-in-out infinite;
}

.footer-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.footer-particle:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.footer-particle:nth-child(3) {
  bottom: 30%;
  left: 30%;
  animation-delay: 6s;
}

@keyframes floatParticle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-strong);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary-gradient {
  background: var(--gradient-primary) !important;
}

.neon-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--dark-color), var(--darker-color)) padding-box,
    var(--gradient-primary) border-box;
  border-radius: 20px;
}

.holographic {
  background: linear-gradient(45deg,
      rgba(0, 212, 255, 0.03) 0%,
      rgba(0, 102, 255, 0.03) 25%,
      rgba(0, 212, 255, 0.03) 50%,
      rgba(0, 102, 255, 0.03) 75%,
      rgba(0, 212, 255, 0.03) 100%);
  background-size: 400% 400%;
  animation: holographicShift 4s ease-in-out infinite;
}

@keyframes holographicShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ELIMINAR CONFLICTOS DE CLASES ANTERIORES */
.placeholder-image.holographic {
  display: none !important;
}

/* ASEGURAR QUE LOS ELEMENTOS DE FONDO NO INTERFIERAN */
.particles,
.particle {
  z-index: -1 !important;
  position: absolute !important;
}

/* ASEGURAR CONTENEDORES PRINCIPALES */
.container {
  position: relative;
  z-index: 50;
}

section {
  position: relative;
  z-index: 10;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  position: relative;
  z-index: 10;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Fade In Animations */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hover Animations */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Typing Animation */
.typing::after {
  content: "|";
  color: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5 !important;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  color: rgba(0, 212, 255, 0.6);
  font-size: 1.5rem;
  animation: floatIcon 4s ease-in-out infinite;
  z-index: 5 !important;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  box-shadow: 0 0 10px var(--primary-color);
}

.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease;
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(0, 212, 255, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .benefit-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .contact-form {
    padding: 2rem 1rem;
  }

  .cta-container {
    padding: 3rem 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .hero-floating-elements,
  .trading-floating-elements {
    display: none;
  }

  .floating-shape {
    display: none;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  .particles,
  .particle {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0 !important;
  }

  .contact-form {
    padding: 2rem 1rem;
  }

  .cta-container {
    padding: 2rem 1rem;
  }

  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .hero-placeholder-image,
  .trading-placeholder-image {
    padding: 2rem 1rem;
  }

  .holographic {
    animation: none;
  }

  .neon-border {
    animation: none;
  }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particles,
  .floating-elements,
  .floating-icon,
  .floating-shape {
    display: none !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #000000;
    --darker-color: #000000;
  }
}

/* GPU Acceleration */
.animate-on-scroll,
.service-card,
.benefit-item,
.contact-info-card,
.hero-placeholder-image,
.trading-placeholder-image {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* Performance Optimizations */
.hero-section,
.trading-section,
.services-section,
.about-section,
.contact-section,
.cta-section {
  contain: layout style paint;
}

/* Print Styles */
@media print {

  .navbar,
  .scroll-to-top,
  .particles,
  .floating-elements,
  .hero-bg-effects,
  .footer-bg-effects {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero-section,
  .trading-section,
  .services-section {
    background: white !important;
  }
}

/* Accessibility */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #00ffff;
    --light-gray: #ffffff;
  }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection Improvements */
.hero-title::selection,
.section-title::selection {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* Final Z-index hierarchy */
.navbar {
  z-index: 1000 !important;
}

.scroll-to-top {
  z-index: 999 !important;
}

.hero-content {
  z-index: 100 !important;
}

.trading-benefits-container {
  z-index: 100 !important;
}

.service-card {
  z-index: 50 !important;
}

.contact-form {
  z-index: 50 !important;
}

.particles {
  z-index: -1 !important;
}

.floating-shape {
  z-index: -1 !important;
}

/* Estilos para el selector de idioma */
.language-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 4px;
}

.language-option:hover {
  background-color: rgba(0, 170, 255, 0.15);
}

.language-option.active {
  background-color: rgba(0, 170, 255, 0.2);
  font-weight: 500;
}

.dropdown-menu {
  min-width: 120px;
  padding: 0.5rem;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.dropdown-item {
  color: #fff;
  border-radius: 4px;
}

.dropdown-item:hover {
  background-color: rgba(0, 170, 255, 0.2);
  color: var(--bs-primary);
}