:root {
  --bg-dark: #050508;
  --bg-light: #f8f9fa;
  --primary-orange: #ff5e00;
  --primary-orange-glow: rgba(255, 94, 0, 0.4);
  --primary-blue: #00b4d8;
  --primary-purple: #7000ff;
  --text-light: #ffffff;
  --text-gray: #a0a0a0;
  --text-dark: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-dark-bg: rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Typography */
.michroma {
  font-family: "Michroma", sans-serif;
  letter-spacing: 2px;
}
.manrope {
  font-family: "Manrope", sans-serif;
}
.title-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.9;
  margin: 10px 0;
}
.title-dark {
  color: var(--text-dark);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 40px;
}
.subtitle-glow {
  color: var(--primary-orange);
  font-size: 1.2rem;
  letter-spacing: 5px;
  text-shadow: 0 0 10px var(--primary-orange-glow);
}
.orange-text {
  color: var(--primary-orange);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.text-green {
  color: #00e676;
}
.text-red {
  color: #ff1744;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s;
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 94, 0, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.15s ease-out,
    width 0.2s,
    height 0.2s;
}
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline {
  width: 60px;
  height: 60px;
  background: rgba(255, 94, 0, 0.1);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

#skip-preloader {
  margin-top: 40px;
  background: none;
  border: 1px solid var(--text-gray);
  color: var(--text-gray);
  padding: 8px 20px;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}
#skip-preloader:hover {
  border-color: white;
  color: white;
}

/* Navbar */
#navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: 0.4s;
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}
.logo {
  font-family: "Michroma";
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--primary-orange);
  text-shadow: 0 0 10px var(--primary-orange-glow);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #ff5e00, #ff8c00);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(255, 94, 0, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 5px 25px rgba(255, 94, 0, 0.6);
  transform: translateY(-2px);
}
.btn-outline {
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-outline:hover {
  background: white;
  color: black;
}
.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pulse {
  animation: pulseAnim 2s infinite;
}
@keyframes pulseAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 94, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0);
  }
}

/* Placeholders */
.placeholder-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-gray);
  border-radius: 20px;
  font-family: "Manrope";
}
.light-box {
  border-color: rgba(0, 0, 0, 0.2);
  color: #666;
}
.glow-box {
  box-shadow:
    0 0 50px rgba(0, 180, 216, 0.15),
    inset 0 0 30px rgba(112, 0, 255, 0.1);
}

/* Layout & Sections */
.section-dark {
  background: var(--bg-dark);
  position: relative;
}
.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
  position: relative;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 40px 60px 40px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 50%,
      rgba(0, 180, 216, 0.15),
      transparent 50%
    ),
    radial-gradient(circle at 30% 60%, rgba(112, 0, 255, 0.1), transparent 50%);
}
.hero-content {
  flex: 1;
  z-index: 2;
}
.hero-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin: 20px 0 40px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-render {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 1;
}
.hero-render .placeholder-box {
  width: 400px;
  height: 400px;
  border-radius: 40px;
}
.floating {
  animation: float 6s ease-in-out infinite;
}
.floating-slow {
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 50px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-gray);
  opacity: 0.7;
}

