/* ==========================================================================
   OmniXperience — Design System
   Systems-Focused AI and Cloud Lab
   ========================================================================== */

:root {
  /* Brand palette — derived from the OX mark (cyan → blue → violet) */
  --navy-950: #04070f;
  --navy-900: #070d1c;
  --navy-800: #0a1226;
  --navy-700: #0e1a33;
  --navy-600: #142545;
  --panel: #0b1428;
  --panel-alt: #0f1930;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-hi: #f4f7fc;
  --text-mid: #b7c1da;
  --text-low: #7c869e;
  --text-faint: #4c5570;

  --cyan: #35e6e6;
  --cyan-dim: #1fb8bd;
  --blue: #4f7dfb;
  --violet: #8b5cf6;
  --violet-dim: #6d46c9;
  --magenta: #b565e8;

  --grad-brand: linear-gradient(115deg, var(--cyan) 0%, var(--blue) 52%, var(--violet) 100%);
  --grad-brand-soft: linear-gradient(115deg, rgba(53,230,230,0.16) 0%, rgba(79,125,251,0.16) 52%, rgba(139,92,246,0.16) 100%);
  --grad-text: linear-gradient(100deg, #7CF3EE 0%, #6EA4FF 45%, #B08CFF 100%);
  --grad-radial-glow: radial-gradient(circle at 50% 0%, rgba(79,125,251,0.25), transparent 60%);

  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px -20px rgba(79,125,251,0.35);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -28px rgba(0,0,0,0.65);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --ff-display: "Space Grotesk", "Inter", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

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

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy-950);
  color: var(--text-mid);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--text-hi);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { color: var(--text-mid); }

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

::selection { background: rgba(79,125,251,0.35); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { position: relative; padding: var(--space-9) 0; }
.section-tight { padding: var(--space-8) 0; }
.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: var(--space-4); font-size: 1.08rem; color: var(--text-mid); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(53,230,230,0.9);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: 0;
  margin: var(--space-8) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #051018;
  box-shadow: 0 10px 30px -8px rgba(79,125,251,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(139,92,246,0.65); }
.btn-outline {
  background: rgba(255,255,255,0.02);
  color: var(--text-hi);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text-hi);
  padding: 0.85rem 1rem;
}
.btn-ghost span { border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; transition: border-color .3s; }
.btn-ghost:hover span { border-color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.15rem 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--ff-display); font-weight: 600; font-size: 1.18rem; color: var(--text-hi); }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { font-weight: 600; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .3s;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width .35s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text-hi); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-hi); }
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text-hi); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0;
  background: rgba(4,7,15,0.98);
  backdrop-filter: blur(10px);
  z-index: 190;
  display: flex; flex-direction: column;
  padding: 6.5rem 1.75rem 2rem;
  gap: 0.4rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel a {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-hi);
}
.mobile-panel .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 10.5rem 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-glow {
  position: absolute; inset: -20% -10% auto -10%;
  height: 140%;
  background: var(--grad-radial-glow);
  z-index: -2;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: var(--space-5); }
.hero-lede { font-size: 1.18rem; color: var(--text-mid); max-width: 620px; margin-bottom: var(--space-6); }
.hero-trust {
  margin-top: var(--space-8);
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-low);
  letter-spacing: 0.02em;
}
.hero-trust .tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.02);
}

canvas#network-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.85;
}

/* small page header (non-home hero) */
.page-hero {
  position: relative;
  padding: 9.5rem 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { }
.page-hero h1 { max-width: 780px; }
.page-hero p.lede { max-width: 640px; font-size: 1.1rem; margin-top: var(--space-4); }

/* ---------- Grid backdrop ---------- */
.grid-backdrop {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
  z-index: -1;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  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-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}
.icon-tile {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  margin-bottom: var(--space-5);
  flex: none;
  position: relative;
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }
.card .tag-row { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-low);
  background: rgba(255,255,255,0.02);
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Solution card (bigger, w/ code) ---------- */
.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  padding: var(--space-7);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.solution-card:hover { transform: translateY(-4px); border-color: rgba(53,230,230,0.4); }
.solution-card .code {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}
.solution-card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.solution-card .tagline { color: var(--cyan); font-size: 0.92rem; font-weight: 600; margin-bottom: 1rem; }
.solution-card p.desc { font-size: 0.97rem; margin-bottom: 1.4rem; }
.solution-card ul { display: flex; flex-direction: column; gap: 0.55rem; }
.solution-card ul li {
  font-size: 0.9rem; color: var(--text-mid);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.solution-card ul li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--cyan); }
