/* ═══════════════════════════════════════════════════
   iTire Management V2 — Premium Animated Styles
   ═══════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ───────────────────────── */
:root {
  --blue: #005CA8;
  --blue-light: #0070CC;
  --blue-glow: rgba(0, 92, 168, 0.35);

  /* Typography system */
  --font-display: 'Red Hat Display', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --yellow: #ECB806;
  --yellow-light: #FFE42C;
  --bg-950: #0A0A0A;
  --bg-900: #171717;
  --bg-800: #262626;
  --bg-700: #404040;
  --text-100: #FAFAFA;
  --text-300: #D4D4D4;
  --text-500: #737373;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── @property for animatable custom properties ──── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --shimmer-x {
  syntax: '<percentage>';
  initial-value: -100%;
  inherits: false;
}

/* ─── Splash Screen ────────────────────────────────── */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  will-change: opacity, clip-path;
}

body.is-loading {
  overflow: hidden !important;
}

.splash-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  will-change: transform, opacity;
}

.splash-logo {
  width: auto;
  height: 120px;
}

.splash-icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  will-change: transform;
}

.splash-icon-svg {
  width: auto;
  height: 160px;
}

.splash-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  will-change: opacity;
}

/* ─── Base ─────────────────────────────────────────── */
html {
  scroll-padding-top: 5rem;
}

/* Lenis overrides */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg-950);
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 92, 168, 0.3);
  color: var(--text-100);
}

/* ─── Smooth Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-950); }
::-webkit-scrollbar-thumb { background: var(--bg-800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-700); }

/* ─── Hero Section ─────────────────────────────────── */
#hero {
  position: relative;
  background: var(--bg-950);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Radial gradient overlay on canvas */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 92, 168, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(0, 92, 168, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle Grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ─── Hero Text Animations ─────────────────────────── */
.hero-badge {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-headline {
  overflow: hidden;
}

.hero-headline .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-headline .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-subtitle {
  opacity: 0;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

.hero-scroll-indicator {
  opacity: 0;
}

/* ─── Scroll Indicator Animation ──────────────────── */
@keyframes scroll-down {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-down {
  animation: scroll-down 2s var(--ease-in-out) infinite;
}

/* ─── Mission Section — Enhanced Word Reveal ──────── */
#mission {
  position: relative;
}

#mission-text .word {
  display: inline-block;
  color: var(--bg-800);
  transition: color 0.15s ease, text-shadow 0.3s ease;
  margin-right: 0.25em;
  will-change: color, text-shadow;
}

#mission-text .word.is-blue {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(0, 92, 168, 0.5), 0 0 60px rgba(0, 92, 168, 0.2);
}

#mission-text .word.is-active {
  color: var(--text-100);
  text-shadow: none;
}

/* ─── Section Transitions & Dividers ──────────────── */
.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,92,168,0.3) 50%, transparent 100%);
  box-shadow: 0 0 20px rgba(0,92,168,0.15), 0 0 40px rgba(0,92,168,0.05);
}

.section-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, var(--bg-950) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.section-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg-950) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Section title spotlight */
.section-spotlight {
  position: absolute;
  width: 500px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,92,168,0.06) 0%, transparent 70%);
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  top: -50px;
  z-index: 0;
}

/* ─── Section Label Typewriter ────────────────────── */
.section-label {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--blue);
  animation: blink-caret 0.75s step-end infinite;
}

.section-label.typed {
  border-right-color: transparent;
  animation: none;
}

@keyframes blink-caret {
  from, to { border-right-color: var(--blue); }
  50% { border-right-color: transparent; }
}

/* ─── Feature Cards — Animated Gradient Border ────── */
.feature-card-v2 {
  position: relative;
  border-radius: 1rem;
  padding: 2.5rem;
  background: rgba(23, 23, 23, 0.5);
  overflow: hidden;
  transform: translateY(40px) rotate(1deg);
  opacity: 0;
  will-change: transform, opacity;
}

.feature-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0%,
    var(--blue) 10%,
    transparent 20%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-border 6s linear infinite;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.feature-card-v2:hover::before {
  opacity: 0.8;
  animation-duration: 2s;
}

@keyframes rotate-border {
  to { --border-angle: 360deg; }
}

.feature-card-v2:hover {
  transform: translateY(-4px) rotate(0deg) !important;
}

