/* === CSS VARIABLES (Adaptadas a Satarg Explorer) === */
:root {
  --color-bg:           #030508; /* Espacio profundo ultra oscuro */
  --color-bg-light:     #0a0f16;
  --color-bg-dark:      #010204;
  --color-accent:       #38bdf8; /* Azul/Cian eléctrico más vibrante y moderno */
  --color-accent-light: #7dd3fc;
  --color-accent-dark:  #0ea5e9;
  --color-accent-purple:#a855f7; /* Púrpura de apoyo para gradientes */
  --color-accent-glow:  rgba(56, 189, 248, 0.3);
  --color-charcoal:     #0f172a;
  --color-charcoal-light: #1e293b;
  --color-text:         #F0F6FC;
  --color-text-light:   #C9D1D9;
  --color-text-muted:   #94a3b8;
  --color-white:        #FFFFFF;
  --color-black:        #000000;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   5rem;
  --space-xl:   8rem;
  --space-2xl:  12rem;

  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 72px;
}

/* === RESET === */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(circle at top center, var(--color-bg-light) 0%, var(--color-bg) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-charcoal-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-dark); }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

/* Custom Cursor */
body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button {
  cursor: none !important;
}

.cursor-core {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border: 1px solid transparent;
  border-radius: 50%;
  pointer-events: none; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  box-shadow: 0 0 10px var(--color-accent-glow);
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
  will-change: transform, width, height;
}
.cursor-core.hover-link {
  width: 50px; height: 50px;
  background: transparent;
  
  background-color: rgba(48, 129, 247, 0.1);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}

/* ============================================
   LOADING SCREEN — Cinematic Split Reveal
   ============================================ */
#loading-screen {
  position: fixed; inset: 0; z-index: 10000;
  background: transparent;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-panel {
  position: absolute; left: 0; width: 100%; height: 50%;
  background: var(--color-bg-dark); z-index: 1;
  transition: transform 1.3s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
.panel-top { top: 0; }
.panel-bottom { bottom: 0; }

.panel-top::after, .panel-bottom::before {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--color-accent); opacity: 0;
  transition: opacity 0.8s ease;
  box-shadow: 0 0 20px 2px var(--color-accent);
}
.panel-top::after { bottom: 0; }
.panel-bottom::before { top: 0; }

.loading-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}
#loading-screen.loaded { 
  pointer-events: none; 
  background: transparent; 
  visibility: hidden;
  transition: visibility 0s 1.8s;
}
#loading-screen.loaded .panel-top::after,
#loading-screen.loaded .panel-bottom::before {
  opacity: 0.8;
  transition-delay: 0.2s;
}
#loading-screen.loaded .panel-top { transform: translateY(calc(-100% - 40px)); transition-delay: 0.3s; }
#loading-screen.loaded .panel-bottom { transform: translateY(calc(100% + 40px)); transition-delay: 0.3s; }
#loading-screen.loaded .loading-content { opacity: 0; transform: scale(1.05); filter: blur(10px); }

.loading-eclipse-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw; height: 40vw;
  max-width: 400px; max-height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
  filter: blur(30px);
  animation: pulseEclipse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  z-index: -1;
  pointer-events: none;
}
@keyframes pulseEclipse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.loading-logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-white);
  margin-bottom: 2.5rem; opacity: 0;
  line-height: 1;
  letter-spacing: -0.02em;
  animation: loadingLogoIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  display: flex;
  gap: 0.2em;
}
@keyframes loadingLogoIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(15px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.loading-bar-container {
  width: 280px; height: 1px;
  background: rgba(255, 255, 255, 0.05);
  overflow: visible; opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  position: relative;
  border-radius: 2px;
}
.loading-bar-container::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  animation: shimmerBar 2s ease-in-out infinite alternate;
  filter: blur(2px);
  z-index: 0;
}
@keyframes shimmerBar { 0% { opacity: 0.3; transform: scaleX(0.8); } 100% { opacity: 1; transform: scaleX(1); } }
.loading-bar {
  width: 0%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-light), var(--color-accent-purple), transparent);
  transition: width 0.3s var(--ease-out-expo);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 15px var(--color-accent-light), 0 0 20px var(--color-accent-purple);
  z-index: 1;
}

