/* ============================================
   ARKINNOVA - PREMIUM BIG-TECH DESIGN SYSTEM
   Inspired by: Snowflake, Linear, Stripe, Anthropic, Notion
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* Corporate Color Palette */
  --azul-profundo: #0A2A43;
  --azul-ia: #1E5EFF;
  --cian-inteligente: #00C6FF;
  --gris-elegante: #E6ECF2;
  --blanco-premium: #FFFFFF;
  
  /* Additional Shades */
  --gris-claro: #F7FAFC;
  --cian-suave: #E4F9FF;
  --azul-hover: #1652E0;
  --azul-dark: #0A1F33;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;
  --space-4xl: 160px;
  
  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows - Ultra Subtle */
  --shadow-xs: 0 1px 2px rgba(10, 42, 67, 0.03);
  --shadow-sm: 0 2px 4px rgba(10, 42, 67, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 42, 67, 0.06);
  --shadow-lg: 0 8px 24px rgba(10, 42, 67, 0.08);
  --shadow-xl: 0 16px 48px rgba(10, 42, 67, 0.12);
  --shadow-glow: 0 0 32px rgba(30, 94, 255, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--azul-profundo);
  background-color: var(--blanco-premium);
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--azul-profundo);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--azul-profundo);
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  padding: 0 var(--space-xl);
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(10, 42, 67, 0.1);
}

.nav-brand:hover {
  opacity: 0.8;
}

.brand-logo {
  width: 56px;
  height: 56px;
  transition: transform 0.3s ease;
}

/* Logo 3D del navbar - animaciones sutiles */
.navbar-logo-3d {
  animation: navbarLogoFloat 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes navbarLogoFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
  }
  50% { 
    transform: translateY(-1px) rotate(1deg);
  }
}

/* Hover en el logo del navbar */
.nav-brand:hover .brand-logo {
  transform: scale(1.1);
}

.nav-brand:hover .navbar-logo-3d {
  animation: navbarLogoHover 0.6s ease forwards;
}

@keyframes navbarLogoHover {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
  100% { transform: translateY(0) rotate(2deg); }
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--azul-profundo);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
  align-items: center;
  padding: 0 var(--space-xl);
  height: 100%;
  background: #002f4b;
  flex: 1;
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover {
  color: #00C6FF;
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-cta {
  background-color: var(--azul-ia);
  color: var(--blanco-premium);
  margin-left: var(--space-sm);
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--azul-hover);
  color: var(--blanco-premium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--azul-profundo);
  position: relative;
  transition: var(--transition-base);
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--azul-profundo);
  transition: var(--transition-base);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--azul-ia);
  color: var(--blanco-premium);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--azul-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--azul-profundo);
  border: 1.5px solid var(--gris-elegante);
}

.btn-ghost:hover {
  border-color: var(--azul-ia);
  color: var(--azul-ia);
  background-color: rgba(30, 94, 255, 0.04);
}

.btn-secondary {
  background-color: var(--blanco-premium);
  color: var(--azul-profundo);
  border: 1.5px solid var(--gris-elegante);
}

