/* ==========================================================================
   KUDEN HUB v2 — HOME STYLES (kuden-core.css)
   Diseño propio: Kimi como presentador central, tarjetas de producto hero,
   secciones SEO concisas. Basado en Kuden_Design_System.md
   ========================================================================== */

/* ──────────────────────────────────────────────
   VARIABLES LOCALES DEL HUB
   ────────────────────────────────────────────── */
:root {
  --hub-hero-bg: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(99,91,255,0.18) 0%, transparent 65%),
                 radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0,166,255,0.10) 0%, transparent 55%),
                 var(--bg-radial);
  --product-ia-glow: rgba(99, 91, 255, 0.25);
  --product-qa-glow: rgba(55, 215, 255, 0.20);
  --card-hover-lift: translateY(-6px);
}

/* ──────────────────────────────────────────────
   LAYOUT BASE
   ────────────────────────────────────────────── */
.hub-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────────
   NAVBAR
   ────────────────────────────────────────────── */
.hub-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
}

.hub-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.hub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-title);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.hub-logo img {
  height: 28px;
  width: auto;
}

.hub-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hub-nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.hub-nav-link:hover,
.hub-nav-link.active {
  color: var(--text-title);
  background: var(--btn-secondary-bg);
}

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

/* Theme toggle */
.hub-theme-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-theme-btn:hover {
  color: var(--text-title);
  border-color: rgba(99, 91, 255, 0.35);
}

/* CTA Nav */
.hub-btn-demo {
  padding: 9px 20px;
  border-radius: var(--radius-md);
  background: var(--btn-primary-bg);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--btn-primary-shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-btn-demo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.hub-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hub-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu */
.hub-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hub-mobile-menu.open {
  display: flex;
}

.hub-mobile-link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.hub-mobile-link:hover { color: var(--text-title); background: var(--btn-secondary-bg); }

.hub-mobile-demo {
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--btn-primary-bg);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 0.9rem;
}

/* ──────────────────────────────────────────────
   HERO SECTION — Layout 2 columnas
   ────────────────────────────────────────────── */
.hub-hero {
  background: var(--hub-hero-bg);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

/* Glow sutil de fondo detrás de Kimi */
.hub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 70% 80% at 80% 40%, rgba(99,91,255,0.18) 0%, rgba(0,166,255,0.08) 50%, transparent 75%);
  pointer-events: none;
  animation: heroGlowPulse 7s ease-in-out infinite;
}

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

/* Grid 2 columnas: texto | Kimi */
.hub-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

/* Columna izquierda: texto */
.hub-hero-content {
  max-width: 620px;
}

.hub-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.30);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-pulse);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hub-hero-kicker .pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-pulse);
  animation: pip-pulse 2s ease-in-out infinite;
}

@keyframes pip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hub-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-title);
}

.hub-hero h1 .grad {
  background: linear-gradient(135deg, var(--kuden-indigo) 0%, var(--cyan-pulse) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hub-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
}

.hub-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Columna derecha: Kimi */
.hub-hero-kimi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 280px;
}

/* SVG wrapper: tamaño fijo, centrado */
.kimi-stage-svg-wrap {
  position: relative;
  width: 300px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Speech Bubble — flotante arriba-izquierda del SVG */
.kimi-speech {
  position: absolute;
  top: -8px;
  left: -160px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  max-width: 170px;
  text-align: left;
  box-shadow: var(--glass-shadow);
  animation: speechFloat 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

.kimi-speech::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid var(--glass-border);
}

.kimi-speech p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 4px;
}

.kimi-speech span {
  font-size: 0.72rem;
  color: var(--cyan-pulse);
  font-weight: 500;
}

@keyframes speechFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}