/* ============================================
   NAVIGATION — Glassmorphism Tech
   ============================================ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; margin: 0 auto;
  width: 100%; max-width: 100%;
  z-index: 1000; padding: 0 var(--space-md);
  height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  border-radius: 0;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#main-nav::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; z-index: -1; pointer-events: none;
  background: rgba(3, 5, 8, 0.5);
  
  
  opacity: 0; transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#main-nav.scrolled {
  top: 1.5rem;
  width: 90%; max-width: 900px;
  height: 64px;
  border-radius: 999px;
  padding: 0 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.15);
  background: linear-gradient(135deg, rgba(20, 25, 35, 0.5), rgba(10, 12, 18, 0.7));
}
#main-nav.scrolled::before { opacity: 1; }

.nav-logo {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--color-white); letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 700;
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0; white-space: nowrap;
}
.nav-logo:hover { transform: translateY(-1px); text-shadow: 0 0 15px var(--color-accent-glow); }
.nav-logo span { color: var(--color-accent); font-weight: 400; }

.nav-links { display: flex; gap: clamp(1rem, 2vw, 2.5rem); align-items: center; }
.nav-links a {
  font-family: var(--font-body); font-size: 0.75rem;
  color: var(--color-text-muted); letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
  transition: color 0.3s var(--ease-smooth), transform 0.3s var(--ease-spring);
  position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -8px; left: 50%;
  width: 0%; height: 1px; background: var(--color-accent);
  transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
  box-shadow: 0 0 10px var(--color-accent);
}
.nav-links a:hover { color: var(--color-white); transform: translateY(-1px); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta {
  font-size: 0.75rem !important; color: var(--color-white) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important; 
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.2));
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  transition: all 0.4s var(--ease-out-expo) !important;
  position: relative; overflow: hidden;
  box-shadow: 0 0 15px rgba(48, 129, 247, 0.2);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--color-accent); transform: scaleX(0);
  transform-origin: right; transition: transform 0.4s var(--ease-out-expo);
  z-index: -1;
}
.nav-cta:hover {
  color: var(--color-bg-dark) !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4), inset 0 0 0 1px var(--color-accent);
  transform: translateY(-3px);
}
.nav-cta:hover::before { transform: scaleX(1); transform-origin: left; opacity: 1; }
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-white);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 2px;
}

/* ============================================
   HERO — Cinematic Tech
   ============================================ */
#hero {
  position: relative; 
  height: 100svh;
  min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--color-bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4; transform: scale(1.1);
  transition: transform 15s ease-out, opacity 2s var(--ease-smooth);
} 
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(circle at center, transparent 0%, var(--color-bg) 100%),
              linear-gradient(to bottom, rgba(3,5,8,0.1) 0%, rgba(3,5,8,0.9) 80%, var(--color-bg) 100%);
}

/* Ambient Glows divinos para el fondo */
.ambient-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; pointer-events: none; z-index: 2;
}
.glow-cyan {
  background: var(--color-accent); width: 40vw; height: 40vw; top: -10%; left: -10%;
  animation: floatAmbient 10s ease-in-out infinite alternate;
}
.glow-purple {
  background: var(--color-accent-purple); width: 30vw; height: 30vw; bottom: 10%; right: -5%;
  animation: floatAmbient 15s ease-in-out infinite alternate-reverse;
}
@keyframes floatAmbient { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 5%) scale(1.1); } }

#hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-content {
  position: relative; z-index: 4;
  text-align: center; padding: 0 var(--space-md);
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: var(--space-md);
  font-weight: 600; opacity: 0; transform: translateY(30px);
  text-shadow: 0 0 10px var(--color-accent-glow);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700; color: var(--color-white);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  opacity: 1; transform: none;
}
.hero-title-line { display: block; overflow: hidden; padding-bottom: 0.1em; }
.hero-title-word {
  display: inline-block; transform: translateY(120%);
  transition: transform 1.2s var(--ease-out-expo); will-change: transform;
}
.hero-line {
  width: 1px; height: 80px; margin: 0 auto var(--space-md);
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  box-shadow: 0 0 10px var(--color-accent);
  opacity: 0; transform: scaleY(0);
}
.hero-subtitle {
  font-family: var(--font-body); font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 300; color: var(--color-text-muted);
  letter-spacing: 0.01em; margin-bottom: var(--space-lg);
  max-width: 600px; margin-inline: auto;
  opacity: 0; transform: translateY(30px);
}