.btn-secondary:hover {
  border-color: var(--azul-ia);
  color: var(--azul-ia);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background-color: var(--blanco-premium);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.blueprint-lines {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.micro-hexagons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(30, 94, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 198, 255, 0.03) 0%, transparent 50%);
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-label {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(30, 94, 255, 0.08);
  color: var(--azul-ia);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.title-line {
  display: block;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line:nth-child(3) {
  animation-delay: 0.3s;
}

.title-highlight {
  background: linear-gradient(135deg, var(--azul-ia) 0%, var(--cian-inteligente) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero Visual - Native SVG Design */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-composition {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 700px;
  animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Main SVG */
.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Logo dentro del SVG - Se adapta automáticamente */
.hero-logo-svg {
  /* El foreignObject se escala automáticamente con el viewBox del SVG */
}

.hero-main-logo {
  animation: logoBreathSVG 6s ease-in-out infinite;
}

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

/* Logo fallback para Safari/iOS - Oculto por defecto */
.hero-logo-fallback {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  z-index: 10;
  pointer-events: none;
}

.hero-logo-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(30, 94, 255, 0.4));
  animation: logoBreathFallback 6s ease-in-out infinite;
}

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

/* Detectar Safari/iOS y mostrar fallback, ocultar foreignObject */
@supports (-webkit-touch-callout: none) {
  /* Esto solo aplica en Safari/iOS */
  .hero-logo-svg {
    display: none;
  }
  
  .hero-logo-fallback {
    display: block;
  }
}

/* Background glow circles - Multiple layers */
.bg-glow-circle {
  animation: glowPulse 8s ease-in-out infinite;
}

.glow-1 {
  animation-duration: 8s;
}

.glow-2 {
  animation-duration: 6s;
  animation-delay: 1s;
}

@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.3; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.08);
  }
}

/* Orbit rings - More dynamic */
.orbit-ring {
  animation: rotateRing linear infinite;
  transform-origin: 400px 350px;
}

.orbit-ring-1 {
  animation-duration: 70s;
}

.orbit-ring-2 {
  animation-duration: 100s;
  animation-direction: reverse;
}

.orbit-ring-3 {
  animation-duration: 130s;
}

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

/* Main hexagon group - Elegant slow breathing */
.main-hex-group {
  animation: hexBreathElegant 12s ease-in-out infinite;
  transform-origin: 400px 350px;
}

@keyframes hexBreathElegant {
  0%, 100% { 
    transform: translate(400px, 350px) scale(1); 
  }
  50% { 
    transform: translate(400px, 350px) scale(1.03); 
  }
}

/* Multi-layer hex glows */
.hex-glow-outer {
  animation: glowExpand 5s ease-in-out infinite;
}

.hex-glow-mid {
  animation: glowExpand 4s ease-in-out infinite 0.5s;
}

@keyframes glowExpand {
  0%, 100% { 
    opacity: 0.2; 
    transform: scale(1); 
  }
  50% { 
    opacity: 0.5; 
    transform: scale(1.12); 
  }
}

/* Main hex stroke animation */
.hex-main {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawHex 3s ease-out forwards, hexPulse 6s ease-in-out infinite 3s;
}

@keyframes drawHex {
  to { stroke-dashoffset: 0; }
}

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

/* ========== ELEGANT HEXAGON - SLOW & SMOOTH ========== */

/* Elegant main hexagon */
.hex-elegant {
  animation: drawHexSlow 4s ease-out forwards, hexElegantBreath 12s ease-in-out infinite 4s;
  transform-origin: center;
}

@keyframes drawHexSlow {
  to { stroke-dashoffset: 0; }
}

@keyframes hexElegantBreath {
  0%, 100% { 
    opacity: 1;
    stroke-width: 2.5;
  }
  50% { 
    opacity: 0.9;
    stroke-width: 3;
  }
}

/* Elegant soft shadow - subtle */
.hex-shadow-elegant {
  animation: elegantShadowPulse 15s ease-in-out infinite;
}

@keyframes elegantShadowPulse {
  0%, 100% { 
    opacity: 0.15;
  }
  50% { 
    opacity: 0.25;
  }
}

/* Elegant fill - gentle breathing */
.hex-elegant-fill {
  animation: elegantFillBreath 14s ease-in-out infinite;
}

@keyframes elegantFillBreath {
  0%, 100% { 
    opacity: 0.08;
  }
  50% { 
    opacity: 0.12;
  }
}

/* Elegant highlights - very subtle */
.hex-elegant-highlights {
  animation: elegantHighlightShimmer 10s ease-in-out infinite;
}

@keyframes elegantHighlightShimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.6; }
}

.hex-highlight-elegant {
  animation: elegantHighlightPulse 8s ease-in-out infinite;
}

@keyframes elegantHighlightPulse {
  0%, 100% { 
    opacity: 0.6;
  }
  50% { 
    opacity: 0.85;
  }
}

/* Inner hexagons - slow elegant rotation */
.hex-inner-elegant {
  animation: elegantInnerRotate 40s linear infinite, elegantInnerPulse 12s ease-in-out infinite;
  transform-origin: center;
}

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

@keyframes elegantInnerPulse {
  0%, 100% { 
    opacity: 0.25;
    stroke-width: 1.5;
  }
  50% { 
    opacity: 0.4;
    stroke-width: 1.8;
  }
}

.hex-innermost-elegant {
  animation: elegantInnermostRotate 30s linear infinite reverse, elegantInnermostPulse 10s ease-in-out infinite;
  transform-origin: center;
}

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

@keyframes elegantInnermostPulse {
  0%, 100% { 
    opacity: 0.2;
    stroke-width: 1;
  }
  50% { 
    opacity: 0.35;
    stroke-width: 1.3;
  }
}

/* Elegant hover - smooth and refined */
.hero-composition:hover .hex-elegant {
  stroke-width: 3.5;
  transition: all 0.8s ease;
}

.hero-composition:hover .hex-elegant-fill {
  opacity: 0.15;
  transition: all 0.8s ease;
}

.hero-composition:hover .hex-highlight-elegant {
  opacity: 1;
  transition: all 0.8s ease;
}

/* ========== LOGO ARQUITECTÓNICO GRANDE - MAIN HEXAGON ========== */

.main-logo-shadow {
  animation: mainLogoShadowPulse 15s ease-in-out infinite;
}

@keyframes mainLogoShadowPulse {
  0%, 100% { 
    opacity: 0.03;
  }
  50% { 
    opacity: 0.08;
  }
}