.hub-btn-primary {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--btn-primary-bg);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--btn-primary-shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hub-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.hub-btn-ghost {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hub-btn-ghost:hover {
  background: rgba(99,91,255,0.12);
  border-color: rgba(99,91,255,0.4);
  color: var(--text-title);
  transform: translateY(-2px);
}


/* ──────────────────────────────────────────────
   KIMI SVG MOTION (animaciones vectoriales completas)
   ────────────────────────────────────────────── */
.kimi-mascot-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  perspective: 900px;
  transform-style: preserve-3d;
  transition: filter 0.3s ease;
}

.kimi-mascot-wrapper::before,
.kimi-mascot-wrapper::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transition: all 0.6s ease;
}

.kimi-mascot-wrapper::before {
  inset: -35px;
}

.kimi-mascot-wrapper::after {
  inset: -60px;
}

/* Partículas de Inteligencia Ambiental */
.ambient-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.kimi-mascot-wrapper:hover .ambient-spark,
.kimi-mascot-wrapper.thinking .ambient-spark {
  opacity: 0.95;
}

.spark-a {
  top: 10%;
  left: -20px;
  background: #00F0FF;
  box-shadow: 0 0 10px #00F0FF, 0 0 4px #00F0FF;
  animation: floatAroundA 5s ease-in-out infinite alternate;
}

.spark-b {
  top: 50%;
  right: -35px;
  background: #7E5CFF;
  box-shadow: 0 0 10px #7E5CFF, 0 0 4px #7E5CFF;
  animation: floatAroundB 6.5s ease-in-out infinite alternate 0.5s;
}

.spark-c {
  bottom: 5%;
  left: -10px;
  background: #37D7FF;
  box-shadow: 0 0 10px #37D7FF, 0 0 4px #37D7FF;
  animation: floatAroundA 7.5s ease-in-out infinite alternate 1s;
}

.spark-d {
  bottom: 25%;
  right: -25px;
  background: #635BFF;
  box-shadow: 0 0 10px #635BFF, 0 0 4px #635BFF;
  animation: floatAroundB 5.8s ease-in-out infinite alternate 1.5s;
}

@keyframes floatAroundA {
  0% { transform: translateY(0) translateX(0) scale(0.8); }
  100% { transform: translateY(-16px) translateX(12px) scale(1.3); }
}

@keyframes floatAroundB {
  0% { transform: translateY(0) translateX(0) scale(1.2); }
  100% { transform: translateY(14px) translateX(-14px) scale(0.7); }
}

.kimi-mascot-wrapper:hover {
  filter: drop-shadow(0 0 24px rgba(55, 215, 255, 0.28));
}

.kimi-motion-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 68%;
  transform-style: preserve-3d;
  animation: kimiBreathe 4.8s ease-in-out infinite;
  will-change: transform, filter;
}

