/* ========================================
   FTL TRACE TX - Clean SaaS Animated
   ======================================== */

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

:root {
  /* FTL TRACE Design System - Colores Oficiales */
  --primary: #2C5F5E;        /* Teal oscuro - headings, botones principales */
  --accent: #6AA84F;         /* Verde - CTAs, success states, hover */
  --highlight: #E5EEDD;      /* Verde claro - fondos destacados */
  --secondary: #4A4A4A;      /* Gris oscuro - texto secundario */
  --warning: #F39C12;        /* Naranja - advertencias, atención */
  
  /* Extended Colors - Ecosistema */
  --blue: #3498DB;
  --blue-light: #5DADE2;
  --blue-dark: #2874A6;
  
  --purple: #9B59B6;
  --purple-light: #BB8FCE;
  --purple-dark: #7D3C98;
  
  --yellow: #F1C40F;
  --yellow-light: #F4D03F;
  --yellow-dark: #D4AC0D;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  
  /* Semantic Aliases */
  --bg-white: var(--white);
  --bg-light: var(--gray-50);
  --bg-lighter: var(--gray-100);
  
  --text-dark: var(--gray-700);
  --text-medium: var(--gray-600);
  --text-light: var(--gray-500);
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 32px rgba(0,0,0,0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

/* ========================================
   GLASSMORPHISM
   ======================================== */

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-light);
  padding: 0.375rem;
  border-radius: 12px;
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.lang-btn.active {
  background: white;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  background: rgba(255,255,255,0.6);
}

.btn-login {
  background: linear-gradient(135deg, var(--accent), var(--accent));
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(106, 168, 79, 0.25);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(106, 168, 79, 0.35);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, #f8fafb 0%, #e8f5e9 50%, #f0f4f7 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  top: -100px;
  left: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  bottom: -50px;
  right: 10%;
  animation-delay: 7s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  top: 50%;
  right: -50px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(5deg); }
  50% { transform: translate(-20px, 20px) rotate(-5deg); }
  75% { transform: translate(40px, 10px) rotate(3deg); }
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(106, 168, 79, 0.2);
  box-shadow: 0 4px 16px rgba(106, 168, 79, 0.15);
  color: var(--accent);
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent), var(--highlight));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}

.pill:hover::before {
  left: 100%;
}

.pill-green {
  background: rgba(106, 168, 79, 0.1);
  color: var(--primary);
  border-color: var(--accent);
}

.pill-teal {
  background: rgba(106, 168, 79, 0.1);
  color: var(--primary);
  border-color: var(--accent);
}

.pill-lime {
  background: rgba(106, 168, 79, 0.1);
  color: var(--primary);
  border-color: var(--accent);
}

.pill-emerald {
  background: rgba(229, 238, 221, 0.1);
  color: var(--primary);
  border-color: var(--highlight);
}

.pill-forest {
  background: rgba(44, 95, 94, 0.1);
  color: var(--primary);
  border-color: var(--primary);
}

.pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent));
  color: white;
  box-shadow: 0 6px 20px rgba(106, 168, 79, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(106, 168, 79, 0.4);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: glow-sweep 3s infinite;
}

@keyframes glow-sweep {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: rgba(106, 168, 79, 0.1);
  transform: translateY(-3px);
}

.btn-white {
  background: white;
  color: var(--accent);
}

.btn-white:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
}

/* ========================================
   STATS BENTO GRID
   ======================================== */

.stats-bento {
  background: var(--bg-light);
  padding: 4rem 2rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  padding: 3rem 2.5rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-icon-large {
  margin-bottom: 2rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 3s infinite;
}

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

.icon-green {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.icon-teal {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.icon-lime {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.card-stat {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.card-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
}

/* ========================================
   ORBITAL DIAGRAM
   ======================================== */

.orbital-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-lighter) 100%);
  padding: 6rem 2rem;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

.orbital-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.orbital-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 700px;
  margin: 0 auto;
}

.orbital-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  backdrop-filter: blur(20px);
  border: 3px solid rgba(106, 168, 79, 0.3);
  box-shadow: 0 8px 32px rgba(106, 168, 79, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
  animation: center-pulse 4s infinite;
}

@keyframes center-pulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(106, 168, 79, 0.2);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 8px 48px rgba(106, 168, 79, 0.35);
    transform: translate(-50%, -50%) scale(1.02);
  }
}