.main-logo-hexagon {
  animation: mainLogoHexBreath 12s ease-in-out infinite;
  transform-origin: center;
}

@keyframes mainLogoHexBreath {
  0%, 100% { 
    opacity: 0.95;
    stroke-width: 3;
  }
  50% { 
    opacity: 1;
    stroke-width: 3.5;
  }
}

.main-logo-architectural {
  animation: mainLogoArchPulse 10s ease-in-out infinite;
  transform-origin: center;
}

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

.main-chevron-face {
  animation: mainChevronFaceGlow 8s ease-in-out infinite;
}

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

.main-chevron-border {
  animation: mainChevronBorderShimmer 6s ease-in-out infinite;
}

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

.main-logo-vertical {
  animation: mainLogoVerticalPulse 5s ease-in-out infinite;
}

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

.main-logo-base {
  animation: mainLogoBasePulse 4s ease-in-out infinite;
}

@keyframes mainLogoBasePulse {
  0%, 100% { 
    opacity: 0.8;
  }
  50% { 
    opacity: 0.95;
  }
}



/* Main logo hover effects */
.hero-composition:hover .main-logo-hexagon {
  stroke-width: 4;
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(30, 94, 255, 0.6));
  transition: all 0.8s ease;
}

.hero-composition:hover .main-logo-architectural {
  transform: scale(2.85);
  transition: all 0.8s ease;
}

.hero-composition:hover .main-chevron-border {
  opacity: 1;
  filter: drop-shadow(0 0 3px currentColor);
  transition: all 0.8s ease;
}

.hero-composition:hover .main-logo-vertical {
  opacity: 1;
  transition: all 0.8s ease;
}

/* Inner network lines */
.net-line {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawLine 2s ease-out forwards;
}

