/* ═══════════════════════════════════════════════════
   S.P.M. Advisory — Neural Interface Design System v2
   Palette: Deep Space #05080F | Cyan #00C8FF | Purple #7C3AED
   Typography: Exo 2 (títulos) + Inter (cuerpo) + DM Mono (datos)
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Deep Space Palette */
  --space:        #05080F;
  --bg:           #0A1020;
  --bg-surface:   #0E1828;
  --bg-card:      #111E32;
  --bg-elevated:  #162540;

  /* Backwards compat aliases */
  --navy:         #05080F;
  --navy-90:      rgba(5, 8, 15, 0.92);
  --navy-light:   #0E1828;
  --carbon:       #C8D4E3;

  /* Neon Accents */
  --cyan:           #00C8FF;
  --cyan-dim:       #0099CC;
  --cyan-glow:      rgba(0, 200, 255, 0.3);
  --cyan-light:     rgba(0, 200, 255, 0.08);
  --purple:         #7C3AED;
  --purple-dim:     #6025C0;
  --purple-glow:    rgba(124, 58, 237, 0.25);
  --purple-light:   rgba(124, 58, 237, 0.08);
  --green-neon:     #00E87A;
  --red-neon:       #FF3B6B;

  /* Map to existing names */
  --accent:         var(--cyan);
  --accent-hover:   var(--cyan-dim);
  --accent-light:   var(--cyan-light);

  /* Neutrals */
  --white:        #E2EAF4;
  --gray-100:     #162540;
  --gray-200:     #1E2F47;
  --gray-300:     #2A3D5A;
  --gray-400:     #4A6080;
  --gray-500:     #7A90AA;

  /* Typography */
  --font-title:  'Exo 2', 'Inter', -apple-system, sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'DM Mono', 'Fira Code', 'Courier New', monospace;

  /* Layout */
  --max-w: 1200px;
  --section-py: 96px;
  --section-py-mobile: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--space);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--space); }
::-webkit-scrollbar-thumb { background: rgba(0,200,255,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,200,255,0.5); }
::selection { background: rgba(0,200,255,0.2); color: var(--cyan); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ──────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }

p { font-size: 1.0625rem; line-height: 1.75; color: var(--gray-500); }
.lead { font-size: 1.1875rem; line-height: 1.65; color: var(--carbon); opacity: 0.8; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #000;
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.55), 0 0 80px rgba(124,58,237,0.2);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,200,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  padding: 8px 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost .arrow { transition: transform var(--transition); display: inline-block; }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* ── Navigation ──────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 200, 255, 0.08);
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 8, 15, 0.95);
  border-bottom-color: rgba(0, 200, 255, 0.18);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── LOGO ─ visible con fondo transparente ────── */
/*
  FIX: El logo tiene fondo blanco. Con brightness(0)+invert(1) todo queda blanco
  (fondo + elementos = ilegible). Solución: invert(1) vuelve el fondo negro,
  mix-blend-mode:screen lo hace transparente contra el navbar oscuro.
*/
.navbar-logo { display: flex; align-items: center; }
.navbar-logo img {
  height: 58px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 5px rgba(0, 200, 255, 0.45));
  mix-blend-mode: screen;
  transition: filter var(--transition), transform var(--transition);
  animation: logo-pulse 5s ease-in-out infinite;
}
.navbar-logo:hover img {
  filter: invert(1) drop-shadow(0 0 16px rgba(0,200,255,1)) drop-shadow(0 0 8px rgba(124,58,237,0.5));
  transform: scale(1.06);
}

@keyframes logo-pulse {
  0%, 100% { filter: invert(1) drop-shadow(0 0 4px rgba(0,200,255,0.25)); }
  50%       { filter: invert(1) drop-shadow(0 0 14px rgba(0,200,255,0.8)); }
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--cyan); }
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width var(--transition);
}
.navbar-links a:hover::after { width: 100%; }
.navbar-cta .btn { padding: 10px 20px; font-size: 0.8125rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(5, 8, 15, 0.97);
  backdrop-filter: blur(24px);
  padding: 40px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
}
.mobile-menu a:hover { color: var(--cyan); }