.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: row;
  align-items: center; gap: 0.8rem; opacity: 0; 
  animation: fadeIn 1s var(--ease-smooth) 2.5s forwards, floatBounce 3s ease-in-out 3.5s infinite;
}
.hero-scroll-hint span {
  font-family: var(--font-body); font-size: 0.65rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--color-text-muted); font-weight: 600;
}
.scroll-line {
  width: 2px; height: 50px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.1); border-radius: 2px;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--color-accent), var(--color-accent));
  animation: scrollDrop 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 10px var(--color-accent);
}

/* Decorative tech corners on hero */
.hero-corner {
  position: absolute; z-index: 4; opacity: 0; pointer-events: none;
  animation: fadeIn 1.5s var(--ease-smooth) 2s forwards;
}
.hero-corner::before, .hero-corner::after {
  content: ''; position: absolute; background: rgba(88, 166, 255, 0.4);
  box-shadow: 0 0 8px var(--color-accent-glow);
}
.hero-corner--tl { top: 40px; left: 40px; }
.hero-corner--tl::before { width: 40px; height: 2px; top: 0; left: 0; }
.hero-corner--tl::after { width: 2px; height: 40px; top: 0; left: 0; }
.hero-corner--br { bottom: 40px; right: 40px; }
.hero-corner--br::before { width: 40px; height: 2px; bottom: 0; right: 0; }
.hero-corner--br::after { width: 2px; height: 40px; bottom: 0; right: 0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.92) translateY(20px); transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo); }
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* ============================================
   FIX FOR BACKDROP-FILTER DURING REVEAL ANIMATIONS
   ============================================ */
.reveal-wrapper {
  opacity: 1 !important; /* El padre no debe animar opacidad para no romper el blur del hijo */
}
.reveal-wrapper:not(.visible) .feature-card,
.reveal-wrapper:not(.visible) .glass-text-box,
.reveal-wrapper:not(.visible) .presentation-image,
.reveal-wrapper:not(.visible) .floating-badge,
.reveal-wrapper:not(.visible) .ambient-blob,
.reveal-wrapper:not(.visible) .mockup-glow,
.reveal-wrapper:not(.visible) .data-card {
  opacity: 0;
}
.reveal-wrapper.visible .feature-card,
.reveal-wrapper.visible .glass-text-box,
.reveal-wrapper.visible .presentation-image,
.reveal-wrapper.visible .floating-badge,
.reveal-wrapper.visible .mockup-glow,
.reveal-wrapper.visible .data-card {
  opacity: 1;
}
.reveal-wrapper.visible .ambient-blob {
  opacity: 0.25;
}
.floating-badge, .ambient-blob, .mockup-glow {
  transition: opacity 1.2s var(--ease-out-expo);
}

/* ============================================
   TYPOGRAPHY GLOBALS
   ============================================ */
.section-eyebrow {
  font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--color-accent-light); margin-bottom: var(--space-sm);
  display: flex; align-items: center; gap: 1rem; font-weight: 600;
}
.section-eyebrow::before {
  content: ''; width: 35px; height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; color: var(--color-white); line-height: 1.05; margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent), var(--color-accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.text-gradient-glow {
  background: linear-gradient(135deg, #fff 0%, var(--color-accent-light) 50%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; display: inline-block;
}

/* ============================================
   INTRO SECTION
   ============================================ */
#intro {
  padding: calc(var(--space-2xl) + 5rem) 0 var(--space-2xl);
  background: var(--color-bg-dark);
  position: relative;
}
#intro::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  box-shadow: 0 0 15px var(--color-accent);
}
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); align-items: center;
}
.intro-image-wrapper {
  position: relative; display: flex; justify-content: center; align-items: center; padding: 2rem 0;
}
.intro-text { padding-left: var(--space-md); }
.intro-description {
  font-family: var(--font-body); font-size: 1.05rem;
  line-height: 1.8; color: var(--color-text-light);
  margin-bottom: var(--space-md); font-weight: 300;
}
.intro-quote {
  font-family: var(--font-display); font-size: 1.2rem;
  font-style: italic; color: var(--color-text);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-sm); margin-top: var(--space-lg);
}

/* ============================================
   STATS SECTION
   ============================================ */
#stats {
  background: linear-gradient(to bottom, var(--color-bg-dark), var(--color-bg)); padding: var(--space-lg) 0;
  overflow: hidden; position: relative;
}
#stats::before, #stats::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  background-size: 200% 100%; animation: shimmerLine 4s linear infinite;
}
#stats::after { top: auto; bottom: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md); text-align: center;
}
.stat-item { padding: var(--space-md) 0; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -0.5rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.stat-number {
  font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500; line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-shadow: 0 0 20px rgba(48, 129, 247, 0.4);
}
.stat-label {
  font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-text-muted); font-weight: 600;
}

