:root {
  --primary-color: #00d4ff;
  --secondary-color: #0099cc;
  --dark-purple: #2c3e5f;
  --light-gray: #f5f5f5;
  --neon-blue: #00d4ff;
  --neon-blue-o: #03414d;
  --neon-purple: #00d4ff;
  --accent-color: #00d4ff;
  --accent-shadow: #0099cc;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #0a0e27 !important;
  /* OPTIMIZACIÓN: Usar GPU acceleration */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ================================
   ANIMACIONES OPTIMIZADAS - REDUCIR COMPLEJIDAD
   ================================ */

@keyframes titleColorShift {
  0%,
  100% {
    color: #00d4ff;
    /* REDUCIDO: Menos sombras para mejor rendimiento */
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
  }
  50% {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
}

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

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(-15px) translateZ(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

/* OPTIMIZACIÓN: Animaciones simples con will-change */
@keyframes blueToWhite {
  0%,
  100% {
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
  }
  50% {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
  }
}

h1,
h2 {
  color: #00d4ff;
  animation: blueToWhite 4s ease-in-out infinite;
  text-align: center;
  /* OPTIMIZACIÓN: Preparar para animación */
  will-change: color;
}

.h2-desktop {
  display: block;
}

.h2-mobile {
  display: none;
  font-size: 2rem !important;
  margin-bottom: 0px !important;
}

h3,
h4,
h5,
h6 {
  animation: none;
  color: #00d4ff !important;
  /* REDUCIDO: Sombra más simple */
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.feature-text h4 {
  animation: none;
  color: #00d4ff !important;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4) !important;
}

.feature-card-content h4 {
  animation: none;
  color: #00d4ff !important;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4) !important;
  opacity: 0.5;
}

.feature-card-alternating.active .feature-card-content h4 {
  color: #00d4ff !important;
  opacity: 1;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.6) !important;
}

.accordion-header-custom h4 {
  animation: none;
  color: #00d4ff !important;
}

.galaxy-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.98);
  z-index: -100;
  pointer-events: none;
}

.global-stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.golden-star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkleGolden linear infinite;
  will-change: opacity, transform;
  box-shadow: 0 0 2px #ffffff;
}

.video-animation-container,
.stars-showcase-section,
.features-section,
.why-choose-section,
.screenshots-section,
.team-section,
.cta-final-section {
  background: rgba(10, 14, 39, 0.4) !important;
  position: relative;
  z-index: 1;
  padding: 300px 20px !important;
}

.stars {
  display: none;
}

#header {
  backdrop-filter: blur(10px);
  z-index: 1000;
  position: relative;
}

#footer {
  background: rgba(10, 14, 39, 0.98);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  color: white;
}

/* ================================
   VIDEO HERO - OPTIMIZADO
   ================================ */
.video-animation-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgba(10, 14, 39, 0.98);
  z-index: 2;
  padding: 0 !important;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
  contain: paint;
}

.hero-video.visible {
  opacity: 1;
}

.mobile-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/imagen/animacion.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 39, 0.3) 0%,
    rgba(10, 14, 39, 0.98) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.content-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.content-overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 6px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  z-index: 2;
  will-change: opacity, transform;
}

.content-overlay h1.animated {
  opacity: 1;
  transform: translateY(0);
}

.content-overlay p {
  font-size: 1.8rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
  position: relative;
  z-index: 2;
  will-change: opacity, transform;
}

.content-overlay p.animated {
  opacity: 1;
  transform: translateY(0);
}


/* ================================
   STARS SHOWCASE - OPTIMIZADO
   ================================ */
.stars-showcase-section {
  position: relative;
  padding: 200px 20px !important;
  background: rgba(10, 14, 39, 0.98);
  overflow: hidden;
  z-index: 2;
}

.stars-showcase-section::before {
  content: "ATI POP";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 8px;
  z-index: 10;
  text-align: center;
  color: #ffffff !important;
  animation: none !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stars-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.stars-background .star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle linear infinite;
  will-change: opacity;
}

.phone-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  margin-top: 60px;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.phone-central {
  position: relative;
  z-index: 20;
  animation: float 6s ease-in-out infinite;
  flex-shrink: 0;
  will-change: transform;
}