.line-1 { animation-delay: 0.5s; }
.line-2 { animation-delay: 0.7s; }
.line-3 { animation-delay: 0.9s; }
.line-4 { animation-delay: 1.1s; }
.line-5 { animation-delay: 1.3s; }
.line-6 { animation-delay: 1.5s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Vertex nodes */
/* ========== ULTRA-INTERACTIVE VERTICES ========== */

.vertex-group {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertex-node {
  animation: vertexCorePulse 5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px currentColor);
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.4s; }
.node-3 { animation-delay: 0.8s; }
.node-4 { animation-delay: 1.2s; }
.node-5 { animation-delay: 1.6s; }
.node-6 { animation-delay: 2s; }

@keyframes vertexCorePulse {
  0%, 100% { 
    opacity: 1; 
    r: 5;
  }
  50% { 
    opacity: 0.8; 
    r: 6.5;
  }
}

/* Vertex rings - Slow elegant waves */
.node-ring-far {
  animation: vertexRingFar 8s ease-in-out infinite;
}

.node-ring-mid {
  animation: vertexRingMid 7s ease-in-out infinite;
}

.node-ring-near {
  animation: vertexRingNear 6s ease-in-out infinite;
}

@keyframes vertexRingFar {
  0%, 100% { 
    r: 18;
    opacity: 0.15;
    stroke-width: 1;
  }
  50% { 
    r: 22;
    opacity: 0.3;
    stroke-width: 0.5;
  }
}

@keyframes vertexRingMid {
  0%, 100% { 
    r: 14;
    opacity: 0.25;
    stroke-width: 1.5;
  }
  50% { 
    r: 17;
    opacity: 0.45;
    stroke-width: 1;
  }
}

@keyframes vertexRingNear {
  0%, 100% { 
    r: 10;
    opacity: 0.4;
    stroke-width: 2;
  }
  50% { 
    r: 12;
    opacity: 0.7;
    stroke-width: 2.5;
  }
}

/* Vertex glow background */
.vertex-node-glow {
  animation: vertexGlowPulse 4s ease-in-out infinite;
}

@keyframes vertexGlowPulse {
  0%, 100% { 
    r: 8;
    opacity: 0.2;
  }
  50% { 
    r: 10;
    opacity: 0.4;
  }
}

/* Vertex highlight dot */
.vertex-highlight {
  animation: vertexHighlightShine 3s ease-in-out infinite;
}

@keyframes vertexHighlightShine {
  0%, 100% { 
    opacity: 0.9;
    r: 2;
  }
  50% { 
    opacity: 1;
    r: 2.5;
  }
}

/* SPECTACULAR VERTEX HOVER */
.vertex-group:hover {
  transform: scale(1.4);
  filter: drop-shadow(0 0 20px currentColor);
}

.vertex-group:hover .vertex-node {
  animation: vertexHoverPulse 0.5s ease-in-out infinite;
  r: 7;
  filter: drop-shadow(0 0 15px currentColor);
}

@keyframes vertexHoverPulse {
  0%, 100% { r: 7; opacity: 1; }
  50% { r: 8; opacity: 0.9; }
}

.vertex-group:hover .node-ring-far {
  animation: vertexHoverRipple 1.2s ease-out infinite;
}

@keyframes vertexHoverRipple {
  0% { 
    r: 18;
    opacity: 0.5;
    stroke-width: 3;
  }
  100% { 
    r: 30;
    opacity: 0;
    stroke-width: 1;
  }
}

.vertex-group:hover .node-ring-mid {
  r: 16;
  opacity: 0.7;
  stroke-width: 3;
}

.vertex-group:hover .node-ring-near {
  r: 13;
  opacity: 0.9;
  stroke-width: 3.5;
}

.vertex-group:hover .vertex-node-glow {
  r: 12;
  opacity: 0.6;
  filter: blur(4px);
}

.vertex-group:hover .vertex-highlight {
  r: 3;
  opacity: 1;
  filter: drop-shadow(0 0 4px white);
}

/* Stagger vertex delays for wave effect */
.v-1 .vertex-node { animation-delay: 0s; }
.v-2 .vertex-node { animation-delay: 0.4s; }
.v-3 .vertex-node { animation-delay: 0.8s; }
.v-4 .vertex-node { animation-delay: 1.2s; }
.v-5 .vertex-node { animation-delay: 1.6s; }
.v-6 .vertex-node { animation-delay: 2s; }

.v-1 .node-ring-far { animation-delay: 0s; }
.v-2 .node-ring-far { animation-delay: 0.4s; }
.v-3 .node-ring-far { animation-delay: 0.8s; }
.v-4 .node-ring-far { animation-delay: 1.2s; }
.v-5 .node-ring-far { animation-delay: 1.6s; }
.v-6 .node-ring-far { animation-delay: 2s; }

/* Core center */
.core-center {
  animation: coreRotate 20s linear infinite;
}

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

.core-inner {
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { opacity: 1; r: 8; }
  50% { opacity: 0.6; r: 10; }
}

/* ========== BUSINESS SECTORS - VIVID ANIMATIONS ========== */

/* Sector nodes - Slow elegant breathing */
.sector-node {
  animation: sectorBreath 6s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-1 { animation-delay: 0s; }
.sector-2 { animation-delay: 0.5s; }
.sector-3 { animation-delay: 1s; }
.sector-4 { animation-delay: 1.5s; }
.sector-5 { animation-delay: 2s; }
.sector-6 { animation-delay: 2.5s; }

@keyframes sectorBreath {
  0%, 100% { 
    opacity: 0.95;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Sector rings - Slow elegant waves */
.sector-ring-outer {
  animation: sectorRingWave 8s ease-in-out infinite;
  transform-origin: center;
}

.sector-ring-mid {
  animation: sectorRingWave 7s ease-in-out infinite 0.5s;
  transform-origin: center;
}

.sector-ring-main {
  animation: sectorRingPulse 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes sectorRingWave {
  0%, 100% { 
    r: 28;
    opacity: 0.2;
    stroke-width: 2;
  }
  50% { 
    r: 32;
    opacity: 0.4;
    stroke-width: 1;
  }
}

@keyframes sectorRingPulse {
  0%, 100% { 
    r: 18;
    opacity: 0.6;
    stroke-width: 2.5;
  }
  50% { 
    r: 20;
    opacity: 1;
    stroke-width: 3;
  }
}

/* Sector icons - Slow elegant floating */
.sector-icon {
  animation: sectorIconFloat 5s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 4px currentColor);
}

@keyframes sectorIconFloat {
  0%, 100% { 
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  50% { 
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
  }
}

/* Sector connections - Slow elegant flow */
.sector-connection {
  animation: sectorEnergyFlow 8s ease-in-out infinite;
  filter: drop-shadow(0 0 2px currentColor);
}

@keyframes sectorEnergyFlow {
  0%, 100% { 
    stroke-dashoffset: 0; 
    opacity: 0.4;
    stroke-width: 2;
  }
  50% { 
    stroke-dashoffset: -60; 
    opacity: 0.8;
    stroke-width: 2.5;
  }
}

/* Sector labels - Slow elegant pulse */
.sector-label {
  animation: labelPulse 6s ease-in-out infinite;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.5px;
}

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

/* Sector hover effects - SPECTACULAR */
.sector-node:hover {
  animation: none;
  transform: scale(1.2) !important;
  filter: drop-shadow(0 0 20px currentColor);
}

.sector-node:hover .sector-ring-outer {
  r: 35;
  opacity: 0.6;
  stroke-width: 3;
  animation: sectorHoverRipple 1.5s ease-out infinite;
}

.sector-node:hover .sector-ring-mid {
  r: 26;
  opacity: 0.8;
  stroke-width: 2.5;
}

.sector-node:hover .sector-ring-main {
  r: 22;
  opacity: 1;
  stroke-width: 4;
  filter: drop-shadow(0 0 12px currentColor);
}

.sector-node:hover .sector-icon {
  transform: scale(1.3) rotate(360deg);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sector-node:hover .sector-connection {
  opacity: 1 !important;
  stroke-width: 3.5 !important;
  filter: drop-shadow(0 0 8px currentColor);
}

.sector-node:hover .sector-label {
  opacity: 1;
  font-weight: 700;
  transform: scale(1.1);
}

@keyframes sectorHoverRipple {
  0% { 
    r: 35;
    opacity: 0.6;
  }
  100% { 
    r: 45;
    opacity: 0;
  }
}

/* ========== ARKINNOVA LOGO OFICIAL 3D - CENTER ========== */

/* Logo oficial container - elegant breathing */
.arkinnova-logo-center-official {
  animation: officialLogoBreath 12s ease-in-out infinite;
  transform-origin: center;
}

@keyframes officialLogoBreath {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.06);
    opacity: 0.98;
  }
}

/* Glows de fondo - dual pulse */
.official-logo-glow-outer {
  animation: officialGlowOuter 10s ease-in-out infinite;
}

.official-logo-glow-inner {
  animation: officialGlowInner 8s ease-in-out infinite 1s;
}

@keyframes officialGlowOuter {
  0%, 100% { 
    opacity: 0.08;
    r: 55;
  }
  50% { 
    opacity: 0.18;
    r: 62;
  }
}

@keyframes officialGlowInner {
  0%, 100% { 
    opacity: 0.12;
    r: 42;
  }
  50% { 
    opacity: 0.22;
    r: 48;
  }
}

/* Logo 3D completo - subtle rotation */
.official-logo-3d {
  animation: officialLogo3DFloat 14s ease-in-out infinite;
  transform-origin: center;
}

@keyframes officialLogo3DFloat {
  0%, 100% { 
    transform: rotate(0deg) scale(1);
  }
  50% { 
    transform: rotate(2deg) scale(1.02);
  }
}

/* Caras 3D - subtle brightness pulse */
.face-top-3d {
  animation: faceTopPulse 6s ease-in-out infinite;
}

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

.face-right-3d {
  animation: faceRightPulse 6s ease-in-out infinite 0.5s;
}

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

.face-left-3d {
  animation: faceLeftPulse 6s ease-in-out infinite 1s;
}

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

/* Hexágono blanco interno - subtle pulse */
.hex-white-inner {
  animation: hexWhitePulse 8s ease-in-out infinite;
}

@keyframes hexWhitePulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.98;
    transform: scale(1.03);
  }
}

/* Chevron - elegant shimmer */
.chevron-line {
  animation: chevronShimmer 5s ease-in-out infinite;
}

@keyframes chevronShimmer {
  0%, 100% { 
    opacity: 1;
    stroke-width: 2.5;
  }
  50% { 
    opacity: 0.85;
    stroke-width: 3;
  }
}

/* ========== HOVER EFFECTS - SPECTACULAR ========== */

.arkinnova-logo-center-official:hover {
  animation: officialLogoHoverScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  filter: drop-shadow(0 0 30px rgba(0, 176, 240, 0.8));
  cursor: pointer;
}

@keyframes officialLogoHoverScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1.18); }
}