.solution-card .badge-status {
  position: absolute; top: var(--space-6); right: var(--space-6);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.32rem 0.7rem; border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.badge-live { background: rgba(53,230,230,0.14); color: var(--cyan); border: 1px solid rgba(53,230,230,0.35); }
.badge-next { background: rgba(139,92,246,0.14); color: #c3a9ff; border: 1px solid rgba(139,92,246,0.35); }

/* ---------- Feature row (icon+text list) ---------- */
.feature-list { display: grid; gap: 1.75rem; }
.feature-item { display: flex; gap: 1.1rem; }
.feature-item .num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem;
  color: var(--cyan);
  background: rgba(53,230,230,0.06);
}
.feature-item h4 { margin-bottom: 0.35rem; }
.feature-item p { font-size: 0.93rem; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

/* ---------- Visual panel (glass device / diagram mock) ---------- */
.visual-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.008));
  padding: var(--space-6);
  min-height: 340px;
  overflow: hidden;
}
.visual-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(79,125,251,0.22), transparent 55%);
  pointer-events: none;
}

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem 3rem; opacity: 0.75; }
.logo-strip span { font-family: var(--ff-display); font-size: 0.95rem; color: var(--text-low); letter-spacing: 0.03em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(53,230,230,0.08), rgba(139,92,246,0.08));
  overflow: hidden;
}
.cta-banner h2 { max-width: 640px; margin: 0 auto var(--space-4); }
.cta-banner p { max-width: 520px; margin: 0 auto var(--space-6); font-size: 1.02rem; }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: var(--space-8) 0 var(--space-6); background: var(--navy-900); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: var(--space-7); }
.footer-brand p { font-size: 0.9rem; margin: 1rem 0 1.4rem; max-width: 260px; }
.footer-col h5 { font-family: var(--ff-display); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-low); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-mid); transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, color .3s;
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: var(--space-6); border-top: 1px solid var(--border-soft);
  font-size: 0.82rem; color: var(--text-faint);
}
.footer-bottom .legal-links { display: flex; gap: 1.4rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Misc components ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-tile { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); background: rgba(255,255,255,0.02); }
.stat-tile .val { font-family: var(--ff-display); font-size: 2rem; font-weight: 600; }
.stat-tile .lbl { font-size: 0.85rem; color: var(--text-low); margin-top: 0.35rem; }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); opacity: .4; }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-950); border: 2px solid var(--cyan);
}
.timeline-item h4 { margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.92rem; }

.quote-block {
  border-left: 2px solid var(--cyan);
  padding-left: 1.5rem;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--text-hi);
  font-weight: 500;
  line-height: 1.5;
}

.team-card { text-align: left; }
.team-card .photo {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: var(--space-5);
  border: 1px solid var(--border);
  position: relative;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,7,15,0.55));
}
.team-card h3 { margin-bottom: 0.15rem; }
.team-card .role { color: var(--cyan); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-card p.bio { font-size: 0.92rem; }

.value-card { padding: var(--space-6); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-hi);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: border-color .3s, background .3s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(53,230,230,0.04);
}
.form-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 0.75rem; }
.form-success {
  display: none;
  border: 1px solid rgba(53,230,230,0.4);
  background: rgba(53,230,230,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: var(--text-hi);
  font-size: 0.95rem;
  margin-top: var(--space-5);
}
.form-success.show { display: block; }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .icon-tile { margin-bottom: 0; }
.solution-card .icon-tile { margin-bottom: 1.5rem; }
.contact-card h4 { margin-bottom: 0.3rem; }
.contact-card p { font-size: 0.93rem; }
.contact-card a { color: var(--text-hi); transition: color .25s; }
.contact-card a:hover { color: var(--cyan); }

.map-frame { width: 100%; display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); filter: grayscale(0.4) invert(0.92) contrast(0.9); }

