/* ==============================================
   🧩 NIKO-DEVS — STYLE.CSS
   Estructura visual principal y responsive
   ============================================== */

/* RESET & BASE -------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 20% 20%, #0a0a0a, #000);
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fondo neuronal animado extendido */
html, body {
  height: 100%;
}

/* ==============================================
   🧩 FONDO NEURONAL — NIKO-DEVS
   ============================================== */
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: transparent;
  pointer-events: none;
  opacity: 0.8;
  filter: blur(0.2px);
}



/* Fondo de luz suave sobre el canvas */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 25% 25%, rgba(0,191,255,0.05), transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(0,191,255,0.05), transparent 60%);
  background-blend-mode: screen;
  animation: bgFlow 20s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
  filter: blur(60px);
}

@keyframes bgFlow {
  0% { background-position: 0% 0%, 100% 100%; }
  100% { background-position: 100% 100%, 0% 0%; }
}

/* ==============================================
   🧭 NAVBAR
   ============================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(10,10,10,0.8);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* LOGO */
.logo {
  display: flex;
  align-items: baseline;
  font-size: 1.8rem;
  cursor: pointer;
}
.logo .niko {
  font-family: 'Arial Black', sans-serif;
  color: #fff;
  letter-spacing: 0px;
}
.logo .devs {
  font-family: 'Arial Narrow', sans-serif;
  color: #00d4ff;
  margin-left: 4px;
  transition: color 0.3s;
}
.logo:hover .devs {
  color: #00b0ff;
}

/* LINKS (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #00d4ff;
}

/* MENU HAMBURGUESA */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2001;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Animación hamburguesa -> X */
.menu-toggle.active div:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active div:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active div:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MENÚ LATERAL (responsive) */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: left 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 2002;
    box-shadow: 5px 0 15px rgba(0,212,255,0.15);
  }

  .nav-links.open {
    left: 0;
    opacity: 1;
  }

  .nav-links a { font-size: 1.2rem; }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 2001;
  }

  #overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ===================================================
   🌌 HERO GALÁCTICO FUNCIONAL (100% visible)
   =================================================== */


.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}


/* --- Contenido del hero --- */
.hero-content {
  z-index: 10;
  max-width: 850px;
  padding: 0 20px;
  animation: fadeInHero 2s ease-out both;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero .logo-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 4rem;
  margin-bottom: 25px;
}

.hero .logo-inline .niko {
  font-family: 'Arial Black', sans-serif;
  color: #fff;
  letter-spacing: 2px;
}

.hero .logo-inline .devs {
  font-family: 'Arial Narrow', sans-serif;
  color: #00d4ff;
  text-shadow: 0 0 35px rgba(0,191,255,0.9);
}

.hero p {
  font-size: 1.3rem;
  color: #ccc;
  margin-top: 10px;
  margin-bottom: 40px;
  max-width: 700px;
}

.hero button {
  background: #00bfff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  color: #0a0a0a;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.hero button:hover {
  background: #00d4ff;
  transform: scale(1.05);
}

/* --- Fade inicial --- */
@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .logo-inline { font-size: 2.4rem; flex-direction: column; }
  .hero p { font-size: 1rem; }
}

.hero::before {
  animation: galaxyRotate 160s linear infinite, galaxyPulse 8s ease-in-out infinite;
}

@keyframes galaxyPulse {
  0%, 100% { opacity: 0.9; filter: brightness(1.6) saturate(240%); }
  50% { opacity: 1; filter: brightness(2.2) saturate(300%); }
}


/* ==============================================
   ⚙️ FEATURES (mantiene diseño cinematográfico)
   ============================================== */
.features-cinematic {
  color: #fff;
  padding: 120px 5%;
  overflow: hidden;
}
.features-cinematic h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 100px;
  color: #00bfff;
}
.feature-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 160px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card.left .feature-media { transform: perspective(1200px) rotateY(-12deg); }
.feature-card.right .feature-media { transform: perspective(1200px) rotateY(12deg); }

.feature-media {
  flex: 1;
  display: flex;
  justify-content: center;
  transition: transform 1s ease, box-shadow 0.6s ease;
}
.feature-media img {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(0,191,255,0.2);
  transform: scale(0.98);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.feature-media:hover img {
  transform: scale(1.02);
  box-shadow: 0 0 60px rgba(0,191,255,0.4);
}
.feature-text { flex: 1; max-width: 550px; }
.feature-text h3 {
  font-size: 1.8rem;
  color: #00bfff;
  margin-bottom: 20px;
}
.feature-text p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
}

/* Entrada lateral */
.feature-card.left { flex-direction: row; transform: translateX(120px); }
.feature-card.right { flex-direction: row-reverse; transform: translateX(-120px); }
.feature-card.left.visible, .feature-card.right.visible { transform: translateX(0); }