.arkinnova-logo-center-official:hover .official-logo-glow-outer {
  r: 70;
  opacity: 0.35;
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .official-logo-glow-inner {
  r: 55;
  opacity: 0.4;
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .official-logo-3d {
  transform: rotate(5deg) scale(1.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.arkinnova-logo-center-official:hover .face-top-3d {
  opacity: 1;
  filter: brightness(1.15);
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .face-right-3d {
  opacity: 1;
  filter: brightness(1.1);
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .face-left-3d {
  opacity: 1;
  filter: brightness(1.05);
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .hex-white-inner {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .chevron-line {
  stroke-width: 3.5;
  opacity: 1;
  filter: drop-shadow(0 0 6px #002f4b);
  transition: all 0.8s ease;
}

.arkinnova-logo-center-official:hover .hex-3d-border {
  stroke-width: 2.5;
  stroke: #00b0f0;
  transition: all 0.8s ease;
}

/* Floating hexagons removed - Focus on 3D main hexagon */

/* Connection web - Interactive lines */
.web-line {
  stroke-dasharray: 20 10;
  animation: webPulse 8s ease-in-out infinite;
}

.w-1 { animation-delay: 0s; }
.w-2 { animation-delay: 1.3s; }
.w-3 { animation-delay: 2.6s; }
.w-4 { animation-delay: 3.9s; }
.w-5 { animation-delay: 5.2s; }
.w-6 { animation-delay: 6.5s; }

@keyframes webPulse {
  0%, 100% { 
    opacity: 0.1; 
    stroke-dashoffset: 0;
  }
  50% { 
    opacity: 0.4; 
    stroke-dashoffset: -60;
  }
}

/* Decorative overlay dots */
.deco-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.deco-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E5EFF, #00C6FF);
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.6);
  animation: dotFloat 5s ease-in-out infinite;
}

.dot-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.dot-2 {
  top: 70%;
  right: 15%;
  animation-delay: 1.5s;
}

.dot-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

@keyframes dotFloat {
  0%, 100% { 
    transform: translateY(0);
    opacity: 0.4;
  }
  50% { 
    transform: translateY(-30px);
    opacity: 1;
  }
}

/* Hover effects */
.hero-composition:hover .hex-main {
  stroke-width: 3;
  filter: url(#softGlow);
}

.hero-composition:hover .vertex-node {
  animation-duration: 1.5s;
}

.hero-composition:hover .core-inner {
  animation-duration: 1s;
}

/* Fallback diagram */
.arkinnova-flow-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
}

.flow-diagram {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 32px rgba(30, 94, 255, 0.12));
}

/* Background Glow Animation */
.bg-glow {
  animation: bgGlowPulse 6s ease-in-out infinite;
}

@keyframes bgGlowPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

/* Flow Steps - Fade In Sequence */
.flow-step {
  animation: fadeInStep 0.8s ease-out backwards;
}

.step-1 { animation-delay: 0.2s; }
.step-2 { animation-delay: 0.6s; }
.step-3 { animation-delay: 1s; }
.step-4 { animation-delay: 1.4s; }

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AmplIA Central Hexagon Pulse */
.amplia-hex {
  animation: ampliaHexPulse 3s ease-in-out infinite;
}

@keyframes ampliaHexPulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.9; 
    transform: scale(1.02);
  }
}

/* Orbiting Particles around AmplIA */
.orbit-particle {
  animation: orbitPulse 2s ease-in-out infinite;
}

.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 0.5s; }
.particle-3 { animation-delay: 1s; }
.particle-4 { animation-delay: 1.5s; }

@keyframes orbitPulse {
  0%, 100% { opacity: 1; r: 5; }
  50% { opacity: 0.4; r: 7; }
}

/* Ecosystem Nodes Scale In */
.ecosystem-node {
  animation: scaleInNode 0.6s ease-out backwards;
}

.eco-1 { animation-delay: 1.2s; }
.eco-2 { animation-delay: 1.4s; }
.eco-3 { animation-delay: 1.6s; }
.eco-4 { animation-delay: 1.8s; }

@keyframes scaleInNode {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animated Dashed Lines */
.animated-dash {
  stroke-dasharray: 10, 5;
  animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -15;
  }
}

/* Result Arrow Pulse */
.result-arrow {
  animation: resultArrowPulse 2s ease-in-out infinite;
}

@keyframes resultArrowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; stroke-width: 4; }
}

/* Floating Data Particles */
.data-particle {
  animation: floatParticle 4s ease-in-out infinite;
}

.p-1 { animation-delay: 0s; animation-duration: 3s; }
.p-2 { animation-delay: 0.8s; animation-duration: 4s; }
.p-3 { animation-delay: 1.2s; animation-duration: 3.5s; }
.p-4 { animation-delay: 1.8s; animation-duration: 4.2s; }

@keyframes floatParticle {
  0%, 100% { 
    opacity: 0.3; 
    transform: translateY(0) translateX(0); 
  }
  25% { 
    opacity: 0.7; 
    transform: translateY(-15px) translateX(10px); 
  }
  50% { 
    opacity: 0.4; 
    transform: translateY(-8px) translateX(-8px); 
  }
  75% { 
    opacity: 0.6; 
    transform: translateY(12px) translateX(5px); 
  }
}

/* Process Labels Fade In */
.process-labels {
  animation: fadeIn 1s ease-out 2s backwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hover Effect on Entire Diagram */
.arkinnova-flow-diagram:hover .amplia-hex {
  animation: ampliaHexPulse 1.5s ease-in-out infinite;
}

.arkinnova-flow-diagram:hover .orbit-particle {
  animation: orbitPulse 1s ease-in-out infinite;
}

.arkinnova-flow-diagram:hover .data-particle {
  animation-duration: 2s;
}

/* ========== SECTION BASE ========== */
section {
  padding: var(--space-4xl) 0;
  position: relative;
  border-bottom: 1px solid var(--gris-elegante);
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--azul-ia);
  margin-bottom: var(--space-sm);
}

.section-label.light {
  color: var(--cian-inteligente);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background-color: var(--gris-claro);
  padding-top: var(--space-2xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.about-content {
  width: 100%;
  padding-right: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about-text p strong {
  font-weight: 600;
  color: var(--azul-ia);
}

.about-visual-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  margin-top: 0;
  padding-top: 100px;
}

.about-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  width: 100%;
  max-width: 420px;
}

.stat-item {
  text-align: center;
  padding: var(--space-sm) var(--space-xs);
  background-color: var(--blanco-premium);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gris-elegante);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--azul-ia) 0%, var(--cian-inteligente) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--azul-profundo);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Logo oficial Arkinnova PNG en About section */