/* ============================================
   CORE FEATURES (Cards)
   ============================================ */
#core-features {
  padding: var(--space-2xl) 0; background: var(--color-bg); position: relative;
}
#core-features::before { content: ''; position: absolute; top: 0; left: 50%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%); transform: translate(-50%, -50%); opacity: 0.3; pointer-events: none;}

.features-header { text-align: center; margin-bottom: var(--space-xl); }
.features-header .section-eyebrow { justify-content: center; }
.features-header .section-eyebrow::before { display: none; }
.features-header-description {
  font-family: var(--font-body); font-size: 1.2rem;
  color: var(--color-text-light); max-width: 600px;
  margin: 0 auto; font-weight: 300;
}

/* ============================================
   SHOWCASE ROWS (IMÁGENES DE TELÉFONO EN ZIGZAG)
   ============================================ */
.showcase-container {
  display: flex; flex-direction: column; gap: var(--space-xl);
}
.showcase-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0; position: relative;
}
.showcase-row.reverse {
  flex-direction: row-reverse;
}
.showcase-text { width: 55%; position: relative; z-index: 3; flex: none; }
.showcase-row:not(.reverse) .showcase-text { margin-right: -10%; }
.showcase-row.reverse .showcase-text { margin-left: -10%; }
.showcase-visual {
  width: 55%; position: relative; display: flex; justify-content: center; align-items: center; z-index: 1; flex: none;
}

/* Estilo visual de la imagen plana y delicada */
.presentation-image {
  width: 100%; max-width: 550px; border-radius: 12px;
  display: block;
  background-color: var(--color-bg);
  color: transparent;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 40px rgba(56, 189, 248, 0.1);
  position: relative; z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease, opacity 1.2s var(--ease-out-expo);
  transform: perspective(1200px) rotateY(var(--mouse-rotate-y, 0deg)) rotateX(var(--mouse-rotate-x, 0deg)) translateY(var(--parallax-y, 0px));
}
.showcase-visual:hover .presentation-image, .intro-image-wrapper:hover .presentation-image {
  transform: perspective(1200px) rotateY(var(--mouse-rotate-y, 0deg)) rotateX(var(--mouse-rotate-x, 0deg)) translateY(calc(var(--parallax-y, 0px) - 10px)) scale(1.02);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.2), 0 0 0 1px rgba(56, 189, 248, 0.3);
}
.mockup-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 90%; height: 90%;
  background: radial-gradient(circle at center, rgba(88,166,255,0.2) 0%, transparent 60%);
  filter: blur(40px); z-index: 1; pointer-events: none;
}

/* Tarjeta con efecto Glow Dinámico (Mouse Tracking) y Reflejo Fixed */
.feature-card, .glass-text-box {
  --mouse-x: 50%; --mouse-y: 50%;
  --glow-opacity: 0;
  background: linear-gradient(165deg, rgba(15, 20, 30, 0.35) 0%, rgba(5, 8, 12, 0.5) 100%);
  
  
  padding: 4.5rem 3.5rem; position: relative;
  overflow: hidden; border-radius: 24px;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo), border-color 0.6s ease, opacity 1.2s var(--ease-out-expo);
  transform: translateY(var(--parallax-y, 0px)) translateZ(0); /* Forzamos aceleración sin romper el blur */
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: -20px 40px 80px rgba(0,0,0,0.7), inset 0 1px 0 0 rgba(255,255,255,0.1);
}
.showcase-row.reverse .feature-card, .showcase-row.reverse .glass-text-box {
  box-shadow: 15px 30px 60px rgba(0,0,0,0.6);
}
/* Resplandor base del fondo */
.feature-card::before, .glass-text-box::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(56, 189, 248, 0.1), transparent 40%);
  opacity: var(--glow-opacity); transition: opacity 0.3s var(--ease-smooth); pointer-events: none;
}
/* Borde mágico que sigue el cursor */
.feature-card::after, .glass-text-box::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--glow-opacity); transition: opacity 0.3s var(--ease-smooth); pointer-events: none; z-index: 2;
}

