/* Achulla Solutions - Design System & Modern Motion UI (GetLayers / Linear Aesthetic) */

:root {
  --bg-deep: #050811;
  --bg-card: rgba(12, 18, 34, 0.72);
  --bg-card-hover: rgba(18, 27, 49, 0.85);
  
  --cyan-bright: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --blue-vibrant: #38bdf8;
  --blue-deep: #2563eb;
  --red-crimson: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.35);
  --emerald-green: #10b981;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  --radius-lg: 16px;
  --radius-md: 10px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 85% 60%, rgba(239, 68, 68, 0.05) 0%, transparent 45%),
              var(--bg-deep);
  background-attachment: fixed;
}

/* ============================================================
   1. BARRA DE NAVEGACIÓN PRINCIPAL (GLASSMORPHISM)
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.main-nav.scrolled {
  height: 66px;
  background: rgba(3, 7, 18, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(0, 240, 255, 0.12);
}

.main-nav .nav-actions {
  position: absolute;
  right: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 19px;
  color: #ffffff;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
}

.brand-title span {
  color: var(--cyan-bright);
}

.brand-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #94a3b8;
  text-transform: uppercase;
}

/* MARCO TIPO GLASS DARK ULTRA TRANSPARENTE (4 OPCIONES DE NAVEGACIÓN) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(10, 16, 30, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 7px 18px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
  color: var(--cyan-bright);
  background: rgba(0, 240, 255, 0.09);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.14);
}

.nav-link.active::after {
  display: none;
}

/* LOGO 3D CENTRAL ENTRE SERVICIOS Y TECNOLOGÍAS */
.nav-logo-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-3d-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(0, 240, 255, 0.3));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  transform-origin: center center;
  will-change: transform, filter;
  vertical-align: middle;
}

/* Animación de latido vivo / heartbeat al pasar el cursor (palpitación rápida y rítmica) */
.nav-logo-center:hover .logo-3d-img {
  animation: logoHeartbeat 0.75s ease-in-out infinite;
  filter: drop-shadow(0 6px 24px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.75));
}

@keyframes logoHeartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.26);
  }
  28% {
    transform: scale(1.1);
  }
  42% {
    transform: scale(1.32);
  }
  70% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #00f0ff);
  color: #050811;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

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

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  border: 1px solid var(--border-subtle);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--cyan-bright);
  color: #ffffff;
  background: rgba(0, 240, 255, 0.12);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

/* ============================================================
   2. SECCIÓN HERO CON VIDEO CANVA DE FONDO (INICIO.MP4)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 48px 24px 48px;
  overflow: hidden;
  background: #020512;
}

/* Video Canva en Bucle de Fondo */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.88;
}

/* Scrim de Iluminación y Legibilidad sobre el Video */
.noise-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at 30% 45%, rgba(2, 5, 18, 0.4) 0%, rgba(2, 5, 18, 0.72) 65%),
    linear-gradient(180deg, rgba(2, 5, 18, 0.55) 0%, transparent 35%, rgba(2, 5, 18, 0.75) 100%);
}

/* Destacado Prominente a la Izquierda: Soporte Técnico Directo */
.hero-support-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 16px 24px;
  background: rgba(10, 16, 30, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.06);
  max-width: 600px;
  transition: all 0.25s ease;
}

.hero-support-box:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.12);
}

.support-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-text h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.support-text p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Barra Inferior Fija de la Pantalla de Bienvenida */
.hero-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #64748b;
}

.hero-bottom-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}

.hero-bottom-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-green);
  box-shadow: 0 0 8px var(--emerald-green);
}

/* Contenedor Principal de la Portada de Bienvenida */
.hero-welcome-container {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  width: 100%;
  margin: auto auto;
  display: flex;
  align-items: center;
}

.hero-asymmetric-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.hero-content-wrapper {
  max-width: 840px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(12, 18, 34, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e2e8f0;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulseDotAnim 1.6s infinite;
}

@keyframes pulseDotAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 22px;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 1.25vw, 17.5px);
  font-weight: 400;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Indicadores de valor rápido (KPI chips) */
.hero-kpis {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.kpi-item h4 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', monospace;
  letter-spacing: -0.5px;
}

.kpi-item h4 span {
  color: var(--cyan-bright);
}