.arkinnova-official-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(10, 42, 67, 0.12));
  animation: aboutLogoBreath 10s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.arkinnova-official-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 16px 40px rgba(10, 42, 67, 0.18));
}

/* Logo completo Arkinnova (hexágono + texto) en About section */
.arkinnova-complete-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(10, 42, 67, 0.12));
  animation: aboutLogoBreath 10s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.arkinnova-complete-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 16px 40px rgba(10, 42, 67, 0.18));
}

/* Breathing animation para logo PNG */
@keyframes aboutLogoBreath {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.03);
  }
}

/* ========== ECOSYSTEMS SECTION ========== */
.ecosystems-section {
  background-color: var(--gris-claro);
  padding-top: var(--space-2xl);
}

.amplia-central {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(30, 94, 255, 0.04) 0%, rgba(0, 198, 255, 0.04) 100%);
  border: 2px solid var(--azul-ia);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.amplia-central::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.08) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.amplia-content {
  position: relative;
  z-index: 2;
}

.amplia-logo-container {
  margin: 0 auto var(--space-xs);
  display: flex;
  justify-content: center;
  align-items: center;
}

.amplia-logo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(30, 94, 255, 0.2));
  transition: transform 0.3s ease;
}

.amplia-logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 32px rgba(30, 94, 255, 0.3));
}