.feature-card:hover, .glass-text-box:hover {
  transform: translateY(calc(var(--parallax-y, 0px) - 8px)) translateZ(0);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 15px 30px rgba(56, 189, 248, 0.1), inset 0 1px 0 0 rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.1);
}
.feature-card:hover::before, .feature-card:hover::after, .glass-text-box:hover::before, .glass-text-box:hover::after { --glow-opacity: 1 !important; }

.feature-card > *, .glass-text-box > * { position: relative; z-index: 1; }

.feature-card-number {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 800; color: rgba(255, 255, 255, 0.05);
  line-height: 1; margin-bottom: 1rem; letter-spacing: -0.05em;
  transition: color 0.5s var(--ease-smooth), transform 0.5s ease;
}
.feature-card:hover .feature-card-number { color: rgba(88, 166, 255, 0.3); transform: translateX(5px); }

.feature-card-title {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--color-white); margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.feature-card-description {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--color-text-light); line-height: 1.7; font-weight: 300;
}

/* ============================================
   SEGUIMIENTO PRECISO Y AMBIENT BLOBS
   ============================================ */
.tracking-section { padding: var(--space-2xl) 0; background: var(--color-bg-dark); overflow: hidden; position: relative; }
.tracking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.tracking-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.tracking-features li { font-family: var(--font-body); font-size: 1.05rem; color: var(--color-text); display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.tracking-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.ambient-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; z-index: 0;
  animation: floatBlob 8s infinite alternate ease-in-out;
}
.bg-green { background: #4ade80; width: 350px; height: 350px; top: 5%; right: 15%; }
@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.15); }
}
.floating-badge {
  position: absolute; bottom: 15%; left: -5%; background: rgba(10, 14, 20, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
  padding: 0.8rem 1.5rem; border-radius: 999px; display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; color: white; letter-spacing: 0.05em;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.2); z-index: 10;
  animation: floatBadge 4s infinite ease-in-out;
}
.live-dot { width: 10px; height: 10px; background: #F85149; border-radius: 50%; box-shadow: 0 0 12px #F85149; animation: pulseLive 1.5s infinite; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulseLive { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }

/* ============================================
   PARALLAX BANNER INMERSIVO
   ============================================ */
.parallax-section {
  position: relative; padding: 12rem 0;
  text-align: center; overflow: hidden;
}
.parallax-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 100vh;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  z-index: 0; will-change: transform;
}
.parallax-overlay { 
  position: absolute; inset: 0; 
  background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(3,5,8,0.2) 20%, rgba(1,2,4,0.2) 80%, var(--color-bg-dark) 100%); 
  z-index: 1; pointer-events: none;
}
.parallax-content { position: relative; z-index: 2; }
.parallax-content h2 { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); color: var(--color-white); margin-bottom: 1rem; font-weight: 600; text-shadow: 0 10px 30px rgba(0,0,0,0.9); letter-spacing: -0.03em;}
.parallax-content p { font-family: var(--font-body); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--color-text-light); max-width: 700px; margin: 0 auto; text-shadow: 0 2px 10px rgba(0,0,0,0.8); font-weight: 300; }

/* ============================================
   ANÁLISIS PROFUNDO (DATA CARDS HORIZONTALES)
   ============================================ */
.data-section { padding: var(--space-2xl) 0; background: var(--color-bg-dark); }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); margin-top: 3rem; }
.data-card {
  --mouse-x: 50%; --mouse-y: 50%; --glow-opacity: 0;
  display: flex; gap: 1.5rem; align-items: center; 
  padding: 2.5rem 2rem; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.4s, box-shadow 0.4s, opacity 1.2s var(--ease-out-expo);
  background: linear-gradient(145deg, rgba(20,25,35,0.4) 0%, rgba(10,12,18,0.6) 100%);
   
  position: relative; overflow: hidden;
}
.data-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--glow-opacity); transition: opacity 0.3s var(--ease-smooth); pointer-events: none; z-index: 4;
}
.data-card:hover { 
  transform: translateY(-5px); border-color: rgba(255,255,255,0.1); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.15); 
  --glow-opacity: 1 !important; 
}
.data-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 65%, rgba(255,255,255,0) 100%);
  background-attachment: fixed; z-index: 0;
}
.data-card > * { position: relative; z-index: 1; }
.mini-mockup { width: 160px; border-width: 1px; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.8); flex-shrink: 0; }
.data-card-info h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-white); margin-bottom: 0.5rem; font-weight: 600; letter-spacing: -0.02em; }
.data-card-info p { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.7; font-weight: 300; }

