/* ============================================
   AXO Global Forwarding — Design System Base
   Paleta: azul profundo + dorado
   ============================================ */
:root {
  --bg-deep: #0a141f;
  --bg-base: #0d1b2a;
  --bg-raise: #1b2636;
  --bg-card: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --gold: #d4af37;
  --gold-bright: #e9c75a;
  --gold-deep: #b8860b;
  --ink: #f4f6f9;
  --ink-soft: #b8c2cf;
  --ink-mute: #76828f;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(212, 175, 55, 0.3); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Grano sutil fijo */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Orbes de fondo */
.orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  pointer-events: none; opacity: 0.5;
}

/* Marca AXO */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-weight: 800; font-size: 1.15rem; letter-spacing: 0.18em; color: var(--ink);
}
.brand-name .x { color: inherit; }
.brand-sub {
  font-size: 0.45rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.3rem; font-weight: 600;
}

/* Etiqueta eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 999px; padding: 0.35rem 0.9rem;
  font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
}
.eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}

/* Doble bisel: carcasa + núcleo */
.shell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 0.45rem;
}
.core {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) - 0.45rem);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  border-radius: 999px; padding: 0.85rem 0.85rem 0.85rem 1.6rem;
  font-weight: 700; font-size: 0.95rem; border: none;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), background 0.5s var(--ease-spring);
}
.btn:active { transform: scale(0.97); }
.btn .ico {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-spring);
}
.btn:hover .ico { transform: translate(3px, -1px) scale(1.05); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1205;
  box-shadow: 0 8px 32px -8px rgba(212, 175, 55, 0.45);
}
.btn-gold:hover { box-shadow: 0 12px 40px -8px rgba(212, 175, 55, 0.6); }
.btn-gold .ico { background: rgba(0,0,0,0.12); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-ghost .ico { background: rgba(255,255,255,0.07); }

/* Animación de entrada al hacer scroll */
.reveal {
  opacity: 0; transform: translateY(3.5rem); filter: blur(6px);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring), filter 0.9s var(--ease-spring);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (max-width: 768px) {
  .btn { width: 100%; justify-content: space-between; }
}