.feature-card-v2 .card-inner-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  box-shadow: inset 0 0 80px rgba(0,92,168,0.08), 0 0 60px rgba(0,92,168,0.04);
  pointer-events: none;
}

.feature-card-v2:hover .card-inner-glow {
  opacity: 1;
}

.feature-card-v2 .icon-box {
  transition: transform 0.3s var(--ease-out);
}

.feature-card-v2:hover .icon-box {
  animation: icon-pulse 1s ease-in-out;
}

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

/* ─── How It Works — Progress Line ────────────────── */
.steps-container {
  position: relative;
}

.progress-line-svg {
  position: absolute;
  top: 3.5rem;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.progress-line-svg line {
  stroke: var(--blue);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(0,92,168,0.4));
}

.step-card-v2 {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
}

.step-number {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--bg-900);
  line-height: 1;
  transition: color 0.8s ease, text-shadow 0.8s ease;
  transform: scale(0);
  display: inline-block;
}

.step-number.is-active {
  color: var(--bg-800);
  text-shadow: 0 0 60px rgba(0,92,168,0.2);
  transform: scale(1);
}

/* ─── "Más allá" — Orbital Visualization ──────────── */
.orbital-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .orbital-container {
    width: 300px;
    height: 300px;
  }
}

/* Center tire icon */
.orbital-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,92,168,0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: center-glow 3s ease-in-out infinite alternate;
}

@keyframes center-glow {
  from { box-shadow: 0 0 30px rgba(0,92,168,0.3), 0 0 60px rgba(0,92,168,0.1); }
  to { box-shadow: 0 0 50px rgba(0,92,168,0.5), 0 0 80px rgba(0,92,168,0.2); }
}

/* Orbit ring */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,92,168,0.15);
}

.orbit-ring-1 {
  width: 280px;
  height: 280px;
}

.orbit-ring-2 {
  width: 350px;
  height: 350px;
}

@media (max-width: 640px) {
  .orbit-ring-1 { width: 210px; height: 210px; }
  .orbit-ring-2 { width: 265px; height: 265px; }
}

/* Orbiting items */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  z-index: 10;
}

.orbit-item-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-900);
  border: 1px solid rgba(0,92,168,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}

.orbit-item-inner:hover {
  transform: scale(1.25);
  border-color: var(--blue);
  box-shadow: 0 0 25px rgba(0,92,168,0.4);
  background: rgba(0,92,168,0.15);
  z-index: 20;
}

.orbit-item-inner svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

/* Tooltip */
.orbit-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  background: var(--bg-900);
  border: 1px solid rgba(0,92,168,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  white-space: nowrap;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.orbit-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,92,168,0.3);
}

.orbit-item-inner:hover + .orbit-tooltip,
.orbit-item-inner:hover ~ .orbit-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Orbit animation */
@keyframes orbit-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.orbit-path {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  animation: orbit-rotate var(--orbit-duration, 30s) linear infinite;
}

.orbit-path:hover {
  animation-play-state: paused;
}

.orbit-item .orbit-item-inner {
  animation: orbit-counter-rotate var(--orbit-duration, 30s) linear infinite;
}

.orbit-path:hover .orbit-item-inner {
  animation-play-state: paused;
}

/* ─── Dashboard / HUD Section ─────────────────────── */
.dashboard-screen {
  position: relative;
  background: var(--bg-900);
  border: 1px solid rgba(0,92,168,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,92,168,0.05), 0 25px 80px rgba(0,0,0,0.4);
}

/* Scanline effect */
.dashboard-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 92, 168, 0.03) 50%,
    transparent 100%
  );
  height: 60px;
  width: 100%;
  top: -60px;
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes scanline {
  0% { top: -60px; }
  100% { top: calc(100% + 60px); }
}