.amplia-description {
  font-size: 1.125rem;
  opacity: 0.85;
  margin: 0;
}

.ecosystems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.ecosystem-card {
  background-color: var(--blanco-premium);
  border: 1px solid var(--gris-elegante);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--azul-ia), var(--cian-inteligente));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--azul-ia);
}

.ecosystem-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  margin-bottom: var(--space-md);
  width: 48px;
  height: 48px;
}

.card-title {
  margin-bottom: var(--space-sm);
  color: var(--azul-profundo);
  font-size: 1.375rem;
}

.card-description {
  margin-bottom: var(--space-md);
  opacity: 0.8;
  line-height: 1.7;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.card-features li {
  font-size: 0.9375rem;
  color: var(--azul-profundo);
  opacity: 0.7;
  padding-left: 20px;
  position: relative;
}

.card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--azul-ia);
  font-weight: 600;
}

.card-footer {
  margin-top: var(--space-md);
  font-size: 0.9375rem;
  color: var(--azul-profundo);
}

/* ========== VALUE PROPOSITION SECTION ========== */
.value-section {
  background-color: var(--azul-profundo);
  color: var(--blanco-premium);
  position: relative;
  overflow: hidden;
}

.value-section .section-title,
.value-section .section-description {
  color: var(--blanco-premium);
}

.value-section .section-header {
  max-width: 1200px;
}

.value-section .section-description {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.value-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.value-section .section-container {
  position: relative;
  z-index: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--cian-inteligente);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 198, 255, 0.2);
}

.value-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cian-inteligente);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.value-icon {
  margin-bottom: var(--space-md);
}

.value-title {
  color: var(--blanco-premium);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.value-description {
  color: var(--blanco-premium);
  opacity: 0.85;
  line-height: 1.7;
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
  background-color: var(--blanco-premium);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.benefit-card {
  background-color: var(--blanco-premium);
  border: 1px solid var(--gris-elegante);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--azul-ia);
}

.benefit-icon {
  margin-bottom: var(--space-md);
  width: 48px;
  height: 48px;
}

.benefit-title {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.benefit-description {
  opacity: 0.8;
  line-height: 1.7;
}

/* ========== SEGMENTS SECTION ========== */
.segments-section {
  background-color: var(--cian-suave);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.segment-card {
  background-color: var(--blanco-premium);
  border: 1px solid rgba(30, 94, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--azul-ia);
}

.segment-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
}

.segment-title {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
  font-weight: 600;
}

.segment-description {
  font-size: 0.9375rem;
  opacity: 0.75;
}

/* ========== STORY SECTION ========== */
.story-section {
  background-color: var(--blanco-premium);
  position: relative;
  overflow: hidden;
}

.story-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.giant-hex {
  width: 600px;
  height: 600px;
  opacity: 0.5;
}

.story-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
}

.story-content {
  text-align: center;
}

.story-text {
  margin-top: var(--space-xl);
}

.story-paragraph {
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
  line-height: 1.9;
}

.story-paragraph.highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--azul-ia);
  padding: var(--space-lg);
  background-color: rgba(30, 94, 255, 0.04);
  border-left: 4px solid var(--azul-ia);
  border-radius: var(--radius-md);
  margin-top: var(--space-xl);
}