/* Responsive */
@media (max-width: 900px) {
  .feature-card { flex-direction: column !important; gap: 20px; text-align: center; }
  .feature-media img { max-width: 420px; }
  .feature-text h3 { font-size: 1.4rem; }
  .feature-text p { font-size: 1rem; }
}
/* ==============================================
   💰 PRICING
   ============================================== */
.pricing {
  color: #fff;
  text-align: center;
  padding: 120px 30px;
}
.pricing .container { max-width: 1000px; margin: auto; }
.pricing h2 {
  font-size: 2.4rem;
  color: #4001e4;
  margin-bottom: 10px;
}
.subtitle {
  opacity: 0.8;
  margin-bottom: 60px;
  font-size: 1.1rem;
}
.main-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 50px;
  margin-bottom: 80px;
  text-align: left;
  box-shadow: 0 0 40px rgba(0,191,255,0.1);
}
.main-card h3 {
  color: #00b0ff;
  font-size: 1.6rem;
}
.base-price {
  margin: 30px 0;
}
.base-price .amount {
  font-size: 3rem;
  font-weight: 700;
}
.base-price .unit {
  font-size: 1.2rem;
  margin-left: 5px;
  opacity: 0.8;
}
.base-price p {
  opacity: 0.7;
  font-size: 0.95rem;
}

/* ==============================================
   📩 CONTACTO
   ============================================== */
.contact form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin-inline: auto;
}
input, textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
textarea { min-height: 120px; resize: none; }

/* ==============================================
   ⚫ FOOTER
   ============================================== */
footer {
  text-align: center;
  padding: 30px 0;
  background: #121212;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ==============================================
   📱 RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
  .navbar { padding: 15px 30px; }
  .hero h1 { font-size: 2.2rem; }
  .main-card { padding: 30px; }
  #neural-bg { opacity: 0.4; }
  .hero video { opacity: 0.2; }
}

/* ==============================================
   🎯 ESTRUCTURA DE SECCIONES
   ============================================== */
section {
  width: 100%;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

/* CONTACT */
.contact {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 100px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}
.contact p {
  opacity: 0.9;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 450px;
}
.contact input,
.contact textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  outline: none;
  text-align: left;
}

footer {
  width: 100%;
  text-align: center;
  background: #121212;
  padding: 30px 0;
  color: #ccc;
  font-size: 0.9rem;
  opacity: 0.7;
}


/* ==============================================
   🌐 SECCIONES PERSONALIZADAS
   ============================================== */

/* === IA AUTOPROGRAMADORA === */
.niko-section {
  color: #f5f5f5;
  text-align: center;
  padding: 120px 20px;
  font-family: 'Poppins', sans-serif;
}

.niko-subtitle {
  color: #00aaff;
  font-weight: 500;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.niko-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.niko-text {
  color: #cfcfcf;
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === PRICING === */
.pricing {
  text-align: center;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  padding-bottom: 100px;
}

.calculator {
  margin-top: 60px;
  text-align: center;
}

.calc-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  margin-top: 30px;
}

.slider-group {
  width: 80%;
  max-width: 500px;
  text-align: left;
}

.slider-group label {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  color: #ddd;
  margin-bottom: 6px;
}

.slider-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg,#008fd6,  #4001e4, #cb0cd9);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4001e4;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.3s;
}

.slider-group input[type="range"]::-webkit-slider-thumb:hover {
  background: linear-gradient(90deg,#008fd6,  #4001e4, #cb0cd9);
}

.price-summary {
  text-align: center;
}

.price-summary p {
  font-size: 1rem;
  color: #ccc;
  margin: 5px 0;
}

#costPerM {
  font-size: 1.3rem;
  font-weight: 600;
  color: #008fd6;
}

#totalPrice {
  font-size: 2.8rem;
  font-weight: 700;
  color: #008fd6;
  margin-top: 10px;
}

/* === BENEFITS === */
.benefits {
  padding: 120px 60px;
  text-align: center;
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  padding: 100px 60px;
  text-align: center;
}

.benefits h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #4001e4, #00d4ff);
  background-clip: text;
  font-weight: 700;
  letter-spacing: 1px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Para pantallas medianas (2 columnas) */
@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Para móviles (1 columna) */
@media (max-width: 700px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  max-width: 320px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.3);
}

.benefit-card .icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  display: inline-block;
  background: linear-gradient(135deg,#008fd6, #cb0cd9);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.benefits-subtitle {
  font-size: 1.3rem;
  color: #00bfff;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.benefits-intro {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto 80px auto;
  line-height: 1.8;
  opacity: 0.9;
}



/* ==============================================
   🎨 UNIFICACIÓN DE ESTILO — NIKO-DEVS
   ============================================== */