/* ---------- Breadcrumb-ish back link ---------- */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-low); margin-bottom: 1.5rem; }
.back-link:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1 !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 8rem 0 4rem; }
  .page-hero { padding: 7.5rem 0 3rem; }
  .section { padding: var(--space-8) 0; }
  h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
}

/* ---------- Partner / affiliation logo chips ---------- */
.logo-chip {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  height: 72px;
  filter: grayscale(0.15);
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.logo-chip:hover { transform: translateY(-3px); filter: grayscale(0); }
.logo-chip img { max-height: 42px; width: auto; object-fit: contain; }
.logo-strip.chips { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; opacity: 1; }

/* ---------- Mega dropdown (Solutions nav) ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-link-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: none; font: inherit;
  font-size: 0.93rem; font-weight: 500; color: var(--text-mid);
  padding: 0.3rem 0; cursor: pointer;
  transition: color .3s;
  position: relative;
}
.nav-item > .nav-link-btn::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--grad-brand);
  transition: width .35s var(--ease); border-radius: 2px;
}
.nav-item:hover > .nav-link-btn,
.nav-item.dropdown-open > .nav-link-btn { color: var(--text-hi); }
.nav-item:hover > .nav-link-btn::after,
.nav-item.dropdown-open > .nav-link-btn::after { width: 100%; }
.nav-link-btn .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); stroke: currentColor; }
.nav-item:hover .nav-link-btn .chev,
.nav-item.dropdown-open .nav-link-btn .chev { transform: rotate(180deg); }

.mega-dropdown {
  position: absolute;
  top: calc(100% + 1.35rem);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(640px, 86vw);
  background: rgba(9, 14, 27, 0.98);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6), var(--shadow-glow);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 210;
}
.nav-item:hover .mega-dropdown,
.nav-item.dropdown-open .mega-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-col h6 {
  font-family: var(--ff-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 0.9rem;
}
.mega-col ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mega-link {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  transition: background .25s;
}
.mega-link:hover { background: rgba(255,255,255,0.045); }
.mega-link .dot {
  flex: none; margin-top: 0.45rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
  opacity: 0.85;
}
.mega-link .txt strong { display: block; font-size: 0.9rem; color: var(--text-hi); font-weight: 600; }
.mega-link .txt span { display: block; font-size: 0.78rem; color: var(--text-low); margin-top: 0.1rem; }
.mega-divider-row {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-soft);
  padding-top: var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.mega-divider-row p { font-size: 0.85rem; margin: 0; }

/* Mobile accordion (Solutions / Industries groups) */
.mobile-panel details { border-bottom: 1px solid var(--border-soft); }
.mobile-panel summary {
  font-family: var(--ff-display);
  font-size: 1.4rem; color: var(--text-hi);
  padding: 0.85rem 0.2rem;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel summary .chev { width: 16px; height: 16px; stroke: var(--text-low); transition: transform .3s; }
.mobile-panel details[open] summary .chev { transform: rotate(180deg); }
.mobile-panel .sub-links { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 0.2rem 1rem; }
.mobile-panel .sub-links a {
  font-family: var(--ff-body); font-size: 1rem; font-weight: 500;
  color: var(--text-mid); border-bottom: none; padding: 0.5rem 0;
}
.mobile-panel .sub-links .sub-label {
  font-family: var(--ff-display); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint); margin-top: 0.6rem;
}

/* ---------- Roadmap icon treatment ---------- */
.icon-tile.is-live { background: linear-gradient(150deg, rgba(53,230,230,0.22), rgba(79,125,251,0.14)); border-color: rgba(53,230,230,0.4); }
.icon-tile.is-roadmap {
  background: linear-gradient(150deg, rgba(139,92,246,0.16), rgba(79,125,251,0.08));
  border-color: rgba(139,92,246,0.32);
}
.icon-tile.is-roadmap::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 16px;
  border: 1px solid rgba(139,92,246,0.5);
  opacity: 0;
  animation: pulse-ring 2.6s var(--ease) infinite;
}
.icon-tile.is-roadmap svg { stroke: #c3a9ff; }
@keyframes pulse-ring {
  0% { opacity: 0.55; transform: scale(0.92); }
  70% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .icon-tile.is-roadmap::after { animation: none; opacity: 0; }
}