@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ────────────────────────────────────── */
.hero {
  padding-top: 72px;
  background: var(--space);
  min-height: 96vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animated tech grid */
.hero::before {
  content: '';
  position: absolute;
  inset: -200px;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: grid-pan 28s linear infinite;
  z-index: 0;
}
@keyframes grid-pan {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(72px, 72px); }
}

/* Ambient glow orbs */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 750px 500px at 12% 55%, rgba(0, 200, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 650px 500px at 88% 25%, rgba(124, 58, 237, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 55% 100%, rgba(0, 200, 255, 0.04) 0%, transparent 70%);
  z-index: 0;
  animation: orb-breathe 10s ease-in-out infinite alternate;
}
@keyframes orb-breathe {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.07);
  border: 1px solid rgba(0, 200, 255, 0.22);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: dot-blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--cyan); }
  50%       { opacity: 0.25; box-shadow: 0 0 0px var(--cyan); }
}

.hero h1 { margin-bottom: 24px; line-height: 1.08; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dashboard mockup dark overrides */
.hero-visual > .dashboard-mock {
  position: relative;
  animation: dashboard-levitate 9s ease-in-out infinite;
}
@keyframes dashboard-levitate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.3deg); }
  66%       { transform: translateY(-6px) rotate(-0.2deg); }
}

/* Floating stats */
.float-stat {
  position: absolute;
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 255, 0.22);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(0,200,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 7s ease-in-out infinite;
}
.float-stat:nth-child(2) { animation-delay: -2.5s; }
.float-stat:nth-child(3) { animation-delay: -5s; }
.float-stat .number {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.7);
}
.float-stat .label {
  font-size: 0.72rem;
  color: var(--gray-500);
  line-height: 1.3;
  max-width: 80px;
}
.float-stat.top-right  { top: 6%;   right: -24px; }
.float-stat.bottom-left{ bottom: 10%; left: -24px; }

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

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .float-stat { display: none; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 72px; padding-bottom: 60px; }
}

/* ── Trust Bar ───────────────────────────────── */
.trust-bar {
  background: var(--bg);
  padding: 40px 0;
  border-top: 1px solid rgba(0, 200, 255, 0.07);
  border-bottom: 1px solid rgba(0, 200, 255, 0.07);
  position: relative;
  overflow: hidden;
}
/* Sweeping light effect */
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.04), transparent);
  animation: trust-sweep 5s ease-in-out infinite;
}
@keyframes trust-sweep {
  0%   { left: -60%; }
  100% { left: 120%; }
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.trust-stat { text-align: center; min-width: 120px; }
.trust-stat .number {
  font-family: var(--font-mono);
  font-size: 2.125rem;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 24px rgba(0, 200, 255, 0.5);
}
.trust-stat .label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.trust-divider {
  width: 1px; height: 40px;
  background: linear-gradient(0deg, transparent, rgba(0,200,255,0.3), transparent);
}

@media (max-width: 768px) {
  .trust-bar .container { gap: 32px; }
  .trust-divider { display: none; }
  .trust-stat .number { font-size: 1.625rem; }
}

/* ── Generic Sections ────────────────────────── */
section { padding: var(--section-py) 0; }
section.bg-light { background: var(--bg); }
section.bg-navy  { background: var(--space); }
section.bg-navy h2, section.bg-navy h3 { color: var(--white); }
section.bg-navy p { color: rgba(255, 255, 255, 0.6); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.section-label::before { content: '//'; opacity: 0.45; }

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.72;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

@media (max-width: 768px) {
  section { padding: var(--section-py-mobile) 0; }
  .section-header { margin-bottom: 40px; }
}

/* ── Problem / Solution ──────────────────────── */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ps-column {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,200,255,0.06);
  position: relative;
  overflow: hidden;
}
.ps-column::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.ps-column:first-child::before {
  background: linear-gradient(90deg, #FF3B6B 0%, transparent 100%);
}
.ps-column:last-child::before {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 100%);
}
.ps-column h3 { margin-bottom: 28px; font-size: 1.0625rem; color: var(--white); }
.ps-item { display: flex; gap: 14px; margin-bottom: 24px; }
.ps-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem;
}
.ps-icon.problem { background: rgba(255, 59, 107, 0.1); color: #FF3B6B; border: 1px solid rgba(255,59,107,0.2); }
.ps-icon.solution { background: rgba(0, 200, 255, 0.08); color: var(--cyan); border: 1px solid rgba(0,200,255,0.2); }
.ps-item h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.ps-item p { font-size: 0.875rem; }

@media (max-width: 768px) {
  .problem-solution { grid-template-columns: 1fr; }
  .ps-column { padding: 28px; }
}

/* ── Industries Grid ─────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 255, 0.07);
  border-radius: 16px;
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
}
/* Gradient sheen on hover */
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,0.04) 0%, rgba(124,58,237,0.04) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
/* Top border sweep */
.industry-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--purple) 70%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.45s ease;
  transform-origin: left;
}
.industry-card:hover {
  border-color: rgba(0, 200, 255, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 32px rgba(0,200,255,0.07);
}
.industry-card:hover::before { opacity: 1; }
.industry-card:hover::after  { transform: scaleX(1); }

.industry-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.industry-card:hover .industry-icon {
  background: rgba(0, 200, 255, 0.14);
  box-shadow: 0 0 20px rgba(0,200,255,0.22);
}
.industry-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.industry-card p  { font-size: 0.9rem; margin-bottom: 20px; }

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

/* ── Testimonials ────────────────────────────── */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 255, 0.07);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0,200,255,0.18);
  box-shadow: 0 0 36px rgba(0,200,255,0.06);
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--carbon);
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--cyan);
  position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--gray-500); }