.kimi-mascot-wrapper:hover .kimi-motion-shell {
  animation: kimiJumpActive 1.15s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes spinRight {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinLeft {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes kimiBreathe {
  0%, 100% { transform: translateY(0) rotateZ(-1deg) scale(1); }
  35% { transform: translateY(-10px) rotateZ(1.2deg) scale(1.015); }
  70% { transform: translateY(-4px) rotateZ(-0.6deg) scale(0.998); }
}

@keyframes kimiJumpActive {
  0%, 100% { transform: translateY(0) translateX(0) rotateZ(-2deg) scale(1.03); }
  35% { transform: translateY(-22px) translateX(-5px) rotateZ(4deg) scale(1.08); }
  65% { transform: translateY(-12px) translateX(5px) rotateZ(-3deg) scale(1.05); }
}

@keyframes kimiCelebrate {
  0% { transform: scale(0.8) rotateZ(0deg) translateY(0); }
  25% { transform: scale(1.15) rotateZ(-15deg) translateY(-35px); }
  50% { transform: scale(1.22) rotateZ(15deg) translateY(-45px); filter: brightness(1.4); }
  75% { transform: scale(1.15) rotateZ(-10deg) translateY(-35px); }
  100% { transform: scale(1) rotateZ(0deg) translateY(0); }
}

.kimi-mascot-wrapper.celebrating .kimi-motion-shell {
  animation: kimiCelebrate 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1;
}

.kimi-mascot-wrapper svg {
  width: 100%;
  height: 100%;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(99, 91, 255, 0.45));
  transition: transform 0.4s ease;
  overflow: visible;
}

.kimi-mascot-wrapper:hover svg {
  transform: scale(1.08);
}

.floor-shadow {
  transform-origin: 150px 305px;
  animation: shadowBreathe 4.8s ease-in-out infinite;
}

@keyframes shadowBreathe {
  0%, 100% { transform: scaleX(1); opacity: 0.72; }
  35% { transform: scaleX(0.78); opacity: 0.42; }
  70% { transform: scaleX(0.9); opacity: 0.58; }
}

.kimi-eye-shine {
  animation: eyeSparkle 3.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes eyeSparkle {
  0%, 76%, 100% { opacity: 1; transform: scale(1); }
  82% { opacity: 0.55; transform: scale(0.72); }
  88% { opacity: 1; transform: scale(1.18); }
}

#kimi-boca {
  transform-origin: 150px 176px;
}

.kimi-mascot-wrapper.talking #kimi-boca {
  animation: kimiTalk 0.28s ease-in-out infinite alternate;
}

@keyframes kimiTalk {
  0% { transform: scaleY(0.72) translateY(1px); }
  100% { transform: scaleY(1.25) translateY(-1px); }
}

.kimi-mascot-wrapper #brazo-derecho {
  transform-box: view-box;
  transform-origin: 242px 188px;
  transition: transform 0.3s ease;
}

.kimi-mascot-wrapper:hover #brazo-derecho,
.kimi-mascot-wrapper.waving #brazo-derecho {
  animation: waveHand 0.7s ease-in-out infinite;
}

@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(24deg); }
}

.kimi-párpado {
  opacity: 0;
  transition: opacity 0.1s ease;
}

.kimi-blinking .kimi-párpado {
  opacity: 1;
}

/* Modo Thinking / Concentración & Brote de la Semilla */
#kimi-brote {
  transform-origin: 150px 45px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kimi-mascot-wrapper.thinking #brazo-derecho {
  transform: rotate(-10deg) translate(-4px, 4px);
}

.kimi-mascot-wrapper.thinking #kimi-brote {
  animation: sproutCreativeGrow 2s ease-in-out infinite alternate;
}

.kimi-mascot-wrapper.thinking #kimi-brote path {
  stroke: url(#sproutCreativeGrad) !important;
  stroke-width: 7.5px !important;
  animation: sproutColorGlow 1.5s ease-in-out infinite alternate;
  transition: stroke 0.5s ease, stroke-width 0.5s ease;
}

@keyframes sproutCreativeGrow {
  0% { transform: translateY(-8px) scale(1.12); }
  100% { transform: translateY(-18px) scale(1.42) rotate(1.5deg); }
}

