/* ═══════════════════════════════════════════════════════════
   UMANAGENTIX — style.css · V2 "Alive"
   Human warmth × AI cool, expressed as living gradients.
   Display: Unbounded · Body: Sora · HUD: IBM Plex Mono
   (V1 preserved at ../Website-V1-backup-20260704)
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:     #030510;
  --ink:    #eef2ff;
  --dim:    #93a3c8;
  --line:   rgba(122, 152, 214, 0.14);

  /* The duality */
  --ai-1:    #00e5ff;   /* cyan       */
  --ai-2:    #4f8df9;   /* azure      */
  
  --human-1: #ffc46b;   /* light orange */
  --human-2: #f59e0b;   /* orange       */

  --grad-ai:     linear-gradient(100deg, var(--ai-1), var(--ai-2));
  --grad-human:  linear-gradient(100deg, var(--human-1), var(--human-2));
  --grad-fusion: var(--grad-ai);   /* family-pure: blue only — never mix cool with warm */

  --font-display: "Unbounded", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body:    "Sora", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --hdr-h: 64px;

  /* Orbit sizing — set live by js/hero.js (calibrated to the brain image) */
  --orbit-size: clamp(324px, 65.7vw, 684px);
  --orbit-r:    clamp(133px, 27vw,  281px);
  --brain-x: 50%;
  --brain-y: 46%;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: rgba(79, 141, 249, .35); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a2f5c; border-radius: 3px; }

/* ══════════════════════════════════════════
   ATMOSPHERE — living gradient sky
   ══════════════════════════════════════════ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  will-change: transform;
}
.aurora-ai {
  top: -22vmax; right: -14vmax;
  background: radial-gradient(circle at 40% 40%, var(--ai-1), var(--ai-2) 60%, transparent 72%);
  animation: drift-a 42s ease-in-out infinite alternate;
}
.aurora-human {
  bottom: -28vmax; left: -18vmax;
  background: radial-gradient(circle at 60% 60%, var(--human-2), var(--human-1) 55%, transparent 74%);
  opacity: .10;
  animation: drift-b 55s ease-in-out infinite alternate;
}
.aurora-deep {
  top: 30%; left: 30%;
  width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, var(--ai-2), transparent 70%);
  opacity: .10;
  animation: drift-c 66s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-9vmax, 7vmax) scale(1.18); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1.1); } to { transform: translate(10vmax, -6vmax) scale(0.94); } }
@keyframes drift-c { from { transform: translate(0,0); } to { transform: translate(-12vmax, 9vmax); } }

/* Faint grid — the futurist floor */
.gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,152,214,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,152,214,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 0%, transparent 78%);
}
/* Film grain */
.grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%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)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05;
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, -3%); }
  80% { transform: translate(4%, 2%); }
}

/* Everything above the atmosphere */
#site-header, .hero, .hero-cta, main, .site-footer { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--hdr-h);
  background: rgba(3, 5, 16, 0.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(79, 141, 249, 0.12);
  transition: height .35s, background .35s;
}
#site-header.scrolled {
  height: 52px;
  background: rgba(3, 5, 16, 0.88);
}
.header-inner {
  /* full-bleed: logo pinned to the left edge, Book a Demo to the top-right corner */
  width: 100%;
  height: 100%;
  padding: 0 1.6rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
.logo-u {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-dot {
  width: 6px; height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--grad-human);
  align-self: center;
  animation: dot-breathe 3.2s ease-in-out infinite;
}
@keyframes dot-breathe {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
  50%      { box-shadow: 0 0 10px 2px rgba(245,158,11,.55); }
}
.site-nav { display: flex; gap: 2.4rem; margin-left: auto; }
.site-nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 0;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--grad-fusion);
  transition: right .3s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

.cta-btn {
  position: relative;
  font-size: .8rem; font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  padding: .52rem 1.35rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad-fusion) border-box;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: box-shadow .25s, transform .15s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(79, 141, 249, .35);
}

