/* ═══════════════════════════════════════════════════
   FACTURALO LANDING — tokens.css
   Design tokens LIGHT THEME, reset y estilos base
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── CUSTOM PROPERTIES ───────────────────────────── */
:root {
  /* Brand colors */
  --primary:     #3b56e0;
  --primary-d:   #2a3fb5;
  --primary-l:   #5870f0;

  --secondary:   #00b894;
  --accent:      #7c5ce0;
  --amber:       #d97706;
  --pink:        #db2777;
  --red:         #dc2626;
  --cyan:        #0891b2;

  /* ── LIGHT BACKGROUNDS ───────────────────────── */
  --bg:    #ffffff;
  --bg-2:  #f8faff;
  --bg-3:  #f0f4ff;
  --bg-4:  #e8eefb;

  /* ── LIGHT SURFACES ──────────────────────────── */
  --surface:   rgba(59,86,224,0.04);
  --surface-2: rgba(59,86,224,0.07);
  --surface-3: rgba(59,86,224,0.10);

  /* ── BORDERS ─────────────────────────────────── */
  --border:   rgba(0,0,0,0.08);
  --border-2: rgba(59,86,224,0.20);
  --border-3: rgba(59,86,224,0.38);

  /* ── TEXT ────────────────────────────────────── */
  --text:   #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-4: #cbd5e1;

  /* ── GLOWS ───────────────────────────────────── */
  --glow-primary:   rgba(59,86,224,0.20);
  --glow-secondary: rgba(0,184,148,0.20);
  --glow-accent:    rgba(124,92,224,0.18);

  /* ── TYPOGRAPHY ──────────────────────────────── */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* ── SPACING & SHAPE ─────────────────────────── */
  --section-py: 100px;
  --r-sm:  12px;
  --r:     20px;
  --r-lg:  32px;
  --r-xl:  48px;

  /* ── EASING ──────────────────────────────────── */
  --ease:        cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.40, 0.64, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
  --t-fast:   0.15s;
  --t-normal: 0.25s;
  --t-slow:   0.4s;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: var(--font); }
ul, ol { list-style: none; }

/* ── SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── UTILITIES ───────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #5870f0 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, var(--amber) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── REVEAL ANIMATIONS ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-delay-1       { transition-delay: 0.10s; }
.reveal-delay-2       { transition-delay: 0.20s; }
.reveal-delay-3       { transition-delay: 0.30s; }
.reveal-delay-4       { transition-delay: 0.40s; }
.reveal-delay-5       { transition-delay: 0.50s; }
.reveal-left          { transform: translateX(-28px); }
.reveal-right         { transform: translateX( 28px); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0); }

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-20px) scale(1.05); }
  66%       { transform: translate(-20px,30px) scale(0.95); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