.phone-device {
  width: 280px;
  height: 570px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a3a);
  border-radius: 40px;
  padding: 12px;
  /* REDUCIDO: Sombras simplificadas */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: glow 3s ease-in-out infinite;
  border: 2px solid rgba(0, 212, 255, 0.4);
  will-change: box-shadow;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-content {
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.phone-screen-showcase {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.app-logo,
.app-number {
  display: none;
}

.features-left,
.features-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-shrink: 0;
  min-width: 300px;
}

.features-left .feature-item {
  animation: slideInLeft 0.8s ease forwards;
  opacity: 0;
  text-align: right;
  flex-direction: row-reverse;
}

.features-right .feature-item {
  animation: slideInRight 0.8s ease forwards;
  opacity: 0;
  text-align: left;
  flex-direction: row;
}

.features-left .feature-item:nth-child(1),
.features-right .feature-item:nth-child(1) {
  animation-delay: 0.2s;
}

.features-left .feature-item:nth-child(2),
.features-right .feature-item:nth-child(2) {
  animation-delay: 0.4s;
}

.features-left .feature-item:nth-child(3),
.features-right .feature-item:nth-child(3) {
  animation-delay: 0.6s;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: scale(1.05);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.2);
  border: 2px solid #00d4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  /* REDUCIDO */
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  color: #00d4ff;
}

.feature-icon-circle:hover {
  background: rgba(0, 212, 255, 0.4);
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transform: scale(1.1);
  color: #00d4ff;
}

.feature-icon-circle.active {
  background: #f0575496;
  border-color: #e42f2c;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
  transform: scale(1.15);
  color: #00d4ff;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.feature-text p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* ================================
   FEATURES SECTION - OPTIMIZADO
   ================================ */
.features-section {
  padding: 200px 20px !important;
  background: rgba(10, 14, 39, 0.98);
  position: relative;
  overflow: hidden;
  z-index: 2;
  min-height: 100vh;
}

.features-section p {
  color: rgba(255, 255, 255, 0.7);
}

.features-alternating-container {
  max-width: 1400px;
  margin: 60px auto 0;
  display: flex;
  gap: 100px;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 600px;
}

.features-cards-container {
  flex: 0 0 650px;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 20px;
  scroll-behavior: smooth;
  /* OPTIMIZACIÓN: GPU acceleration para scroll */
  will-change: scroll-position;
  transform: translateZ(0);
}

.features-cards-container::-webkit-scrollbar {
  width: 8px;
}

.features-cards-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.features-cards-container::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.features-cards-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.8);
}

.feature-icon-display {
  flex: 0 0 550px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(0, 180, 255, 0.1)
  );
  border-radius: 30px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: all 0.5s ease;
  position: sticky;
  top: 120px;
  will-change: background, border-color;
}

.feature-icon-display.active-1 {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(0, 200, 255, 0.15)
  );
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

.feature-icon-display.active-2 {
  background: linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.2),
    rgba(0, 190, 255, 0.15)
  );
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
}

.feature-icon-display.active-3 {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(0, 180, 255, 0.15)
  );
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

.feature-icon-display.active-4 {
  background: linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.2),
    rgba(0, 212, 255, 0.15)
  );
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
}

.display-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.display-icon {
  font-size: 10rem;
  color: rgba(0, 212, 255, 0.9);
  opacity: 0;
  transform: scale(0.9) translateZ(0);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  will-change: opacity, transform;
}

.display-icon.active {
  opacity: 1;
  transform: scale(1) translateZ(0);
}

.display-icon svg,
.display-icon i {
  /* REDUCIDO */
  filter: drop-shadow(0 4px 10px rgba(0, 212, 255, 0.3));
}

.display-icon svg {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
}

.feature-card-alternating {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 30px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0.4;
  transform: translateY(0);
  min-height: 140px;
  flex-shrink: 0;
  cursor: pointer;
  flex-direction: row;
  will-change: opacity, transform, border-color;
}

.feature-card-alternating.visible {
  opacity: 0.4;
  transform: translateY(0);
}

.feature-card-alternating.active {
  opacity: 1;
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  transform: translateX(10px) scale(1.02);
}

.feature-card-alternating:hover {
  opacity: 0.7;
  transform: translateX(5px);
}

.feature-card-alternating.active:hover {
  opacity: 1;
  background: rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
  transform: translateX(12px) scale(1.02);
}

