/* Variables globales para consistencia */
:root {
  --primary-color: #77ff00;
  --primary-dark: #74cc00;
  --primary-light: #77ff00;
  --secondary-color: #3a502c;
  --accent-color: #80ff00;
  --text-color: #000000;
  --text-light: #f8f9fa;
  --background-dark: #000000;
  --background-light: #f8f9fa;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --glow-color: rgba(68, 255, 0, 0.6);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --font-family: 'Montserrat', sans-serif;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-light);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.slide-badge

/* Pantalla de carga */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-medium);
}

.loading-screen.fade-out {
  opacity: 0;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.loader svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

#loader-circle {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 4;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: loader-circle 2s ease-in-out infinite;
}

@keyframes loader-circle {
  0% {
    stroke-dashoffset: 200;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -200;
  }
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo img {
  width: 100%;
  height: auto;
  animation: pulse 2s ease-in-out infinite;
}

.loader-text {
  color: var(--text-light);
  font-size: 16px;
  letter-spacing: 1px;
  animation: fade-in-out 2s ease-in-out infinite;
}

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

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Sección Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: var(--background-dark);
  color: var(--text-light);
  margin-top: 40px;
}

.hero.loaded .hero-nav,
.hero.loaded .hero-slider,
.hero.loaded .scroll-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* Elementos de fondo */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.832);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  opacity: 0.5;
  transition: transform var(--transition-slow);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  transition: transform var(--transition-slow);
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes float-particle {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, 10px);
  }
  50% {
    transform: translate(5px, -5px);
  }
  75% {
    transform: translate(-10px, 5px);
  }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(24, 49, 4, 0.878), transparent 70%);
  z-index: 4;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.hero-circuit-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0.2;
  animation: pulse-line 4s ease-in-out infinite;
}

.circuit-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  animation: pulse-node 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes pulse-node {
  0%, 100% {
    box-shadow: 0 0 5px 1px var(--primary-light);
  }
  50% {
    box-shadow: 0 0 10px 2px var(--primary-light);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn i {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 15px rgba(106, 255, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(136, 255, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-light);
  background-color: rgba(94, 255, 0, 0.1);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), #ffe203, var(--primary-color));
  z-index: -1;
  border-radius: var(--border-radius-md);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-glow:hover::before {
  opacity: 1;
  animation: rotate-gradient 2s linear infinite;
}

.pulse-glow {
  animation: pulse-button 1s ease-in-out;
}

@keyframes rotate-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(106, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 255, 0, 0);
  }
}

/* Slider Hero */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 620px;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium);
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-content {
  display: flex;
  height: 100%;
  padding: 0 5%;
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 5%;
  max-width: 800px;
  margin-left: -40px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8.5px);
  margin-left: -15px;
}

.slide-badge span {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: rgb(0, 0, 0);
  border-radius: 50px;
  padding: 4px 10px;
  margin-right: 10px;
  font-weight: 600;
  font-size: 12px;
}

.slide-badge span i {
  margin-right: 5px;
}

.slide-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slide-title-highlight {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 5px;
}


@keyframes blink {
  from, to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.slide-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.slide-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.featured {
  display: flex;
  align-items: center;
  gap: 15px;
}

.featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(102, 255, 0, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 20px;
}

.pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(115, 255, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 3px rgba(89, 255, 0, 0.2);
  }
}

.featured-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.featured-text p {
  font-size: 14px;
  opacity: 0.7;
}

.slide-cta {
  display: flex;
  gap: 15px;
}

.slide-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 150px;
  margin-top: -50px;
}

.glowing-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(106, 255, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-circle 4s ease-in-out infinite;
}

@keyframes pulse-circle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.tech-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.tech-lines::before,
.tech-lines::after {
  content: '';
  position: absolute;
  background-color: rgba(13, 255, 0, 0.021);
  border-radius: 50%;
}

.tech-lines::before {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(72, 255, 0, 0.3);
}

.tech-lines::after {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(94, 255, 0, 0.2);
}