/* ============================================
   MEGA CONSTELLACIONES (OVERLAPPING MOCKUPS)
   ============================================ */
.dark-accent-section {
  padding: var(--space-2xl) 0; background: var(--color-bg-dark);
  position: relative; overflow: hidden;
}
.dual-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-xl);
}
.overlapping-mockups {
  position: relative; display: flex; justify-content: center; align-items: center;
  height: 500px; width: 100%;
}
.mockup-back {
  position: absolute; left: 0%; top: 5%; width: 75%; z-index: 1;
  opacity: 0.6; filter: blur(3px) brightness(0.7);
  transform: perspective(1200px) rotate(-4deg) scale(0.9) !important; transition: all 0.8s var(--ease-out-expo) !important;
}
.mockup-front {
  position: absolute; right: -5%; bottom: 5%; width: 80%; z-index: 2;
  transform: perspective(1200px) rotate(3deg) scale(1.02) !important; transition: all 0.8s var(--ease-out-expo) !important;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(88,166,255,0.4) !important;
}
.dual-visual:hover .mockup-back {
  transform: perspective(1200px) rotate(-6deg) scale(0.85) translateX(-25px) !important; opacity: 0.9; filter: blur(1px) brightness(0.9);
}
.dual-visual:hover .mockup-front {
  transform: perspective(1200px) rotate(0deg) scale(1.05) translateX(15px) !important;
}

/* ============================================
   MISIONES TRIPULADAS (WIDE CARD)
   ============================================ */
.wide-feature-section { padding: var(--space-2xl) 0; background: var(--color-bg); }
.wide-card {
  background: linear-gradient(145deg, rgba(25, 30, 40, 0.4) 0%, rgba(10, 12, 18, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 32px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5rem; gap: 4rem; overflow: hidden; position: relative;
  box-shadow: 0 40px 80px -10px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.1);
}
.wide-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(250, 204, 21, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.wide-card-content { flex: 1; position: relative; z-index: 2; }
.wide-card-content .tracking-features { align-items: flex-start; }
.wide-card-visual { flex: 1; position: relative; height: 500px; display: flex; justify-content: center; align-items: center; z-index: 2; }
.floating-phone { position: absolute; width: 320px !important; border-width: 1px; transform: rotate(-2deg) translateY(-15px); animation: floatPhone1 6s infinite ease-in-out alternate; z-index: 3; }
.floating-phone-offset { position: absolute; width: 290px !important; border-width: 1px; left: 0%; bottom: 10px; transform: rotate(4deg); filter: brightness(0.5) blur(3px); z-index: 1; animation: floatPhone2 7s infinite ease-in-out alternate; }
@keyframes floatPhone1 { 100% { transform: rotate(-5deg) translateY(20px); } }
@keyframes floatPhone2 { 100% { transform: rotate(8deg) translateY(-30px); } }

/* ============================================
   HERRAMIENTAS PRO (SPLIT CON GRID)
   ============================================ */
.split-screen-section { 
  padding: var(--space-2xl) 0; background: var(--color-bg-dark); position: relative;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center center;
}
.split-screen-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--color-bg-dark) 80%); pointer-events: none; }
.split-container { display: flex; align-items: center; gap: var(--space-xl); position: relative; z-index: 2; }
.split-text { flex: 1; }
.split-visual { flex: 1; display: flex; justify-content: center; position: relative; }

/* ============================================
   ASTRONOMY TOOLS (STICKY CASCADE)
   ============================================ */
.astro-tools-section { 
  padding: var(--space-2xl) 0; 
  background: var(--color-bg); 
  position: relative;
  z-index: 5;
}

.astro-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12vh; /* Espacio conectado y equilibrado para el scroll */
  margin-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
}

.astro-card.sticky-card {
  position: sticky;
  /* Escalonamiento vertical usando el índice para generar profundidad */
  top: calc(var(--header-height) + 2rem + (var(--card-index) * 1.5rem)); 
}
.astro-card.sticky-card:last-child {
  margin-bottom: 0;
}

.astro-card-inner {
  --mouse-x: 50%; --mouse-y: 50%; --glow-opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.9) 0%, rgba(10, 12, 18, 0.95) 100%);
  
  
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 4rem;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255,255,255,0.15);
  min-height: 480px;
  transform-origin: top center;
  transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity; /* Eliminado el filtro para que el scroll vaya a 60fps */
  position: relative;
  overflow: hidden;
}