.testimonial-metric {
  display: inline-block;
  background: rgba(0, 200, 255, 0.07);
  color: var(--cyan);
  font-weight: 500;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 8px;
  border: 1px solid rgba(0,200,255,0.15);
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .testimonial-card { flex: 0 0 90%; }
  .testimonial-card { padding: 24px; }
}

/* ── CTA Final ───────────────────────────────── */
.cta-final {
  background: var(--bg);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 400px at 50% 100%, rgba(0,200,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--purple) 70%, transparent 100%);
  opacity: 0.4;
}
.cta-final h2   { color: var(--white); margin-bottom: 16px; }
.cta-final > .container > .section-label { color: var(--cyan); }
.cta-final p    { color: var(--gray-500); font-size: 1.0625rem; max-width: 540px; margin: 0 auto 36px; }

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--space);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(0, 200, 255, 0.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 20px;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.55;
  transition: opacity var(--transition);
}
.footer-brand img:hover { opacity: 0.9; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.3); max-width: 280px; line-height: 1.7; }
.footer h4 {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.22); font-family: var(--font-mono); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SUB-PAGES — Niche Template
   ═══════════════════════════════════════════════ */
.niche-hero {
  padding-top: 72px;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--space);
}
.niche-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(5, 8, 15, 0.85);
  z-index: 1;
}
.niche-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(0.3) brightness(0.25);
}
.niche-hero .container { position: relative; z-index: 2; max-width: 720px; }
.niche-hero h1    { color: var(--white); margin-bottom: 20px; }
.niche-hero p     { color: rgba(255,255,255,0.75); font-size: 1.125rem; margin-bottom: 32px; line-height: 1.7; }

/* ── Pain Section ────────────────────────────── */
.pain-section { background: var(--bg); }
.pain-stat {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(0,200,255,0.45);
}
.pain-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pain-list     { display: flex; flex-direction: column; gap: 16px; }
.pain-list-item { display: flex; gap: 12px; align-items: flex-start; }
.pain-list-item .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(255,59,107,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: #FF3B6B;
  margin-top: 2px;
  border: 1px solid rgba(255,59,107,0.2);
}

@media (max-width: 768px) { .pain-content { grid-template-columns: 1fr; gap: 32px; } }

/* ── Features 3-col ──────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(0,200,255,0.07);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(0,200,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 24px rgba(0,200,255,0.06);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-card p  { font-size: 0.9rem; }

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

/* ── Case Study ──────────────────────────────── */
.case-study { background: var(--bg); }
.case-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.case-metric {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0,200,255,0.08);
}
.case-metric .value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0,200,255,0.4);
}
.case-metric .desc { font-size: 0.8125rem; color: var(--gray-500); margin-top: 4px; }
.case-testimonial {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0,200,255,0.1);
  border-left: 2px solid var(--cyan);
}
.case-testimonial blockquote {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--carbon);
  font-style: italic;
  margin-bottom: 16px;
}
.case-testimonial cite { font-style: normal; font-size: 0.8rem; color: var(--gray-500); font-family: var(--font-mono); }

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