.orbital-logo {
  width: 140px;
  height: auto;
}

.center-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.orbital-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
}

.orbital-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  margin: -350px 0 0 -350px;
  border: 2px dashed rgba(106, 168, 79, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.node-1::before { opacity: 1; }
.node-2::before, .node-3::before, .node-4::before,
.node-5::before, .node-6::before, .node-7::before, .node-8::before { opacity: 0; }

/* Distribución inicial de cada nodo */
.node-1 {
  transform: rotate(0deg) translateX(350px) rotate(0deg);
  animation: orbit-1 40s linear infinite;
}

.node-2 {
  transform: rotate(45deg) translateX(350px) rotate(-45deg);
  animation: orbit-2 40s linear infinite;
}

.node-3 {
  transform: rotate(90deg) translateX(350px) rotate(-90deg);
  animation: orbit-3 40s linear infinite;
}

.node-4 {
  transform: rotate(135deg) translateX(350px) rotate(-135deg);
  animation: orbit-4 40s linear infinite;
}

.node-5 {
  transform: rotate(180deg) translateX(350px) rotate(-180deg);
  animation: orbit-5 40s linear infinite;
}

.node-6 {
  transform: rotate(225deg) translateX(350px) rotate(-225deg);
  animation: orbit-6 40s linear infinite;
}

.node-7 {
  transform: rotate(270deg) translateX(350px) rotate(-270deg);
  animation: orbit-7 40s linear infinite;
}

.node-8 {
  transform: rotate(315deg) translateX(350px) rotate(-315deg);
  animation: orbit-8 40s linear infinite;
}

@keyframes orbit-1 {
  from { transform: rotate(0deg) translateX(350px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(350px) rotate(-360deg); }
}

@keyframes orbit-2 {
  from { transform: rotate(45deg) translateX(350px) rotate(-45deg); }
  to { transform: rotate(405deg) translateX(350px) rotate(-405deg); }
}

@keyframes orbit-3 {
  from { transform: rotate(90deg) translateX(350px) rotate(-90deg); }
  to { transform: rotate(450deg) translateX(350px) rotate(-450deg); }
}

@keyframes orbit-4 {
  from { transform: rotate(135deg) translateX(350px) rotate(-135deg); }
  to { transform: rotate(495deg) translateX(350px) rotate(-495deg); }
}

@keyframes orbit-5 {
  from { transform: rotate(180deg) translateX(350px) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(350px) rotate(-540deg); }
}

@keyframes orbit-6 {
  from { transform: rotate(225deg) translateX(350px) rotate(-225deg); }
  to { transform: rotate(585deg) translateX(350px) rotate(-585deg); }
}

@keyframes orbit-7 {
  from { transform: rotate(270deg) translateX(350px) rotate(-270deg); }
  to { transform: rotate(630deg) translateX(350px) rotate(-630deg); }
}

@keyframes orbit-8 {
  from { transform: rotate(315deg) translateX(350px) rotate(-315deg); }
  to { transform: rotate(675deg) translateX(350px) rotate(-675deg); }
}

.orbital-node .node-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(106, 168, 79, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.orbital-node:hover .node-icon {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(106, 168, 79, 0.25);
  border-color: var(--accent);
}

/* ========================================
   ORBITAL NODE COLORS (Design System)
   ======================================== */

/* Node 1: Manufactureros - TEAL (Primary) */
.node-manufacturer {
  --node-color: var(--primary);
  --node-color-light: #3A7A78;
  --node-color-dark: #1F4948;
}

.node-manufacturer .node-shape { fill: var(--node-color); }
.node-manufacturer .node-detail { stroke: var(--node-color-dark); fill: var(--node-color-dark); }

/* Node 2: Proveedores Tela - PURPLE */
.node-fabric {
  --node-color: var(--purple);
  --node-color-light: var(--purple-light);
  --node-color-dark: var(--purple-dark);
}

.node-fabric .node-shape { fill: var(--node-color); }
.node-fabric .node-shape-light { fill: var(--node-color-light); }
.node-fabric .node-detail { fill: var(--node-color-dark); }
.node-fabric .node-detail-light { fill: var(--node-color); }
.node-fabric .node-smoke { fill: var(--node-color-light); }

/* Node 3: Proveedores Fibra - GREEN (Accent) */
.node-fiber {
  --node-color: var(--accent);
  --node-color-light: #85C76A;
  --node-color-dark: #4A8C3A;
}

.node-fiber .node-shape { fill: var(--node-color); stroke: var(--node-color); }
.node-fiber .node-shape-light { fill: var(--node-color-light); }
.node-fiber .node-detail { stroke: var(--node-color-dark); }

/* Node 4: Avíos - ORANGE (Warning) */
.node-trims {
  --node-color: var(--warning);
  --node-color-light: #F8C471;
  --node-color-dark: #D68910;
}

.node-trims .node-shape { fill: var(--node-color); }
.node-trims .node-shape-light { fill: var(--node-color-light); }
.node-trims .node-detail { fill: var(--node-color-dark); }
.node-trims .node-detail-light { fill: #E67E22; }

/* Node 5: Marcas UE - BLUE */
.node-brands {
  --node-color: var(--blue);
  --node-color-light: var(--blue-light);
  --node-color-dark: var(--blue-dark);
}

.node-brands .node-shape { fill: var(--node-color); }
.node-brands .node-shape-light { fill: #AED6F1; }
.node-brands .node-detail { fill: var(--node-color-dark); }

/* Node 6: Auditores - GREEN (Success) */
.node-auditors {
  --node-color: var(--accent);
  --node-color-light: #85C76A;
  --node-color-dark: #4A8C3A;
}

.node-auditors .node-shape { fill: var(--node-color); }
.node-auditors .node-detail { stroke: var(--node-color-dark); }

/* Node 7: Logística - GRAY (Secondary) */
.node-logistics {
  --node-color: var(--secondary);
  --node-color-light: #95A5A6;
  --node-color-dark: #34495E;
  --node-accent: var(--primary);
}

.node-logistics .node-shape { fill: var(--node-color); }
.node-logistics .node-shape-light { fill: var(--node-color-light); }
.node-logistics .node-detail { fill: var(--node-color); }
.node-logistics .node-wheel { fill: var(--node-color-dark); }
.node-logistics .node-wheel-inner { fill: #7F8C8D; }
.node-logistics .node-accent { fill: var(--node-accent); }

/* Node 8: Brokers - ORANGE (Warning) */
.node-brokers {
  --node-color: var(--warning);
  --node-color-light: #F8C471;
  --node-color-dark: #D68910;
}

.node-brokers .node-shape { fill: var(--node-color); }
.node-brokers .node-shape-light { fill: var(--node-color-light); }
.node-brokers .node-detail { fill: #E67E22; }
.node-brokers .node-detail-dark { fill: var(--node-color-dark); }
.node-brokers .node-trend { stroke: var(--node-color-dark); }
.node-brokers .node-dot { fill: #F5B041; }

/* ========================================
   END ORBITAL NODE COLORS
   ======================================== */


.node-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  background: rgba(255,255,255,0.9);
  padding: 0.375rem 0.875rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.orbital-badge {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(106, 168, 79, 0.3);
  animation: badge-float 3s infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   VALUE BENTO GRID
   ======================================== */

.value-section {
  background: var(--bg-white);
  padding: 6rem 2rem;
}

.value-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.value-card {
  padding: 2.5rem 2rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Bento Grid - Tamaños variados */
.value-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.value-card:nth-child(2) {
  grid-column: span 5;
}

.value-card:nth-child(3) {
  grid-column: span 5;
}

.value-card:nth-child(4) {
  grid-column: span 4;
}

.value-card:nth-child(5) {
  grid-column: span 4;
}

.value-card:nth-child(6) {
  grid-column: span 4;
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.05), rgba(106, 168, 79, 0.05));
  border: 2px solid rgba(106, 168, 79, 0.2);
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .value-bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .value-card:nth-child(1) {
    grid-column: span 6;
    grid-row: span 1;
  }
  
  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    grid-column: span 3;
  }
  
  .value-card:nth-child(4),
  .value-card:nth-child(5),
  .value-card:nth-child(6) {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .value-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .value-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.value-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.icon-gradient-green {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.icon-gradient-teal {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.icon-gradient-lime {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.icon-gradient-emerald {
  background: linear-gradient(135deg, rgba(229, 238, 221, 0.15), rgba(229, 238, 221, 0.25));
  color: var(--highlight);
}

.icon-gradient-forest {
  background: linear-gradient(135deg, rgba(44, 95, 94, 0.15), rgba(44, 95, 94, 0.25));
  color: var(--primary);
}

.icon-gradient-cyan {
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* ========================================
   ANIMATED STATS
   ======================================== */

.animated-stats {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.stats-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.4s;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(106, 168, 79, 0.15);
}

.stat-number {
  font-size: clamp(3.5rem, 8vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-number .unit {
  font-size: 0.4em;
  font-weight: 700;
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stat-sublabel {
  font-size: 0.95rem;
  color: var(--text-medium);
}

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
  background: linear-gradient(135deg, var(--accent), var(--accent), var(--highlight));
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-logo {
  width: 200px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

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

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.animate-slide-in {
  opacity: 0;
  transform: translateX(-50px);
}

.animate-slide-in.visible {
  animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
}

.animate-scale-in.visible {
  animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-stat {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.animate-stat.visible {
  animation: statAppear 0.6s ease forwards;
}

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

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .hero-pills {
    gap: 0.75rem;
  }
  
  .bento-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .orbital-diagram {
    max-width: 400px;
  }
  
  .orbital-node {
    animation-duration: 30s;
  }
  
  .orbital-node .node-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .orbital-center {
    width: 140px;
    height: 140px;
  }
  
  .orbital-logo {
    width: 100px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   LOGIN PAGE
   ======================================== */

.login-container {
  min-height: 100vh;
  display: flex;
  background: var(--bg-light);
}

.login-left {
  flex: 0 0 40%;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.login-branding {
  position: relative;
  z-index: 1;
  text-align: center;
}

.login-logo {
  max-width: 280px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.login-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.login-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.login-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.login-badges .badge-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.login-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.login-header {
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--text-medium);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106, 168, 79, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-wrapper label {
  color: var(--text-medium);
  cursor: pointer;
}

.forgot-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn-login {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 20px rgba(106, 168, 79, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(106, 168, 79, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

.divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.divider span {
  padding: 0 1rem;
}

.help-text {
  text-align: center;
  color: var(--text-medium);
  font-size: 0.875rem;
  margin-top: 2rem;
}

.help-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.help-text a:hover {
  text-decoration: underline;
}

.login-page .lang-switcher {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 10;
}

.login-page .lang-btn {
  padding: 0.5rem 1rem;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.login-page .lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.login-page .lang-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.error-message {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: none;
}

.error-message.show {
  display: block;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Login Responsive */
@media (max-width: 968px) {
  .login-container {
    flex-direction: column;
  }

  .login-left {
    flex: 0 0 auto;
    padding: 3rem 2rem;
  }

  .login-right {
    padding: 3rem 2rem;
  }

  .login-page .lang-switcher {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 640px) {
  .login-left {
    padding: 2rem 1.5rem;
  }

  .login-right {
    padding: 2rem 1.5rem;
  }

  .login-logo {
    max-width: 200px;
  }

  .login-tagline {
    font-size: 1.25rem;
  }

  .login-header h1 {
    font-size: 1.5rem;
  }
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.contact-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(106, 168, 79, 0.15), rgba(106, 168, 79, 0.25));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-badges .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(106, 168, 79, 0.1);
  color: var(--primary);
  border: 2px solid var(--accent);
  transition: all 0.3s;
}

.contact-badges .badge-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(106, 168, 79, 0.2);
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Inter', sans-serif;
}

.form-checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.form-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.form-link:hover {
  text-decoration: underline;
}

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

.form-message {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}

.form-message.show {
  display: block;
  animation: slideIn 0.3s ease;
}

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

select.form-input {
  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 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
  cursor: pointer;
}

/* Contact Responsive */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 4rem 1.5rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-badges {
    flex-direction: column;
  }
}

/* ========================================
   VIDEO MODAL
   ======================================== */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  animation: modal-slide-in 0.4s;
}

@keyframes modal-slide-in {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 10001;
}

.video-close:hover {
  transform: scale(1.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }
  
  .video-close {
    top: -35px;
    font-size: 32px;
  }
}