/* KPI Cards */
.kpi-card {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Circular progress */
.circular-progress {
  position: relative;
  width: 56px;
  height: 56px;
}

.circular-progress svg {
  transform: rotate(-90deg);
}

.circular-progress-bg {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 4;
}

.circular-progress-bar {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s var(--ease-out);
  filter: drop-shadow(0 0 6px rgba(0,92,168,0.5));
}

/* Alert pulse */
.alert-pulse {
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* Bar chart */
.bar-segment {
  height: 8px;
  border-radius: 4px;
  transition: width 1.2s var(--ease-out);
}

/* ─── Buttons — Ripple Effect ─────────────────────── */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  animation: ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ─── CTA Shimmer Effect ──────────────────────────── */
.cta-shimmer {
  position: relative;
  overflow: hidden;
}

.cta-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: var(--shimmer-x, -100%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 50%,
    transparent 100%
  );
  animation: shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer-sweep {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* ─── Nav Link — Animated Underline ───────────────── */
.nav-link-v2 {
  position: relative;
}

.nav-link-v2::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1rem;
  right: 1rem;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link-v2:hover::after,
.nav-link-v2.is-active::after {
  transform: scaleX(1);
}

.nav-link-v2.is-active {
  color: var(--text-100) !important;
}

/* ─── Floating Nav ────────────────────────────────── */
#floating-nav {
  opacity: 0;
  transform: translate(-50%, -1rem);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

#floating-nav.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ─── Card Tilt ───────────────────────────────────── */
.tilt-card {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ─── General Reveal ──────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ─── Trend arrow animation ───────────────────────── */
.trend-up {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #22C55E;
  font-weight: 600;
}

/* ─── Font Weight Utilities ───────────────────────── */
.font-900 { font-weight: 900; }
.font-800 { font-weight: 800; }
.font-700 { font-weight: 700; }

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

  #splash-screen {
    display: none !important;
  }

  .hero-badge,
  .hero-headline .word-inner,
  .hero-subtitle,
  .hero-cta,
  .hero-scroll-indicator,
  .feature-card-v2,
  .step-card-v2,
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }

  #mission-text .word {
    color: var(--text-100) !important;
  }

  .step-number {
    transform: scale(1) !important;
    color: var(--bg-800) !important;
  }

  .feature-card-v2::before {
    animation: none !important;
    opacity: 0.2 !important;
    background: var(--blue) !important;
  }
}

/* ─── Premium Logo Grid (Terminal-style) ──────────── */
/* ─── Logo Grid — Terminal-style ─────────────────── */
.logo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.logo-grid-cell {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-950);
  border: none;
  transition: background 0.5s ease;
}

/* On hover: cell gets blue tint, borders glow blue */
.logo-grid-cell:hover {
  background: rgba(0, 92, 168, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(0, 92, 168, 0.4),
    0 0 15px rgba(0, 92, 168, 0.08);
  z-index: 2;
}

/* Grid-level glow orb — not used */
.logo-grid-glow { display: none; }

/* Cell glow div — not used */
.logo-grid-cell .cell-glow { display: none; }

/* Cell mask — just a simple container, no absolute positioning */
.logo-grid-cell .cell-mask {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo-grid-cell .cell-mask span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-700);
  transition: color 0.5s ease;
}

.logo-grid-cell:hover .cell-mask span {
  color: var(--text-100);
}

/* Crosshair marks at grid intersections */
.logo-grid-cross {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  transition: filter 0.4s ease;
}

.logo-grid-cross::before,
.logo-grid-cross::after {
  content: '';
  position: absolute;
  background: #404040;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.logo-grid-cross::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-grid-cross::after {
  width: 1px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-grid-cross.is-near::before,
.logo-grid-cross.is-near::after {
  background: rgba(0, 92, 168, 0.8);
  box-shadow: 0 0 8px rgba(0, 92, 168, 0.6);
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid-cell {
    height: 80px;
  }
}


/* ─── Scroll Experience Section ──────────────────── */
.scroll-experience-wrapper {
  position: relative;
  height: 300vh;
}

.scroll-experience-pinned {
  position: sticky;
  top: 20vh;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.experience-screen {
  position: relative;
  background: var(--bg-900);
  border: 1px solid rgba(0,92,168,0.15);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  height: 420px;
  box-shadow: 0 0 60px rgba(0,92,168,0.05), 0 25px 80px rgba(0,0,0,0.4);
}

/* Grid background inside screen */
.experience-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Phase indicator dots */
.phase-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 1.5rem;
}

.phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-700);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.phase-dot.is-active {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0,92,168,0.5);
  transform: scale(1.3);
}

.phase-connector {
  width: 32px;
  height: 2px;
  background: var(--bg-800);
  position: relative;
  overflow: hidden;
}

.phase-connector .fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--blue);
  transition: width 0.4s ease;
}