.feature-card-alternating:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card-alternating:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card-alternating:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card-alternating:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.3);
  line-height: 1;
  min-width: 60px;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-card-alternating.active .feature-card-number {
  color: rgba(0, 212, 255, 1);
  transform: scale(1.05);
}

.feature-card-content {
  flex: 1;
}

.feature-card-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5) !important;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.feature-card-alternating.active .feature-card-content h4 {
  color: white !important;
}

.feature-card-content h4 i,
.feature-card-content h4 svg {
  color: #00d4ff;
  font-size: 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.feature-card-alternating.active .feature-card-content h4 i,
.feature-card-alternating.active .feature-card-content h4 svg {
  opacity: 1;
  color: #00d4ff;
}

.feature-card-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
  text-align: justify;
}

.feature-card-alternating.active .feature-card-content p {
  color: rgba(255, 255, 255, 0.85);
}

/* ================================
   WHY CHOOSE - OPTIMIZADO
   ================================ */
.why-choose-section {
  padding: 200px 20px !important;
  background: rgba(10, 14, 39, 0.98);
  position: relative;
  z-index: 2;
}

.why-choose-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.why-choose-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.why-choose-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.phone-mockup-side {
  position: relative;
  display: flex;
  justify-content: center;
  animation: float 8s ease-in-out infinite;
  will-change: transform;
}

.phone-stack {
  position: relative;
}

.phone-device-small {
  width: 240px;
  height: 490px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a3a);
  border-radius: 35px;
  padding: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  animation: glow 4s ease-in-out infinite;
  border: 2px solid rgba(0, 212, 255, 0.3);
  will-change: box-shadow;
}

.phone-device-small .phone-screen {
  border-radius: 28px;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.phone-stack .phone-device-small:nth-child(2) {
  display: none;
}

.phone-content-why {
  width: 100%;
  height: 100%;
  padding: 28px 0 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(0, 180, 255, 0.1)
  );
}

.phone-center-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.accordion-custom {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item-custom {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 212, 255, 0.2);
  animation: fadeInUp 0.6s ease backwards;
  overflow: hidden;
}

.accordion-item-custom:nth-child(1) {
  animation-delay: 0.1s;
}
.accordion-item-custom:nth-child(2) {
  animation-delay: 0.2s;
}
.accordion-item-custom:nth-child(3) {
  animation-delay: 0.3s;
}
.accordion-item-custom:nth-child(4) {
  animation-delay: 0.4s;
}

.accordion-item-custom:hover {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
  transform: translateX(10px);
}

.accordion-item-custom.active {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
}

.accordion-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header-custom h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.accordion-icon {
  font-size: 1.2rem;
  color: #00d4ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item-custom.active .accordion-icon {
  transform: rotate(45deg);
  color: #00d4ff;
}

.accordion-item-custom:hover .accordion-icon {
  color: #00d4ff;
}

.accordion-body-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
  padding-top: 0;
  text-align: justify;
}

.accordion-item-custom.active .accordion-body-custom {
  max-height: 500px;
  padding-top: 15px;
}

.accordion-body-custom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================================
   SCREENSHOTS SECTION
   ================================ */
.screenshots-section {
  padding: 200px 20px !important;
  background: rgba(10, 14, 39, 0.98);
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.screenshots-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.screenshots-carousel {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-item {
  width: 280px;
  height: 570px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a3a);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease backwards;
  position: relative;
  overflow: hidden;
}

.screenshot-item:nth-child(1) {
  animation-delay: 0.1s;
}
.screenshot-item:nth-child(2) {
  animation-delay: 0.3s;
}
.screenshot-item:nth-child(3) {
  animation-delay: 0.5s;
}

.screenshot-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.2);
}

.screenshot-item .phone-screen {
  background: #000;
  position: relative;
  overflow: hidden;
}

.screenshot-item .phone-screen::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.screenshot-item:nth-child(1) .phone-screen::after {
  background-image: url("/assets/images/imagen/ati-pop-app-user-profile.png");
}

.screenshot-item:nth-child(2) .phone-screen::after {
  background-image: url("/assets/images/imagen/ati-pop-app-interface.jpg");
}