/* Benefits */
.benefits {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}
.benefit-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid var(--glass-border);
  transition: 0.3s;
}
.benefit-item:last-child {
  border-right: none;
}
.benefit-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}
.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  transition: 0.3s;
}
.benefit-item:hover i {
  color: var(--primary-orange);
  text-shadow: 0 0 15px var(--primary-orange-glow);
  transform: scale(1.1);
}
.benefit-item h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.benefit-item p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* How it Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  max-width: 800px;
}
.step {
  text-align: center;
  width: 120px;
  z-index: 2;
  position: relative;
}
.step-number {
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
  background: white;
  color: var(--primary-blue);
  transition: 0.4s;
}
.step:hover .step-number {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.5);
}
.step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin: 0 -20px 40px -20px;
  position: relative;
}
.step-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--primary-blue);
  transition: width 1s ease;
}
.step-line.active::after {
  width: 100%;
  box-shadow: 0 0 10px var(--primary-blue);
}
.phone-mockup {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  right: 10%;
  top: 20%;
  width: 250px;
  height: 400px;
}
.phone-mockup .placeholder-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* Possibilities */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.img-ph {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  background: #f0f0f0;
  border: none;
}
.card h4 {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Versions */
.versions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  perspective: 1000px;
}
.version-card {
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.1s;
  transform-style: preserve-3d;
}
.version-card.highlight-card {
  background: linear-gradient(
    135deg,
    rgba(255, 94, 0, 0.1),
    rgba(112, 0, 255, 0.1)
  );
  border: 1px solid rgba(255, 94, 0, 0.3);
}
.version-card h2 {
  font-size: 2rem;
  margin: 10px 0;
}
.version-card .subtitle {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}
.version-card ul {
  list-style: none;
  margin-bottom: 20px;
}
.version-card ul li {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}
.version-card ul li::before {
  content: "•";
  color: var(--primary-blue);
  position: absolute;
  left: 0;
}
.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tags span {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}
.tag-purple {
  background: rgba(112, 0, 255, 0.2);
  color: #b380ff;
}
.tag-orange {
  background: rgba(255, 94, 0, 0.2);
  color: #ff9e5e;
}
.tag-blue {
  background: rgba(0, 180, 216, 0.2);
  color: #80e5ff;
}
.small-dice {
  height: 120px;
  border-radius: 15px;
  transform: translateZ(30px); /* 3D pop effect */
}

/* =========================================
   CONFIGURADOR INTERACTIVO (SMART DICE CLASSIC)
   ========================================= */

.configurator {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.config-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.config-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 600;
}

.config-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.config-btn {
  background: rgba(112, 0, 255, 0.2);
  color: #b380ff;
  border: 1px solid rgba(112, 0, 255, 0.3);
  padding: 4px 10px; /* Mismo padding que tus tags */
  border-radius: 4px; /* Mismo borde cuadrado/redondeado de tus tags */
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.config-btn:hover,
.config-btn.active {
  background: rgba(0, 180, 216, 0.2);
  color: #80e5ff;
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.2); /* Ligero brillo tech */
}

/* Área de la imagen dinámica */
.render-area {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  margin-bottom: 15px;
  /* El .small-dice ya le da el transform: translateZ(30px) y el height: 120px */
}

.render-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Contenedor del Precio */
.price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transform: translateZ(20px); /* Le da un ligero efecto 3D al precio también */
}

.price-val {
  color: #ff9e5e;
  font-size: 1.2rem;
}

/* =========================================
   MUESTRAS DE COLOR (SWATCHES TIPO DADO)
   ========================================= */

/* Hacemos que el contenedor de colores sea un poco más compacto si queremos */
.color-swatches {
  display: flex;
  gap: 10px;
}

.color-btn {
  width: 24px;
  height: 24px;
  padding: 0; /* Quitamos el padding del botón normal */
  border-radius: 6px; /* Bordes ligeramente redondeados para que parezca un dado */
  border: 2px solid var(--glass-border); /* Borde por defecto sutil */
  cursor: pointer;
  transition: all 0.2s ease;

  /* Sombra interna para darle un micro-volumen 3D de dado */
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

/* Hover: El dado se eleva ligeramente */
.color-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Activo (Seleccionado): Se marca con un borde naranja neón y un halo */
.color-btn.active {
  border: 2px solid var(--primary-orange);
  transform: scale(1.1); /* Crece un poquito para destacar */
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 0 10px var(--primary-orange-glow);
}

/* Excepción: Si el botón es blanco (#FFF6E5), el texto/icono interno (si tuviera) no importa, pero ajustamos su sombra interna para que no brille de más */
.color-btn[data-color="blanco"] {
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.15); /* Sombra más suave para el blanco */
}

/* =========================================
   BOTÓN DE COMPRA WHATSAPP (DYNAMIC)
   ========================================= */
.btn-buy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: var(--primary-orange);
  color: #fff;
  text-decoration: none;
  font-family: "Michroma", sans-serif;
  font-size: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-orange);
}

.btn-buy:hover {
  background: rgba(255, 94, 0, 0.2);
  color: var(--primary-orange);
  box-shadow: 0 0 15px var(--primary-orange-glow);
}