/* Phase content layers */
.experience-phase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.experience-phase.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Phase label overlay */
.phase-label {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phase-label .phase-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0,92,168,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.phase-label .phase-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-300);
  letter-spacing: 0.04em;
}

/* Scan line animation */
@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}

.scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 10px rgba(0,92,168,0.5);
  z-index: 5;
  opacity: 0;
}

/* QR code */
.qr-code {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 70px;
  height: 70px;
}

.qr-code .qr-cell {
  background: var(--blue);
  border-radius: 1px;
  opacity: 0.7;
}

.qr-code .qr-cell.empty {
  background: transparent;
}

/* Gauge components */
.gauge-ring {
  fill: none;
  stroke: var(--bg-800);
  stroke-width: 4;
}

.gauge-value {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease-out);
  filter: drop-shadow(0 0 4px rgba(0,92,168,0.5));
}

/* Prediction bar chart */
.pred-bar {
  width: 32px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(0,92,168,0.3) 100%);
  transition: height 0.8s var(--ease-out);
}

.pred-bar.warning {
  background: linear-gradient(180deg, #F59E0B 0%, rgba(245,158,11,0.3) 100%);
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.optimal {
  background: rgba(34,197,94,0.1);
  color: #22C55E;
  border: 1px solid rgba(34,197,94,0.2);
}

.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Alert card */
.alert-card {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

/* GPS pulse */
@keyframes gps-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.gps-pulse-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: gps-pulse 2s ease-out infinite;
}

/* Savings counter */
.savings-counter {
  font-size: 2rem;
  font-weight: 800;
  color: #22C55E;
  font-family: var(--font-display);
}

@media (max-width: 768px) {
  .experience-screen {
    height: 360px;
    border-radius: 12px;
  }
  .scroll-experience-pinned {
    min-height: 420px;
  }
  .experience-phase {
    padding: 1rem;
  }
  .savings-counter {
    font-size: 1.5rem;
  }
}


/* ─── Terminal-exact Notch Separator ─────────────── */
.notch-sep-wrapper {
  height: 0;
  position: relative;
  width: 100%;
  z-index: 3;
}

.notch-sep {
  pointer-events: none;
  position: absolute;
  top: 1px;
  transform: translateY(-100%);
  width: 100%;
  overflow: visible;
}

.notch-mask {
  position: relative;
  width: 100%;
  height: 6rem;
}

.notch-mask svg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.notch-fill {
  width: 100%;
  height: 100%;
}

/* Dark notch (between dark and light section - fill is light/next section color) */
.notch-fill-light {
  background: #FAFAFA;
}

/* Light notch (between light and dark section - fill is dark/next section color) */
.notch-fill-dark {
  background: #0A0A0A;
}

/* ─── Light Section Base ─────────────────────────── */
.section-light {
  background: #FAFAFA;
  color: #171717;
}

/* Hide dark-mode decorators in light sections */
.section-light > .section-divider,
.section-light > .section-spotlight,
.section-light > .section-fade-top,
.section-light > .section-fade-bottom {
  display: none;
}

/* Selection color for light sections */
.section-light ::selection {
  background: rgba(0, 92, 168, 0.15);
  color: #0A0A0A;
}

/* ─── Mission Light Mode ─────────────────────────── */
.section-light #mission-text .word {
  color: #D4D4D4;
}

.section-light #mission-text .word.is-blue {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(0, 92, 168, 0.5), 0 0 60px rgba(0, 92, 168, 0.2);
}

.section-light #mission-text .word.is-active {
  color: #171717;
  text-shadow: none;
}

/* ─── Soluciones Light Mode ──────────────────────── */
.section-light .section-label {
  color: var(--blue);
  border-right-color: var(--blue);
}

.section-light h2 {
  color: #0A0A0A;
}

.section-light h3 {
  color: #0A0A0A;
}

.section-light p {
  color: #404040;
}

/* Step numbers on light background */
.section-light .step-number {
  color: #E5E5E5;
}

.section-light .step-number.is-active {
  color: #D4D4D4;
  text-shadow: 0 0 60px rgba(0, 92, 168, 0.15);
}

/* Keep progress line blue */
.section-light .progress-line-svg line {
  stroke: var(--blue);
}

/* Step card text */
.section-light .step-card-v2 h3 {
  color: #0A0A0A;
}