/* ── Comparison Table ────────────────────────── */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.comparison-table th, .comparison-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,200,255,0.06);
  color: var(--carbon);
}
.comparison-table thead th {
  background: var(--bg-card);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: var(--font-mono);
}
.comparison-table thead th:first-child { border-radius: 8px 0 0 0; }
.comparison-table thead th:last-child  { border-radius: 0 8px 0 0; }
.comparison-table tbody tr:nth-child(even) { background: rgba(0,200,255,0.02); }
.comparison-table .check { color: var(--cyan); font-weight: 700; font-size: 1.1rem; text-shadow: 0 0 8px rgba(0,200,255,0.5); }
.comparison-table .cross { color: #FF3B6B; font-weight: 700; font-size: 1.1rem; }
.comparison-table .highlight-col { color: var(--cyan) !important; font-weight: 600; }

/* ── Form ────────────────────────────────────── */
.cta-conversion { background: var(--bg); }
.cta-conversion h2 { color: var(--white); margin-bottom: 16px; }
.cta-conversion p  { color: var(--gray-500); margin-bottom: 40px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.form-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0, 200, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0,200,255,0.04), 0 24px 64px rgba(0,0,0,0.45);
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.5;
  border-radius: 16px 16px 0 0;
}
.form-card h3 { color: var(--white); margin-bottom: 24px; font-size: 1.25rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 200, 255, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background: rgba(255,255,255,0.03);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 200, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.08), 0 0 20px rgba(0,200,255,0.1);
  background: rgba(0,200,255,0.03);
}
.form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2300C8FF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--bg-card); color: var(--white); }

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #000;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0,200,255,0.5), 0 0 60px rgba(124,58,237,0.2);
}
.btn-submit:hover::after { opacity: 1; }

.form-note {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-mono);
}

.cta-benefits h3 { color: var(--white); margin-bottom: 24px; }
.cta-benefits li {
  display: flex; align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  color: var(--carbon);
}
.cta-benefits li .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(0,200,255,0.08);
  border-radius: 50%;
  border: 1px solid rgba(0,200,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
  color: var(--cyan);
}

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

/* ═══════════════════════════════════════════════
   ANIMATION SYSTEM — S.P.M. Advisory
   ═══════════════════════════════════════════════ */

/* ── Page Load Entrance ─────────────────────── */
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: page-fade-in 0.6s ease-out;
}

/* ── Base Scroll Reveal ─────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.4, 0, 0.2, 1), transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Directional Reveal Variants ────────────── */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-down.visible { opacity: 1; transform: translateY(0); }

/* ── Scale In ────────────────────────────────── */
.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ── Blur In ─────────────────────────────────── */
.blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(16px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}
.blur-in.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* ── Stagger Children ────────────────────────── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-stagger].visible > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; transform: translateY(0); }
[data-stagger].visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
[data-stagger].visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
[data-stagger].visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
[data-stagger].visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
[data-stagger].visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Industry cards stagger */
.industries-grid .industry-card:nth-child(1) { transition-delay: 0s; }
.industries-grid .industry-card:nth-child(2) { transition-delay: 0.1s; }
.industries-grid .industry-card:nth-child(3) { transition-delay: 0.2s; }
.industries-grid .industry-card:nth-child(4) { transition-delay: 0.3s; }

/* Feature cards stagger */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }

/* ── Hero Entrance Cascade ───────────────────── */
@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-slide-right {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-badge {
  animation: hero-slide-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}
.hero h1 {
  animation: hero-slide-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}
.hero .lead {
  animation: hero-slide-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}
.hero-cta {
  animation: hero-slide-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.65s both;
}
.hero-visual {
  animation: hero-slide-right 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

/* ── Niche Hero Entrance ─────────────────────── */
.niche-hero .container {
  animation: hero-slide-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* ── CTA Pulse Glow ──────────────────────────── */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 200, 255, 0.35); }
  50%      { box-shadow: 0 0 40px rgba(0, 200, 255, 0.6), 0 0 80px rgba(124, 58, 237, 0.25); }
}
.btn-primary {
  animation: cta-pulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
}