/* ══════════════════════════════════════════
   HERO  (mechanics preserved from V1 — hero.js calibrates)
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
#hero-img {
  /* The composition never grows past its 1920 design size: on larger
     screens the image is capped at its natural 1920×1280 and centered,
     with the dark backdrop around it. */
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%; height: 100%;
  max-width: 1920px;
  max-height: 1280px;
  object-fit: cover;
  object-position: center 48%;
  transform: translateY(var(--hero-shift, 0px)) scale(var(--hero-zoom, 1));
  transform-origin: center center;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, rgba(3,5,16,.72) 100%);
  pointer-events: none;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom, rgba(3,5,16,.55) 0%, transparent 16%),
    linear-gradient(to top,    rgba(3,5,16,.88) 0%, transparent 35%);
  pointer-events: none;
}

/* ── Orbit system ───────────────────────── */
.orbit-system {
  position: absolute;
  left: var(--brain-x);
  top:  var(--brain-y);
  transform: translate(-50%, -50%);
  width:  var(--orbit-w, var(--orbit-size));
  height: var(--orbit-h, var(--orbit-size));
  z-index: 5;
  pointer-events: none;
}
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.icon-node {
  position: absolute;
  top:  calc(50% - 36px);
  left: calc(50% - 36px);
  width: 72px;
  height: 72px;
  transform-origin: 36px 36px;
  animation: node-orbit 38s linear infinite;
  pointer-events: auto;
  cursor: pointer;
}
.n-0 { animation-delay: -28.5s; }
.n-1 { animation-delay: -36.1s; }
.n-2 { animation-delay:  -5.7s; }
.n-3 { animation-delay: -13.3s; }
.n-4 { animation-delay: -20.9s; }
@keyframes node-orbit {
  from { transform: rotate(  0deg) translateX(var(--orbit-r)) rotate(  0deg); }
  to   { transform: rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); }
}
.node-img {
  width: 72px; height: 72px; border-radius: 50%;
  animation: node-pulse 3s ease-in-out infinite;
  transition: transform .25s ease;
}
.icon-node:hover .node-img { transform: scale(1.14); }
@keyframes node-pulse {
  0%,100% { filter: drop-shadow(0 0 6px rgba(0,229,255,.5)); }
  50%      { filter: drop-shadow(0 0 16px rgba(0,229,255,.9)); }
}
.n-0 .node-img { animation-delay: 0s; }
.n-1 .node-img { animation-delay: .6s; }
.n-2 .node-img { animation-delay: 1.2s; }
.n-3 .node-img { animation-delay: 1.8s; }
.n-4 .node-img { animation-delay: 2.4s; }
.node-label {
  /* Anchored at the icon center; JS (main.js orbit-labels) moves it radially
     outward each frame — above at N, right at E, below at S, left at W.
     The static transform is the no-JS / reduced-motion fallback (below icon). */
  position: absolute;
  left: 36px;
  top: 36px;
  transform: translate(-50%, 44px);
  will-change: transform;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,.6);
}

/* ── Title band (top 12%) — HUD eyebrow ──── */
/* Title band retired — the eyebrow was removed, the hero starts at the top */
.hero-content { display: none; }
.hud-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-mono);
  font-size: clamp(.6rem, 1.1vw, .74rem);
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--dim);
  padding: .55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(3,5,16,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hud-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ai-1);
  box-shadow: 0 0 8px var(--ai-1);
  animation: hud-blink 2.2s ease-in-out infinite;
}
@keyframes hud-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ══════════════════════════════════════════
   HEADLINE + CTA
   ══════════════════════════════════════════ */
.hero-cta {
  text-align: center;
  padding: 1.5rem 1.5rem 5rem;
  margin-top: -3.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.01em;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,.55);
}
.headline-fusion {
  background: var(--grad-fusion);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fusion-slide 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 26px rgba(79,141,249,.35));
}
@keyframes fusion-slide { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-sub {
  font-size: clamp(.9rem, 1.4vw, 1.08rem);
  color: rgba(238,242,255,.62);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  position: relative;
  display: inline-block;
  font-size: .9rem; font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  padding: .82rem 2.3rem;
  border: none;
  border-radius: 999px;
  background: var(--grad-fusion);
  background-size: 200% 100%;
  cursor: pointer;
  transition: background-position .4s ease, transform .15s, box-shadow .25s;
  box-shadow: 0 0 26px rgba(79, 141, 249, .35);
}
.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(79, 141, 249, .5);
}
.btn-ghost {
  display: inline-block;
  color: rgba(238,242,255,.66);
  font-size: .9rem; font-weight: 400;
  padding: .82rem 2.1rem;
  border: 1px solid rgba(136,152,184,.26);
  border-radius: 999px;
  transition: border-color .25s, color .25s, box-shadow .25s;
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(0,229,255,.45);
  box-shadow: inset 0 0 18px rgba(0,229,255,.08);
}

