/* Extracted from index.html: styles for background and zoom monitor section */
html {
  background-color: #1c1c1c;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise" /></filter><rect width="100" height="100" fill="%231C1C1C" filter="url(%23noise)" opacity="0.15"/></svg>');
  background-attachment: fixed;
}
/* Zoom monitor section styles  */
body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

/* Mantener cursor por defecto en todos los elementos de texto */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div {
  cursor: default !important;
}

.scene-container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  overflow: hidden;
}

.monitor-wrapper {
  width: 100vw;
  height: 100vh;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-bezel {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 0px;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0px solid #333;
}

/* Mobile y tablets: Remove fixed heights and overflow constraints */
@media (max-width: 1023px) {
  .scene-container {
    height: auto;
    overflow: visible;
  }

  .monitor-wrapper {
    height: auto;
    width: 100%;
  }

  .screen-bezel {
    height: auto;
    overflow: visible;
  }
}

/* Desktop con pantallas cortas: mantener estructura para animación pero permitir scroll interno */
@media (min-width: 1024px) and (max-height: 767px) {
  .scene-container {
    height: 100vh;
    overflow: hidden;
  }

  .monitor-wrapper {
    height: 100vh;
    width: 100%;
  }

  .screen-bezel {
    height: 100%;
    overflow: hidden;
  }
}

/* Mobile-first responsive design para benefits */
.benefits-content {
  width: 100%;
  height: auto;
  min-height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #000000 100%);
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  overflow-y: visible;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Mobile: 1 columna */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 12px;
}

/* Tablet: 2 columnas */
@media (min-width: 768px) and (max-width: 1023px) {
  .benefits-content {
    padding: 2rem 2rem;
    height: auto;
    min-height: 100vh;
    overflow-y: visible;
    overflow-x: hidden;
    justify-content: flex-start;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
  }

  .benefit-item {
    padding: 1.5rem;
  }
}

/* Desktop con altura suficiente: overflow hidden para animación */
@media (min-width: 1024px) and (min-height: 900px) {
  .benefits-content {
    padding: 2rem 2rem;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    justify-content: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
  }

  .benefit-item {
    padding: 1.5rem;
  }
}

/* Desktop medio (1024-1279px) con altura 768-899px: tamaño más grande y legible */
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 768px) and (max-height: 899px) {
  .benefits-content {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    justify-content: flex-start;
  }

  .benefits-content .text-center {
    margin-bottom: 1.25rem;
  }

  .benefits-content h2 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
  }

  .benefits-content .text-center p {
    font-size: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 900px;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-item h3 {
    font-size: 1.25rem;
  }

  .benefit-item p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .benefit-item .flex {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .benefit-item .w-12 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .benefit-item svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Desktop ancho (1280px+) con altura 768-899px: más espacioso y legible */
@media (min-width: 1280px) and (min-height: 768px) and (max-height: 899px) {
  .benefits-content {
    padding: 3.5rem 2rem 1.5rem 2rem;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    justify-content: flex-start;
  }

  .benefits-content .text-center {
    margin-bottom: 1.5rem;
  }

  .benefits-content h2 {
    font-size: 3.25rem;
    margin-bottom: 0.75rem;
  }

  .benefits-content .text-center p {
    font-size: 1.125rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 1100px;
  }

  .benefit-item {
    padding: 1.25rem;
  }

  .benefit-item h3 {
    font-size: 1.5rem;
  }

  .benefit-item p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .benefit-item .flex {
    gap: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .benefit-item .w-12 {
    width: 2.75rem;
    height: 2.75rem;
  }

  .benefit-item svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Desktop con pantallas muy cortas (ej: Nest Hub 1024x600): contenido muy compacto */
@media (min-width: 1024px) and (max-height: 767px) {
  .benefits-content {
    padding: 5.5rem 1.5rem 1rem 1.5rem;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
  }

  .benefits-content .text-center {
    margin-bottom: 1rem;
  }

  .benefits-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .benefits-content .text-center p {
    font-size: 0.875rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 900px;
  }

  .benefit-item {
    padding: 0.75rem;
  }

  .benefit-item h3 {
    font-size: 1rem;
  }

  .benefit-item p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .benefit-item .flex {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .benefit-item .w-12 {
    width: 2rem;
    height: 2rem;
  }

  .benefit-item svg {
    width: 1rem;
    height: 1rem;
  }
}

/* Desktop grande: más espacio */
@media (min-width: 1280px) and (min-height: 768px) {
  .benefits-content {
    padding: 3rem 4rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
  }

  .benefit-item {
    padding: 2rem;
  }
}

/* Animación de flecha horizontal */
@keyframes arrow-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

@keyframes arrow-vertical {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

.arrow-animate {
  animation: arrow-vertical 1.5s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .arrow-animate {
    animation: arrow-horizontal 1.5s ease-in-out infinite;
  }
}
