:root {
  --primary-green: #00ff41;
  --dark-green: #00cc33;
  --matrix-black: #0d1117;
  --dark-gray: #1a1a1a;
  --light-gray: #333333;
  --text-gray: #8b949e;
  --success-color: #3fb950;
  --warning-color: #f7b32b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--matrix-black);
  color: #ffffff;
  font-family: "Courier New", monospace;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-green);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: bold;
  color: var(--primary-green) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--primary-green) !important;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  text-shadow: 0 0 10px var(--primary-green);
}

.dropdown-menu {
  background-color: var(--dark-gray);
  border: 1px solid var(--primary-green);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 255, 65, 0.2);
}

.dropdown-item {
  color: #ffffff;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
}

.dropdown-item:hover {
  background-color: var(--primary-green);
  color: var(--matrix-black);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  border-radius: 6px;
  font-weight: 500;
  font-family: "Courier New", monospace;
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  color: var(--matrix-black);
  box-shadow: 0 0 20px var(--primary-green);
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  background-color: var(--matrix-black);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  padding-right: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  text-shadow: 0 0 20px var(--primary-green);
  line-height: 1.2;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px var(--primary-green);
  }
  to {
    text-shadow: 0 0 30px var(--primary-green), 0 0 40px var(--primary-green);
  }
}

.feature-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.feature-item i {
  color: var(--primary-green);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1rem;
  text-shadow: 0 0 5px var(--primary-green);
}

.feature-item span {
  font-size: 1rem;
  color: #ffffff;
  font-family: "Courier New", monospace;
}

.hero-buttons {
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--matrix-black);
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-green);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  background: transparent;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  color: var(--matrix-black);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-green);
}

.countdown-timer {
  display: flex;
  align-items: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  font-family: "Courier New", monospace;
}

#countdown {
  margin-left: 0.5rem;
  font-weight: bold;
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
}

.network-animation {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.world-map-detailed {
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 500px;
}

/* Network Points Styles - Draggable */
.network-point {
  fill: var(--primary-green);
  stroke: var(--primary-green);
  stroke-width: 1;
  cursor: grab;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 3px var(--primary-green));
}

.network-point:hover {
  fill: #ffffff;
  filter: drop-shadow(0 0 10px var(--primary-green));
  animation: pulse-point 1s ease-in-out infinite;
}

.network-point:active {
  cursor: grabbing;
}

.connection-line {
  stroke: var(--primary-green);
  stroke-width: 0.8;
  opacity: 0.4;
  transition: all 0.3s ease;
  pointer-events: none;
}

.connection-line:hover,
.connection-line.active {
  stroke-width: 2;
  opacity: 1;
  filter: drop-shadow(0 0 3px var(--primary-green));
}

.strategic-connection {
  stroke-width: 1;
  opacity: 0.6;
  stroke-dasharray: 6, 3;
  animation: dash-flow 4s linear infinite;
}

.pulse-ring {
  fill: none;
  stroke: var(--primary-green);
  stroke-width: 1.5;
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse-point {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.8);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 1;
    transform: scale(1);
    stroke-width: 2;
  }
  100% {
    opacity: 0;
    transform: scale(8);
    stroke-width: 0.3;
  }
}

@keyframes dash-flow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -9;
  }
}

/* Enhanced Interactive Point Effects */
.point-glow-ring {
  fill: none;
  stroke: var(--primary-green);
  stroke-width: 0.8;
  opacity: 0.2;
  transition: all 0.4s ease;
  filter: blur(1px);
  pointer-events: none;
}

.point-glow-ring.active {
  opacity: 0.8;
  stroke-width: 3;
  filter: blur(0px) drop-shadow(0 0 15px var(--primary-green));
  animation: glow-ring-pulse 2s ease-in-out infinite;
}

.point-middle-ring {
  fill: none;
  stroke: var(--primary-green);
  stroke-width: 1;
  opacity: 0.4;
  transition: all 0.3s ease;
  pointer-events: none;
}

.point-middle-ring.active {
  opacity: 1;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px var(--primary-green));
  animation: middle-ring-pulse 1.5s ease-in-out infinite;
}

.network-point.active {
  fill: #ffffff;
  stroke: var(--primary-green);
  stroke-width: 2;
  filter: drop-shadow(0 0 15px var(--primary-green));
  animation: point-active-pulse 1s ease-in-out infinite;
}

/* Ripple Effect */
.ripple-effect {
  fill: none;
  stroke: var(--primary-green);
  stroke-width: 2;
  opacity: 1;
  animation: ripple-expand 1s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-expand {
  0% {
    r: 3;
    opacity: 1;
    stroke-width: 2;
  }
  100% {
    r: 25;
    opacity: 0;
    stroke-width: 0.3;
  }
}

@keyframes glow-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes middle-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
}

@keyframes point-active-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.3);
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--dark-gray);
}

.feature-card {
  background-color: var(--light-gray);
  border: 1px solid var(--text-gray);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
  border-color: var(--primary-green);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 5px var(--primary-green);
}

.feature-card p {
  color: #ffffff;
  margin-bottom: 0;
  font-family: "Courier New", monospace;
}

/* Distributors Section */
.distributors-section {
  padding: 80px 0;
  background-color: var(--matrix-black);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 20px var(--primary-green);
  animation: glow 2s ease-in-out infinite alternate;
}