/* ── The equation ───────────────────────── */
.equation {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem 1.1rem;
  margin-top: 3.2rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: clamp(.62rem, 1.3vw, .8rem);
  letter-spacing: .22em;
  background:
    linear-gradient(rgba(3,5,16,.75), rgba(3,5,16,.75)) padding-box,
    var(--grad-fusion) border-box;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.equation::after {           /* passing light sweep */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 55%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.09), transparent);
  animation: eq-sweep 5.5s ease-in-out infinite;
}
@keyframes eq-sweep { 0%, 55% { left: -60%; } 90%, 100% { left: 120%; } }
.eq-human  { background: var(--grad-human); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.eq-ai     { background: var(--grad-ai);    -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.eq-result { color: var(--ink); font-weight: 500; text-shadow: 0 0 14px rgba(238,242,255,.35); }
.eq-op     { color: var(--dim); }

/* ══════════════════════════════════════════
   SECTIONS — shared
   ══════════════════════════════════════════ */
.section { padding: 6.5rem 1.5rem; }
.section-inner { max-width: 1150px; margin: 0 auto; }
.section-inner-narrow { max-width: 780px; }

.kicker {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--ai-2);
  margin-bottom: 1.1rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.22;
  margin-bottom: 3.2rem;
}
.grad-ai     { background: var(--grad-ai);     -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-human  { background: var(--grad-human);  -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-fusion { background: var(--grad-fusion); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   CAPABILITIES — bento grid
   ══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.feature-card {
  position: relative;
  grid-column: span 2;
  padding: 1.9rem 1.7rem;
  border-radius: 18px;
  background:
    linear-gradient(rgba(9, 13, 30, .72), rgba(9, 13, 30, .72)) padding-box,
    linear-gradient(140deg, rgba(122,152,214,.28), rgba(122,152,214,.06) 40%, rgba(122,152,214,.16)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
/* pointer-tracked glow (JS sets --mx/--my) */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(79, 141, 249, .16), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .5), 0 0 0 1px rgba(79,141,249,.22);
}
.feature-icon img {
  width: 62px; height: 62px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 12px rgba(0,229,255,.35));
  transition: transform .3s ease;
}
.feature-card:hover .feature-icon img { transform: scale(1.1) rotate(-4deg); }
.card-lg .feature-icon img { width: 84px; height: 84px; }
.feature-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: .65rem;
}
.card-lg .feature-title { font-size: 1.35rem; }
.feature-desc { font-size: .87rem; line-height: 1.7; color: var(--dim); }
.card-lg .feature-desc { font-size: .95rem; max-width: 44ch; }
.feature-tag {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .26em;
  color: var(--ai-1);
  opacity: .75;
}

/* ══════════════════════════════════════════
   STATS — time recovered
   ══════════════════════════════════════════ */
.section-stats { padding-top: 2rem; }
.stats-band {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2.2rem;
  padding: 3rem 2rem;
  border-radius: 22px;
  background:
    linear-gradient(rgba(7, 10, 24, .8), rgba(7, 10, 24, .8)) padding-box,
    var(--grad-fusion) border-box;
  border: 1px solid transparent;
}
.stat { text-align: center; min-width: 190px; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  background: var(--grad-fusion);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  margin-bottom: .55rem;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--dim);
}
.stat-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, rgba(122,152,214,.3), transparent);
}
.stats-footnote {
  margin-top: 1.2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  color: rgba(147,163,200,.55);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   HOW IT WORKS — steps
   ══════════════════════════════════════════ */
.section-how { text-align: center; }
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 260px;
  max-width: 330px;
  text-align: left;
  padding: 1.8rem 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 24, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: rgba(0,229,255,.3); transform: translateY(-3px); }
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .2em;
  padding: .3rem .7rem;
  border-radius: 8px;
  margin-bottom: 1.1rem;
  color: #fff;
  background: var(--grad-fusion);
}
.steps .step:first-child .step-num { background: var(--grad-ai); }
.steps .step:last-of-type .step-num { background: var(--grad-human); }
.step-title {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 500;
  margin-bottom: .6rem;
}
.step-desc { font-size: .85rem; line-height: 1.7; color: var(--dim); }
.step-link {
  align-self: center;
  width: 46px;
  height: 1px;
  background: var(--grad-fusion);
  opacity: .6;
  position: relative;
}
.step-link::after {
  content: "";
  position: absolute;
  right: -1px; top: -2.5px;
  border-left: 6px solid var(--ai-2);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
@media (max-width: 900px) { .step-link { display: none; } }

/* ══════════════════════════════════════════
   ABOUT — the duality
   ══════════════════════════════════════════ */
.section-about { text-align: center; padding-top: 8rem; padding-bottom: 8rem; }
.about-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.8rem;
}
.about-body {
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  line-height: 1.85;
  color: var(--dim);
  max-width: 62ch;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.section-contact { text-align: center; }
.section-contact .section-headline {
  margin-bottom: 2.4rem;
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);   /* +10% vs other sections */
}
.glass-panel {
  background:
    linear-gradient(rgba(7, 10, 24, .78), rgba(7, 10, 24, .78)) padding-box,
    linear-gradient(160deg, rgba(0,229,255,.3), rgba(79,141,249,.14)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.4rem 2.2rem;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(238, 242, 255, .88);
  margin-bottom: .45rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .99rem;
  color: var(--ink);
  background: rgba(3, 5, 16, .6);
  border: 1px solid rgba(122,152,214,.2);
  border-radius: 10px;
  padding: .72rem .95rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(201, 213, 240, .62); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0,229,255,.55);
  box-shadow: 0 0 0 3px rgba(0,229,255,.12);
}
.form-actions { text-align: right; margin-top: .4rem; }
.form-status {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ai-1);
  min-height: 1.1em;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid rgba(79, 141, 249, 0.14);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: var(--dim); }
