 /* === PROTECCIÓN TOTAL CONTRA SCROLL HORIZONTAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden !important;
}

body > * {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
/* ================================================ */

/* nvrgateway.com — One-page hero, sin scroll, estilo corporativo */
:root {
  --primary: #00f0ff;
  --primary-dark: #00a8cc;
  --text: #e0e7ff;
  --text-light: #a5b4fc;
  --bg: #0b0d1a;
  --bg-card: #131728;
  --border: #2d3748;
  --white: #ffffff;
  --glow: 0 0 10px rgba(0, 240, 255, 0.4);
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  height: 100vh;
  overflow-y: hidden;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: rgba(11, 13, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  height: 40px;
  object-fit: contain;
}

header nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s;
}

header nav a:hover {
  color: var(--primary);
}

.btn-demo {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn-demo:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow);
}

/* Hero Full */
.hero-full {
  height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem 0;
}

.hero-full .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  padding: 0 1.5rem;
}

/* Hero content */
.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow:
    0 0 8px rgba(0, 240, 255, 0.5),
    0 0 16px rgba(0, 180, 255, 0.3),
    0 0 24px rgba(0, 100, 200, 0.2);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* CTA */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), #00c0d9);
  color: var(--bg);
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.4s;
  box-shadow: var(--glow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
}

/* Video */
.hero-image {
  flex: 1;
  max-width: 550px;
  overflow: hidden;
}

.hero-image video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow);
}

/* Footer */
footer {
  height: 80px;
  background: rgba(7, 9, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  width: 100%;
}

footer p,
footer a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
}

/* Centrado del contenido del footer */
footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow);
}

.close {
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
}

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

/* Forms */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }

  .hero-full {
    height: auto;
    padding: 2.5rem 0;
  }

  .hero-full .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 500px) {
  header .container {
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* === BOTÓN DE MENÚ: Características === */
/* ✅ AHORA TIENE EL MISMO ESTILO QUE "Solicitar una demo" */
.nav-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow);
}

/* === ESTILOS PARA LA SECCIÓN DE CARACTERÍSTICAS === */
#features {
  height: calc(100vh - 140px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  overflow-y: auto;
}

#features.active {
  display: flex;
}

.features-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.features-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), var(--glow);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.btn-back {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 2rem;
  transition: all 0.3s;
}

.btn-back:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow);
}
