/* ─────────────────────────────────────────────
   CRSoft v4 — Energy Beam · Dark · Premium
   ───────────────────────────────────────────── */

:root,
[data-theme="dark"]{
  /* Surfaces */
  --bg:        #06070D;
  --bg-2:      #0A0C17;
  --bg-3:      #0F1220;
  --panel:     rgba(255, 255, 255, 0.025);
  --panel-2:   rgba(255, 255, 255, 0.04);

  /* Atmosphere multipliers */
  --atmo-1: rgba(99, 102, 241, 0.18);
  --atmo-2: rgba(139, 92, 246, 0.12);
  --atmo-3: rgba(34, 211, 238, 0.10);
  --grid-line: rgba(255,255,255,0.025);

  /* Energy palette */
  --cyan:      #22D3EE;
  --cyan-2:    #67E8F9;
  --blue:      #3B82F6;
  --indigo:    #6366F1;
  --violet:    #8B5CF6;
  --magenta:   #D946EF;

  /* Energy gradients */
  --grad-beam:    linear-gradient(180deg, #22D3EE 0%, #6366F1 50%, #D946EF 100%);
  --grad-text:    linear-gradient(120deg, #67E8F9 0%, #A78BFA 50%, #F0ABFC 100%);
  --grad-accent:  linear-gradient(135deg, #22D3EE 0%, #8B5CF6 100%);
  --grad-card:    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --grad-border:  linear-gradient(135deg, rgba(34,211,238,0.4), rgba(139,92,246,0.4));

  /* Ink */
  --ink:       #F5F7FA;
  --ink-2:     #E2E8F0;
  --ink-3:     #B4BCC9;
  --ink-dim:   #7C8597;
  --muted:     #4B5468;

  /* Lines */
  --line:      rgba(255, 255, 255, 0.06);
  --line-2:    rgba(255, 255, 255, 0.10);
  --line-glow: rgba(34, 211, 238, 0.25);

  /* Shadows / glows */
  --glow-cyan:    0 0 40px rgba(34, 211, 238, 0.4), 0 0 12px rgba(34, 211, 238, 0.6);
  --glow-violet:  0 0 40px rgba(139, 92, 246, 0.4), 0 0 12px rgba(139, 92, 246, 0.6);
  --glow-soft:    0 30px 80px -20px rgba(34, 211, 238, 0.25);

  /* Fonts */
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-sans:    "Inter", -apple-system, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --max:      1240px;
  --pad-x:    clamp(20px, 5vw, 72px);
  --nav-h:    72px;
  --beam-x:   50%;
  /* Light/dark transition */
  --theme-trans: background .6s var(--ease-out), border-color .4s var(--ease-out), color .4s var(--ease-out);

  /* Easing */
  --ease-out:  cubic-bezier(.16,.84,.30,1);
  --ease-fluid: cubic-bezier(.65,0,.35,1);
}

/* ── LIGHT THEME ─────────────────────────────── */
[data-theme="light"]{
  --bg:        #F4F6FB;
  --bg-2:      #FFFFFF;
  --bg-3:      #EEF1F8;
  --panel:     rgba(11, 18, 32, 0.025);
  --panel-2:   rgba(11, 18, 32, 0.04);

  --cyan:      #0891B2;
  --cyan-2:    #0E7490;
  --blue:      #2563EB;
  --indigo:    #4F46E5;
  --violet:    #7C3AED;
  --magenta:   #C026D3;

  --grad-beam:    linear-gradient(180deg, #06B6D4 0%, #6366F1 50%, #D946EF 100%);
  --grad-text:    linear-gradient(120deg, #0891B2 0%, #6D28D9 50%, #C026D3 100%);
  --grad-accent:  linear-gradient(135deg, #0891B2 0%, #7C3AED 100%);
  --grad-card:    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 100%);
  --grad-border:  linear-gradient(135deg, rgba(8,145,178,0.4), rgba(124,58,237,0.4));

  --ink:       #0B1220;
  --ink-2:     #1E293B;
  --ink-3:     #334155;
  --ink-dim:   #64748B;
  --muted:     #94A3B8;

  --line:      rgba(11, 18, 32, 0.08);
  --line-2:    rgba(11, 18, 32, 0.14);
  --line-glow: rgba(8, 145, 178, 0.3);

  --glow-cyan:    0 0 32px rgba(8, 145, 178, 0.35), 0 0 10px rgba(8, 145, 178, 0.5);
  --glow-violet:  0 0 32px rgba(124, 58, 237, 0.35), 0 0 10px rgba(124, 58, 237, 0.5);
  --glow-soft:    0 30px 80px -20px rgba(8, 145, 178, 0.18);

  --atmo-1: rgba(99, 102, 241, 0.10);
  --atmo-2: rgba(124, 58, 237, 0.08);
  --atmo-3: rgba(8, 145, 178, 0.07);
  --grid-line: rgba(11,18,32,0.04);
}

*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin: 0; padding: 0; }
html{ scroll-behavior: smooth; background: var(--bg); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  /* Conservamos el movimiento ambiental suave (línea de energía, marquee, gradientes):
     solo garantizamos que el contenido que entra con scroll quede visible. */
  .reveal, .reveal-up, .reveal-l, .reveal-r, .reveal-stagger > *{ opacity: 1 !important; transform: none !important; }
}

html, body{
  transition: background-color .6s var(--ease-out);
}
body{
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  transition: var(--theme-trans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Ambient atmosphere */
body::before{
  content: "";
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 50% -10%, var(--atmo-1), transparent 60%),
    radial-gradient(60% 40% at 90% 30%, var(--atmo-2), transparent 60%),
    radial-gradient(50% 40% at 10% 60%, var(--atmo-3), transparent 60%);
  transition: background .6s var(--ease-out);
}

body::after{
  content: "";
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.6;
}

[data-theme="light"] .grain{ opacity: 0.025; mix-blend-mode: multiply; }

/* Grain overlay */
.grain{
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

::selection{ background: var(--violet); color: #fff; }

a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Layout helpers ─────────────────────────── */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}
main, section, header, footer, nav{ position: relative; z-index: 2; }

.section{
  padding-block: clamp(96px, 14vh, 180px);
  position: relative;
}

/* ── Typography ────────────────────────────── */
h1,h2,h3,h4,h5{
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
p{ margin: 0; text-wrap: pretty; color: var(--ink-3); }
code{ font-family: var(--f-mono); font-size: 0.9em; color: var(--cyan-2); }

.grad{
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 14s ease-in-out infinite;
}
@keyframes gradShift{
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.eyebrow--centered{ justify-content: center; }
.eyebrow__dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 4px var(--cyan-2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.55); } }

/* ── Section heads ─────────────────────────── */
.s-head{
  max-width: 720px;
  margin-bottom: 64px;
}
.s-head--center{ margin-inline: auto; text-align: center; }
.s-head__num{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.s-head__num::before{
  content: "";
  width: 24px; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.s-head h2{
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 20px;
  font-weight: 500;
}
.s-head__sub{
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-dim);
  max-width: 620px;
}
.s-head--center .s-head__sub{ margin-inline: auto; }
.s-head--center .s-head__num{ justify-content: center; }

/* ─────── ENERGY BEAM (fiber-optic data flow) ─────── */
.beam{
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  perspective: 600px;
  transform-style: preserve-3d;
}

/* Subtle background guide line — almost invisible */
.beam__track{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.05) 12%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.05) 88%,
    transparent 100%);
}
[data-theme="light"] .beam__track{
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(11,18,32,0.05) 12%,
    rgba(11,18,32,0.07) 50%,
    rgba(11,18,32,0.05) 88%,
    transparent 100%);
}

/* Single fine fiber-optic streak — one thin line that travels down,
   leaving a soft light trail and stretching as it goes */
.beam__streak{
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 460px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
  will-change: top, opacity, transform;
  border-radius: 2px;
  opacity: 0.72;
  /* long fine comet trail: fades up from the bright leading tip, leaving a streak of light behind */
  background: linear-gradient(180deg,
    rgba(103,232,249,0) 0%,
    rgba(103,232,249,0.14) 28%,
    rgba(103,232,249,0.50) 66%,
    rgba(103,232,249,0.95) 92%,
    #ffffff 100%);
  box-shadow: 0 0 6px var(--streak-glow, rgba(34,211,238,0.55));
  animation: streakFlow 6.5s linear infinite;
}
/* leading point — small bright head */
.beam__streak::after{
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 3.5px; height: 3.5px;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 1px var(--streak-glow, rgba(34,211,238,0.7));
}

@keyframes streakFlow{
  0%   { top: -500px; opacity: 0; transform: translateX(-50%) scaleY(0.6); }
  12%  { opacity: 0.72; }
  50%  { transform: translateX(-50%) scaleY(1.6); }
  88%  { opacity: 0.72; }
  100% { top: 100vh; opacity: 0; transform: translateX(-50%) scaleY(0.95); }
}

/* Scroll-reactive — the line accelerates and stretches as you scroll */
body.is-scrolling .beam__streak{
  animation-duration: 2.6s;
}

/* Hide beam contents (not the line) on tiny screens to avoid crossing nav cluster */
@media (max-width: 720px){
  .beam{ width: 30px; opacity: 0.7; }
}

/* Light theme — single streak in a darker cyan so it reads on a light bg */
[data-theme="light"] .beam__streak{
  --streak-glow: rgba(8,145,178,0.45);
  background: linear-gradient(180deg,
    rgba(8,145,178,0) 0%,
    rgba(8,145,178,0.12) 28%,
    rgba(8,145,178,0.45) 66%,
    rgba(8,145,178,0.92) 92%,
    #06B6D4 100%);
}
[data-theme="light"] .beam__streak::after{
  background: #06B6D4;
  box-shadow: 0 0 8px 1px rgba(8,145,178,0.55);
}

/* Scroll progress (top) */
.scroll-bar{
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 60;
  background: rgba(255,255,255,0.04);
}
.scroll-bar__fill{
  height: 100%;
  width: 0;
  background: var(--grad-beam);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--violet);
}

/* ── Buttons ───────────────────────────────── */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .3s, background .3s, color .3s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--sm{ padding: 9px 16px; font-size: 13px; }
.btn--lg{ padding: 16px 28px; font-size: 16px; }

.btn--primary{
  color: #0A0C17;
  background: linear-gradient(135deg, #22D3EE 0%, #A78BFA 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 8px 24px -8px rgba(139,92,246,0.6),
    0 4px 12px -4px rgba(34,211,238,0.6);
}
.btn--primary::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-fluid);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 14px 32px -10px rgba(139,92,246,0.8),
    0 8px 20px -6px rgba(34,211,238,0.8);
}
.btn--primary:hover::before{ transform: translateX(100%); }
.btn--primary:active{ transform: translateY(0); }

.btn--ghost{
  color: var(--ink);
  background: rgba(255,255,255,0.03);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(34,211,238,0.4);
  color: var(--cyan-2);
  transform: translateY(-2px);
}

.btn svg{ transition: transform .3s var(--ease-out); }
.btn:hover svg{ transform: translateX(4px); }

/* ── NAV ──────────────────────────────────── */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: 84px;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  background: rgba(6,7,13,0.7);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand{
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 17px;
  position: relative;
  transition: transform .3s var(--ease-out);
}
.brand:hover{ transform: scale(1.02); }
.brand__logo{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(139,92,246,0.18));
  border: 1px solid var(--line-2);
  padding: 5px;
  filter: drop-shadow(0 0 10px rgba(34,211,238,0.4));
  transition: filter .3s, transform .4s var(--ease-out);
}
.brand:hover .brand__logo{
  filter: drop-shadow(0 0 14px rgba(34,211,238,0.6)) drop-shadow(0 0 20px rgba(139,92,246,0.4));
  transform: rotate(-4deg);
}
.nav__links{
  display: flex; gap: 36px;
}
.nav__link{
  font-size: 14px;
  color: var(--ink-dim);
  font-weight: 400;
  transition: color .25s;
  position: relative;
}
.nav__link::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__link:hover{ color: var(--ink); }
.nav__link:hover::after{ transform: scaleX(1); }
.nav__right{ display: flex; align-items: center; gap: 16px; }
.lang{
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.lang button{
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink-dim);
  transition: color .2s, background .2s;
}
.lang button.is-active{
  background: rgba(255,255,255,0.06);
  color: var(--cyan-2);
}
.hamburger{ display: none; }

/* Theme toggle */
.theme-toggle{
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: color .25s, border-color .25s, background .25s, transform .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover{
  color: var(--cyan-2);
  border-color: rgba(34,211,238,0.4);
  background: rgba(34,211,238,0.06);
}
.theme-toggle svg{
  width: 18px; height: 18px;
  position: absolute;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.theme-toggle__sun{ opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle__moon{ opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle__sun{ opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle__moon{ opacity: 0; transform: rotate(90deg) scale(0.5); }

/* ── HERO ──────────────────────────────────── */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero__inner{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}

/* Glowing orb behind hero */
.hero__core{
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(380px, 60vw, 720px);
  height: clamp(380px, 60vw, 720px);
  pointer-events: none;
  z-index: 0;
}
.hero__core::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(99,102,241,0.45) 0%,
    rgba(139,92,246,0.25) 25%,
    rgba(34,211,238,0.12) 50%,
    transparent 75%);
  filter: blur(20px);
  animation: orbBreath 9s ease-in-out infinite;
}
.hero__core::after{
  content: "";
  position: absolute; inset: 25%;
  border-radius: 50%;
  background: conic-gradient(from 180deg,
    rgba(34,211,238,0.4),
    rgba(139,92,246,0.4),
    rgba(217,70,239,0.4),
    rgba(34,211,238,0.4));
  filter: blur(40px);
  animation: orbRotate 22s linear infinite;
  opacity: 0.7;
}
@keyframes orbBreath{
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes orbRotate{
  to { transform: rotate(360deg); }
}

/* Concentric rings around the core */
.hero__rings{
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(500px, 80vw, 980px);
  height: clamp(500px, 80vw, 980px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.hero__rings svg{ width: 100%; height: 100%; }
.hero__rings circle{
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
}
.hero__rings .r-pulse{
  stroke: var(--cyan);
  stroke-opacity: 0.3;
  animation: ringPulse 4s ease-out infinite;
  transform-origin: center;
}
.hero__rings .r-pulse-2{ animation-delay: 1.3s; }
.hero__rings .r-pulse-3{ animation-delay: 2.6s; }
@keyframes ringPulse{
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0; }
}

.hero__title{
  font-size: clamp(40px, 6.8vw, 92px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
  position: relative;
  z-index: 2;
}
.hero__sub{
  max-width: 60ch;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--ink-3);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}
.hero__ctas{
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}
.hero__chips{
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.chip{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.chip::before{
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.scroll-cue{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--ink-dim);
  z-index: 4;
}
.scroll-cue__line{
  width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after{
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--cyan-2));
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue{
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

/* ── TRUST / MARQUEE ──────────────────────── */
.trust{
  padding: 80px 0 40px;
  position: relative;
}
.trust__label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  text-align: center;
  margin-bottom: 32px;
}
.marquee{
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track{
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-right: 56px;
}
.marquee__item{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 56px;
  opacity: 0.65;
  transition: opacity .3s, color .3s;
}
.marquee__item:hover{ opacity: 1; color: var(--cyan-2); }
.marquee__dot{
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}
@keyframes marquee{
  to { transform: translateX(-50%); }
}

/* ── NUMBERS ──────────────────────────────── */
.numbers{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 64px;
}
.num{
  padding: 32px 28px;
  background: var(--bg-2);
  position: relative;
}
.num__value{
  font-family: var(--f-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 4px;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.num__value .suffix{ color: var(--cyan-2); -webkit-text-fill-color: var(--cyan-2); }
.num__value .counter{}
.num__label{
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.num__icon{
  width: 36px; height: 36px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
}

/* ── CARDS (Services) ─────────────────────── */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  position: relative;
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform .4s var(--ease-out), border-color .3s, background .3s;
  overflow: hidden;
  isolation: isolate;
}
.card::before{
  /* Hover spotlight that follows mouse */
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 60%);
  top: var(--my, 50%);
  left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}
.card::after{
  /* Gradient border on hover */
  content: "";
  position: absolute; inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
}
.card > *{ position: relative; z-index: 2; }
.card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.04);
}
.card:hover::before{ opacity: 1; }
.card:hover::after{ opacity: 1; }
.card__icon{
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(139,92,246,0.08));
  color: var(--cyan-2);
  margin-bottom: 22px;
  border: 1px solid rgba(34,211,238,0.18);
  position: relative;
  transition: transform .4s, box-shadow .4s;
}
.card__icon::before{
  content: "";
  position: absolute; inset: -1px;
  border-radius: 12px;
  background: var(--grad-accent);
  opacity: 0;
  z-index: -1;
  filter: blur(10px);
  transition: opacity .35s;
}
.card:hover .card__icon{
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 0 24px rgba(34,211,238,0.3);
}
.card:hover .card__icon::before{ opacity: 0.6; }
.card__icon svg{ width: 26px; height: 26px; }
.card h3{
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: 500;
}
.card p{
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 22px;
}
.card__tags{ display: flex; flex-wrap: wrap; gap: 6px; }
.tag{
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  background: rgba(255,255,255,0.015);
}
.tag--cyan{ color: var(--cyan-2); border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.06); }

/* ── PRODUCTS ─────────────────────────────── */
.products{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product{
  position: relative;
  padding: 30px 28px;
  border-radius: 18px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease-out), border-color .3s;
  overflow: hidden;
}
.product:hover{
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.3);
}
.product--hero{
  grid-column: 1 / -1;
  padding: 48px;
}
.product-hero{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-hero__main{ display: flex; flex-direction: column; gap: 20px; }
.product-hero__head{
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.product-hero__badge{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(34,211,238,0.25);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--cyan-2);
}
.product__vert{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.product-hero__name{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-hero__mark{
  width: 32px; height: 32px;
  border-radius: 8px;
  padding: 4px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(139,92,246,0.15));
  border: 1px solid var(--line-2);
}
.product-hero__title{
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-hero__lede{
  font-size: 15.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 56ch;
}
.product-hero__cta{ display: flex; gap: 14px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.product-hero__url{ font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-dim); }
.product-hero__modules{
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.modules__title{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--cyan-2);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.modules{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.module{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.module__icon{
  width: 32px; height: 32px;
  color: var(--cyan-2);
  padding: 6px;
  border-radius: 8px;
  background: rgba(34,211,238,0.06);
  border: 1px solid rgba(34,211,238,0.15);
}
.module__name{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.module__desc{
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}

.product__head{ display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product__name{
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.product h3{
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.product p{ font-size: 14px; color: var(--ink-dim); line-height: 1.6; }
.product__foot{
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.product__tags{ display: flex; gap: 6px; flex-wrap: wrap; }
.link{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--cyan-2);
  letter-spacing: 0.02em;
  transition: color .25s, gap .25s;
}
.link:hover{ color: #fff; gap: 9px; }

/* "Also built" row */
.also{
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
}
.also__label{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
}
.also__item{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  transition: background .25s, border-color .25s, transform .25s;
}
.also__item:hover{
  background: rgba(34,211,238,0.06);
  border-color: rgba(34,211,238,0.3);
  transform: translateY(-1px);
}
.also__name{ font-family: var(--f-display); font-weight: 600; font-size: 13px; color: var(--ink); }
.also__desc{ font-size: 13px; color: var(--ink-dim); }

/* ── IA SECTION ───────────────────────────── */
.ia__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.phone{
  width: 320px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 36px;
  background: linear-gradient(180deg, #0F1220 0%, #06070D 100%);
  border: 1px solid var(--line-2);
  padding: 14px;
  position: relative;
  box-shadow:
    0 40px 90px -30px rgba(34,211,238,0.3),
    0 20px 50px -20px rgba(139,92,246,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone::before{
  content: "";
  position: absolute; inset: -2px;
  border-radius: 38px;
  background: var(--grad-border);
  z-index: -1;
  filter: blur(6px);
  opacity: 0.6;
}
.phone__notch{
  width: 88px; height: 22px;
  background: #06070D;
  border: 1px solid var(--line-2);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 10px;
}
.phone__header{
  display: flex; align-items: center; gap: 10px;
  padding: 8px 4px 14px;
  border-bottom: 1px solid var(--line);
}
.phone__avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(34,211,238,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-2);
}
.phone__avatar svg{ width: 22px; height: 22px; }
.phone__name{ font-weight: 600; color: var(--ink); font-size: 14px; }
.phone__status{
  display: flex; align-items: center; gap: 5px;
  font-size: 11px;
  color: var(--ink-dim);
  font-family: var(--f-mono);
  letter-spacing: 0.05em;
}
.phone__dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.phone__chat{
  padding: 14px 6px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 360px;
}
.bubble{
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn .5s var(--ease-out) forwards;
}
.bubble:nth-child(1){ animation-delay: 0.2s; }
.bubble:nth-child(2){ animation-delay: 0.9s; }
.bubble:nth-child(3){ animation-delay: 1.5s; }
.bubble:nth-child(4){ animation-delay: 2.1s; }
.bubble:nth-child(5){ animation-delay: 2.7s; }
.bubble:nth-child(6){ animation-delay: 3.3s; }
@keyframes bubbleIn{ to { opacity: 1; transform: translateY(0); } }
.bubble--in{
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}
.bubble--out{
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(34,211,238,0.18);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.bubble--tool{
  align-self: center;
  background: rgba(139,92,246,0.06);
  border: 1px dashed rgba(139,92,246,0.3);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 95%;
}
.bubble--tool code{ font-size: 10px; color: var(--cyan-2); }
.bubble--tool .bubble__icon{ color: var(--cyan-2); display: inline-flex; }
.bubble--success{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.ia__blocks{ display: flex; flex-direction: column; gap: 16px; }
.ia-block{
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  align-items: start;
  transition: border-color .3s, background .3s;
}
.ia-block:hover{
  border-color: rgba(34,211,238,0.25);
  background: rgba(255,255,255,0.035);
}
.ia-block__num{
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--cyan-2);
  background: rgba(34,211,238,0.06);
  border: 1px solid rgba(34,211,238,0.3);
  box-shadow: 0 0 12px rgba(34,211,238,0.15);
}
.ia-block h4{
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.ia-block p{ font-size: 14px; color: var(--ink-dim); line-height: 1.6; }

/* ── PROCESS ──────────────────────────────── */
.process{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.step{
  padding: 26px 22px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.step::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-beam);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.step:hover{
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}
.step:hover::before{ transform: scaleX(1); }
.step__num{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan-2);
  margin-bottom: 18px;
}
.step h4{
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 500;
}
.step p{ font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; }

/* WHY (3 reasons) */
.why{
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.why__item{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  align-items: start;
}
.why__item svg{ color: var(--cyan-2); filter: drop-shadow(0 0 6px rgba(34,211,238,0.3)); margin-top: 2px; }
.why__item h5{ font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.why__item p{ font-size: 13px; color: var(--ink-dim); line-height: 1.55; }

.models{
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
}
.models__label{ color: var(--cyan-2); letter-spacing: 0.2em; }
.models__dot{
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-dim);
}

/* ── CTA BAND ─────────────────────────────── */
.cta-band{
  margin-block: clamp(60px, 10vh, 120px);
  padding-block: clamp(60px, 10vh, 100px);
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 1100px;
  aspect-ratio: 1.6 / 1;
  background: radial-gradient(circle,
    rgba(99,102,241,0.25) 0%,
    rgba(34,211,238,0.10) 30%,
    transparent 65%);
  filter: blur(50px);
  z-index: 0;
}
.cta-band__inner{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-band__title{
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 14px;
}
.cta-band__ctas{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────── */
.contact__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 18px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.contact-card:hover{
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.3);
  background: rgba(255,255,255,0.04);
}
.contact-card__icon{
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan-2);
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(139,92,246,0.05));
  border: 1px solid rgba(34,211,238,0.18);
  margin-bottom: 8px;
}
.contact-card__icon svg{ width: 24px; height: 24px; }
.contact-card__label{
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}
.contact-card__value{
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.contact-card__cta{
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--cyan-2);
  letter-spacing: 0.05em;
}

/* ── FOOTER ───────────────────────────────── */
.footer{
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  position: relative;
}
.footer__inner{
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.footer__brand{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.footer__brand img{
  width: 36px; height: 36px;
  border-radius: 10px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(139,92,246,0.15));
  border: 1px solid var(--line-2);
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.3));
}
.footer__name{ color: var(--ink); font-size: 15px; }
.footer__tag{
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}
.footer__links{ display: flex; gap: 28px; }
.footer__links a{
  font-size: 13.5px;
  color: var(--ink-dim);
  transition: color .25s;
}
.footer__links a:hover{ color: var(--cyan-2); }
.footer__meta{ font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-dim); }

/* ── REVEAL ANIMATIONS ────────────────────── */
.reveal, .reveal-up, .reveal-l, .reveal-r{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-l{ transform: translateX(-30px); }
.reveal-r{ transform: translateX(30px); }
.reveal.is-in, .reveal-up.is-in, .reveal-l.is-in, .reveal-r.is-in{
  opacity: 1;
  transform: none;
}
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.is-in > *{ opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-in > *:nth-child(2){ transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(3){ transition-delay: .20s; }
.reveal-stagger.is-in > *:nth-child(4){ transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(5){ transition-delay: .36s; }
.reveal-stagger.is-in > *:nth-child(6){ transition-delay: .44s; }
.reveal-stagger.is-in > *:nth-child(7){ transition-delay: .52s; }
.reveal-stagger.is-in > *:nth-child(8){ transition-delay: .60s; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px){
  .cards, .products, .contact__grid{ grid-template-columns: repeat(2, 1fr); }
  .process{ grid-template-columns: repeat(2, 1fr); }
  .why{ grid-template-columns: 1fr; }
  .numbers{ grid-template-columns: repeat(2, 1fr); }
  .product-hero{ grid-template-columns: 1fr; }
  .product--hero{ padding: 32px; }
  .ia__grid{ grid-template-columns: 1fr; gap: 32px; }
  .cta-band__inner{ grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px){
  .nav__links{ display: none; }
  .nav__cta{ display: none; }
  .cards, .products, .contact__grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  .hero{ padding-bottom: 80px; }
  .marquee__item{ font-size: 17px; gap: 36px; }
  .marquee__track{ gap: 36px; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
  .product-hero__cta{ flex-direction: column; align-items: stretch; }
  .also{ flex-direction: column; align-items: flex-start; }
}

/* ── LIGHT THEME OVERRIDES ────────────────── */
[data-theme="light"] .grain{ display: none; }

[data-theme="light"] .nav.is-scrolled{
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(140%) blur(18px);
}
[data-theme="light"] .chip{
  background: rgba(11,18,32,0.025);
}
[data-theme="light"] .card,
[data-theme="light"] .product,
[data-theme="light"] .contact-card,
[data-theme="light"] .step,
[data-theme="light"] .ia-block,
[data-theme="light"] .why__item{
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(11,18,32,0.04), 0 4px 16px -8px rgba(11,18,32,0.08);
}
[data-theme="light"] .card:hover,
[data-theme="light"] .product:hover,
[data-theme="light"] .contact-card:hover{
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(8,145,178,0.08), 0 20px 40px -16px rgba(8,145,178,0.18);
}
[data-theme="light"] .product-hero__modules{ background: #F8FAFC; }
[data-theme="light"] .also{ background: #FFFFFF; }
[data-theme="light"] .also__item{ background: #F8FAFC; }
[data-theme="light"] .numbers{ background: var(--line); }
[data-theme="light"] .num{ background: #FFFFFF; }
[data-theme="light"] .phone{
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F6FB 100%);
  box-shadow:
    0 30px 80px -24px rgba(8,145,178,0.25),
    0 20px 40px -20px rgba(124,58,237,0.2);
}
[data-theme="light"] .phone__notch{ background: #FFFFFF; }
[data-theme="light"] .bubble--in{ background: #F1F5F9; color: var(--ink); }
[data-theme="light"] .bubble--out{
  background: linear-gradient(135deg, rgba(8,145,178,0.10), rgba(124,58,237,0.08));
  border-color: rgba(8,145,178,0.25);
  color: var(--ink);
}
[data-theme="light"] .lang button.is-active{ background: rgba(8,145,178,0.08); }
[data-theme="light"] .nav__link{ color: var(--ink-3); }
[data-theme="light"] .nav__link:hover{ color: var(--ink); }
[data-theme="light"] .footer__links a:hover{ color: var(--cyan); }
[data-theme="light"] .btn--ghost{
  background: rgba(255,255,255,0.6);
  color: var(--ink);
}
[data-theme="light"] .btn--primary{
  color: #FFFFFF;
  background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}
[data-theme="light"] .marquee__item{ color: var(--ink-dim); }
[data-theme="light"] .marquee__item:hover{ color: var(--cyan); }
[data-theme="light"] .brand__logo,
[data-theme="light"] .footer__brand img,
[data-theme="light"] .product-hero__mark{
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(124,58,237,0.06));
}
/* Hero core glow softer in light mode */
[data-theme="light"] .hero__core::before{
  background: radial-gradient(circle at center,
    rgba(99,102,241,0.20) 0%,
    rgba(124,58,237,0.12) 25%,
    rgba(8,145,178,0.10) 50%,
    transparent 75%);
}
[data-theme="light"] .hero__core::after{ opacity: 0.4; }
[data-theme="light"] .hero__rings circle{ stroke: rgba(11,18,32,0.06); }
[data-theme="light"] .hero__rings .r-pulse{ stroke: var(--cyan); stroke-opacity: 0.4; }
[data-theme="light"] .scroll-bar{ background: rgba(11,18,32,0.05); }
[data-theme="light"] .ia-block:hover{ background: #FFFFFF; }
[data-theme="light"] .num__value .suffix{ -webkit-text-fill-color: var(--cyan); }

/* ── Plataformas & tecnologías (stack band) ─── */
.stackband{
  margin-top: clamp(36px, 5vh, 56px);
  padding-top: 32px;
  border-top: 1px dashed var(--line-2);
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.stackband__label{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stackband__chips{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