.footer-email {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--dim);
  transition: color .2s;
}
.footer-email:hover { color: var(--ai-1); }
.footer-social { margin-left: auto; display: flex; gap: 1rem; }
.social-link {
  color: var(--dim);
  transition: color .2s, transform .2s, filter .2s;
}
.social-link:hover {
  color: var(--ai-1);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(0,229,255,.5));
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card, .card-lg { grid-column: span 2; grid-row: auto; }
  .site-nav { display: none; }
  /* nav (with its margin-left:auto) is hidden — pin toggle + CTA to the corner */
  .lang-switch { margin-left: auto; }
  .stats-band { flex-direction: column; align-items: center; }
  .stat-divider { width: 60%; height: 1px; align-self: center;
    background: linear-gradient(to right, transparent, rgba(122,152,214,.3), transparent); }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .header-inner { padding: 0 1.25rem; }
  .section { padding: 4.5rem 1.25rem; }
  .equation { letter-spacing: .12em; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .aurora, .grain, .icon-node, .node-img, .headline-fusion,
  .equation::after, .hud-pulse, .logo-dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  /* Static pentagon: without the orbit animation the nodes would all pile
     up at the center — pin each at its animation start angle instead. */
  .n-0 { transform: rotate(270deg) translateX(var(--orbit-r)) rotate(-270deg); }
  .n-1 { transform: rotate(342deg) translateX(var(--orbit-r)) rotate(-342deg); }
  .n-2 { transform: rotate(54deg)  translateX(var(--orbit-r)) rotate(-54deg); }
  .n-3 { transform: rotate(126deg) translateX(var(--orbit-r)) rotate(-126deg); }
  .n-4 { transform: rotate(198deg) translateX(var(--orbit-r)) rotate(-198deg); }
}

/* ═══════════════════════════════════════════════════════════
   V2 "ALL-IN" LAYER — boot, cursor, neural canvas, tickers,
   agent console, week viz, tilt cards, footer wordmark
   ═══════════════════════════════════════════════════════════ */

