@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --ink: #08111f;
  --ink-2: #111d2e;
  --ink-3: #1c2a3c;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(8,17,31,.12);
  --red: #e31b23;
  --blue: #005ca9;
  --cyan: #4fd1ff;
  --accent: linear-gradient(135deg, var(--red), #d62971 45%, var(--blue));
  --accent-solid-start: #e31b23;
  --accent-solid-end: #005ca9;
  --shadow: 0 20px 70px rgba(8,17,31,.12);
  --shadow-lg: 0 40px 120px rgba(8,17,31,.22);
  --radius: 24px;
  --container: 1180px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container { width: min(calc(100% - 40px), var(--container)); margin: auto; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.dark { color: #eef4ff; background: var(--ink); }
.dark p, .dark .section-copy { color: #aebbd0; }

/* ─────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────── */
.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.dark .eyebrow { color: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .97;
  letter-spacing: -.065em;
  max-width: 980px;
}
h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin-bottom: 20px;
}
h3 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 720px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 60px; }
.section-copy { max-width: 570px; color: var(--muted); }

/* ─────────────────────────────────────────────
   SKIP LINK
───────────────────────────────────────────── */
.skip-link { position: fixed; left: 15px; top: -100px; z-index: 9999; background: #fff; color: #000; padding: 10px; border-radius: 8px; }
.skip-link:focus { top: 15px; }

/* ─────────────────────────────────────────────
   CUSTOM CURSOR (desktop only)
───────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,92,169,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform .08s linear;
  mix-blend-mode: multiply;
}

/* ─────────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(247,248,251,.85);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 40px rgba(8,17,31,.07);
  background: rgba(247,248,251,.96);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 155px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 26px; }
.desktop-nav a {
  font-size: .88rem;
  font-weight: 700;
  color: #445066;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: -9px;
  background: var(--accent);
  transition: right .3s var(--ease-out-expo);
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-out-expo), box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: inherit;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(8,17,31,.18); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--accent); }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .82rem; }

/* ─────────────────────────────────────────────
   MOBILE NAV
───────────────────────────────────────────── */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
[aria-expanded="true"] .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { background: var(--paper); border-top: 1px solid var(--line); }
.mobile-menu .container { padding: 20px 0 26px; display: grid; gap: 12px; }
.mobile-menu a:not(.btn) { padding: 10px 0; font-weight: 700; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 110px;
  background: #07111f;
  color: #f8fbff;
}

/* animated mesh gradient */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(0,92,169,.38), transparent),
    radial-gradient(ellipse 40% 40% at 80% 65%, rgba(227,27,35,.28), transparent),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(79,209,255,.12), transparent),
    linear-gradient(115deg, #07111f 15%, #0c1930 100%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(8deg) brightness(1.05); }
  100% { filter: hue-rotate(-5deg) brightness(1); }
}

/* noise texture overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
}
.hero h1 span {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: #b7c5d9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 22px; color: #8190a7; font-size: .86rem; }

/* hero text entrance */
.hero-text-wrap .eyebrow,
.hero-text-wrap h1,
.hero-text-wrap .lead,
.hero-text-wrap .hero-actions,
.hero-text-wrap .hero-note {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntry .9s var(--ease-out-expo) forwards;
}
.hero-text-wrap .eyebrow    { animation-delay: .1s; }
.hero-text-wrap h1          { animation-delay: .22s; }
.hero-text-wrap .lead       { animation-delay: .38s; }
.hero-text-wrap .hero-actions { animation-delay: .52s; }
.hero-text-wrap .hero-note  { animation-delay: .65s; }
@keyframes heroEntry {
  to { opacity: 1; transform: translateY(0); }
}

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.35);
  font-size: .7rem;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  animation: fadeInUp 1s .8s var(--ease-out-expo) both;
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50% { transform: scaleY(.5); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─────────────────────────────────────────────
   ORBIT SCENE (hero right)
───────────────────────────────────────────── */
.orbit-scene {
  min-height: 520px;
  position: relative;
  animation: heroEntry .9s .3s var(--ease-out-expo) both;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  animation: spin 20s linear infinite;
}
.orbit.o1 { width: 460px; height: 460px; border-color: rgba(79,209,255,.15); }
.orbit.o2 { width: 320px; height: 320px; animation-duration: 14s; animation-direction: reverse; border-color: rgba(227,27,35,.2); }
.orbit.o3 { width: 170px; height: 170px; animation-duration: 9s; border-color: rgba(255,255,255,.18); }
.node {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(79,209,255,.15), 0 0 30px var(--cyan);
  top: 9%; left: 20%;
}
.node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(79,209,255,.3);
  animation: nodePulse 2.5s ease-out infinite;
}
.node.n2 { background: var(--red); box-shadow: 0 0 0 4px rgba(227,27,35,.15), 0 0 30px var(--red); top: 68%; left: 72%; }
.node.n2::after { border-color: rgba(227,27,35,.3); animation-delay: .8s; }
.node.n3 { width: 10px; height: 10px; top: 45%; left: 82%; background: #fff; box-shadow: 0 0 22px #fff; }
@keyframes nodePulse { to { transform: scale(2.5); opacity: 0; } }
.core {
  position: absolute;
  width: 150px;
  aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.15);
  display: grid;
  place-items: center;
}
.core::before {
  content: "M";
  font-size: 4rem;
  font-weight: 800;
  background: var(--accent);
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}
.core-grid {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 20px 20px;
}
.core::after {
  content: "";
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  border: 1px dashed rgba(79,209,255,.2);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ─────────────────────────────────────────────
   TRUST STRIP
───────────────────────────────────────────── */
.trust-strip { background: white; border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: #637086;
  font-size: .88rem;
}
.trust-strip strong { color: var(--ink); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: trustIn .6s var(--ease-out-expo) both;
}
.trust-item:nth-child(1) { animation-delay: .05s; }
.trust-item:nth-child(2) { animation-delay: .1s; }
.trust-item:nth-child(3) { animation-delay: .15s; }
.trust-item:nth-child(4) { animation-delay: .2s; }
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes trustIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   STATS COUNTER STRIP
───────────────────────────────────────────── */
.stats-strip { background: var(--ink); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,92,169,.25), transparent),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(227,27,35,.15), transparent);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: 28px;
  overflow: hidden;
}
.stat-item {
  padding: 48px 36px;
  background: rgba(255,255,255,.03);
  text-align: center;
  position: relative;
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out-expo);
}
.stat-item.in-view::before { transform: scaleX(1); }
.stat-number {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat-label {
  font-size: .88rem;
  color: #8090a8;
  margin-top: 8px;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─────────────────────────────────────────────
   PROBLEM CARDS
───────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  min-height: 170px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,92,169,.04), rgba(227,27,35,.03));
  opacity: 0;
  transition: opacity .3s ease;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,92,169,.15); }
