/* ============================================================
   SAxAI — FOR INDUSTRY ONLY
   Type: Syne (headings) + DM Sans (body)
   Accent: #4F6EF7
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #f7f7fb;
  --surface-2: #f1f1f7;
  --ink: #0b0e16;
  --ink-soft: #2b2f3a;
  --muted: #5b606d;
  --muted-2: #8b909c;
  --border: #e9e9f1;
  --border-strong: #d9d9e6;

  --accent: #4f6ef7;
  --accent-ink: #3a55d6;
  --accent-wash: #eef1fe;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* tweakable */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --density: 0.65; /* spacing multiplier */

  --pad-section: calc(100px * var(--density));
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

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

/* ---------- layout primitives ---------- */
.wrap { width: min(1240px, 90vw); margin-inline: auto; }
.section { padding-block: var(--pad-section); position: relative; }
.section--surface { background: var(--surface); }
.section--accent { background: var(--accent); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}

h2.section-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  max-width: 16ch;
  text-wrap: balance;
}

h2 .accent {
	color: #4f6ef7;
	
}


.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); font-weight: 300; max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--solid { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(79,110,247,.6); }
.btn--solid:hover { background: var(--accent-ink); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { width: min(1240px, 90vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 60px; width: auto; display: block; transition: opacity .3s; }
.nav__logo .logo-light { display: block; }
.nav__logo .logo-dark { display: none; }

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-family: var(--font-body); font-weight: 400; font-size: 15px;
  color: var(--ink-soft); text-decoration: none; position: relative; letter-spacing: 0;
  transition: color .3s var(--ease);
}
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 22px; }

.lang {
  display: inline-flex; align-items: center; font-family: var(--font-body);
  font-size: 13px; font-weight: 500; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); overflow: hidden;
}
.lang button {
  border: 0; background: transparent; cursor: pointer; padding: 7px 13px;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--muted-2);
  transition: color .25s, background .25s;
}
.lang button.active { background: var(--ink); color: #fff; }

/* dark-start navbar (over hero, before scroll) */
.nav[data-state="top"][data-start="dark"] {
  --ink-soft: rgba(255,255,255,.82);
  --muted-2: rgba(255,255,255,.55);
  --border-strong: rgba(255,255,255,.28);
}
.nav[data-state="top"][data-start="dark"] .logo-light { display: none; }
.nav[data-state="top"][data-start="dark"] .logo-dark { display: block; }
.nav[data-state="top"][data-start="dark"] .lang button.active { background: #fff; color: var(--ink); }

.nav[data-state="scrolled"] {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(11,14,22,.02), 0 8px 30px -20px rgba(11,14,22,.25);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__veil { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,.9) 100%);
}
.hero[data-start="dark"] { background: #0a0c14; }
.hero[data-start="dark"] .hero__veil { background: linear-gradient(180deg, rgba(10,12,20,0) 55%, rgba(10,12,20,.6) 100%); }

.hero__inner { position: relative; z-index: 3; width: min(1240px, 90vw); margin-inline: auto; padding-top: var(--nav-h); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding: 9px 16px 9px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px); color: var(--ink-soft); margin-bottom: 34px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.hero[data-start="dark"] .hero__badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.hero[data-start="dark"] .hero__badge .dot { box-shadow: 0 0 0 4px rgba(79,110,247,.25); }

.hero h1 { font-size: clamp(40px, 6.6vw, 92px); line-height: .98; letter-spacing: -0.04em; max-width: 18ch; }
.hero h1 .accent { color: var(--accent); }
.hero[data-start="dark"] h1 { color: #fff; }
.hero[data-start="dark"] h1 .accent { color: #93a6ff; }
.hero__sub { margin-top: 30px; margin-bottom: 42px; font-size: clamp(17px,1.4vw,21px); color: var(--muted); max-width: 46ch; }
.hero[data-start="dark"] .hero__sub { color: rgba(255,255,255,.62); }
.hero[data-start="dark"] .btn--outline { color: #fff; border-color: rgba(255,255,255,.35); }
.hero[data-start="dark"] .btn--outline:hover { border-color: #fff; }

.hero__videotag {
  position: absolute; right: max(5vw, 24px); bottom: 40px; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
}
.hero__videotag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s var(--ease) infinite; }
.hero[data-start="dark"] .hero__videotag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.6); }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(79,110,247,.5);} 50%{ box-shadow: 0 0 0 7px rgba(79,110,247,0);} }

.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); }
.scroll-hint .line { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ============================================================
   CONSTAT — sticky 2 col
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 50px); }
.constat__quote {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15; letter-spacing: -0.025em; color: var(--ink);
  border-left: 3px solid var(--accent); padding-left: 28px; margin-top: 8px;
}
.constat__quote .hl { color: var(--accent); }
.prose p { font-size: clamp(16px, 1.2vw, 19px); color: var(--muted); margin-bottom: 26px; }
.prose p strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   METHODE — 3 col
   ============================================================ */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.method-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 34px 38px; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.method-card::before { content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; background: transparent; border-radius: 2px; transition: background .4s; }