/* Colores globales */
:root {
  --niko-blue: #00aaff;
  --niko-light-blue: #00d4ff;
  --niko-bg: #0a0a0a;
  --niko-text: #cccccc;
  --niko-white: #ffffff;
}

/* Textos generales */
body {
  color: var(--niko-text);
  background: radial-gradient(circle at 20% 20%, var(--niko-bg), #000);
}

/* Títulos */
h1, h2, h3 {
  color: var(--niko-white);
  font-weight: 700;
    font-size: 3rem;
}

.niko-title,
.features-cinematic h2,
.pricing h2,
.benefits h2,
.contact h2 {
  color: var(--niko-white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.niko-subtitle {
  color: var(--niko-blue);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Párrafos */
p,
.niko-text,
.feature-text p,
.pricing .subtitle,
.benefit-card p,
.contact p {
  color: var(--niko-text);
  line-height: 1.7;
  font-weight: 300;
}

/* Cards */
.feature-card,
.benefit-card,
.main-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 0 30px rgba(0,191,255,0.08);
}

/* Hover / resalte */
.feature-card:hover,
.benefit-card:hover {
  border-color: rgba(0,191,255,0.3);
  box-shadow: 0 0 50px rgba(0,191,255,0.25);
}

/* Botones */
button {
  background: var(--niko-blue);
  color: var(--niko-bg);
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s ease;
}
button:hover {
  background: var(--niko-light-blue);
  transform: scale(1.05);
}

/* Pricing titles */
.pricing h2 {
  color: var(--niko-white);
  margin-bottom: 10px;
}

/* Beneficios */
.benefits h2 {
  background: none;
  color: var(--niko-white);
}

/* Footer */
footer {
  color: var(--niko-text);
  opacity: 0.7;
}

/* Enlaces de la barra de navegación */
.nav-links a {
  color: var(--niko-white);
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--niko-light-blue);
}

/* ================================
   🧠 LOGO NIKO-DEVS (versión final)
   ================================ */

.logo .niko,
.hero .logo-inline .niko {
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.logo .devs,
.hero .logo-inline .devs {
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  color: #00d4ff;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-shadow: 0 0 25px rgba(0,191,255,0.7);
}

/* Pulsación energética (opcional, mantiene coherencia con la galaxia) */
.hero .logo-inline .devs {
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(0,191,255,0.6),
                 0 0 40px rgba(0,191,255,0.4);
  }
  50% {
    text-shadow: 0 0 30px rgba(0,255,255,0.9),
                 0 0 60px rgba(0,255,255,0.7);
  }
}

/* ==============================================
   ⚖️ FOOTER LEGAL
   ============================================== */
.legal-footer {
  background: #080808;
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.legal-footer ul {
  list-style: none;
  margin-top: 15px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.legal-footer a {
  color: #00d4ff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}
.legal-footer a:hover {
  color: #fff;
}


/* ==============================================
   ⚖️ PÁGINAS LEGALES
   ============================================== */
.legal-section {
  max-width: 900px;
  margin: 120px auto;
  padding: 60px 30px;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.legal-section h1 {
  font-size: 2.5rem;
  color: #00d4ff;
  margin-bottom: 30px;
}

.legal-section h2 {
  font-size: 1.4rem;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-section a {
  color: #00bfff;
  text-decoration: none;
}
.legal-section a:hover {
  text-decoration: underline;
}

/* ==============================================
   ⚖️ PÁGINAS LEGALES — NIKO-DEVS
   ============================================== */
.legal-section {
  max-width: 900px;
  margin: 120px auto;
  padding: 60px 30px;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  text-align: left;
}

.legal-section h1 {
  font-size: 2.4rem;
  color: #00d4ff;
  margin-bottom: 30px;
}

.legal-section h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-top: 35px;
  margin-bottom: 15px;
}

.legal-section p, 
.legal-section ul {
  font-size: 1rem;
  color: #ccc;
}

.legal-section ul {
  margin-left: 20px;
  list-style-type: disc;
}

.legal-return {
  text-align: center;
  margin-top: 50px;
}
.legal-return .back-home {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.legal-return .back-home:hover {
  color: #fff;
}


/* ==============================================
   🧩 FORMULARIO DE CONTACTO — NIKO-DEVS
   ============================================== */

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 0;
}

form input,
form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
}

form textarea {
  min-height: 120px;
  resize: none;
}

/* === BOTÓN DE ENVÍO === */
form button,
form input[type="submit"] {
  width: 100%;
  padding: 12px 0;
  margin-top: 5px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00bfff, #007fff);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
  transition: all 0.3s ease-in-out;
}

form button:hover,
form input[type="submit"]:hover {
  background: linear-gradient(90deg, #0099ff, #00e0ff);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.6);
  transform: translateY(-1px);
}

form button:active,
form input[type="submit"]:active {
  transform: scale(0.98);
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.4);
}

/* === SECCIÓN LEGAL BAJO EL FORM === */
.form-legal {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #ccc;
}

.form-legal a {
  color: #00bfff;
  text-decoration: none;
}

.form-legal a:hover {
  text-decoration: underline;
}

/* ==============================================
   ✨ FEATURES LATERALES — estilo tipo Apple
   ============================================== */

.features {
  background: transparent;
  backdrop-filter: none;
  position: relative;
  padding: 120px 0;
}

.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1400px;
  margin: 120px auto;
  padding: 60px 60px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
  opacity: 0;
  transform: translateY(60px);
}

.feature-block.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Invertir alternando lados */
.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

/* Imagen / GIF */
.feature-media {
  flex: 1;
  perspective: 1000px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-media img {
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  transform: rotateY(8deg) scale(0.98);
  transition: transform 0.8s ease, box-shadow 0.5s ease;
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.15);
}

.feature-block:nth-child(even) .feature-media img {
  transform: rotateY(-8deg) scale(0.98);
}

.feature-media:hover img {
  transform: rotateY(0) scale(1.03);
  box-shadow: 0 0 60px rgba(0, 191, 255, 0.3);
}

/* Texto */
.feature-text {
  flex: 1;
  text-align: left;
}

.feature-block:nth-child(even) .feature-text {
  text-align: right;
}

.feature-text h3 {
  color: #00bfff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.7;
  max-width: 520px;
  margin: auto;
}

/* Responsive */
@media (max-width: 1000px) {
  .feature-block {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
    padding: 40px 20px;
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .feature-media img {
    max-width: 400px;
  }

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

/* ==============================================
   🧭 NAVBAR — ESTILO PRINCIPAL
   ============================================== */

nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo */
nav.navbar .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 1px;
}

nav.navbar .logo .niko {
  color: #fff;
}

nav.navbar .logo .devs {
  color: #00bfff;
  margin-left: 4px;
}

/* Enlaces */
nav.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav.navbar ul li a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav.navbar ul li a:hover {
  color: #00bfff;
}

/* Selector de idioma */
/* ==============================================
   🌐 SELECTOR DE IDIOMA — ESTILO FINAL NIKO-DEVS
   ============================================== */

.lang-switcher {
  position: relative;
  margin-left: 25px;
}

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(0, 0, 0, 0.6);
  color: #00bfff;
  border: 1px solid rgba(0, 191, 255, 0.5);
  border-radius: 10px;
  padding: 6px 32px 6px 12px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.25);
  transition: all 0.3s ease;
}

/* Hover + Glow */
.lang-switcher select:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: #00bfff;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

/* Flecha personalizada */
.lang-switcher::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #00bfff;
  pointer-events: none;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

/* Animación de brillo */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 6px rgba(0, 191, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
  }
}

.lang-switcher select:focus {
  animation: glowPulse 1.2s infinite alternate;
}

/* =============================
   Personalizar lista desplegable
   ============================= */

/* Firefox */
.lang-switcher select option {
  background-color: #0a0a0a;
  color: #00bfff;
  font-weight: 600;
}

/* Chrome, Edge, Safari (ocultar fondo blanco del sistema) */
.lang-switcher select::-ms-expand {
  display: none;
}

/* Soporte moderno: simular lista oscura en navegadores con UI propia */
@supports selector(option:checked) {
  .lang-switcher select option {
    background: #0a0a0a;
    color: #00bfff;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .lang-switcher {
    margin-left: 10px;
    margin-top: 8px;
  }
}


/* Versión móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #fff;
}

@media (max-width: 900px) {
  nav.navbar {
    padding: 15px 30px;
  }

  nav.navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 30px;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 12px;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  }

  nav.navbar ul.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}


/* ==============================================
   🧩 NIKO-DEVS LOGO — Glow limpio
   ============================================== */

.logo-inline, .logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}

.niko {
  color: #ffffff;
}

.devs {
  color: #00bfff;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
  /* Quitar cualquier fondo o box-shadow previo */
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ==============================================
   🧩 HERO — mantener NIKO DEVS juntos en móvil
   ============================================== */

/* Mantener NIKO DEVS juntos */
.logo-inline{
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  white-space: nowrap;       /* <- clave */
}

/* Ajuste en móviles para que quepa en una línea */
@media (max-width: 768px){
  .hero h1{
    line-height: 1.25;
  }
  .hero .logo-inline{
    white-space: nowrap;
    font-size: clamp(1.6rem, 8.5vw, 2.6rem); /* se autoescala y evita salto */
  }
}