/* ── Custom cursor (fine pointers only) ── */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button,
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: none; }
  .cursor-on .cursor-dot {
    display: block;
    position: fixed;
    z-index: 6000;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--human-2);
    box-shadow: 0 0 8px rgba(245,158,11,.8);
    pointer-events: none;
  }
  .cursor-on .cursor-ring {
    display: block;
    position: fixed;
    z-index: 5999;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 1px solid rgba(0,229,255,.55);
    box-shadow: 0 0 14px rgba(0,229,255,.18) inset;
    pointer-events: none;
    transition: transform .18s ease, border-color .18s ease;
  }
  .cursor-on .cursor-ring.is-hover {
    transform: scale(1.7);
    border-color: rgba(0,229,255,.9);
  }
}

/* ── Scroll progress ───────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 4000;
  background: var(--grad-ai);
  box-shadow: 0 0 10px rgba(0,229,255,.6);
}

/* ── Neural canvas ─────────────────────── */
#neural { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Hero extras ───────────────────────── */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(122,152,214,.4);
  border-radius: 12px;
  z-index: 20;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ai-1);
  animation: hint-drop 1.8s ease-in-out infinite;
}
@keyframes hint-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Typewriter */
.typed-wrap { display: inline-flex; align-items: baseline; }
.typed { min-height: 1.14em; }
.caret {
  display: inline-block;
  width: 3px;
  height: .95em;
  margin-left: 6px;
  align-self: center;
  background: var(--ai-1);
  box-shadow: 0 0 10px rgba(0,229,255,.8);
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.typed.grad-human { filter: drop-shadow(0 0 22px rgba(245,158,11,.3)); }
.typed.grad-ai    { filter: drop-shadow(0 0 22px rgba(79,141,249,.35)); }

/* ── Tickers ───────────────────────────── */
.ticker-band {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0 0;
  overflow: hidden;
}
.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: .55rem 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .3em;
  border-top: 1px solid var(--line);
}
.ticker:last-child { border-bottom: 1px solid var(--line); }
.t-blue   { color: rgba(0,229,255,.55); }
.t-orange { color: rgba(245,158,11,.55); }
.ticker-track { display: inline-flex; animation: tick 46s linear infinite; }
.ticker-track.rev { animation: tick-rev 52s linear infinite; }
@keyframes tick     { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tick-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── Tilt cards ────────────────────────── */
.tilt { transform-style: preserve-3d; will-change: transform; }
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 46%, transparent 62%);
  background-size: 240% 100%;
  background-position: 120% 0;
  transition: background-position .7s ease;
  pointer-events: none;
}
.feature-card:hover .card-shine { background-position: -60% 0; }