@keyframes sproutColorGlow {
  0% {
    filter: drop-shadow(0 0 2px rgba(55, 215, 255, 0.4)) drop-shadow(0 0 6px rgba(126, 92, 255, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(55, 215, 255, 0.95)) drop-shadow(0 0 14px rgba(126, 92, 255, 0.75));
  }
}

.sprout-energy {
  opacity: 0;
  transform-origin: 149px 10px;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kimi-mascot-wrapper.thinking .sprout-energy {
  opacity: 1;
  transform: scale(1);
}

.kimi-mascot-wrapper.thinking .energy-leaf {
  animation: pulseLeaf 1.6s ease-in-out infinite alternate;
}

.kimi-mascot-wrapper.thinking .energy-spark {
  animation: focusSpark 1.8s ease-in-out infinite alternate;
}

.kimi-mascot-wrapper.thinking .sprout-halo {
  opacity: 0;
  animation: none;
}

@keyframes pulseLeaf {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px #00F0FF); }
  100% { transform: scale(1.25) rotate(8deg); filter: drop-shadow(0 0 16px #00F0FF); }
}

@keyframes floatSpark {
  0% { transform: translateY(0px) scale(1); opacity: 0.7; }
  100% { transform: translateY(-15px) scale(1.5); opacity: 1; filter: drop-shadow(0 0 10px #37D7FF); }
}

@keyframes focusSpark {
  0% { transform: translateY(0) scale(0.82); opacity: 0.42; }
  100% { transform: translateY(-4px) scale(1.12); opacity: 0.95; filter: drop-shadow(0 0 8px #37D7FF); }
}

@keyframes haloPulse {
  0% { stroke-width: 1.5px; opacity: 0.5; }
  100% { stroke-width: 3.5px; opacity: 1; filter: drop-shadow(0 0 12px #00F0FF); }
}

.kimi-mascot-wrapper.thinking::before {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(126, 92, 255, 0.08) 55%, rgba(0,0,0,0) 75%);
  border: none !important;
  opacity: 0.95;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.45), inset 0 0 15px rgba(126, 92, 255, 0.25);
  animation: spinRight 12s linear infinite, auraPulse 2.2s ease-in-out infinite alternate !important;
}

.kimi-mascot-wrapper.thinking::after {
  background: radial-gradient(circle, rgba(126, 92, 255, 0.15) 0%, rgba(0, 240, 255, 0.05) 50%, rgba(0,0,0,0) 70%);
  border: none !important;
  animation: spinLeft 18s linear infinite !important;
  opacity: 0.75;
}

@keyframes auraPulse {
  0% { transform: scale(0.95); filter: brightness(1); }
  100% { transform: scale(1.08); filter: brightness(1.28) drop-shadow(0 0 25px rgba(0, 240, 255, 0.35)); }
}

/* 1. Patrullaje / Caminata (Walking / Advancing) */
@keyframes kimiWalk {
  0% { transform: translateX(-65px) translateY(0) rotate(5deg); }
  25% { transform: translateX(-30px) translateY(-14px) rotate(8deg); }
  50% { transform: translateX(0px) translateY(0) rotate(5deg); }
  75% { transform: translateX(35px) translateY(-14px) rotate(2deg); }
  100% { transform: translateX(65px) translateY(0) rotate(-5deg); }
}
.kimi-mascot-wrapper.walking .kimi-motion-shell {
  animation: kimiWalk 1.4s ease-in-out infinite alternate !important;
}
.kimi-mascot-wrapper.walking #brazo-derecho {
  animation: waveHand 0.4s ease-in-out infinite alternate !important;
}

/* 2. Giro Cuántico 360° (Warp Spin / Teletransportación) */
@keyframes kimiSpin360 {
  0% { transform: rotateY(0deg) scale(1); filter: drop-shadow(0 15px 35px rgba(99, 91, 255, 0.45)); }
  50% { transform: rotateY(180deg) scale(0.85); filter: drop-shadow(0 0 45px #00F0FF); }
  100% { transform: rotateY(360deg) scale(1); filter: drop-shadow(0 15px 35px rgba(99, 91, 255, 0.45)); }
}
.kimi-mascot-wrapper.spinning .kimi-motion-shell {
  animation: kimiSpin360 1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite !important;
}

/* 3. Latido del Corazón Kuden (Chest Logo Pulse) */
#kimi-chest-logo {
  transform-box: view-box;
  transform-origin: 150px 225px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
#kimi-chest-logo-pulse {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes heartbeat {
  0% { transform: scale(1); filter: drop-shadow(0 0 0px #7E5CFF); }
  25% { transform: scale(1.28); filter: drop-shadow(0 0 16px #00F0FF); }
  40% { transform: scale(1.08); filter: drop-shadow(0 0 8px #7E5CFF); }
  60% { transform: scale(1.32); filter: drop-shadow(0 0 22px #00F0FF); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0px #7E5CFF); }
}
.kimi-mascot-wrapper.chest-pulse #kimi-chest-logo-pulse {
  animation: heartbeat 1.1s ease-in-out infinite !important;
}

/* 4. Curiosidad / Ladeo Analítico (Curious Tilt & Inspect) */
@keyframes curiousTilt {
  0% { transform: rotate(-16deg) translateX(-15px); }
  50% { transform: rotate(16deg) translateX(15px) translateY(-5px); }
  100% { transform: rotate(-16deg) translateX(-15px); }
}
.kimi-mascot-wrapper.curious .kimi-motion-shell {
  animation: curiousTilt 2.2s ease-in-out infinite !important;
}
.kimi-mascot-wrapper.curious #kimi-brote {
  transform: rotate(20deg) scale(1.1);
}

/* 5. Sueño / Modo Ahorro Energético (Sleeping & Zzz) */
@keyframes sleepHover {
  0%, 100% { transform: translateY(18px) scale(0.96) rotate(3deg); }
  50% { transform: translateY(24px) scale(0.95) rotate(-3deg); }
}
.kimi-mascot-wrapper.sleeping .kimi-motion-shell {
  animation: sleepHover 3.5s ease-in-out infinite !important;
}
.kimi-mascot-wrapper.sleeping .kimi-sleep-zzz {
  opacity: 1 !important;
}
@keyframes floatZzz1 {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-40px) translateX(15px) scale(1.3); opacity: 0; }
}
@keyframes floatZzz2 {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-35px) translateX(20px) scale(1.2); opacity: 0; }
}
@keyframes floatZzz3 {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-30px) translateX(25px) scale(1.1); opacity: 0; }
}
.kimi-mascot-wrapper.sleeping .zzz-1 { animation: floatZzz1 2.5s infinite ease-out 0s; }
.kimi-mascot-wrapper.sleeping .zzz-2 { animation: floatZzz2 2.5s infinite ease-out 0.8s; }
.kimi-mascot-wrapper.sleeping .zzz-3 { animation: floatZzz3 2.5s infinite ease-out 1.6s; }

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.kimi-speech-bubble {
  position: absolute;
  top: -20px;
  left: -160px;
  background: var(--bubble-bg);
  border: 1px solid var(--bubble-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--glass-shadow);
  max-width: 165px;
  text-align: left;
  z-index: 10;
  animation: floatBubble 4s ease-in-out infinite;
  transition: all 0.5s ease;
}

.kimi-speech-bubble h3 {
  color: var(--kuden-indigo);
  font-size: 14px;
  margin: 0 0 4px 0;
  font-weight: 800;
  font-family: var(--font-display);
}

.kimi-speech-bubble p {
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.kimi-speech-bubble .heart {
  color: var(--electric-violet);
  font-size: 14px;
  display: inline-block;
  animation: pulseHeart 1.6s infinite;
}

.kimi-speech-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid var(--glass-border);
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ──────────────────────────────────────────────
   PRODUCTO CARDS HERO
   ────────────────────────────────────────────── */
.hub-products {
  padding: 72px 0 80px;
}

.hub-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.hub-product-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.hub-product-card:hover {
  transform: var(--card-hover-lift);
}

.hub-product-card.card-ia:hover {
  border-color: rgba(99, 91, 255, 0.45);
  box-shadow: 0 40px 100px var(--product-ia-glow), var(--glass-shadow);
}

.hub-product-card.card-qa:hover {
  border-color: rgba(55, 215, 255, 0.40);
  box-shadow: 0 40px 100px var(--product-qa-glow), var(--glass-shadow);
}

/* macOS Window Header */
.macos-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.15);
}

.macos-dots {
  display: flex;
  gap: 6px;
}

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

.macos-dot.r { background: #FF5F57; }
.macos-dot.y { background: #FFBD2E; }
.macos-dot.g { background: #28CA41; }

.macos-bar-title {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 8px;
  letter-spacing: 0.01em;
}

/* Screenshot area */
.product-screenshot-wrap {
  position: relative;
  overflow: hidden;
  background: #0a0e1a;
  line-height: 0;
}

.product-screenshot-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.5s ease;
}

.hub-product-card:hover .product-screenshot-wrap img {
  transform: scale(1.03);
}

/* Overlay gradiente en imagen */
.screenshot-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}

/* Contenido de la tarjeta */
.product-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-ia {
  background: rgba(99, 91, 255, 0.12);
  color: var(--electric-violet);
  border: 1px solid rgba(99, 91, 255, 0.30);
}

.badge-qa {
  background: rgba(55, 215, 255, 0.10);
  color: var(--cyan-pulse);
  border: 1px solid rgba(55, 215, 255, 0.25);
}

.product-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* Keywords SEO bullets */
.product-bullets {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.product-bullets li::before {
  content: '✓';
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

.card-ia .product-bullets li::before {
  background: rgba(99, 91, 255, 0.15);
  color: var(--electric-violet);
}

.card-qa .product-bullets li::before {
  background: rgba(55, 215, 255, 0.12);
  color: var(--cyan-pulse);
}

.product-bullets strong {
  color: var(--text-title);
  font-weight: 600;
}

.product-cta {
  margin-top: auto;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.cta-ia {
  background: var(--btn-primary-bg);
  color: #fff;
  box-shadow: var(--btn-primary-shadow);
}

.cta-ia:hover { opacity: 0.9; transform: translateY(-1px); }

.cta-qa {
  background: rgba(55, 215, 255, 0.10);
  border: 1px solid rgba(55, 215, 255, 0.35);
  color: var(--cyan-pulse);
}

.cta-qa:hover {
  background: rgba(55, 215, 255, 0.18);
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────
   SECCIÓN CÓMO TRABAJAMOS (Done-For-You)
   ────────────────────────────────────────────── */
.hub-dfy {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.hub-sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-sec-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.15;
}

.hub-sec-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hub-sec-head .hl {
  background: linear-gradient(135deg, var(--kuden-indigo), var(--cyan-pulse));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dfy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto 44px;
}

.dfy-step {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.dfy-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(99,91,255,0.15);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
}

.dfy-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.dfy-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Fórmula DFY */
.dfy-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
}

.dfy-formula span {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dfy-formula .op {
  font-size: 1.4rem;
  color: var(--electric-violet);
  font-weight: 700;
  line-height: 1;
}

.dfy-formula .result {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  background: linear-gradient(135deg, var(--kuden-indigo), var(--cyan-pulse));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ──────────────────────────────────────────────
   INDUSTRIAS
   ────────────────────────────────────────────── */
.hub-industries {
  padding: 80px 0;
}

.hub-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
}

.industry-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.industry-chip:hover {
  background: rgba(99, 91, 255, 0.10);
  border-color: rgba(99, 91, 255, 0.30);
  color: var(--text-title);
  transform: translateY(-2px);
}

.industry-chip .ind-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* ──────────────────────────────────────────────
   EQUIPO
   ────────────────────────────────────────────── */
.hub-team {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.hub-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.team-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.35s ease;
}

.team-card:hover { transform: translateY(-4px); }

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--cyan-pulse);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ──────────────────────────────────────────────
   CTA FINAL
   ────────────────────────────────────────────── */
.hub-cta-final {
  padding: 96px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,91,255,0.14) 0%, transparent 70%);
}

.hub-cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hub-cta-final p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hub-cta-final .hl {
  background: linear-gradient(135deg, var(--kuden-indigo), var(--cyan-pulse));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.hub-footer {
  padding: 48px 0 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--glass-border);
}

.hub-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
}

.foot-brand .hub-logo { margin-bottom: 12px; display: inline-flex; }
.foot-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 260px;
}

.foot-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.foot-col a, .foot-col button {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s ease;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
}

.foot-col a:hover, .foot-col button:hover { color: var(--text-title); }

.hub-foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hub-foot-base span {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ──────────────────────────────────────────────
   WIDGETS FLOTANTES
   ────────────────────────────────────────────── */
.wa-float-hub {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.wa-float-hub:hover {
  transform: scale(1.10);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.wa-float-hub svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ──────────────────────────────────────────────
   MODAL DE CONSULTORÍA (Formspree)
   ────────────────────────────────────────────── */
.hub-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hub-modal-overlay.open {
  display: flex;
}

.hub-modal {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hub-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--btn-secondary-bg);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hub-modal-close:hover {
  background: rgba(255,94,115,0.12);
  border-color: rgba(255,94,115,0.35);
  color: #FF5E73;
}

.hub-modal h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hub-modal p.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hub-modal .field {
  margin-bottom: 16px;
}

.hub-modal .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.hub-modal .field input,
.hub-modal .field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-title);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.hub-modal .field input:focus,
.hub-modal .field select:focus {
  outline: none;
  border-color: var(--kuden-indigo);
}

.hub-modal .field select option {
  background: var(--bg-card);
}

.hub-modal-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--btn-primary-bg);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--btn-primary-shadow);
  transition: opacity 0.2s ease;
  margin-top: 4px;
}

.hub-modal-submit:hover { opacity: 0.88; }

.hub-modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.hub-modal-success.show { display: block; }

.hub-modal-success .success-ico { font-size: 3rem; margin-bottom: 16px; }
.hub-modal-success h3 { margin-bottom: 10px; }
.hub-modal-success p { color: var(--text-secondary); font-size: 0.9rem; }

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hub-products-grid { grid-template-columns: 1fr; }
  .hub-nav-links { display: none; }
  .hub-hamburger { display: flex; }
  .dfy-steps { grid-template-columns: 1fr; gap: 16px; }
  .hub-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-team-grid { grid-template-columns: 1fr; }
  .hub-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hub-foot-base { flex-direction: column; gap: 10px; text-align: center; }

  /* Hero mobile: columna única */
  .hub-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hub-hero-content { max-width: 100%; }
  .hub-hero-actions { justify-content: center; }
  .hub-hero-sub { max-width: 100%; }
  .hub-hero-kimi { margin-top: 16px; }

  .kimi-speech {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    max-width: 220px;
    margin: 12px auto 0;
  }
  .kimi-speech::after { display: none; }
}

@media (max-width: 600px) {
  .hub-hero { padding: 56px 0 48px; }
  .kimi-stage-svg-wrap { width: 240px; height: 260px; }
  .hub-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-footer-inner { grid-template-columns: 1fr; }
  .hub-hero-actions { flex-direction: column; align-items: center; }
}

/* ──────────────────────────────────────────────
   NUEVOS ESTILOS V2 (Dropdown, Conectividad, Seguridad, FAQ & Casos)
   ────────────────────────────────────────────── */

/* 1. Navbar Dropdown */
.hub-nav-dropdown {
  position: relative;
  display: inline-block;
}

.hub-dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hub-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 12px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.hub-nav-dropdown:hover .hub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hub-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-align: left;
}

.hub-dropdown-item:hover {
  background: rgba(99, 91, 255, 0.1);
  color: var(--text-title);
}

.hub-dropdown-item .dd-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 2px;
}

.hub-dropdown-item .dd-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* 2. Conectividad Absoluta */
.hub-connectivity {
  padding: 80px 0;
  text-align: center;
}

.connectivity-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 40px auto 32px;
}

.logo-chip {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-chip:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--kuden-indigo);
  box-shadow: 0 10px 25px rgba(99, 91, 255, 0.2);
}

.logo-icon {
  font-size: 1.25rem;
}

.connectivity-footer-copy {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 3. Seguridad Bancaria */
.hub-security {
  padding: 80px 0;
  background: rgba(13, 16, 32, 0.25);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 48px auto 0;
}

.security-card {
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
  text-align: left;
}

.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sec-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 20px;
}

.security-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
  line-height: 1.4;
}

