/* ==========================================================================
   DEVX — Design System / CSS Template
   Dark, modern SaaS aesthetic. Built on Bootstrap 5 utilities + custom tokens.
   ========================================================================== */

/* ---- Design Tokens ------------------------------------------------------ */
:root {
  /* Surfaces */
  --bg:            #13131c;
  --bg-grad-top:   #1a1a26;
  --panel:         #20202e;
  --panel-2:       #262638;
  --surface:       #2b2b3d;
  --surface-2:     #33334d;
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Text */
  --text:          #d4d2e4;
  --text-strong:   #f3f2fb;
  --muted:         #8a89a0;
  --muted-2:       #6a697e;

  /* Brand */
  --primary:       #8b7ff0;
  --primary-2:     #b489f6;
  --primary-soft:  rgba(139, 127, 240, 0.14);
  --grad-brand:    linear-gradient(135deg, #c64fec 0%, #6a5af9 100%);
  --grad-text:     linear-gradient(120deg, #c89bf7 0%, #8b7ff0 60%);

  /* Accents */
  --orange:        #e8924a;
  --mint:          #4fd1c5;

  /* Shape */
  --radius-sm:     12px;
  --radius:        18px;
  --radius-lg:     26px;
  --radius-pill:   100px;

  /* Elevation */
  --shadow-sm:     0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow:        0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-badge:  0 10px 22px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255,255,255,0.25);

  /* Layout */
  --maxw:          1200px;
  --nav-h:         84px;

  /* Type */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---- Base --------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display, .h-font {
  font-family: var(--font-head);
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-2); }

p { color: var(--muted); }

img, svg { max-width: 100%; }

.container-x {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(139,127,240,0.16), transparent 60%),
    radial-gradient(700px 500px at -5% 8%, rgba(198,79,236,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-top), var(--bg) 40%);
  z-index: -2;
  pointer-events: none;
}

/* ---- Reusable atoms ----------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-2);
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.orange { color: var(--orange); }
.eyebrow .spark { color: var(--primary-2); font-size: 1rem; line-height: 1; }

.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead-muted {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 34ch;
}

.section {
  position: relative;
  padding: 96px 0;
}
.section-sm { padding: 64px 0; }

.section-head { max-width: 620px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

/* Raised circular icon badge (matches template's floating coins) */
.badge-coin {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #3a3a52, #24243a);
  box-shadow: var(--shadow-badge);
  color: var(--primary-2);
}
.badge-coin svg { width: 24px; height: 24px; }

/* Glass panel / card */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

/* Buttons */
.btn-x {
  --b: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary-x {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 26px rgba(106, 90, 249, 0.35);
}
.btn-primary-x:hover { transform: translateY(-2px); color:#fff; box-shadow: 0 16px 34px rgba(106,90,249,.45); }

.btn-ghost-x {
  color: var(--text-strong);
  background: rgba(255,255,255,0.05);
  border-color: var(--border-strong);
}
.btn-ghost-x:hover { transform: translateY(-2px); background: rgba(255,255,255,0.09); color: var(--text-strong); }

.btn-soft-x {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-soft-x:hover { transform: translateY(-2px); color: var(--text-strong); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-strong);
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Navbar ------------------------------------------------------------- */
.navbar-x {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.navbar-x.scrolled {
  height: 68px;
  background: rgba(19, 19, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-x .inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text-strong);
}
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
  transition: filter .2s ease;
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 14px rgba(255,0,0,.4)); }
.navbar-x.scrolled .brand-logo { height: 27px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.nav-links a:hover { color: var(--text-strong); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted-2);
}
.lang-switch a { color: var(--muted); padding: 2px 2px; }
.lang-switch a:hover { color: var(--text-strong); }
.lang-switch a.active { color: var(--primary-2); }
.lang-switch.mobile { gap: 18px; padding: 12px 6px; border-bottom: 1px solid var(--border); }
.lang-switch.mobile a { font-size: 1rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  color: var(--text-strong);
}

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: var(--panel);
  border-left: 1px solid var(--border);
  padding: 96px 28px 28px;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
.mobile-menu .btn-x { margin-top: 18px; justify-content: center; }
.mobile-close { position: absolute; top: 26px; right: 22px; background:0; border:0; color: var(--text); }
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: .3s ease;
  z-index: 1050;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 46px);
  padding-bottom: 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  min-height: 540px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin: 20px 0 22px;
}
.hero .lead-muted { font-size: 1.12rem; margin-bottom: 30px; }