.kpi-item p {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ============================================================
   TERMINAL INTERACTIVA EN VIVO (HERO & BENTO)
   ============================================================ */
.terminal-window {
  background: rgba(6, 11, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.terminal-window:hover {
  border-color: rgba(0, 240, 255, 0.35);
}

.terminal-header {
  background: rgba(15, 23, 42, 0.85);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 6px;
}

.terminal-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.terminal-tab.active {
  color: var(--cyan-bright);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.25);
}

.terminal-body {
  padding: 22px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.terminal-log-output {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  max-height: 240px;
}

.log-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  animation: logLineIn 0.35s forwards;
}

@keyframes logLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.log-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.tag-info { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tag-success { background: rgba(16, 185, 129, 0.18); color: #10b981; }
.tag-warn { background: rgba(245, 158, 11, 0.18); color: #f59e0b; }
.tag-cisco { background: rgba(147, 51, 234, 0.2); color: #c084fc; }

.log-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--cyan-bright);
  vertical-align: middle;
  animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-footer-action {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-status-info {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-terminal-run {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-bright);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-terminal-run:hover {
  background: var(--cyan-bright);
  color: #050811;
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* ============================================================
   3. SECCIÓN BENTO SHOWCASE (SISTEMAS VIVOS EN VEZ DE CUADROS)
   ============================================================ */
.section-wrapper {
  position: relative;
  z-index: 2;
  padding: 120px 48px;
  max-width: 1380px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px auto;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan-bright);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Bento Grid Asimétrico de 12 Columnas */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.col-span-7 { grid-column: span 7; }
.col-span-5 { grid-column: span 5; }
.col-span-12 { grid-column: span 12; }

/* Subcomponentes de Tarjetas Bento */
.bento-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Módulo Telemetría de Red Cisco & Servidores */
.telemetry-board {
  background: rgba(5, 8, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: auto;
  font-family: monospace;
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

.telemetry-row:last-child {
  border-bottom: none;
}

.telemetry-label {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-val {
  font-weight: 700;
  color: #ffffff;
}

.val-green { color: #10b981; }
.val-cyan { color: var(--cyan-bright); }

/* Módulo Selector Interactivo de Dolores de Negocio (Usuario Primero) */
.pain-points-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.pain-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pain-tab-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pain-tab-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

.pain-tab-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.pain-solution-card {
  background: rgba(6, 11, 23, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.solution-details h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.solution-details p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.solution-cta-btn {
  white-space: nowrap;
}

/* ============================================================
   4. SECCIÓN BANNER DE CONFIANZA / PARTNER VALUE
   ============================================================ */
.partner-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(5, 8, 17, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  backdrop-filter: blur(16px);
  margin-top: 40px;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
}

.partner-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.partner-text p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================================
   5. PIE DE PÁGINA (FOOTER)
   ============================================================ */
footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 5, 12, 0.98);
  padding: 60px 48px 30px 48px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 40px auto;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

/* ============================================================
   6. RESPONSIVE QUERIES & LENIS SMOOTH SCROLL INTEGRATION
   ============================================================ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@media (max-width: 1080px) {
  .hero-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .col-span-7, .col-span-5 {
    grid-column: span 12;
  }

  .pain-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .main-nav {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 17, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    display: flex;
  }

@media (max-width: 900px), (max-height: 780px) {
  body {
    overflow-y: auto !important;
  }

  .hero-section {
    min-height: 100vh;
    height: auto;
    padding: 100px 20px 30px 20px;
  }

  .hero-asymmetric-grid {
    margin: 20px auto 40px auto;
  }

  .hero-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px 0;
  }
}

@media (max-width: 900px) {
  .main-nav {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(5, 10, 24, 0.9);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: none;
    gap: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-kpis {
    flex-direction: column;
    gap: 16px;
  }

  .pain-solution-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .pain-tabs-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }

  .terminal-tabs {
    display: none;
  }
}

/* ============================================================
   8. ANIMACIÓN CINÉTICA PALABRA POR PALABRA (TÍTULOS HIGH-END)
   Desplazamiento suave desde la derecha con blur y stagger
   ============================================================ */
.kinetic-word {
  display: inline-block;
  opacity: 0;
  transform: translateX(42px);
  filter: blur(8px);
  animation: kineticSlideInRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
  vertical-align: baseline;
}

.gradient-text-cyan .kinetic-word {
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes kineticSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(45px);
    filter: blur(8px);
  }
  60% {
    opacity: 0.9;
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* ============================================================
   9. BLINDAJE DE CONTENIDO (ANTI-COPIA & PROTECCIÓN DE FUENTE)
   ============================================================ */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}