/* Interactive Demo */
.flex-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.demo-left {
  flex: 1;
}
.demo-center {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.dice-demo {
  width: 300px;
  height: 300px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
}
.arrow-nav {
  font-size: 2rem;
  color: var(--glass-border);
  cursor: pointer;
  transition: 0.3s;
}
.arrow-nav:hover {
  color: white;
  text-shadow: 0 0 10px white;
}
.demo-right {
  flex: 1;
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
}
.active-face-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}
.active-face-info i {
  font-size: 2.5rem;
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-full {
  width: 100%;
  margin-bottom: 20px;
}
.phone-mini {
  height: 200px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden; /* Obliga al video a respetar los bordes redondeados */
  border: 1px solid var(--glass-border);
  background: #000; /* Fondo negro por defecto */
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Esto hace que el video llene todo el cuadro, ideal para videos verticales estilo Reels/TikTok */
  outline: none;
}

/* --- ESTILOS DEL MODAL DE VIDEO --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px); /* Efecto cristal borroso en el fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999; /* Por encima de todo */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

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

.modal-content {
  position: relative;
  width: 90%;
  max-width: 250px; /* Tamaño máximo del video en PC */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(255, 94, 0, 0.2); /* Sutil resplandor naranja */
}

.modal-content video {
  width: 100%;
  display: block;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--primary-orange);
}

/* Transición suave base para las tarjetas */
.version-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform: translateY(0);
}

/* Efecto Hover Minimalista para PC */
@media (hover: hover) and (pointer: fine) {
    .version-card:hover {
        transform: translateY(-8px) !important; /* Levita suavemente */
        /* Sombra oscura profunda + un toque sutil del naranja/glow de Brainiac */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
                    0 5px 15px var(--primary-orange-glow, rgba(255, 94, 0, 0.15)) !important;
    }
}

/* Para dispositivos móviles (evita que el efecto se quede "pegado" al tocar) */
@media (hover: none) {
    .version-card:active {
        transform: scale(0.98) !important; /* Pequeño "hundimiento" al tocar para feedback */
    }
}

/* Comparison Table */
.table-wrapper {
  margin-top: 50px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 700px;
}
th,
td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}
td:first-child {
  text-align: left;
  font-weight: 600;
  color: #555;
}
.highlight-col {
  background: rgba(255, 94, 0, 0.05);
}
th.highlight-col {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
tr:last-child td.highlight-col {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
tr:last-child td {
  border-bottom: none;
}

/* Ecosystem */
.eco-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.eco-item {
  text-align: center;
}
.eco-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  margin: 0 auto 10px;
  background: rgba(0, 180, 216, 0.05);
  transition: 0.4s;
}
.eco-item:hover .eco-icon {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 0 20px var(--primary-blue);
  transform: scale(1.1);
}
.eco-item p {
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: bold;
}
.eco-arrow {
  color: var(--glass-border);
  font-size: 1.5rem;
  margin-bottom: 25px;
}

/* Specs & CTA */
.specs-flex {
  display: flex;
  gap: 50px;
  align-items: stretch;
}
.specs-grid {
  flex: 1;
}
.spec-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.spec-icon {
  text-align: center;
}
.spec-icon i {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
  opacity: 0.8;
}
.spec-icon p {
  font-size: 0.8rem;
  font-weight: bold;
}
.spec-icon span {
  font-size: 0.7rem;
  color: var(--text-gray);
  font-weight: normal;
}
.cta-box {
  flex: 1;
  background:
    url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="none" stroke="%23ff5e00" stroke-width="2" stroke-dasharray="10 10"/></svg>'),
    rgba(20, 20, 25, 0.8);
  padding: 50px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--glass-border);
}
.cta-box h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.4;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* Animations & Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.reveal.active,
.reveal-right.active,
.reveal-up.active {
  opacity: 1;
  transform: translate(0);
}
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 {
  transition-delay: 0.8s;
}
.delay-5 {
  transition-delay: 1s;
}
.delay-6 {
  transition-delay: 1.2s;
}

/* =========================================
   DISEÑO RESPONSIVE (CONSOLIDADO)
========================================= */

/* 1. Laptops pequeñas (Ajusta el Navbar antes de que choque) */
@media (max-width: 1150px) {
  .nav-container {
    padding: 0 20px;
  }
  .nav-links {
    gap: 15px;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .logo {
    font-size: 1rem;
  }
  #navbar .btn-outline {
    padding: 8px 16px;
    font-size: 0.65rem;
  }
}