.security-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 4. Casos de Éxito */
.hub-cases {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 48px auto 0;
}

.case-card {
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.25);
}

.case-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 91, 255, 0.12);
  color: var(--electric-violet);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
}

.case-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-title);
  margin: 0;
}

.case-metric {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan-pulse);
  margin-top: auto;
  border-top: 1px dashed var(--glass-border);
  padding-top: 14px;
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* 5. FAQ Accordion */
.hub-faq {
  padding: 80px 0;
}

.faq-accordion {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 91, 255, 0.25);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
  color: var(--kuden-indigo);
}

.faq-question span {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   NUEVAS SECCIONES REFACTOR HOME v2
   ========================================================================== */

/* Hero Centered */
.hub-hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hub-hero-centered .hub-hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hub-hero-centered .hub-hero-actions {
  justify-content: center;
}

/* Social Proof Logos */
.hub-social-proof {
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
  border-bottom: 1px solid var(--nav-border);
  padding: 24px 0;
  text-align: center;
}
.sp-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.sp-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sp-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}
.sp-logo:hover {
  color: var(--text-title);
}
.sp-separator {
  color: var(--glass-border);
}

/* VIP Banner Academy */
.card-academy {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(180deg, var(--glass-bg) 0%, rgba(200, 100, 255, 0.03) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.card-academy:hover {
  transform: var(--card-hover-lift);
  border-color: rgba(200, 100, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 40px rgba(200, 100, 255, 0.15);
}
.card-academy .product-body {
  flex: 1;
}
.card-academy .product-screenshot-wrap {
  flex: 0 0 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}
.card-academy .macos-bar {
  border-bottom: 1px solid var(--glass-border);
}
.card-academy img {
  width: 100%;
  display: block;
}
.badge-academy {
  background: rgba(200, 100, 255, 0.15);
  color: #c864ff;
  border-color: rgba(200, 100, 255, 0.3);
}
.cta-academy {
  color: #c864ff;
}

/* Conoce a Kimi Section */
.hub-conoce-kimi {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.kimi-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kimi-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.kimi-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--cyan-pulse);
  font-size: 0.9rem;
}
.kimi-bullets li strong {
  color: var(--text-title);
  font-weight: 600;
}

/* Security Section */
.hub-security {
  padding: 80px 0;
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
  border-bottom: 1px solid var(--nav-border);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.sec-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: left;
  transition: transform 0.3s ease;
}
.sec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.3);
}
.sec-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}
.sec-card h3 {
  font-size: 1.1rem;
  color: var(--text-title);
  margin-bottom: 12px;
}
.sec-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .card-academy {
    flex-direction: column;
    padding: 24px;
  }
  .card-academy .product-screenshot-wrap {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ========================================================================== 
   ESTILOS MIGRADOS DESDE INDEX-V2.HTML
   Mantiene el HTML enfocado en estructura y contenido.
   ========================================================================== */

.home-inline-001 { background: none; border: none; padding: 0; color: inherit; font-size: inherit; font-weight: inherit; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.home-inline-002 { right: 0; left: auto; transform: translateY(10px); min-width: 140px; }
.home-inline-003 { padding: 12px 16px; }
.home-inline-004 { margin: 0; }
.home-inline-005 { text-transform: uppercase; }
.home-inline-006 { width:6px;height:6px;border-radius:50%;background:var(--cyan-pulse);display:inline-block;margin-right:4px; }
.home-inline-007 { margin-top: 24px; }
.home-inline-008 { display: inline-flex; }
.home-inline-009 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; color: var(--kuden-indigo); }
.home-inline-010 { margin: 0; font-size: 0.85rem; line-height: 1.4; color: var(--text-secondary); }
.home-inline-011 { margin-top: 6px; font-size: 0.7rem; opacity: 0.7; }
.home-inline-012 { text-align:center; margin-top:32px; max-width:800px; margin-left:auto; margin-right:auto; }
.home-inline-013 { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.home-inline-014 { text-align: center; }
.home-inline-015 { max-width: 800px; margin: 0 auto 32px; }
.home-inline-016 { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; text-align: left; }
.home-inline-017 { color: var(--text-title); font-size: 1.1rem; font-weight: 500; }
.home-inline-018 { font-size: 1rem; padding: 16px 36px; }