.screenshot-item:nth-child(3) .phone-screen::after {
  background-image: url("/assets/images/imagen/ati-pop-app-login-screen.jpg");
}

/* ================================
   CTA FINAL SECTION - OPTIMIZADO
   ================================ */
.cta-final-section {
  padding: 250px 20px 150px !important;
  background: rgba(10, 14, 39, 0.98);
  text-align: center;
  color: white;
  position: relative;
  overflow: visible;
  z-index: 2;
}

.cta-final-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 160px;
  text-transform: uppercase;
}

.cta-final-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-final-section > * {
  position: relative;
  z-index: 1;
}

.store-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid #00d4ff;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
  cursor: pointer;
}

.store-badge:hover {
  background: #00d4ff;
  border-color: #00d4ff;
  color: #0a0e27;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.store-badge:active {
  background: #ff0000 !important;
  border-color: #ff0000 !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4) !important;
  transform: translateY(-3px) !important;
}

.store-badge i {
  font-size: 1.5rem;
}

/* ================================
   BULB (BOMBILLO) - OPTIMIZADO
   ================================ */
.bulb-background-container {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1400px;
  pointer-events: none;
  z-index: 1;
}

.light-bulb {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  z-index: 2;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bulb-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bulb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 10%,
    rgba(0, 0, 0, 0.85) 20%,
    rgba(0, 0, 0, 1) 30%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 10%,
    rgba(0, 0, 0, 0.85) 20%,
    rgba(0, 0, 0, 1) 30%
  );
}

.light-bulb.on .bulb-image {
  filter: brightness(1.25);
}

.light-bulb.off .bulb-image {
  filter: brightness(0.4) saturate(0.3);
  animation: none;
}

/* OPTIMIZACIÓN: Efectos de luz simplificados */
.bulb-image-container::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 400px;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 245, 200, 0.8) 0%,
    rgba(255, 200, 120, 0.4) 40%,
    transparent 70%
  );
  filter: blur(30px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.light-bulb::after {
  content: "";
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 600px;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 210, 140, 0.3) 0%,
    rgba(255, 170, 80, 0.12) 50%,
    transparent 75%
  );
  filter: blur(60px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.light-bulb.on::after {
  opacity: 1;
}

.light-bulb.on .bulb-image-container::before {
  opacity: 1;
}

.light-bulb.off .bulb-image-container::before {
  opacity: 0;
  animation: none;
}

.pull-chain {
  position: absolute;
  top: 15%;
  left: calc(100% + 60px);
  width: 4px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(224, 224, 224, 0) 0%,
    rgba(224, 224, 224, 0.3) 8%,
    rgba(224, 224, 224, 0.8) 18%,
    #a0a0a0 30%,
    #e0e0e0 100%
  );
  border-radius: 3px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.35);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.pull-chain:hover {
  transform: translateY(8px);
  filter: brightness(1.15);
}

.pull-chain:active {
  transform: translateY(15px);
}

.chain-ball {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 35% 35%, #ffffff, #e0e0e0, #a0a0a0);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 11;
  pointer-events: auto;
}

.chain-ball:hover {
  transform: translateX(-50%) scale(1.15);
}

.chain-link {
  position: absolute;
  width: 8px;
  height: 12px;
  background: transparent;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}
.chain-link:nth-child(1) {
  top: 10px;
  opacity: 0.05;
}
.chain-link:nth-child(2) {
  top: 25px;
  opacity: 0.2;
}
.chain-link:nth-child(3) {
  top: 40px;
}
.chain-link:nth-child(4) {
  top: 55px;
}
.chain-link:nth-child(5) {
  top: 70px;
}
.chain-link:nth-child(6) {
  top: 85px;
}
.chain-link:nth-child(7) {
  top: 100px;
}
.chain-link:nth-child(8) {
  top: 115px;
}
.chain-link:nth-child(9) {
  top: 130px;
}
.chain-link:nth-child(10) {
  top: 145px;
}
.chain-link:nth-child(11) {
  top: 160px;
}