.astro-card-inner::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--glow-opacity); transition: opacity 0.3s var(--ease-smooth); pointer-events: none; z-index: 4;
}
.astro-card-inner.is-hovered { --glow-opacity: 1 !important; }

.astro-card-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.astro-card-inner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}

.astro-card:hover .astro-card-inner {
  border-color: rgba(255, 255, 255, 0.15);
}

.astro-card-content {
  flex: 1;
  max-width: 48%;
  position: relative;
  z-index: 2;
}

.astro-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 10px 20px -5px rgba(0,0,0,0.5);
}

.astro-card-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.astro-card-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.astro-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.astro-feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.astro-feature-list li i {
  color: var(--color-bg-dark);
  font-size: 0.7rem;
  background: var(--color-white);
  padding: 4px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.astro-card-visual {
  flex: 1;
  max-width: 45%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.astro-card-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
  transform: rotateY(-8deg) rotateX(4deg) translateY(0);
}

.astro-card:nth-child(even) .astro-card-visual img {
  transform: rotateY(8deg) rotateX(4deg) translateY(0);
}

.astro-card:hover .astro-card-visual img {
  transform: rotateY(0deg) rotateX(0deg) translateY(-15px) scale(1.05);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,1), 0 0 0 1px rgba(255,255,255,0.2), 0 0 40px rgba(255,255,255,0.1);
}

.astro-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.astro-card:hover .astro-card-glow {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1.1);
}

.astro-card:nth-child(even) .astro-card-inner {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  .astro-card-inner { padding: 3rem; min-height: 400px; border-radius: 32px; }
  .astro-card-visual img { max-width: 280px; }
}

/* ============================================
   MONITOREO TERRESTRE
   ============================================ */
.environmental-section { padding: var(--space-2xl) 0; background: var(--color-bg-light); }

/* ============================================
   FINAL CTA (CALL TO ACTION)
   ============================================ */
.final-cta { padding: var(--space-xl) 0 var(--space-2xl) 0; background: var(--color-bg); }
.cta-box {
  --mouse-x: 50%; --mouse-y: 50%; --glow-opacity: 0;
  background: linear-gradient(145deg, rgba(20, 30, 45, 0.6) 0%, rgba(5, 8, 12, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 40px;
  padding: 5rem 2rem; position: relative; overflow: hidden; text-align: center;
  box-shadow: 0 40px 80px -15px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.1);
}
.cta-box::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--glow-opacity); transition: opacity 0.3s var(--ease-smooth); pointer-events: none; z-index: 4;
}
.cta-box:hover { --glow-opacity: 1 !important; }
.cta-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%;
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.15) 0%, transparent 60%); pointer-events: none; z-index: 0;
}
.cta-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; color: var(--color-white); position: relative; z-index: 1; margin-bottom: 1rem; letter-spacing: -0.03em;}
.cta-subtitle { font-family: var(--font-body); font-size: 1.1rem; color: var(--color-text-light); max-width: 600px; margin: 0 auto 2.5rem; position: relative; z-index: 1; font-weight: 300; }
.btn-cta-large {
  display: inline-flex; align-items: center; gap: 0.8rem; background: var(--color-white); color: var(--color-black);
  padding: 1.2rem 3rem; border-radius: 999px; font-size: 1.1rem; font-weight: 600; font-family: var(--font-body);
  transition: transform 0.3s, box-shadow 0.3s; position: relative; z-index: 1; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2); border: none;
}
.btn-cta-large:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3); color: var(--color-black); }