/* ── Agent console ─────────────────────── */
.console-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.2rem;
  align-items: center;
}
@media (max-width: 980px) { .console-layout { grid-template-columns: 1fr; } }
.console-lead { font-size: .96rem; line-height: 1.8; color: var(--dim); margin-bottom: 1.6rem; }
.hl-orange { color: var(--human-2); font-weight: 600; }
.console-points { list-style: none; }
.console-points li {
  display: flex; align-items: center; gap: .7rem;
  font-size: .88rem; color: var(--ink);
  padding: .45rem 0;
}
.pt { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pt-blue   { background: var(--grad-ai);    box-shadow: 0 0 8px rgba(0,229,255,.6); }
.pt-orange { background: var(--grad-human); box-shadow: 0 0 8px rgba(245,158,11,.6); }

.console {
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(rgba(4, 7, 18, .92), rgba(4, 7, 18, .92)) padding-box,
    linear-gradient(140deg, rgba(0,229,255,.4), rgba(79,141,249,.15) 55%, rgba(0,229,255,.25)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(0,140,255,.07);
}
.console-chrome {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(122,152,214,.14);
  background: rgba(9, 13, 30, .8);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.d-r { background: #ff5f57; } .d-y { background: #febc2e; } .d-g { background: #28c840; }
.console-title {
  margin-left: .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--dim);
}
.console-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--human-2);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--human-2);
  box-shadow: 0 0 8px rgba(245,158,11,.8);
  animation: hud-blink 1.6s ease-in-out infinite;
}
.console-body {
  height: 320px;
  overflow: hidden;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.9;
  letter-spacing: .02em;
}
.console-body .ln { white-space: pre-wrap; word-break: break-word; }
.c-dim    { color: rgba(147,163,200,.55); }
.c-blue   { color: var(--ai-1); }
.c-azure  { color: var(--ai-2); }
.c-orange { color: var(--human-2); }
.c-white  { color: var(--ink); }
.c-ok     { color: #37e08b; }

/* ── Stat gauge rings (replaces the live-feed console) ── */
.stats-rings {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  align-items: flex-start;
}
.ring-stat {
  flex: 1 1 0;
  max-width: 190px;
  min-width: 92px;
  text-align: center;
}
.ring-dial { position: relative; }
.ring-dial svg {
  width: 100%;
  height: auto;
  transform: rotate(-90deg);      /* fills start at 12 o'clock */
  overflow: visible;
}
/* slow-turning dashed halo */
.ring-orbit {
  fill: none;
  stroke: rgba(0, 229, 255, .22);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  transform-origin: 60px 60px;
  animation: ring-turn 26s linear infinite;
}
.ro-human { stroke: rgba(245, 158, 11, .25); }
@keyframes ring-turn { to { transform: rotate(360deg); } }
.ring-track {
  fill: none;
  stroke: rgba(122, 152, 214, .14);
  stroke-width: 7;
}
.ring-fill {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 320.4;        /* 2π × 51 */
  stroke-dashoffset: 320.4;
  transition: stroke-dashoffset 1.9s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--d, 0s) + .35s);
}
.ring-stat.in .ring-fill { stroke-dashoffset: calc(320.4 * (1 - var(--p, 1))); }
.rf-ai    { stroke: url(#rgrad-ai);    filter: drop-shadow(0 0 6px rgba(0, 229, 255, .55)); }
.rf-human { stroke: url(#rgrad-human); filter: drop-shadow(0 0 6px rgba(245, 158, 11, .55)); }
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ring-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rv-ai    { background-image: var(--grad-ai); }
.rv-human { background-image: var(--grad-human); }
.ring-label {
  margin-top: .85rem;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--dim);
}
@media (max-width: 980px) {
  .stats-rings { gap: .9rem; }
  .ring-label { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ring-orbit { animation: none; }
  .ring-fill  { transition: none; }
  .ring-stat .ring-fill { stroke-dashoffset: calc(320.4 * (1 - var(--p, 1))); }
}

/* ── Week viz ──────────────────────────── */
.week-viz { margin-bottom: 3rem; }
.week-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.1rem;
}
.week-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--dim);
  text-align: right;
  line-height: 1.6;
}
.week-label-on { color: var(--ai-1); }
.week-bar {
  display: flex;
  gap: 5px;
  height: 52px;
  border-radius: 12px;
}
.seg {
  position: relative;
  width: 0;                      /* animated to data-w% by JS */
  border-radius: 10px;
  overflow: hidden;
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
  display: flex;
  align-items: center;
  min-width: 0;
}
.seg span {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  white-space: nowrap;
  padding: 0 .9rem;
  opacity: 0;
  transition: opacity .5s ease .9s;
}
.week-viz.played .seg span { opacity: 1; }
.seg-busy  { background: rgba(122, 137, 168, .22); color: rgba(147,163,200,.9); }
.seg-agent { background: var(--grad-ai); color: #03233a; font-weight: 500; }
.seg-craft { background: var(--grad-human); color: #3a2202; font-weight: 500; }
.week-note {
  margin-top: 1.3rem;
  font-size: .84rem;
  color: var(--dim);
}
.sv-orange { background: var(--grad-human) !important; -webkit-background-clip: text !important; background-clip: text !important; }

/* step number family variants */
.sn-blue   { background: var(--grad-ai) !important; }
.sn-orange { background: var(--grad-human) !important; }

/* ── Footer wordmark ───────────────────── */
.site-footer { overflow: hidden; padding-top: 3rem; }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 8.6vw, 8.4rem);
  line-height: .9;
  text-align: center;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 152, 214, .18);
  user-select: none;
  margin-bottom: 2.2rem;
  transition: -webkit-text-stroke-color .4s;
}
.footer-wordmark:hover { -webkit-text-stroke-color: rgba(0, 229, 255, .4); }