.bulb-glow {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1600px;
  height: 1200px;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 200, 120, 0.35) 0%,
    rgba(255, 160, 70, 0.15) 60%,
    transparent 80%
  );
  filter: blur(80px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.light-bulb.on .bulb-glow {
  opacity: 1;
}

.light-bulb.off .bulb-glow {
  opacity: 0;
  animation: none;
}

body.features-locked {
  overflow: hidden;
}

.features-section.scroll-locked {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ================================
   RESPONSIVE - OPTIMIZADO
   ================================ */
@media (max-width: 1440px) {
  .features-cards-container {
    width: 100%;
    flex: auto !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (min-width: 1201px) {
  .phone-showcase {
    gap: 100px;
  }
}

@media (max-width: 1200px) {
  .content-overlay h1 {
    font-size: 2.8rem;
  }

  .phone-showcase {
    gap: 60px;
  }

  .features-left,
  .features-right {
    gap: 30px;
    min-width: 260px;
  }

  .feature-icon-circle {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .feature-text h4 {
    font-size: 0.95rem;
  }

  .feature-text p {
    font-size: 0.82rem;
  }

  .feature-item {
    max-width: 260px;
  }

  .features-alternating-container {
    gap: 80px;
  }

  .features-cards-container {
    flex: 0 0 600px;
  }

  .feature-icon-display {
    flex: 0 0 500px;
    height: 450px;
    top: 100px;
  }

  .display-icon {
    font-size: 9rem;
  }
}

@media (max-width: 991px) {
  .content-overlay h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem !important;
  }

  .phone-showcase {
    gap: 40px;
  }

  .features-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    min-height: 80vh;
  }

  .features-left,
  .features-right {
    gap: 25px;
    min-width: 220px;
  }

  .feature-icon-display {
    display: block;
    position: absolute !important;
    width: 100px !important;
    height: 100px !important;
    top: -50px !important;
    left: -50px !important;
  }

  .feature-icon-display img {
    width: 100px;
    height: 100px !important;
  }

  .feature-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .feature-text h4 {
    font-size: 0.9rem;
  }

  .feature-text p {
    font-size: 0.78rem;
  }

  .feature-item {
    max-width: 220px;
  }

  .phone-device {
    width: 240px;
    height: 490px;
  }

  .features-alternating-container {
    flex-direction: column;
    gap: 50px;
  }

  .feature-icon-display {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 400px;
  }

  .features-cards-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }

  .display-icon {
    font-size: 8rem;
  }

  .why-choose-main-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .phone-mockup-side {
    order: 1;
  }

  .accordion-custom {
    order: 2;
  }

  .screenshots-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .stars-showcase-section {
    padding-bottom: 30px !important;
  }

  .bulb-glow {
    width: 1000px;
    height: 1000px;
    top: -200px;
  }
}

@media (max-width: 767px) {
  .content-overlay h1 {
    font-size: 2rem;
  }

  .phone-showcase {
    gap: 20px;
    flex-wrap: nowrap;
  }

  .features-left,
  .features-right {
    gap: 20px;
    min-width: 180px;
  }

  .features-right {
    display: none;
  }

  .features-left {
    display: flex !important;
  }

  .features-left .feature-item {
    text-align: left;
    flex-direction: row;
    max-width: 180px;
  }

  .feature-icon-circle {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .feature-text h4 {
    font-size: 0.85rem;
  }

  .feature-text p {
    font-size: 0.75rem;
  }

  .phone-device {
    width: 220px;
    height: 450px;
  }

  .features-cards-container {
    flex: 0 0 100%;
  }

  .feature-icon-display {
    height: 320px;
  }

  .display-icon {
    font-size: 7rem;
  }

  .feature-card-alternating {
    padding: 25px 18px;
    gap: 20px;
    min-height: 120px;
  }

  .feature-card-number {
    font-size: 2.5rem;
    min-width: 50px;
  }

  .feature-card-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .feature-card-content p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .bulb-glow {
    width: 800px;
    height: 800px;
    top: -150px;
  }

  .mobile-bg {
    display: block;
  }

  .hero-video {
    display: none !important;
  }

  .content-overlay h1 {
    font-size: 2.5rem;
  }

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

@media (max-width: 600px) {
  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    align-items: center;
    justify-content: center;
    max-height: 60px;
    min-height: 60px;
  }

  .content-overlay h1 {
    font-size: 1.8rem;
  }

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

  .phone-showcase {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .phone-central {
    order: 1;
  }

  .features-left,
  .features-right {
    order: 2;
    width: 100%;
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    display: flex !important;
    min-width: unset;
  }

  .features-left .feature-item,
  .features-right .feature-item {
    max-width: 320px;
    width: 100%;
    text-align: left;
    flex-direction: row;
  }

  .phone-device {
    width: 240px;
    height: 490px;
  }

  .cta-final-section {
    padding-bottom: 40px !important;
  }

  .cta-final-section h2 {
    margin-top: 220px;
  }

  .phone-device-small {
    width: 200px;
    height: 410px;
  }

  .phone-center-image {
    width: 120px;
    height: 120px;
  }

  .why-choose-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .h2-desktop {
    display: none;
  }

  .h2-mobile {
    display: block;
  }

  .content-overlay h1 {
    font-size: 1.5rem;
  }

  .content-overlay p {
    font-size: 0.9rem;
  }

  .phone-device {
    width: 220px;
    height: 450px;
  }

  .feature-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .feature-text h4 {
    font-size: 0.9rem;
  }

  .feature-text p {
    font-size: 0.8rem;
  }

  .feature-card-alternating {
    flex-direction: column;
    text-align: center;
  }

  .feature-card-number {
    font-size: 1.8rem;
  }

  .feature-card-content h4 {
    justify-content: center;
  }

  .bulb-glow {
    width: 600px;
    height: 600px;
    top: -100px;
  }

  .light-bulb {
    width: 320px;
    height: 320px;
  }

  .pull-chain {
    left: calc(100% + 40px);
    height: 180px;
  }

  .bulb-background-container {
    top: -140px;
  }

  .cta-final-section h2 {
    margin-top: 0px !important;
  }
}

@media (min-width: 768px) {
  .mobile-bg {
    display: none;
  }

  .hero-video {
    display: block;
  }
}
.star-unicode {
  position: absolute;
  animation: twinkle linear infinite;
  font-weight: bold;
  text-shadow: 0 0 4px currentColor;
}

/* =====================================================
   ESTRELLAS UNICODE - BLANCAS SIN FONDO BLANCO
   ===================================================== */

/* Estrellas blancas Unicode - SIN fondo blanco */
.star-unicode {
  position: absolute;
  animation: twinkle linear infinite;
  will-change: opacity, transform;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);

  /* Color blanco puro FORZADO */
  color: #ffffff !important;

  /* SOLUCIÓN: Eliminar CUALQUIER fondo */
  background: transparent !important;
  background-color: transparent !important;

  /* Resplandor blanco brillante */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(255, 255, 255, 0.6), 0 0 24px rgba(255, 255, 255, 0.3);

  /* CRÍTICO: Forzar que NO se renderice como emoji con fondo */
  font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
  font-variant-emoji: text;

  /* Suavizar bordes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Asegurar transparencia completa en WebKit */
  -webkit-text-fill-color: #ffffff;
  -webkit-background-clip: text;
}

/* Puntos dorados Unicode - sólidos y brillantes */
.golden-star {
  position: absolute;
  animation: twinkleGolden linear infinite;
  will-change: opacity, transform;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);

  /* Fondo transparente */
  background: transparent !important;
  background-color: transparent !important;

  /* Resplandor dorado intenso */
  text-shadow: 0 0 8px currentColor, 0 0 16px currentColor,
    0 0 24px rgba(255, 215, 0, 0.4);

  /* Suavizar bordes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Estrellas CTA - doradas brillantes */
.cta-star {
  position: absolute;
  font-weight: bold;
  animation: floatStar linear infinite;
  opacity: 0;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);

  /* Fondo transparente */
  background: transparent !important;
  background-color: transparent !important;

  /* Resplandor dorado para CTA */
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor,
    0 0 30px rgba(255, 215, 0, 0.5);

  /* Suavizar bordes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animación de parpadeo optimizada */
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Animación de parpadeo dorado optimizada */
@keyframes twinkleGolden {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Animación de flotación para estrellas CTA */
@keyframes floatStar {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh) scale(1);
    opacity: 0;
  }
}

/* Asegurar que el contenedor no muestre overflow */
.stars-background,
.global-stars-container,
.cta-stars-container {
  overflow: hidden;
  pointer-events: none;
}

/* Optimización adicional para rendimiento */
.star,
.golden-star,
.cta-star {
  backface-visibility: hidden;
  perspective: 1000px;
}