/* === RESPONSIVE UPDATES PARA NUEVAS SECCIONES === */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .intro-text { padding-left: 0; text-align: center; }
  .intro-text .section-eyebrow { justify-content: center; }
  .intro-text .section-eyebrow::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --space-lg:   3.5rem;
    --space-xl:   4.5rem;
    --space-2xl:  6rem;
  }

  #main-nav { align-items: flex-start; overflow: hidden; }
  #main-nav::before { transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .nav-logo, .nav-toggle { height: var(--header-height); display: flex; align-items: center; justify-content: center;}
  #main-nav.scrolled .nav-logo, #main-nav.scrolled .nav-toggle { height: 64px; }

  #main-nav.menu-open {
    top: 1rem !important; width: 95% !important; height: 75vh !important;
    border-radius: 24px !important; padding: 0 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8) !important;
  }
  #main-nav.menu-open::before {
    opacity: 1 !important; background: rgba(13, 17, 23, 0.9) !important;
     
  }
  #main-nav.menu-open .nav-logo, #main-nav.menu-open .nav-toggle { height: 64px !important; }

  .nav-links {
    display: flex; position: absolute; top: 64px; left: 0; right: 0; bottom: 0;
    background: transparent; flex-direction: column; justify-content: center;
    align-items: center; gap: 2rem; z-index: 999;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: all; transition-delay: 0.15s; }
  .nav-links a { 
    font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.1em; font-weight: 700;
    color: rgba(255,255,255,0.7); opacity: 0; transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .nav-links.open a { opacity: 1; transform: translateY(0); color: var(--color-white); }
  .nav-links.open a:hover { color: var(--color-accent); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #main-nav.scrolled { padding: 0 1.5rem; width: 95%; top: 1rem; border-radius: 24px; }
  .hero-corner { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-item { padding: 0; }
  .stat-item::after { display: none !important; }

  .feature-card, .glass-text-box {
    padding: 2rem 1.5rem;
  }
  
  .showcase-container {
    gap: var(--space-lg);
  }

  /* Convertimos el ZigZag a Apilamiento Vertical en móviles con superposición */
  .showcase-row, .showcase-row.reverse {
    flex-direction: column; gap: 0; text-align: center;
  }
  .showcase-visual { order: 1; width: 100%; z-index: 1; }
  .showcase-text { 
    width: 95%; 
    margin-top: -3.5rem !important; /* Crea la superposición vertical */
    margin-left: auto !important; 
    margin-right: auto !important; 
    order: 2;
    z-index: 3;
  }
  .presentation-image { max-width: 90%; }
  
  /* NUEVAS ADAPTACIONES MÓVILES AÑADIDAS */
  .tracking-grid { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
  .tracking-features { align-items: center; }
  .bg-green { width: 250px; height: 250px; right: 0; left: 0; margin: 0 auto; }
  
  .data-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .data-card { flex-direction: column; text-align: center; }
  .mini-mockup { width: 100%; max-width: 200px; margin-bottom: 1rem; margin-right: 0; }
  
  .dual-feature-grid { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
  .dual-text { order: 2; margin-top: -2rem; }
  .dual-visual { order: 1; width: 100%; }
  .overlapping-mockups { height: 300px; }
  .mockup-back { width: 65%; left: 5%; top: 10%; }
  .mockup-front { width: 70%; right: 5%; bottom: 0; }
  
  .wide-card { flex-direction: column; padding: 2rem 1.5rem; gap: 2rem; text-align: center; border-radius: 24px; }
  .wide-card-content .tracking-features { align-items: center; }
  .wide-card-visual { height: 300px; width: 100%; }
  .floating-phone { width: 180px !important; }
  .floating-phone-offset { width: 160px !important; }
  
  .split-container { flex-direction: column; text-align: center; gap: var(--space-lg); }
  .split-text { order: 2; width: 100%; }
  .split-visual { order: 1; width: 100%; }
  
  .astro-cards-container { 
    gap: 2rem; 
    margin-top: 2rem; 
    padding-bottom: 0;
  }
  .astro-card.sticky-card {
    position: relative;
    top: 0;
    margin-bottom: 0;
  }
  .astro-card-inner { 
    flex-direction: column-reverse !important; 
    height: auto; 
    min-height: auto;
    padding: 2.5rem 1.5rem; 
    gap: 2.5rem;
    border-radius: 28px;
  }
  .astro-card-content { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .astro-feature-list { align-items: flex-start; text-align: left; }
  .astro-icon { margin-bottom: 1.5rem; width: 56px; height: 56px; font-size: 1.5rem; border-radius: 16px;}
  .astro-card-visual { max-width: 100%; width: 100%; }
  .astro-card-visual img { max-width: 260px; transform: none !important; }
  .astro-card:hover .astro-card-visual img { transform: translateY(-5px) scale(1.02) !important; }
  
  .parallax-section { padding: 6rem 0; }
  .parallax-content h2 { font-size: 2.5rem; }
  .parallax-content p { font-size: 1rem; }
  
  .cta-box { padding: 3rem 1.5rem; border-radius: 24px; }
  .btn-cta-large { padding: 1rem 1.5rem; font-size: 1rem; }
  .cta-title { font-size: 2.2rem; }
}
