/* ═══════════════════════════════════════════════════════════════════════
   NEXI AGENCE — Design Tokens
   Vibrant · Tech · Direct
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand Blues ──────────────────────────────────────────────────── */
  --nexi-ink:        #0A1628;   /* deep near-black navy, text/UI base     */
  --nexi-ink-2:      #0F2040;
  --nexi-blue:       #0B5FFF;   /* electric primary, derived from logo N  */
  --nexi-blue-deep:  #0437C4;
  --nexi-sky:        #4FB8E8;   /* secondary sky tone, top of logo N      */
  --nexi-cyan:       #22D3EE;   /* energetic highlight                    */

  /* ── Neutrals (cool-tinted) ───────────────────────────────────────── */
  --nexi-white:      #FFFFFF;
  --nexi-bone:       #F5F7FB;
  --nexi-mist:       #E6EBF3;
  --nexi-steel:      #AEB8CC;
  --nexi-slate:      #5A6B85;
  --nexi-charcoal:   #1A2338;

  /* ── Semantic ─────────────────────────────────────────────────────── */
  --nexi-success:    #00C48C;
  --nexi-warning:    #FFB020;
  --nexi-danger:     #FF4D5E;

  /* ── Signature Gradient ───────────────────────────────────────────── */
  --nexi-gradient:   linear-gradient(135deg, #0437C4 0%, #0B5FFF 35%, #4FB8E8 75%, #22D3EE 100%);
  --nexi-gradient-radial: radial-gradient(ellipse 80% 70% at 25% 40%, #0437C4 0%, #0B5FFF 40%, #4FB8E8 80%, #22D3EE 100%);

  /* ── Typography ───────────────────────────────────────────────────── */
  --ff-display: "Anton", "Archivo Black", "Impact", sans-serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Slide-scale (1920×1080) */
  --fs-display: 180px;
  --fs-title:   96px;
  --fs-h2:      64px;
  --fs-h3:      44px;
  --fs-body:    28px;
  --fs-small:   22px;
  --fs-micro:   18px;

  /* ── Spacing ──────────────────────────────────────────────────────── */
  --pad-x: 120px;
  --pad-y: 96px;
  --gap-title: 48px;
  --gap-item: 24px;

  /* ── Radius & Elevation ───────────────────────────────────────────── */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10,22,40,0.06), 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 12px rgba(10,22,40,0.08), 0 2px 4px rgba(10,22,40,0.06);
  --shadow-lg: 0 20px 48px rgba(10,22,40,0.12), 0 8px 16px rgba(10,22,40,0.08);
  --shadow-blue: 0 20px 60px rgba(11, 95, 255, 0.35);
}

/* ── Global resets for deck ─────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #000; font-family: var(--ff-body); color: var(--nexi-ink); -webkit-font-smoothing: antialiased; }

/* Slide base */
.slide {
  background: var(--nexi-white);
  color: var(--nexi-ink);
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  font-family: var(--ff-body);
  position: relative;
  overflow: hidden;
}
.slide.dark {
  background: var(--nexi-ink);
  color: var(--nexi-white);
}
.slide.bone { background: var(--nexi-bone); }

/* Headings — Display (Anton-like) */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0;
}

.h-title { font-family: var(--ff-display); font-size: var(--fs-title); line-height: 1.0; text-transform: uppercase; margin: 0; letter-spacing: -0.01em; font-weight: 400; }
.h2      { font-family: var(--ff-display); font-size: var(--fs-h2);    line-height: 1.0; text-transform: uppercase; margin: 0; letter-spacing: -0.005em; font-weight: 400; }
.h3      { font-family: var(--ff-body);    font-size: var(--fs-h3);    font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nexi-blue);
  margin: 0;
}

.body-lg { font-size: var(--fs-body); line-height: 1.45; color: var(--nexi-slate); margin: 0; }
.body    { font-size: var(--fs-small); line-height: 1.5; color: var(--nexi-slate); margin: 0; }
.small   { font-size: var(--fs-micro); line-height: 1.4; color: var(--nexi-slate); margin: 0; }
.mono    { font-family: var(--ff-mono); font-size: var(--fs-micro); letter-spacing: 0; }

/* Brand accent: color last word in gradient */
.accent  { background: var(--nexi-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-sky { color: var(--nexi-sky); }
.accent-blue { color: var(--nexi-blue); }

/* Slide number watermark */
.slide-num {
  position: absolute;
  right: 48px;
  bottom: 36px;
  font-family: var(--ff-mono);
  font-size: 16px;
  color: var(--nexi-steel);
  letter-spacing: 0.1em;
}
.slide.dark .slide-num { color: rgba(255,255,255,0.35); }

.slide-tag {
  position: absolute;
  left: 48px;
  bottom: 36px;
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--nexi-steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.slide.dark .slide-tag { color: rgba(255,255,255,0.35); }

/* Rule */
.rule { height: 1px; background: var(--nexi-mist); border: 0; }
.slide.dark .rule { background: rgba(255,255,255,0.12); }

/* Swatch */
.swatch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.swatch .chip {
  border-radius: var(--r-md);
  aspect-ratio: 4/3;
  border: 1px solid rgba(10,22,40,0.06);
  position: relative;
  overflow: hidden;
}
.swatch .meta { display: flex; flex-direction: column; gap: 2px; }
.swatch .name { font-weight: 700; font-size: 20px; color: var(--nexi-ink); }
.swatch .hex  { font-family: var(--ff-mono); font-size: 15px; color: var(--nexi-slate); }

/* Grid utility */
.grid { display: grid; gap: 32px; }

/* Buttons (live demo) */
.btn-demo {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 700; font-size: 20px;
  padding: 18px 36px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  letter-spacing: 0.02em; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease;
}
.btn-demo.primary { background: var(--nexi-ink); color: #fff; }
.btn-demo.gradient { background: var(--nexi-gradient); color: #fff; box-shadow: var(--shadow-blue); }
.btn-demo.outline { background: transparent; color: var(--nexi-ink); box-shadow: inset 0 0 0 2px var(--nexi-ink); }
.btn-demo.ghost { background: transparent; color: var(--nexi-ink); }
.btn-demo:hover { transform: translateY(-2px); }

/* Cards */
.card-demo {
  background: var(--nexi-white);
  border: 1px solid var(--nexi-mist);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.card-demo h4 { font-family: var(--ff-display); text-transform: uppercase; font-size: 28px; margin: 0; letter-spacing: -0.005em; font-weight: 400; }
.card-demo p  { font-size: 18px; color: var(--nexi-slate); line-height: 1.45; margin: 0; }

/* Input */
.input-demo {
  display: flex; flex-direction: column; gap: 10px;
}
.input-demo label { font-size: 16px; font-weight: 700; color: var(--nexi-ink); }
.input-demo input, .input-demo textarea {
  font-family: var(--ff-body); font-size: 18px; padding: 16px 20px;
  border: 2px solid var(--nexi-mist); border-radius: var(--r-md); background: #fff; color: var(--nexi-ink);
  transition: border-color .15s, box-shadow .15s;
}
.input-demo input:focus, .input-demo textarea:focus {
  outline: 0; border-color: var(--nexi-blue);
  box-shadow: 0 0 0 4px rgba(11,95,255,0.15);
}

/* Gradient orb (hero signature) */
.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--nexi-gradient-radial);
  filter: blur(20px);
  pointer-events: none;
}

/* Spec callout pill */
.spec {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 14px; color: var(--nexi-slate);
  background: var(--nexi-bone); border-radius: 999px; padding: 6px 14px;
}