.section-header p {
  font-size: 1.1rem;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  font-family: "Courier New", monospace;
}

.distributor-card {
  background-color: var(--dark-gray);
  border: 1px solid var(--text-gray);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.distributor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
  border-color: var(--primary-green);
}

.distributor-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--primary-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-gray);
}

.distributor-header h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px var(--primary-green);
}

.badge {
  font-weight: bold;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}

.bg-primary {
  background-color: var(--primary-green) !important;
  color: var(--matrix-black) !important;
}

.bg-success {
  background-color: var(--success-color) !important;
  color: var(--matrix-black) !important;
}

.distributor-list {
  list-style: none;
  padding: 1.25rem;
  margin: 0;
}

.distributor-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-family: "Courier New", monospace;
}

.distributor-list li:last-child {
  margin-bottom: 0;
}

.distributor-list li i {
  color: var(--primary-green);
  margin-right: 0.75rem;
  font-size: 0.9rem;
  text-shadow: 0 0 5px var(--primary-green);
}

.distributor-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--primary-green);
  color: #ffffff;
  font-size: 0.9rem;
  font-family: "Courier New", monospace;
  background-color: var(--light-gray);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--dark-gray);
}

.testimonial-card {
  background-color: var(--light-gray);
  border: 1px solid var(--text-gray);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
  border-color: var(--primary-green);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: #ffffff;
  font-style: italic;
  position: relative;
  padding: 0 0.5rem;
  font-family: "Courier New", monospace;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--primary-green);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 5px var(--primary-green);
}

.author-info span {
  font-size: 0.875rem;
  color: #ffffff;
  font-family: "Courier New", monospace;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, var(--matrix-black) 100%);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 20px var(--primary-green);
  animation: glow 2s ease-in-out infinite alternate;
}

.cta-content p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  font-family: "Courier New", monospace;
}

.btn-outline-light {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--matrix-black);
  transform: translateY(-2px);
  box-shadow: 0 0 20px #ffffff;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  padding: 80px 0 30px;
  border-top: 1px solid var(--primary-green);
}

.footer-about h3,
.footer-links h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
  color: var(--primary-green);
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px var(--primary-green);
}

.footer-about p {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-family: "Courier New", monospace;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-green);
  color: var(--matrix-black);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--primary-green);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: "Courier New", monospace;
}

.footer-links ul li a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 5px var(--primary-green);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-green);
  color: #ffffff;
  font-size: 0.9rem;
  font-family: "Courier New", monospace;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 5px var(--primary-green);
}

/* Floating Contact Buttons */
.floating-contacts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-green);
  background-color: transparent;
}

.telegram-btn {
  color: var(--primary-green);
}

.telegram-btn:hover {
  background-color: var(--primary-green);
  transform: scale(1.1);
  color: var(--matrix-black);
  box-shadow: 0 0 30px var(--primary-green);
}

.whatsapp-btn {
  color: var(--primary-green);
}

.whatsapp-btn:hover {
  background-color: var(--primary-green);
  transform: scale(1.1);
  color: var(--matrix-black);
  box-shadow: 0 0 30px var(--primary-green);
}

/* ========== PRICING PAGE - Mejor contraste y legibilidad ========== */
section .text-muted,
.pricing-card .text-muted {
  color: #b8d4be !important; /* Verde grisáceo legible en fondo oscuro */
}

section .nav-tabs .nav-link {
  color: #b8d4be !important;
  font-weight: 600;
}

section .nav-tabs .nav-link:hover,
section .nav-tabs .nav-link.active {
  color: var(--primary-green) !important;
  background-color: rgba(0, 255, 65, 0.15);
  border-color: var(--primary-green);
}

.pricing-card {
  background: linear-gradient(145deg, #1a2420 0%, #0d1117 100%);
  border: 1px solid rgba(0, 255, 65, 0.35);
  border-radius: 12px;
  padding: 1.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.2);
}

.pricing-card.featured {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-green);
  text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.pricing-card .price-per-ip {
  color: #b8d4be;
  font-size: 0.95rem;
}

.pricing-card ul li {
  color: #e0e0e0;
}

.table-dark,
.table-dark th,
.table-dark td {
  color: #e8e8e8 !important;
}

.table-dark thead th {
  background-color: rgba(0, 255, 65, 0.2) !important;
  color: var(--primary-green) !important;
  border-color: var(--primary-green);
}

/* FAQ accordion en pricing */
.accordion-button.bg-dark {
  color: #e8e8e8 !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-green) !important;
}

.accordion-body {
  color: #e0e0e0;
}

/* Badge ISP móviles - llamar atención */
.isp-mobile-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00ff41, #00cc33);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0, 255, 65, 0); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .feature-item {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .countdown-timer {
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .feature-item span {
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer {
    padding: 50px 0 30px;
  }

  .footer-about,
  .footer-links {
    margin-bottom: 2rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Data Flow Animation */
.data-flow {
  stroke: #ffffff;
  stroke-width: 3;
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--primary-green));
  animation: enhanced-data-pulse 2s ease-in-out;
}

@keyframes enhanced-data-pulse {
  0% {
    opacity: 0;
    stroke-width: 0.8;
  }
  50% {
    opacity: 1;
    stroke-width: 4;
    filter: drop-shadow(0 0 15px var(--primary-green));
  }
  100% {
    opacity: 0;
    stroke-width: 0.8;
  }
}