.problem-card:hover::before { opacity: 1; }
.problem-card .arrow { color: var(--blue); font-size: 1.5rem; transition: transform .3s var(--ease-out-expo); }
.problem-card:hover .arrow { transform: translate(4px, -4px); }

/* ─────────────────────────────────────────────
   PROCESS / STEPS (now with progress line)
───────────────────────────────────────────── */
.process-wrapper { position: relative; padding-top: 20px; }
.process-track {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(79,209,255,.12);
  border-radius: 2px;
}
.process-track-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(79,209,255,.8), rgba(0,92,169,.6));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s var(--ease-out-expo);
}
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 20px; }
.process-step {
  padding: 28px 16px 24px;
  border-top: 2px solid rgba(79,209,255,.3);
  position: relative;
  transition: border-color .3s ease;
}
.process-step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .5s var(--ease-out-expo);
}
.process-step.lit::before { width: 100%; }
.process-step b { display: block; font-size: 1.35rem; margin-bottom: 10px; color: #fff; }
.process-step span { font-size: .88rem; color: #7e90a8; }
.step-num {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: .7rem;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: .1em;
}

/* ─────────────────────────────────────────────
   CAPABILITY CARDS
───────────────────────────────────────────── */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease, border-color .35s ease;
}
/* animated gradient border on hover */
.capability::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--accent-solid-start), #d62971 40%, var(--accent-solid-end) 60%, transparent 70%, transparent 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.capability::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #fff;
  border-radius: calc(var(--radius) - 1px);
  z-index: -1;
}
.capability:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(8,17,31,.14);
  border-color: transparent;
}
.capability:hover::before { opacity: 1; }