.section-light .step-card-v2 p {
  color: #525252;
}

/* ─── Nosotros / Trust Light Mode ────────────────── */
/* Logo grid for light bg */
.section-light .logo-grid {
  background: rgba(0, 0, 0, 0.08);
}

.section-light .logo-grid-cell {
  background: #FAFAFA;
}

.section-light .logo-grid-cell:hover {
  background: rgba(0, 92, 168, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(0, 92, 168, 0.35),
    0 0 15px rgba(0, 92, 168, 0.06);
}

/* Crosshair marks light mode */
.section-light .logo-grid-cross::before,
.section-light .logo-grid-cross::after {
  background: #C4C4C4;
}

.section-light .logo-grid-cross.is-near::before,
.section-light .logo-grid-cross.is-near::after {
  background: rgba(0, 92, 168, 0.8);
  box-shadow: 0 0 8px rgba(0, 92, 168, 0.6);
}

/* Logo text in light mode */
.section-light .logo-grid-cell .cell-mask span {
  color: #A3A3A3;
}

.section-light .logo-grid-cell:hover .cell-mask span {
  color: #171717;
}

/* Testimonial on light */
.section-light blockquote {
  color: #171717;
}

/* Avatar bg on light */
.section-light .bg-dark-800 {
  background-color: #E5E5E5;
}

/* Text color overrides for light sections */
.section-light .text-dark-200 {
  color: #171717;
}

.section-light .text-dark-400 {
  color: #525252;
}

.section-light .text-dark-500 {
  color: #737373;
}

.section-light .text-dark-100 {
  color: #0A0A0A;
}



/* Reduced motion for light sections */
@media (prefers-reduced-motion: reduce) {
  .section-light #mission-text .word {
    color: #171717 !important;
  }
  .section-light .step-number {
    color: #D4D4D4 !important;
  }
}

/* ─── Mobile Adjustments ──────────────────────────── */
@media (max-width: 768px) {
  #floating-nav .flex {
    padding: 0.375rem;
  }

  .feature-card-v2 {
    padding: 1.5rem;
    transform: translateY(20px) rotate(0deg);
  }

  .kpi-value {
    font-size: 1.5rem;
  }

  .dashboard-screen {
    margin: 0 -0.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION VIDEO / IMAGE BACKGROUNDS
   ═══════════════════════════════════════════════════ */

/* Wrapper común para videos/imágenes de fondo */
.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.section-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-bg video.is-loaded { opacity: 1; }

/* Image background */
.section-bg .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-bg .bg-image.is-loaded { opacity: 1; }

/* ─── Overlay system ───────────────────────────────── */
.section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.section-bg-overlay.overlay-darken {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.55) 35%,
    rgba(10, 10, 10, 0.55) 65%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

.section-bg-overlay.overlay-tint {
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(0, 92, 168, 0.18) 0%,
    rgba(0, 92, 168, 0.06) 50%,
    transparent 100%
  );
  mix-blend-mode: screen;
}

.section-bg-overlay.overlay-vignette {
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 30%,
    rgba(10, 10, 10, 0.45) 100%
  );
}

/* ─── Section 4 (mas-alla): darker for text contrast ─ */
#mas-alla .section-bg-overlay.overlay-darken {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.78) 30%,
    rgba(10, 10, 10, 0.78) 70%,
    rgba(10, 10, 10, 0.95) 100%
  );
}
#mas-alla .section-bg-overlay.overlay-vignette {
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(10, 10, 10, 0.20) 0%,
    rgba(10, 10, 10, 0.65) 100%
  );
}

/* ─── Section 7 (experiencia): 3-image vertical strip ─ */
#experiencia .section-bg .bg-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
#experiencia .section-bg .bg-strip.is-loaded {
  opacity: 1;
}
#experiencia .section-bg .bg-tile {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
/* Disable cinematic drift for tiled strip (would look weird) */
#experiencia .section-bg .bg-strip {
  animation: none !important;
}

/* ─── Hero specific ────────────────────────────────── */
#hero { position: relative; isolation: isolate; }

#hero > .section-bg,
#hero > .section-bg-overlay {
  z-index: 0;
}