/* ── Card Shimmer Sweep ──────────────────────── */
@keyframes shimmer-sweep {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.industry-card::after,
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.04), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.industry-card:hover::after {
  animation: shimmer-sweep 0.8s ease-out forwards;
}

/* ── Animated Gradient Border (form-card) ────── */
@keyframes gradient-rotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.form-card {
  background-clip: padding-box;
}
.form-card::before {
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
  background-size: 200% 100%;
  animation: gradient-rotate 4s ease-in-out infinite;
}

/* ── Morphing Blob Background ────────────────── */
@keyframes morph-blob {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(0deg); }
  25%      { border-radius: 73% 27% 35% 65% / 50% 36% 64% 50%; }
  50%      { border-radius: 28% 72% 44% 56% / 64% 28% 72% 36%; transform: rotate(90deg); }
  75%      { border-radius: 55% 45% 65% 35% / 38% 58% 42% 62%; }
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.06) 0%, transparent 70%);
  animation: morph-blob 18s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

/* ── Comparison Table Row Reveal ─────────────── */
.comparison-table.animated tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.comparison-table.animated.visible tbody tr { opacity: 1; transform: translateX(0); }
.comparison-table.animated.visible tbody tr:nth-child(1) { transition-delay: 0.05s; }
.comparison-table.animated.visible tbody tr:nth-child(2) { transition-delay: 0.15s; }
.comparison-table.animated.visible tbody tr:nth-child(3) { transition-delay: 0.25s; }
.comparison-table.animated.visible tbody tr:nth-child(4) { transition-delay: 0.35s; }
.comparison-table.animated.visible tbody tr:nth-child(5) { transition-delay: 0.45s; }
.comparison-table.animated.visible tbody tr:nth-child(6) { transition-delay: 0.55s; }

/* ── Trust Bar Number Glow Pulse ─────────────── */
@keyframes number-glow {
  0%, 100% { text-shadow: 0 0 24px rgba(0, 200, 255, 0.5); }
  50%      { text-shadow: 0 0 40px rgba(0, 200, 255, 0.9), 0 0 60px rgba(0, 200, 255, 0.3); }
}
.trust-stat .number {
  animation: number-glow 4s ease-in-out infinite;
}

/* ── Section Label Typing Cursor ─────────────── */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.section-label::after {
  content: '▌';
  margin-left: 4px;
  font-size: 0.65em;
  color: var(--cyan);
  opacity: 0.6;
  animation: blink-cursor 1.2s ease-in-out infinite;
}

/* ── Pain Stat Counter Pop ───────────────────── */
@keyframes stat-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.pain-stat.animated {
  animation: stat-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Testimonial Card Hover Tilt ─────────────── */
.testimonial-card {
  transition: var(--transition), transform 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

/* ── Back to Top Button ──────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 200, 255, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 6px 32px rgba(0, 200, 255, 0.55);
  transform: translateY(-3px);
}

/* ── Glitch shimmer on section labels ─────────── */
@keyframes label-glitch {
  0%, 88%, 100% { clip-path: none; transform: none; }
  90% { clip-path: polygon(0 30%, 100% 30%, 100% 55%, 0 55%); transform: translateX(2px); color: var(--purple); }
  92% { clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%); transform: translateX(-2px); }
  94% { clip-path: none; transform: none; }
}

/* ── Scroll Progress Bar ─────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

/* ── Hero Sphere Three.js ────────────────────── */
#hero-sphere {
  width: 100%;
  height: 500px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
#hero-sphere canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* UI panel flotante sobre la esfera */
.sphere-ui-panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(5,8,15,0.85) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}
.sphere-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sphere-stat-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0,200,255,0.7);
}
.sphere-stat-lbl {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* Grid floor del hero (del ANIMACION.HTML) */
.hero-grid-floor {
  position: absolute;
  bottom: -72px; left: 0;
  width: 100%;
  height: 45%;
  background-image:
    linear-gradient(rgba(0,200,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(72deg);
  transform-origin: bottom;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

@media (max-width: 900px) {
  #hero-sphere { height: 340px; }
  .sphere-ui-panel { gap: 16px; }
  .sphere-stat-num { font-size: 1rem; }
}

/* ── Prefers Reduced Motion ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fade-in, .fade-in-left, .fade-in-right, .fade-in-down,
  .scale-in, .blur-in {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ── Utilities ───────────────────────────────── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