/* floating glow blob per card */
.capability .cap-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cap-color, rgba(0,92,169,.12)), transparent 70%);
  top: -60px; right: -50px;
  transition: transform .5s ease;
  pointer-events: none;
}
.capability:nth-child(2) { --cap-color: rgba(227,27,35,.12); }
.capability:nth-child(3) { --cap-color: rgba(79,209,255,.14); }
.capability:nth-child(4) { --cap-color: rgba(214,41,113,.1); }
.capability:nth-child(5) { --cap-color: rgba(0,92,169,.1); }
.capability:nth-child(6) { --cap-color: rgba(79,209,255,.12); }
.capability:hover .cap-glow { transform: scale(1.4) translate(10px, -10px); }
.capability p { color: var(--muted); }
.icon-mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f4f9, #e8eef8);
  margin-bottom: 28px;
  font-weight: 800;
  color: var(--blue);
  font-size: 1rem;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.capability:hover .icon-mark {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,92,169,.15);
}

/* ─────────────────────────────────────────────
   AI SECTION
───────────────────────────────────────────── */
.ai-section { position: relative; overflow: hidden; }
.ai-section::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,209,255,.12), transparent 65%);
  right: -200px; top: -250px;
  pointer-events: none;
}
.ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.ai-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ai-list div {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: #d6e2f2;
  background: rgba(255,255,255,.03);
  font-size: .9rem;
  font-weight: 600;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease-out-expo);
  cursor: default;
}
.ai-list div:hover {
  background: rgba(79,209,255,.08);
  border-color: rgba(79,209,255,.25);
  transform: translateX(4px);
}