/* ── Back to top ───────────────────────── */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 3000;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(4,7,18,.9), rgba(4,7,18,.9)) padding-box,
    var(--grad-ai) border-box;
  color: var(--ai-1);
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { box-shadow: 0 0 20px rgba(0,229,255,.35); }

/* ── Reduced motion for the all-in layer ── */
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .ticker-track.rev, .scroll-hint span,
  .caret, .live-dot { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: auto; }
  .seg { transition: none; }
  .tilt { transform: none !important; }
}

/* ══════════════════════════════════════════
   FOOTER v2 — living brand mark
   ══════════════════════════════════════════ */
.footer-wordmark { display: none; }
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  user-select: none;
  padding: 1rem 1.5rem 0;
}
.fb-uman {
  background: var(--grad-ai);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fusion-slide 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 34px rgba(79, 141, 249, .35));
}
.fb-agentix { color: var(--ink); text-shadow: 0 0 40px rgba(238, 242, 255, .12); }
.fb-dot {
  width: .11em;
  height: .11em;
  margin-left: .1em;
  border-radius: 50%;
  background: var(--grad-human);
  align-self: center;
  box-shadow: 0 0 .22em rgba(245, 158, 11, .8);
  animation: dot-breathe 3.2s ease-in-out infinite;
}
.footer-tag {
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .5em;
  text-indent: .5em;          /* optically re-center the tracked text */
  color: rgba(238, 242, 255, .85);
}
.site-footer .footer-inner {
  justify-content: center;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .fb-uman, .fb-dot { animation: none !important; }
}

/* ══════════════════════════════════════════
   MOBILE — section titles centered
   ══════════════════════════════════════════ */
@media (max-width: 700px) {
  .section-features .kicker,
  .section-features .section-headline,
  .console-copy .kicker,
  .console-copy .section-headline {
    text-align: center;
  }
}

/* ── Language toggle (EN | FR segmented) ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122, 152, 214, .3);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(238, 242, 255, .04);
}
.lang-opt {
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--dim);
  background: transparent;
  border: none;
  padding: .42rem .7rem;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt.active {
  color: var(--ink);
  background: rgba(238, 242, 255, .13);
  text-shadow: 0 0 10px rgba(0, 229, 255, .4);
}

/* Mobile header — compact so logo + EN/FR + CTA fit the corner cleanly */
@media (max-width: 700px) {
  .header-inner { gap: .7rem; padding: 0 .9rem; }
  .logo { font-size: .88rem; }
  .lang-opt { padding: .36rem .55rem; font-size: .6rem; letter-spacing: .1em; }
  .cta-btn { padding: .42rem .85rem; font-size: .7rem; }
}

/* ══════════════════════════════════════════
   MOBILE HERO — the full composition (hands + brain + ring + icons)
   fits the screen. The image is sized by WIDTH (slightly wider than
   the viewport so the hands stay in frame) instead of cover-cropping
   to a brain-only strip. Icons scale down to phone size; hero.js
   recenters the ring automatically from the layout.
   ══════════════════════════════════════════ */
@media (max-width: 700px) {
  .hero { height: 540px; min-height: 0; }
  /* the FR tagline is long: tighten tracking so it fits a phone width */
  .footer-tag {
    font-size: .6rem;
    letter-spacing: .16em;
    text-indent: .16em;
    padding: 0 .75rem;
  }
  #hero-img {
    position: absolute;
    top: 84px;
    left: 50%;
    margin-left: calc(min(128vw, 600px) / -2);   /* true centering — auto margins can't center oversized elements */
    width: min(128vw, 600px);
    height: auto;
  }
  .node-img { width: 48px; height: 48px; }
  .icon-node {
    width: 48px; height: 48px;
    top:  calc(50% - 24px);
    left: calc(50% - 24px);
    transform-origin: 24px 24px;
  }
  .node-label {
    left: 24px; top: 24px;
    transform: translate(-50%, 32px);   /* no-JS / reduced-motion fallback */
    font-size: .57rem;
    letter-spacing: .14em;
  }
}