.main-image {
  position: relative;
  z-index: 3;
  max-width: 80%;
  max-height: 80%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

/* Estilos para las tarjetas de precio */
.price-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background: rgba(36, 35, 35, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.price-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary-color);
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 0 0 var(--border-radius-md) 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.price-discount {
  position: absolute;
  top: 35px;
  right: -40px;
  background: #85ff02;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-amount {
  text-align: center;
  margin: 35px 0 20px;
  position: relative;
}

.currency {
  font-size: 24px;
  font-weight: 600;
  color: white;
  vertical-align: top;
  margin-right: 2px;
}

.amount {
  font-size: 48px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.period {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 2px;
}

.old-price {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.price-features {
  margin-bottom: 25px;
}

.price-feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: white;
}

.price-feature i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
}

.price-feature span {
  font-size: 14px;
}

.price-cta {
  display: block;
  background: var(--primary-color);
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 255, 0, 0.3);
}

.price-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 255, 0, 0.4);
}

/* Animación para las tarjetas de precio */
.hero-slide.active .price-card {
  animation: fade-in-scale 0.6s ease 0.3s forwards;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  background-color: rgba(88, 86, 86, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 4;
  transition: transform var(--transition-fast);
}

.card-1 {
  top: 30%;
  left: -10%;
  transform: translateX(-30%);
}

.card-2 {
  bottom: 30%;
  right: -10%;
  transform: translateX(30%);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: rgb(0, 0, 0);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 16px;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.counter-complete {
  animation: bounce 0.3s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-label {
  font-size: 12px;
  opacity: 0.7;
}

.data-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.data-particle {
  position: absolute;
  background-color: var(--primary-color);
  border-radius: 50%;
  animation: data-flow 3s linear infinite;
}

@keyframes data-flow {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(100px, -100px);
  }
}

.tv-channels-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.channel-icon {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  animation: fade-in-out 3s ease-in-out infinite;
}

.package-connections {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transform-origin: left center;
  animation: pulse-connection 3s ease-in-out infinite;
}

@keyframes pulse-connection {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Controles del Slider */
.slider-controls {
  position: absolute;
  bottom: 120px;
  left: 75%;
  display: flex;
  align-items: center;
  z-index: 20;
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-right: 20px;
}

.dot {
  position: relative;
  width: 16px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
  background-color: var(--primary-color);
}

.dot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0;
}

.dot.active .dot-pulse {
  animation: dot-pulse 2s ease-out infinite;
}

@keyframes dot-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}


/* Media Queries para Responsividad */
@media (max-width: 1200px) {
  .slide-title {
    font-size: 42px;
  }
  
  .slide-title-highlight {
    font-size: 28px;
  }
  
  .slide-subtitle {
    font-size: 16px;
  }
  
  .image-container {
    max-width: 450px;
    height: 450px;
  }
  
  .glowing-circle {
    width: 250px;
    height: 250px;
  }
  
  .tech-lines::before {
    width: 300px;
    height: 300px;
  }
  
  .tech-lines::after {
    width: 350px;
    height: 350px;
  }
  
  .price-card {
    width: 250px;
    padding: 20px;
    margin-top: 150px;
  }
  
  .amount {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .hero-nav {
    padding: 15px 5%;
  }
  
  .nav-links, .nav-buttons {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .slide-content {
    flex-direction: column;
    padding: 0 5%;
    overflow-y: auto;
    justify-content: center;
    height: 900px;
  }
  
  .slide-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
    margin-left: 5px;
  }
  
  .slide-features {
    justify-content: center;
  }
  
  .slide-cta {
    justify-content: center;
  }
  
  .slide-image {
    margin-top: 20px;
  }
  
  .image-container {
    max-width: 400px;
    height: 400px;
  }
  
  .slider-controls {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .price-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 100px;
  }
  
  .hero-slide.active .price-card {
    animation: fade-in-up 0.6s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .price-card:hover {
    transform: translateY(-5px);
  }
  
  @keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .main-image {
    opacity: 1;
    margin-bottom: 20px;
  }
}


@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }

  .slide-content
  
  .hero-slider {
    min-height: 520px;
  }
  
  .slide-title {
    font-size: 36px;
  }
  
  .slide-title-highlight {
    font-size: 24px;
  }
  
  .slide-badge {
    font-size: 14px;
    text-align: center;
  }
  
  .slide-features {
    gap: 30px;
    align-items: center;
  }
  
  .slide-cta {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .featured-text h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .featured-text p {
    font-size: 11px;
    margin-bottom: 0;
  } 

  .slide-image {
    margin-top: -65px;
  }
  
  .btn {
    width: 100%;
  }
  
  .image-container {
    max-width: 300px;
    height: 300px;
  }
  
  .glowing-circle {
    width: 200px;
    height: 200px;
  }
  
  .tech-lines::before {
    width: 220px;
    height: 220px;
  }
  
  .tech-lines::after {
    width: 260px;
    height: 260px;
  }
  
  .floating-card {
    padding: 10px;
  }
  
  .card-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin-right: 10px;
  }
  
  .card-value {
    font-size: 20px;
  }
  
  .card-label {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 550px;
  }
  
  .hero-slider {
    min-height: 470px;
  }
  
  .slide-title {
    font-size: 28px;
  }
  
  .slide-title-highlight {
    font-size: 20px;
    min-height: 30px;
  }
  
  .slide-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .image-container {
    max-width: 250px;
    height: 250px;
  }
  
  .glowing-circle {
    width: 150px;
    height: 150px;
  }
  
  .tech-lines::before {
    width: 180px;
    height: 180px;
  }
  
  .tech-lines::after {
    width: 220px;
    height: 220px;
  }
  
  .card-1 {
    top: 20%;
    transform: translateX(-20%);
  }
  
  .card-2 {
    bottom: 20%;
    transform: translateX(20%);
  }
  
  .slider-dots {
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .arrow {
    width: 35px;
    height: 35px;
  }
}

/* Completando el CSS para mejorar la responsividad y adaptabilidad */

/* Mejoras para las tarjetas de precio en dispositivos móviles */
@media (max-width: 576px) {
  .price-card {
    padding: 15px;
    max-width: 280px;
  }
  
  .price-badge {
    font-size: 12px;
    padding: 6px 15px;
  }
  
  .price-discount {
    font-size: 10px;
    padding: 4px 35px;
    right: -30px;
    top: 12px;
  }
  
  .amount {
    font-size: 36px;
  }
  
  .currency {
    font-size: 20px;
  }
  
  .period {
    font-size: 14px;
  }
  
  .old-price {
    font-size: 16px;
    top: -18px;
  }
  
  .price-feature {
    margin-bottom: 8px;
  }
  
  .price-feature span {
    font-size: 12px;
  }
}

/* Mejoras para dispositivos muy pequeños */
@media (max-width: 375px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-slider {
    min-height: 420px;
  }
  
  .slide-title {
    font-size: 24px;
  }
  
  .slide-title-highlight {
    font-size: 18px;
    min-height: 25px;
  }
  
  .slide-subtitle {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .slide-badge {
    padding: 6px 12px;
    font-size: 11px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .slide-badge span {
    padding: 3px 8px;
    font-size: 10px;
  }
  
  .featured-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .featured-text h3 {
    font-size: 16px;
  }
  
  .featured-text p {
    font-size: 12px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .image-container {
    max-width: 220px;
    height: 220px;
  }
  
  .slider-controls {
    bottom: 15px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* Mejoras para pantallas grandes */
@media (min-width: 1400px) {
  .hero {
    min-height: 800px;
  }
  
  .hero-slider {
    min-height: 720px;
  }
  
  .slide-content {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .slide-title {
    font-size: 56px;
  }
  
  .slide-title-highlight {
    font-size: 38px;
    min-height: 50px;
  }
  
  .slide-subtitle {
    font-size: 20px;
  }
  
  .image-container {
    max-width: 600px;
    height: 600px;
  }
  
  .glowing-circle {
    width: 350px;
    height: 350px;
  }
  
  .tech-lines::before {
    width: 400px;
    height: 400px;
  }
  
  .tech-lines::after {
    width: 450px;
    height: 450px;
  }
  
  .price-card {
    width: 320px;
    padding: 30px;
  }
  
  .amount {
    font-size: 54px;
  }
}

/* Mejoras para orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 450px;
    height: auto;
  }
  
  .hero-slider {
    min-height: 370px;
    height: auto;
  }
  
  .slide-content {
    flex-direction: row;
    padding: 20px 5%;
    height: auto;
  }
  
  .slide-text {
    padding-right: 20px;
    margin-bottom: 0;
    text-align: left;
  }
  
  .slide-title {
    font-size: 24px;
  }
  
  .slide-title-highlight {
    font-size: 18px;
    min-height: 25px;
  }
  
  .slide-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .slide-features {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
  }
  
  .slide-cta {
    flex-direction: row;
  }
  
  .btn {
    width: auto;
  }
  
  .image-container {
    max-width: 200px;
    height: 200px;
  }
  
  .slider-controls {
    bottom: 10px;
  }
  
  .price-card {
    display: none;
  }
  
  .floating-card {
    display: none;
  }
}

/* Mejoras para accesibilidad y usabilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mejoras para modo oscuro */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f8f9fa;
    --background-light: #121212;
  }
}

/* Mejoras para el rendimiento en dispositivos móviles */
@media (max-width: 768px) {
  .hero-grid,
  .hero-particles {
    display: none;
  }
  
  .hero-circuit-lines {
    opacity: 0.5;
  }
  
  .circuit-line {
    animation: none;
  }
  
  .circuit-node {
    animation: pulse-node 3s ease-in-out infinite;
  }
  
  .data-particles {
    display: none;
  }
  
  .tv-channels-grid {
    display: none;
  }
  
  .package-connections {
    display: none;
  }
  
  .dot.active .dot-pulse {
    animation: dot-pulse 3s ease-out infinite;
  }

  .slide-content {
    flex-direction: column;
    padding: 0 5%;
    overflow-y: auto;
    justify-content: center;
    margin-top: 50px;
  }

  .slider-controls {
    bottom: 55px;
  }

  .dot {
    position: relative;
    width: 17px;
    height: 17px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-fast);
  }

  .price-discount {
    font-size: 10px;
    right: -45px;
    top: 25px;
    padding: 4px 35px;
}
}

/* Mejoras para la carga de la página */
.hero-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero.loaded .hero-content {
  opacity: 1;
}

/* Mejoras para el menú móvil */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-links .nav-link::after {
  bottom: -5px;
}

/* Mejoras para el contraste y legibilidad */
.slide-subtitle {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-feature span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mejoras para la interactividad táctil */
@media (hover: none) {
  .btn:active {
    transform: scale(0.98);
  }
  
  .nav-link:active {
    color: var(--primary-light);
  }
  
  .nav-link:active::after {
    width: 100%;
  }
  
  .arrow:active {
    background-color: var(--primary-color);
    transform: scale(0.95);
  }
  
  .price-card:active {
    transform: scale(0.98);
  }
}

/* Mejoras para la carga de imágenes */
.main-image {
  transition: opacity 0.5s ease, transform var(--transition-fast);
}

.hero-slide.active .main-image {
  animation: fade-in 0.8s ease forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras para el espaciado y alineación */
.slide-content {
  gap: 20px;
}

.slide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mejoras para la consistencia visual */
.btn,
.price-cta,
.dot,
.arrow,
.close-menu,
.featured-icon,
.card-icon {
  -webkit-tap-highlight-color: transparent;
}

/* Mejoras para la transición entre slides */
.hero-slide {
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

/* Mejoras para el rendimiento de animaciones */
.pulse-subtle,
.pulse-glow,
.pulse-circle,
.pulse-node,
.pulse-line,
.pulse-connection,
.dot-pulse,
.scroll-wheel,
.bounce-arrow,
.data-flow,
.fade-in-out,
.float-particle {
  will-change: transform, opacity;
}

/* Mejoras para la accesibilidad del foco */
.nav-link:focus-visible,
.btn:focus-visible,
.arrow:focus-visible,
.dot:focus-visible,
.close-menu:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Mejoras para el overlay del menú móvil */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mejoras para la carga de fuentes */
body {
  font-display: swap;
}

/* Mejoras para el rendimiento general */
.hero-background,
.hero-overlay,
.hero-grid,
.hero-particles,
.hero-gradient,
.hero-circuit-lines {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Mejoras para la compatibilidad con navegadores antiguos */
.backdrop-filter-fallback {
  background-color: rgba(10, 25, 41, 0.85);
}

@supports (backdrop-filter: blur(10px)) {
  .backdrop-filter-fallback {
    background-color: rgba(10, 25, 41, 0.6);
    backdrop-filter: blur(10px);
  }
}

/* Mejoras para la impresión */
@media print {
  .hero {
    height: auto;
    min-height: auto;
    background-color: white;
    color: black;
  }
  
  .hero-background,
  .hero-overlay,
  .hero-grid,
  .hero-particles,
  .hero-gradient,
  .hero-circuit-lines,
  .slider-controls,
  .scroll-indicator,
  .nav-buttons,
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-nav {
    border-bottom: 1px solid #ddd;
  }
  
  .slide-content {
    flex-direction: row;
    padding: 20px 0;
  }
  
  .slide-text {
    color: black;
  }
  
  .slide-title,
  .slide-title-highlight,
  .slide-subtitle {
    color: black;
    text-shadow: none;
  }
  
  .text-gradient {
    background: none;
    color: black;
  }
  
  .slide-badge,
  .featured-icon,
  .price-card,
  .floating-card {
    background-color: #f0f0f0;
    color: black;
    box-shadow: none;
  }
}

/* Estilos adicionales para navegación */
.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  z-index: 100;
  transition: background-color var(--transition-fast);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-nav.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-logo {
  height: 40px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Correcciones para la imagen en dispositivos móviles */
@media (max-width: 992px) {
  .image-container {
    margin-left: 0;
    margin-top: 0;
  }
}

/* Mejoras para la navegación en dispositivos móviles */
@media (max-width: 992px) {
  .hero-nav {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 5%;
  }
  
  .nav-logo {
    height: 30px;
  }
}

/* Mejoras para la accesibilidad en teclado */
.btn:focus,
.nav-link:focus,
.dot:focus,
.close-menu:focus,
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 255, 0, 0.5);
}

/* Mejoras para la compatibilidad con navegadores antiguos */
@supports not (backdrop-filter: blur(10px)) {
  .slide-badge,
  .price-card,
  .floating-card,
  .btn-secondary {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

/* Mejoras para la carga progresiva */
.hero-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Mejoras para la interacción con el slider */
.slider-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Mejoras para la navegación por teclado */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Mejoras para la compatibilidad con lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Mejoras para la fluidez de la interfaz */
.smooth-transition {
  transition: all var(--transition-medium);
}

/* Mejoras para la interacción con el menú móvil */
.mobile-menu-links .nav-link {
  display: block;
  width: 100%;
  transition: background-color var(--transition-fast);
}

.mobile-menu-links .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mejoras para la visualización en dispositivos de alta densidad de píxeles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .main-image {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Mejoras para la compatibilidad con navegadores antiguos */
.flex-fallback {
  display: block;
}

@supports (display: flex) {
  .flex-fallback {
    display: flex;
  }
}

/* Mejoras para la compatibilidad con navegadores antiguos para grid */
.grid-fallback {
  display: block;
}

@supports (display: grid) {
  .grid-fallback {
    display: grid;
  }
}