.method-card[data-accent="true"]::before { background: var(--accent); }
.method-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(11,14,22,.35); border-color: var(--border-strong); }
.method-card__num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--accent); letter-spacing: .04em; }
.method-card__title { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin: 14px 0 14px; }
.method-card__desc { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.method-card ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.method-card li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.method-card li svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent); }

/* ============================================================
   SERVICES — numbered rows
   ============================================================ */
.svc-list { margin-top: 56px; border-top: 1px solid var(--border); }
.svc {
  display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 30px;
  padding: 34px 8px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; position: relative;
  transition: padding-left .45s var(--ease), background .45s var(--ease);
}
.svc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.svc__num { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--muted-2); transition: color .4s; }
.svc__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.025em; transition: transform .45s var(--ease); }
.svc__meta { font-size: 14px; color: var(--muted); max-width: 30ch; text-align: right; }
.svc__arrow { display: none; }
.svc:hover { padding-left: 30px; background: var(--surface); }
.svc:hover::before { width: 3px; }
.svc:hover .svc__num { color: var(--accent); }
.svc:hover .svc__title { transform: translateX(4px); }

.svc__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-wash); padding: 4px 10px; border-radius: var(--radius-pill); margin-left: 14px; vertical-align: middle; }

/* ============================================================
   METRICS BAND
   ============================================================ */
.metrics { color: #fff; }
.metrics .eyebrow { color: rgba(255,255,255,.7); }
.metrics .eyebrow::before { background: rgba(255,255,255,.6); }
.metrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.metric { position: relative; padding-top: 30px; }
.metric + .metric { }
.metric__val { font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: -.04em; }
.metric__val .u { font-size: .42em; opacity: .85; margin-left: 2px; }
.metric__label { font-size: 16px; color: rgba(255,255,255,.82); margin-top: 16px; max-width: 22ch; font-weight: 300; }
.metrics__divider { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.25); }

/* ============================================================
   WHY — 3 cards
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.why-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 34px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -44px rgba(11,14,22,.4); border-color: var(--border-strong); }
.why-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); margin-bottom: 26px; }
.why-card__title { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-bottom: 12px; }
.why-card__desc { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.03em; }
.about__big .muted { color: var(--muted-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact h2 { font-size: clamp(34px, 5vw, 70px); line-height: 1.03; letter-spacing: -.035em; max-width: 18ch; margin-inline: auto; }
.contact__pill {
  margin-top: 48px; display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px);
  padding: 20px 22px 20px 34px; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; text-decoration: none; letter-spacing: -.02em;
  transition: transform .45s var(--ease), background .4s var(--ease);
}
.contact__pill:hover { transform: translateY(-3px); background: var(--accent); }
.contact__pill .ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; transition: transform .4s var(--ease); }
.contact__pill:hover .ico { transform: rotate(45deg); }
.contact__reply { margin-top: 26px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: 50px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer__logo img { height: 40px; }
.footer__nav { display: flex; gap: 30px; justify-content: center; }
.footer__nav a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { font-size: 13px; color: var(--muted-2); text-align: right; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  :root { --pad-section: calc(96px * var(--density)); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__sticky { position: static; }
  .cols-3, .why-grid, .metrics__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .svc { grid-template-columns: 56px 1fr; }
  .svc__meta { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__copy { text-align: center; }
}