#hero #hero-canvas { z-index: 1; }
#hero .hero-gradient-overlay,
#hero .hero-grid { z-index: 2; }
#hero > div.relative.z-10 { z-index: 10; position: relative; }
#hero .hero-scroll-indicator { z-index: 10; }

/* Hero overlay un poco más suave para mostrar el video */
#hero .section-bg-overlay.overlay-darken {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.55) 30%,
    rgba(10, 10, 10, 0.70) 70%,
    rgba(10, 10, 10, 0.97) 100%
  );
}

#hero .section-bg video.is-loaded { opacity: 0.55; }

/* Section 9 (contacto): mismo tratamiento que hero pero un poco más oscuro */
#contacto .section-bg-overlay.overlay-darken {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.65) 30%,
    rgba(10, 10, 10, 0.75) 70%,
    rgba(10, 10, 10, 0.97) 100%
  );
}
#contacto .section-bg video.is-loaded { opacity: 0.55; }

/* ─── Sections with bg need overflow + z-index control ─ */
#plataforma,
#mas-alla,
#dashboard,
#contacto {
  overflow: hidden;
  isolation: isolate;
}

/* Experiencia needs overflow visible for sticky title */
#experiencia {
  isolation: isolate;
  overflow: visible;
}

/* Asegurar que el contenido quede sobre el bg */
#plataforma > div.max-w-6xl,
#mas-alla > div.max-w-6xl,
#dashboard > div.max-w-5xl,
#contacto > div.relative.z-10 {
  position: relative;
  z-index: 5;
}

/* Experiencia: tiene scroll-pinned, manejar con cuidado */
#experiencia > div.text-center,
#experiencia > .scroll-experience-wrapper {
  position: relative;
  z-index: 5;
}

/* ─── Subtle motion: zoom drift (cinematic) ──────── */
.section-bg video.is-loaded,
.section-bg .bg-image.is-loaded {
  animation: bgDrift 30s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10); }
}

/* ─── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .section-bg video,
  .section-bg .bg-image {
    animation: none !important;
  }
}

/* ─── Mobile tweaks ──────────────────────────────── */
@media (max-width: 640px) {
  .section-bg-overlay.overlay-darken {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.90) 0%,
      rgba(10, 10, 10, 0.65) 35%,
      rgba(10, 10, 10, 0.65) 65%,
      rgba(10, 10, 10, 0.95) 100%
    );
  }
  #hero .section-bg video.is-loaded { opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════
   NEW: Terminal typing animation
   ═══════════════════════════════════════════════════ */
.terminal-text {
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: normal;
  border-right: 2px solid var(--blue, #005CA8);
  animation: blink-caret 0.8s step-end infinite;
  opacity: 1;
  color: #ffffff;
}
.terminal-text.typing { opacity: 1; }
.terminal-text.done { border-right-color: transparent; animation: none; }
@keyframes blink-caret { 50% { border-right-color: transparent; } }

/* ═══════════════════════════════════════════════════
   NEW: Keyword slide animations
   ═══════════════════════════════════════════════════ */
.keyword-pill {
  display: block;
  width: fit-content;
  margin: 10px auto;
  padding: 14px 40px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  border: 1px solid rgba(0, 92, 168, 0.5);
  background: rgba(0, 92, 168, 0.15);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.keyword-pill:nth-child(odd)  { transform: translateX(120px); }
.keyword-pill:nth-child(even) { transform: translateX(-120px); }
.keyword-pill.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════
   NEW: Scroll-pinned video + text layout (sections 3-6)
   ═══════════════════════════════════════════════════ */
.scroll-pinned-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .scroll-pinned-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Left: scrolling text column (BLACK background, neon cards) */
.scroll-text-col {
  position: relative;
  z-index: 2;
  background: #050508;
}

/* Continuous neon line running through center of text column */
.scroll-text-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 170, 255, 0.15) 2%,
    rgba(0, 170, 255, 0.4) 10%,
    rgba(0, 170, 255, 0.4) 90%,
    rgba(0, 170, 255, 0.15) 98%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(0, 170, 255, 0.2);
  z-index: 0;
  pointer-events: none;
}

.scroll-step {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
}

/* Last step: extra tall so user scrolls more before video unsticks */
.scroll-step:last-child {
  min-height: 130vh;
  padding-bottom: 60vh;
}

/* First step: card starts lower + extra height for equal spacing */
.scroll-step:first-child {
  padding-top: 55vh;
  min-height: 110vh;
  justify-content: flex-start;
}