/* 2. Tablets (Tu código para pasar a 2 columnas y centrar el Hero) */
@media (max-width: 1024px) {
  .benefits-grid,
  .grid-cards,
  .versions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 140px 20px 60px 20px; /* Corregido para que no se coma la pantalla */
  }
  .hero-render {
    margin-top: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el texto */
    margin-bottom: 20px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .flex-demo,
  .specs-flex {
    flex-direction: column;
  }
  .phone-mockup {
    position: relative;
    right: 0;
    margin: 40px auto 0;
  }
  .scroll-indicator {
    right: 50%;
    transform: translateX(50%);
    bottom: 15px;
  }
}

/* FAQ Section */
.faq-accordion {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}
.faq-question:hover {
  color: var(--primary-orange);
}
.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-blue);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: rgba(0, 0, 0, 0.2);
}
.faq-answer p {
  padding: 0 25px 20px;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}
/* Activar acordeón */
.faq-item.active {
  border-color: rgba(255, 94, 0, 0.3);
  box-shadow: 0 5px 15px rgba(255, 94, 0, 0.1);
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-orange);
}

/* Footer Styles */
.site-footer {
  background: var(--bg-dark);
  padding: 3rem 5%;
  border-top: 1px solid var(--glass-border);
  font-family: "Manrope", sans-serif;
  color: var(--text-gray);
  position: relative;
  z-index: 10;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-brand p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  transition: 0.3s;
}
.footer-brand:hover p {
  color: var(--primary-orange);
  text-shadow: 0 0 10px var(--primary-orange-glow);
}
.footer-links {
  display: flex;
  gap: 25px;
}
.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary-blue);
  text-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
  transform: translateY(-2px);
}
.footer-version img {
  transition: 0.3s ease;
  opacity: 0.8;
}
.footer-version:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* 3. Transición a Móvil (Oculta los textos del menú para que no estorben) */
@media (max-width: 850px) {
  .nav-links {
    display: none !important;
  }
  .nav-container {
    padding: 0 20px; /* Reduce los bordes laterales para dar más espacio */
    width: 100%;
  }
  .logo {
    font-size: 0.95rem;
    gap: 8px;
    white-space: nowrap; /* Impide que el logo se rompa en dos líneas */
  }

  #navbar .btn-outline {
    padding: 7px 14px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Impide que el texto del botón se rompa */
  }
}

/* 4. Móviles puros (Tu código para pasar a 1 columna) */
@media (max-width: 768px) {
  .logo-stage {
    transform: scale(0.75);
  }
  .hero-render {
    margin-top: -30px;
  }
  .benefits-grid,
  .grid-cards,
  .versions-grid {
    grid-template-columns: 1fr;
  }
  .eco-flow {
    flex-direction: column;
  }
  .eco-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  .spec-icons {
    grid-template-columns: 1fr 1fr;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .table-wrapper {
    padding: 15px; /* Reducimos el borde blanco en móviles para darle más espacio a la tabla */
  }
  th,
  td {
    padding: 15px 10px; /* Reducimos los espacios internos para que se vea más compacta */
    font-size: 0.9rem; /* Achicamos ligeramente la fuente */
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-brand a {
    justify-content: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    width: 100%;
  }
  #navbar .btn-outline {
    padding: 8px 14px;
    font-size: 0.6rem;
    white-space: nowrap; /* Evita que el texto del botón se parta en 2 líneas */
  }
  .logo {
    font-size: 0.95rem;
  }
}

/* Para Celulares Muy Delgados (iPhone SE, etc) */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column; /* Apila los botones uno debajo del otro */
    width: 100%;
  }

  .hero-buttons a {
    width: 100%; /* Hace que los botones ocupen todo el ancho disponible */
  }

  .logo-stage {
    transform: scale(0.65); /* Achicamos un poco más la animación */
  }
  .nav-container {
    padding: 0 10px !important;
  }
  .logo {
    font-size: 0.75rem;
    gap: 6px;
  }
  
  #navbar .btn-outline {
    padding: 6px 10px !important;
    font-size: 0 !important; /* 1. Oculta la frase "COMPRAR AHORA" */
    min-width: auto !important; /* 2. Quita cualquier ancho forzado */
  }
  
  #navbar .btn-outline::after {
    content: "COMPRAR"; /* 3. Inserta solo la palabra "COMPRAR" */
    font-size: 0.6rem;
  }
}