/* quick email capture */
.email-capture {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 8px;
  max-width: 430px;
  box-shadow: var(--shadow-sm);
}
.email-capture input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-strong);
  font-size: .98rem;
  padding: 11px 16px;
}
.email-capture input::placeholder { color: var(--muted-2); }
.email-capture button {
  flex: 0 0 auto;
  width: 50px; height: 46px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #e9e8f5, #c9c7df);
  color: #2a2a3a;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}
.email-capture button:hover { transform: translateY(-1px); filter: brightness(1.05); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-visual .sphere-wrap {
  width: min(100%, 480px);
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.55));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* trusted-by strip */
.trusted {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.trusted .label {
  font-size: .8rem;
  color: var(--muted-2);
  letter-spacing: .03em;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  flex-wrap: wrap;
}
.logo-row span {
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--muted);
  opacity: .8;
  transition: opacity .2s ease, color .2s ease;
  white-space: nowrap;
}
.logo-row span:hover { opacity: 1; color: var(--text); }

/* ---- Process / Steps ---------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.step-card .badge-coin { margin: 0 auto 20px; width: 64px; height: 64px; flex-basis:64px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card.active { background: linear-gradient(180deg, rgba(139,127,240,0.14), rgba(139,127,240,0.04)); border-color: rgba(139,127,240,.4); }
.step-num { font-size: .78rem; letter-spacing:.12em; color: var(--muted-2); text-transform: uppercase; }

/* ---- Services ----------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.svc-card::before {
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(420px 200px at 100% 0%, rgba(139,127,240,.18), transparent 60%);
  opacity:0; transition: opacity .3s ease;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.svc-card:hover::before { opacity: 1; }
.svc-card .badge-coin { margin-bottom: 22px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 12px; position: relative; }
.svc-card p { position: relative; margin-bottom: 18px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 6px; position: relative; }
.svc-list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-size: .94rem;
  padding: 5px 0;
}
.svc-list li svg { color: var(--mint); flex: 0 0 auto; }

/* ---- Feature split (Achieve more) -------------------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.feature-item { display: flex; gap: 18px; margin-bottom: 30px; }
.feature-item h4 { font-size: 1.18rem; margin: 4px 0 8px; }
.feature-item p { margin: 0; }

/* dashboard mock */
.mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a2a3e, #1e1e2c);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 320px;
}
.mock-dots { display:flex; gap:7px; margin-bottom: 18px; }
.mock-dots i { width:10px; height:10px; border-radius:50%; background: var(--surface-2); display:block; }
.mock-row { height: 12px; border-radius: 6px; background: var(--surface-2); margin: 11px 0; }
.mock-row.w-70 { width: 70%; }
.mock-row.w-50 { width: 50%; }
.mock-card {
  position: absolute;
  right: -14px;
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  width: 210px;
}
.mock-card.top { top: 34px; }
.mock-card .k { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing:.08em; }
.mock-card .v { font-size: 1.4rem; font-weight: 700; color: var(--text-strong); font-family: var(--font-head); }
.mock-card .up { color: var(--mint); font-size: .8rem; font-weight:600; }
.mock-chart {
  position: absolute;
  right: 18px; bottom: 26px;
  display: flex; align-items: flex-end; gap: 6px;
  height: 76px; padding: 12px 14px;
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.mock-chart i { width: 9px; border-radius: 4px; background: var(--mint); display:block; }

/* ---- Stats -------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.stat {
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .lbl { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px clamp(26px, 5vw, 64px);
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(139,127,240,.22), transparent 60%),
    linear-gradient(160deg, #262638, #1b1b28);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 16ch; }

/* ---- IoT product stack visual ------------------------------------------ */
.stack {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a2a3e, #1c1c2a);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
}
.stack-cap {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  margin-bottom: 16px;
}
.stack-layer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 9px 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  color: var(--text-strong);
  font-weight: 600;
  font-size: .96rem;
  transition: transform .2s ease, border-color .2s ease;
}
.stack-layer:hover { transform: translateX(5px); border-color: rgba(139,127,240,.4); }
.stack-layer .sl-ico { font-size: 1.15rem; line-height: 1; filter: saturate(.85); }
.stack-layer em {
  margin-left: auto;
  font-style: normal;
  font-size: .76rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}