/* signal board */
.signal-board {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.signal-line {
  position: absolute;
  height: 1px;
  left: 0; right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 40%, transparent 100%);
  opacity: 0;
  animation: signalSweep 4s ease-in-out infinite;
}
.signal-line:nth-child(1) { top: 25%; animation-delay: 0s; }
.signal-line:nth-child(2) { top: 48%; animation-delay: 1.3s; }
.signal-line:nth-child(3) { top: 70%; animation-delay: 2.6s; }
@keyframes signalSweep {
  0%   { opacity: 0; transform: translateX(-100%); }
  20%  { opacity: .6; }
  80%  { opacity: .4; }
  100% { opacity: 0; transform: translateX(100%); }
}
.signal-pulse {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(79,209,255,.6);
  box-shadow: 0 0 40px rgba(79,209,255,.2), inset 0 0 30px rgba(79,209,255,.05);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.signal-pulse::before, .signal-pulse::after {
  content: "";
  position: absolute;
  inset: -35px;
  border: 1px solid rgba(79,209,255,.2);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}
.signal-pulse::after { animation-delay: 1.5s; inset: -55px; }
@keyframes pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

/* data points floating in signal board */
.signal-data {
  position: absolute;
  font-family: "DM Mono", monospace;
  font-size: .62rem;
  color: rgba(79,209,255,.5);
  letter-spacing: .05em;
}
.signal-data:nth-child(4) { top: 12%; left: 8%; }
.signal-data:nth-child(5) { top: 18%; right: 10%; }
.signal-data:nth-child(6) { bottom: 18%; left: 12%; }
.signal-data:nth-child(7) { bottom: 12%; right: 8%; }

/* ─────────────────────────────────────────────
   PLATFORM MARQUEE
───────────────────────────────────────────── */
.platform-section { overflow: hidden; }
.platform-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platform-track-wrap::before,
.platform-track-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.platform-track-wrap::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.platform-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
.platform-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.platform-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.platform-item {
  display: flex;
  align-items: center;
  padding: 0 52px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #8090a8;
  white-space: nowrap;
  transition: color .25s ease;
  border-right: 1px solid var(--line);
}
.platform-item:hover { color: var(--ink); }
.platform-item-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 16px;
  flex-shrink: 0;
}
/* keep the old logo-row for backward compat on other pages */
.logo-row { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-row div { padding: 35px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font-size: 1.1rem; font-weight: 800; letter-spacing: -.03em; background: #fff; }

/* ─────────────────────────────────────────────
   SOLUTION CARDS
───────────────────────────────────────────── */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solution-card {
  padding: 44px;
  border-radius: 28px;
  background: #101c2d;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,92,169,.12), rgba(227,27,35,.06));
  opacity: 0;
  transition: opacity .35s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.solution-card:hover::before { opacity: 1; }
.solution-card:nth-child(even) { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.solution-card:nth-child(even):hover { box-shadow: var(--shadow-lg); }
.solution-card p { color: #aebbd0; max-width: 520px; }
.solution-card:nth-child(even) p { color: var(--muted); }
.solution-card .num {
  position: absolute;
  right: 28px; bottom: 16px;
  font-size: 5.5rem;
  font-weight: 800;
  opacity: .05;
  line-height: 1;
  transition: opacity .35s ease;
}
.solution-card:hover .num { opacity: .09; }

/* ─────────────────────────────────────────────
   OPEN SOURCE / CODE VISUAL
───────────────────────────────────────────── */
.open-source { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.open-source-visual {
  min-height: 400px;
  border-radius: 30px;
  background: linear-gradient(145deg, #0d1e35, #1a2f4a);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79,209,255,.1);
}
.code-lines {
  position: absolute;
  inset: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.code-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  animation: codeFade 3s ease-in-out infinite alternate;
}
.code-line:nth-child(1) { width: 75%; animation-delay: 0s; }
.code-line:nth-child(2) { width: 55%; animation-delay: .2s; margin-left: 20px; background: rgba(79,209,255,.12); }
.code-line:nth-child(3) { width: 85%; animation-delay: .4s; }
.code-line:nth-child(4) { width: 45%; animation-delay: .6s; margin-left: 40px; background: rgba(227,27,35,.1); }
.code-line:nth-child(5) { width: 65%; animation-delay: .8s; }
.code-line:nth-child(6) { width: 30%; animation-delay: 1s; margin-left: 20px; background: rgba(79,209,255,.08); }
.code-line:nth-child(7) { width: 70%; animation-delay: 1.2s; }
.code-line:nth-child(8) { width: 50%; animation-delay: 1.4s; margin-left: 40px; }
.code-line:nth-child(9) { width: 80%; animation-delay: 1.6s; background: rgba(214,41,113,.1); }
.code-line:nth-child(10) { width: 40%; animation-delay: 1.8s; margin-left: 20px; }
@keyframes codeFade {
  0%   { opacity: .4; }
  100% { opacity: 1; }
}
.code-cursor {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 8px; height: 18px;
  background: var(--cyan);
  border-radius: 2px;
  animation: blink 1.1s ease-in-out infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.code-tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  color: var(--cyan);
  background: rgba(79,209,255,.08);
  border: 1px solid rgba(79,209,255,.15);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ─────────────────────────────────────────────
   INDUSTRY CHIPS
───────────────────────────────────────────── */
.industry-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.industry-chips span {
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease-out-expo), color .2s ease;
  cursor: default;
}
.industry-chips span:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   CREDENTIALS
───────────────────────────────────────────── */
.credential-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.credential {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px;
  border-radius: 22px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.credential::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out-expo);
}
.credential:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.credential:hover::before { transform: scaleX(1); }
.credential strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.credential span { color: var(--muted); font-size: .88rem; }

/* ─────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
  background: #07111f;
  color: #fff;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,92,169,.22), rgba(227,27,35,.1) 35%, transparent 65%);
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; }
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { max-width: 850px; margin: 0 auto 22px; color: #fff; }
.final-cta p { color: #b8c6d9; max-width: 600px; margin: 0 auto 36px; }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  padding: 120px 0 90px;
  background: #08111f;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,92,169,.22), transparent 70%);
  right: -150px; top: -200px;
  animation: meshShift 10s ease-in-out infinite alternate;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,27,35,.1), transparent 70%);
  left: -100px; bottom: -150px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 span { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: #b4c2d5; }

/* ─────────────────────────────────────────────
   INNER PAGE CONTENT
───────────────────────────────────────────── */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out-expo);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card:hover::before { transform: scaleX(1); }
.info-card p { color: var(--muted); }
.info-card .arrow {
  display: inline-block;
  color: var(--blue);
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .25s var(--ease-out-expo);
}
.info-card:hover .arrow { transform: translate(4px, -2px); }

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.quote-block {
  padding: 40px;
  border-left: 4px solid var(--red);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1.55;
  border-radius: 0 24px 24px 0;
  box-shadow: var(--shadow);
  position: relative;
}
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -20px; left: 20px;
  font-size: 5rem;
  color: rgba(227,27,35,.12);
  font-family: Georgia, serif;
  line-height: 1;
}
.leadership { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.leader {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.leader::before {
  content: "M";
  position: absolute;
  font-size: 11rem;
  font-weight: 800;
  color: rgba(0,92,169,.04);
  top: -50px; right: -12px;
  line-height: 1;
}
.leader:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.leader span { color: var(--blue); font-family: "DM Mono"; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; }
.contact-details { display: grid; gap: 16px; }
.contact-detail {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s ease;
}
.contact-detail:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-detail span { display: block; font-family: "DM Mono"; color: var(--blue); font-size: .72rem; text-transform: uppercase; margin-bottom: 7px; letter-spacing: .08em; }
.form-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .85rem; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #d9e0e9;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fafbfd;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,92,169,.08);
  background: #fff;
}
.form-status { padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; }
.form-status.success { background: #ecfdf3; color: #146c43; border: 1px solid #b7ebcf; }
.form-status.error   { background: #fff0f1; color: #a91822; border: 1px solid #ffc7cc; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-card { margin-top: 25px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer { background: #050b15; color: #d8e0ec; padding: 80px 0 28px; position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,209,255,.3), rgba(227,27,35,.2), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 60px; }
.footer-brand img { width: 180px; margin-bottom: 22px; }
.footer-brand p { max-width: 360px; color: #a7b4c8; line-height: 1.7; }
.social-note { font-size: .85rem; color: #728198; margin-top: 16px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links h3, .newsletter h3 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-links a {
  display: block;
  color: #8a9ab4;
  margin: 10px 0;
  font-size: .9rem;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.newsletter p { color: #93a1b5; font-size: .9rem; }
.newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.04);
  margin-top: 16px;
  transition: border-color .2s ease;
}
.newsletter-form:focus-within { border-color: rgba(79,209,255,.4); }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 10px 14px; }
.newsletter-form button {
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  transition: transform .2s var(--ease-out-expo);
}
.newsletter-form button:hover { transform: scale(1.1) rotate(10deg); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 60px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #728198;
  font-size: .8rem;
}
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }

/* ─────────────────────────────────────────────
   WHATSAPP FLOAT
───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  background: #1cb968;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(28,185,104,.4);
  z-index: 90;
  font-size: 1.7rem;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(28,185,104,.3);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse { to { transform: scale(1.5); opacity: 0; } }
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 40px rgba(28,185,104,.5);
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL SYSTEM (enhanced)
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* stagger delays */
.stagger-1 { transition-delay: .08s !important; }
.stagger-2 { transition-delay: .16s !important; }
.stagger-3 { transition-delay: .24s !important; }
.stagger-4 { transition-delay: .32s !important; }
.stagger-5 { transition-delay: .40s !important; }
.stagger-6 { transition-delay: .48s !important; }

/* ─────────────────────────────────────────────
   SECTION DIVIDERS
───────────────────────────────────────────── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid, .ai-grid, .open-source, .about-story, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .orbit-scene { min-height: 390px; order: -1; }
  .orbit.o1 { width: 350px; height: 350px; }
  .problem-grid, .capability-grid, .content-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 80px 0; }
  .section-head { display: block; margin-bottom: 36px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 128px; }
  .nav-actions .btn { display: none; }
  .hero { padding: 55px 0 80px; }
  .hero-grid { gap: 24px; }
  .orbit-scene { min-height: 300px; }
  .orbit.o1 { width: 280px; height: 280px; }
  .orbit.o2 { width: 210px; height: 210px; }
  .orbit.o3 { width: 120px; height: 120px; }
  .core { width: 110px; border-radius: 24px; }
  .problem-grid, .capability-grid, .content-grid, .solution-grid, .leadership { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .ai-list { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .logo-row div:last-child { grid-column: 1 / -1; }
  .credential-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 24px 18px; }
  .footer-grid, .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { display: block; }
  .footer-bottom div { margin-top: 12px; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .cursor-glow { display: none; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-text-wrap .eyebrow,
  .hero-text-wrap h1,
  .hero-text-wrap .lead,
  .hero-text-wrap .hero-actions,
  .hero-text-wrap .hero-note {
    opacity: 1;
    transform: none;
  }
  .orbit-scene { opacity: 1; transform: none; }
}

.typed-line {
    display: block;
    min-height: 2.5em;
}