/* White card with neon blue border */
.scroll-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid #00aaff;
  box-shadow:
    0 0 12px rgba(0, 170, 255, 0.15),
    0 0 40px rgba(0, 170, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  margin: 0 12px;
}

/* Neon dot at top center of each card (sits on the line) */
.scroll-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #00aaff;
  border-radius: 50%;
  border: 2px solid #050508;
  box-shadow: 0 0 10px #00aaff, 0 0 20px rgba(0, 170, 255, 0.4);
  z-index: 2;
}

.scroll-step .paso-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue, #005CA8);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-step .paso-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  color: #1a1a2e;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.scroll-step .paso-text strong {
  color: var(--blue, #005CA8);
  font-weight: 700;
}
.scroll-step .paso-text em {
  color: var(--blue, #005CA8);
  font-style: normal;
  font-weight: 600;
}
.scroll-step .paso-divider {
  width: 36px;
  height: 2px;
  background: #00aaff;
  margin-top: 16px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* Reveal state */
.scroll-step.in-view .paso-eyebrow,
.scroll-step.in-view .paso-text {
  opacity: 1;
  transform: translateY(0);
}
.scroll-step.in-view .paso-divider {
  opacity: 0.6;
  transform: scaleX(1);
}

/* Step number — removed from text column, now in video column */

/* Step number overlay in video column */
.scroll-video-step-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: rgba(0, 170, 255, 0.25);
  text-shadow: 0 0 30px rgba(0, 170, 255, 0.15);
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.6s ease;
  opacity: 0;
}
.scroll-video-step-num.active {
  opacity: 1;
}

/* Right: sticky video column — contain, not cover */
.scroll-video-col {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #0A0A0A;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .scroll-video-col {
    position: relative;
    height: 50vh;
    order: -1;
  }
  .scroll-step { min-height: 60vh; padding: 24px 16px; }
  .scroll-card { margin: 0 8px; padding: 20px 16px; }
}

.scroll-video-col video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #0A0A0A;
}
.scroll-video-col video.active {
  opacity: 1;
}

/* Overlay on the video side */
.scroll-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(10, 10, 10, 0.2) 100%
  );
  z-index: 1;
}

/* Tint overlay */
.scroll-video-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(0, 92, 168, 0.12) 0%,
    transparent 70%
  );
  mix-blend-mode: screen;
  z-index: 2;
}

/* ─── Scroll Down indicator (bottom center of video col) ─ */
.scroll-indicator-bottom {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  animation: scrollGlow 2.2s ease-in-out infinite;
}

@keyframes scrollGlow {
  0%, 100% { opacity: 0.35; filter: brightness(0.7); }
  50%      { opacity: 1;    filter: brightness(1.4); }
}

.scroll-indicator-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00aaff;
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.6), 0 0 30px rgba(0, 170, 255, 0.3);
}

.scroll-indicator-chevron {
  color: #00aaff;
  filter: drop-shadow(0 0 6px rgba(0, 170, 255, 0.5));
  animation: chevronBounce 2.2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  .scroll-indicator-bottom { display: none; }
}

/* Propuesta section (light) */
.propuesta-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.propuesta-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 16ch;
}

/* Footer legal row */
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.footer-legal-row a {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.footer-legal-row a:hover { opacity: 1; }
.footer-company-info {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 8px;
  line-height: 1.5;
}

/* ─── Experiencia scroll-down (fixed, bottom center) ─ */
.experiencia-scroll-down {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  animation: scrollGlow 2.2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .experiencia-scroll-down { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   Hero: Neon box highlights + bullet list
   ═══════════════════════════════════════════════════ */
.neon-glow-text {
  color: #00ccff;
  font-weight: 800;
  text-shadow:
    0 0 7px rgba(0, 200, 255, 0.8),
    0 0 20px rgba(0, 180, 255, 0.5),
    0 0 42px rgba(0, 160, 255, 0.25),
    0 0 80px rgba(0, 140, 255, 0.1);
  letter-spacing: 0.04em;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-bullet.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-bullet-dot {
  width: 10px;
  height: 10px;
  background: #00aaff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00aaff, 0 0 20px rgba(0, 170, 255, 0.3);
  flex-shrink: 0;
}
.hero-bullet-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