.stack-layer.base { background: linear-gradient(180deg, rgba(139,127,240,0.16), rgba(139,127,240,0.05)); border-color: rgba(139,127,240,.35); }

/* ---- Skills / expertise ------------------------------------------------- */
.skills-split { align-items: start; }
.industries-label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 26px 0 12px;
}
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries .tag {
  font-size: .86rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  transition: border-color .2s ease, color .2s ease;
}
.industries .tag:hover { border-color: var(--border-strong); color: var(--text-strong); }

.skill { margin-bottom: 18px; }
.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.skill-pct { font-family: var(--font-head); font-weight: 700; color: var(--primary-2); font-size: .9rem; }
.skill-track {
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}

/* ---- Particles background ----------------------------------------------- */
/* Sits behind everything: above the ambient gradient (-2), below all content. */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;   /* never intercepts clicks/hover */
}
#particles-bg canvas { display: block; pointer-events: none; }

/* Guarantee every real element renders above the particle canvas. */
.navbar-x, main, .footer { position: relative; z-index: 1; }
.navbar-x { z-index: 1000; }

/* ---- Partners / clients logo grid -------------------------------------- */
.partners-head { max-width: 620px; margin: 64px auto 30px; }
.partners-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.partner img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  opacity: .62;
  transition: opacity .25s ease, transform .25s ease;
}
.partner:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.partner:hover img { opacity: 1; transform: scale(1.04); }
.partners-more { color: var(--muted-2); margin-top: 22px; font-style: italic; letter-spacing: .02em; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
}
.contact-info .ci-item { display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-info .ci-item h4 { font-size: 1rem; margin: 2px 0 4px; }
.contact-info .ci-item p, .contact-info .ci-item a { margin:0; color: var(--muted); }
.contact-info .ci-item a:hover { color: var(--primary-2); }

.form-card { padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:.86rem; color: var(--text); margin-bottom: 8px; font-weight:500; }
.field input, .field textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  padding: 13px 16px;
  font-size: .97rem;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 130px; }
.captcha-row { display:flex; align-items:flex-end; gap: 14px; }
.captcha-q {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 600;
  color: var(--text-strong);
  white-space: nowrap;
  font-family: var(--font-head);
}
.captcha-row .field { flex: 1; margin: 0; }

.form-alert {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: .92rem;
  border: 1px solid transparent;
}
.form-alert.ok  { background: rgba(79,209,197,.12);  border-color: rgba(79,209,197,.35);  color:#8fe9df; }
.form-alert.err { background: rgba(232,90,90,.12);   border-color: rgba(232,90,90,.35);   color:#f0a3a3; }

/* ---- Footer ------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer h5 { font-family: var(--font-body); font-size:.8rem; letter-spacing:.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer ul { list-style:none; padding:0; margin:0; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: var(--muted); font-size:.95rem; }
.footer ul a:hover { color: var(--text-strong); }
.footer .brand { margin-bottom: 16px; }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center; flex-wrap: wrap; gap: 12px;
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2); font-size:.88rem;
}

/* ---- Scroll reveal ------------------------------------------------------ */
/* Content is visible by default (no-JS / no-IO safe); only hidden when the
   .js flag is set, then revealed on scroll. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 991px) {
  .nav-links, .nav-actions .btn-x { display: none; }
  .nav-toggle { display: grid; place-items:center; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .hero-visual { order: -1; }
  .hero-visual .sphere-wrap { width: min(72%, 340px); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-card { position: static; width: auto; margin-top: 16px; }
  .mock-chart { position: static; margin-top: 16px; display:inline-flex; }
  .mock { min-height: auto; }
}
@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .steps-grid, .svc-grid { grid-template-columns: 1fr; }
  .cta-band { text-align: center; }
  .cta-band h2 { max-width: none; }
  /* Stack rows: fixed-width icon aligns the bold labels into a column,
     tech names pinned to the right edge. */
  .stack-layer .sl-ico { flex: 0 0 1.6rem; width: 1.6rem; text-align: center; }
  .stack-layer em { margin-left: auto; text-align: right; flex: 0 0 auto; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