/* ========== MANIFESTO SECTION ========== */
.manifesto-section {
  background-color: var(--azul-profundo);
  color: var(--blanco-premium);
}

.manifesto-section .section-title,
.manifesto-section .section-description {
  color: var(--blanco-premium);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.manifesto-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.manifesto-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--cian-inteligente);
  transform: translateX(8px);
}

.manifesto-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cian-inteligente);
  min-width: 60px;
  opacity: 0.8;
}

.manifesto-title {
  color: var(--blanco-premium);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.manifesto-text {
  color: var(--blanco-premium);
  opacity: 0.8;
  line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background-color: var(--blanco-premium);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.cta-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.cta-hex {
  width: 800px;
  height: 800px;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--azul-ia);
  margin-bottom: var(--space-sm);
}

.cta-title {
  margin-bottom: var(--space-md);
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-description {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.cta-trust {
  margin-top: var(--space-xl);
}

.trust-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  opacity: 0.7;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--azul-profundo);
  color: var(--blanco-premium);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blanco-premium);
}

.footer-tagline {
  font-size: 0.9375rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 350px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco-premium);
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: var(--cian-inteligente);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blanco-premium);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--blanco-premium);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--cian-inteligente);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  color: var(--blanco-premium);
  opacity: 0.6;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--cian-inteligente);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --space-xl: 48px;
    --space-2xl: 72px;
    --space-3xl: 96px;
    --space-4xl: 120px;
  }
  
  .nav-container {
    padding: 0 var(--space-lg);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-composition {
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Logo fallback en tablets */
  .hero-logo-fallback {
    width: 180px;
    height: 180px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 56px;
    --space-3xl: 72px;
    --space-4xl: 96px;
  }
  
  .navbar {
    height: 70px;
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #002f4b;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    align-items: stretch;
    z-index: 900;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    padding: var(--space-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent;
  }
  
  .nav-link:hover {
    color: #00C6FF !important;
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .nav-cta {
    margin-left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  section {
    padding: var(--space-3xl) 0;
  }
  
  .section-container {
    padding: 0 var(--space-md);
  }
  
  .hero-section {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
  
  .hero-composition {
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Logo fallback en mobile */
  .hero-logo-fallback {
    width: 150px;
    height: 150px;
  }
  
  .arkinnova-flow-diagram {
    max-width: 100%;
    height: 400px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .ecosystems-grid,
  .value-grid,
  .benefits-grid,
  .segments-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.125rem;
  }
  
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  
  .hero-composition {
    max-width: 100%;
    height: 400px;
  }
  
  /* Logo fallback en mobile pequeño */
  .hero-logo-fallback {
    width: 130px;
    height: 130px;
  }
  
  .deco-dot {
    width: 3px;
    height: 3px;
  }
  
  .arkinnova-flow-diagram {
    max-width: 100%;
    height: 350px;
  }
  
  .flow-diagram .process-labels text {
    font-size: 10px;
  }
  
  .amplia-central {
    padding: var(--space-lg);
  }
  
  .cta-hex,
  .giant-hex {
    width: 400px;
    height: 400px;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  .navbar,
  .menu-toggle,
  .footer-social,
  .btn {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
  outline: 2px solid var(--azul-ia);
  outline-offset: 4px;
  border-radius: var(--radius-xs);
}

/* ========== MODAL DE CONTACTO ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 42, 67, 0.9);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--blanco-premium);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(10, 42, 67, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--azul-profundo);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  transform: rotate(90deg);
  background-color: var(--gris-elegante);
  color: var(--azul-ia);
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: var(--space-xs);
}

.modal-description {
  color: var(--azul-profundo);
  opacity: 0.7;
  margin-bottom: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
  color: var(--azul-profundo);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--gris-elegante);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--blanco-premium);
  color: var(--azul-profundo);
  width: 100%;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230A2A43' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--azul-ia);
  box-shadow: 0 0 0 4px rgba(30, 94, 255, 0.1);
}

.form-group input::placeholder {
  color: var(--azul-profundo);
  opacity: 0.4;
}

.form-group select option {
  padding: 10px;
}

.form-actions {
  margin-top: var(--space-md);
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(0, 198, 255, 0.1);
  color: var(--cian-inteligente);
  border: 2px solid var(--cian-inteligente);
}

.form-message.error {
  display: block;
  background-color: rgba(255, 0, 0, 0.1);
  color: #e53e3e;
  border: 2px solid #e53e3e;
}

/* Responsive: Single column on mobile */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    max-width: 500px;
  }
}
