:root {
  --navy: #06172f;
  --navy-2: #0a2444;
  --blue: #0877d8;
  --cyan: #25d6ff;
  --orange: #ff8a2a;
  --ink: #102033;
  --muted: #5d6d80;
  --line: #dbe6f0;
  --paper: #f6f9fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(5, 23, 48, 0.18);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 99;
  background: var(--cyan);
  color: var(--navy);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(6, 23, 47, .92);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1220px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 214px; max-height: 46px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links a,
.nav-group > button,
.client-login {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.84);
  padding: .62rem .72rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-group > button:hover { background: rgba(255,255,255,.08); color: white; }
.client-login {
  margin-left: .3rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 28px rgba(37, 214, 255, .2);
}
.nav-group { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 275px;
  padding: .65rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: #081c38;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: .18s ease;
}
.mega a { display: block; color: rgba(255,255,255,.86); padding: .7rem .75rem; }
.nav-group:hover .mega,
.nav-group:focus-within .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.section {
  padding: 88px 0;
}
.section.alt { background: white; }
.section.dark {
  color: white;
  background:
    radial-gradient(circle at 15% 10%, rgba(37,214,255,.18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255,138,42,.14), transparent 28%),
    linear-gradient(145deg, #051226 0%, #071d3d 52%, #09264b 100%);
}
.wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}
.dark .eyebrow { color: var(--cyan); }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.7rem); max-width: 1040px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); max-width: 900px; }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--muted); }
.dark p { color: rgba(255,255,255,.72); }
.lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 870px;
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.hero {
  min-height: calc(100vh - 74px);
  padding: 72px 0 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 2rem;
}
.hero-copy { display: grid; gap: 1.35rem; position: relative; z-index: 2; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: .45rem;
  padding: .82rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.btn.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: white; }
.btn.secondary { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.18); }
.btn.ghost { background: white; color: var(--navy); border-color: var(--line); }
.btn.orange { background: var(--orange); color: #201000; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.cred-strip span,
.pill {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  padding: .42rem .58rem;
  border-radius: 999px;
  font-size: .78rem;
}
.pill.light { color: var(--blue); background: #e9f7ff; border-color: #c7ecff; }

.tech-visual {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
}
.network {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 45%, black 0 60%, transparent 82%);
}
.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px var(--cyan);
  animation: pulse 2.5s infinite;
}
.node:nth-child(2) { top: 13%; left: 18%; }
.node:nth-child(3) { top: 30%; left: 68%; animation-delay: .5s; }
.node:nth-child(4) { top: 54%; left: 32%; animation-delay: 1s; }
.node:nth-child(5) { top: 75%; left: 78%; animation-delay: 1.4s; }
.dash-preview {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: min(460px, 92%);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(7, 25, 52, .78);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow);
}
.mini-bar { height: 8px; margin: .8rem 0; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: inherit; animation: load 4s ease-in-out infinite alternate; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.metric {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: .8rem;
  background: rgba(255,255,255,.06);
}
.metric strong { display: block; color: white; font-size: 1.3rem; }
.metric small { color: rgba(255,255,255,.62); }

.grid { display: grid; gap: 1rem; }
.grid.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(10,36,68,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(6, 23, 47, .08);
}
.dark .card,
.glass {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}
.card h3 { margin: .75rem 0 .55rem; }
.card p { font-size: .94rem; }
.icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(8,119,216,.18);
}
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.list {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}
.list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: var(--muted);
}
.dark .list li { color: rgba(255,255,255,.75); }
.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: .55rem;
  flex: 0 0 auto;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  counter-reset: step;
}
.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  color: var(--cyan);
  font-weight: 900;
  margin-bottom: .8rem;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .5rem;
}
.pipe-step {
  position: relative;
  padding: .85rem .7rem;
  border-radius: var(--radius);
  background: #ebf7fd;
  color: var(--navy);
  font-weight: 800;
  font-size: .78rem;
  text-align: center;
}
.pipe-step::after {
  content: "";
  position: absolute;
  right: -.42rem;
  top: 50%;
  width: .45rem;
  height: 2px;
  background: var(--cyan);
}
.pipe-step:last-child::after { display: none; }
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(10,36,68,.12);
  background: white;
  box-shadow: var(--shadow);
}
.dash-side {
  padding: 1rem;
  color: white;
  background: var(--navy);
}
.dash-side a {
  display: block;
  padding: .72rem .75rem;
  color: rgba(255,255,255,.76);
  border-radius: var(--radius);
}
.dash-side a.active,
.dash-side a:hover { background: rgba(255,255,255,.1); color: white; }
.dash-main { padding: 1.2rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.stat { padding: 1rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.7rem; color: var(--navy); }
.table-card { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--navy); font-size: .8rem; text-transform: uppercase; }
.status { display: inline-flex; padding: .26rem .48rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: #e8f7ee; color: #13783a; }
.status.warn { background: #fff1df; color: #9a4f00; }
.lab-tool {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}
.form {
  display: grid;
  gap: .8rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
label { display: grid; gap: .35rem; font-weight: 800; color: var(--navy); font-size: .9rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .82rem .9rem;
  background: white;
  color: var(--ink);
}
textarea { min-height: 132px; resize: vertical; }
.output-box {
  min-height: 250px;
  padding: 1rem;
  border-radius: var(--radius);
  background: #071d3d;
  color: white;
  border: 1px solid rgba(255,255,255,.12);
}
.output-box p { color: rgba(255,255,255,.78); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tabs button {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: var(--radius);
  padding: .65rem .8rem;
  cursor: pointer;
  font-weight: 800;
}
.tabs button.active { background: var(--navy); color: white; border-color: var(--navy); }
.article-meta { display: flex; gap: .6rem; flex-wrap: wrap; color: var(--blue); font-weight: 800; font-size: .8rem; margin-bottom: .7rem; }
.footer {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 2rem;
  padding: 46px max(16px, calc((100% - 1220px) / 2));
  background: #041020;
  color: white;
}
.footer img { width: 250px; margin-bottom: 1rem; }
.footer p { max-width: 520px; }
.footer h3 { margin-bottom: .8rem; }
.footer a { display: block; color: rgba(255,255,255,.72); margin: .42rem 0; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.9); opacity: 1; }
}
@keyframes load {
  from { width: 38%; }
  to { width: 92%; }
}

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  .nav-links,
  .client-login {
    display: none;
  }
  .nav-shell.open {
    align-items: flex-start;
    padding: .85rem 0;
    flex-wrap: wrap;
  }
  .nav-shell.open .nav-links,
  .nav-shell.open .client-login {
    display: grid;
    width: 100%;
  }
  .nav-shell.open .nav-links { order: 3; gap: .15rem; }
  .nav-shell.open .client-login { order: 4; text-align: center; margin: .4rem 0 0; }
  .nav-group > button, .nav-links a { width: 100%; text-align: left; }
  .mega { position: static; opacity: 1; pointer-events: auto; transform: none; width: 100%; display: grid; box-shadow: none; margin: .25rem 0; }
  .hero-grid, .split, .lab-tool { grid-template-columns: 1fr; }
  .tech-visual { min-height: 430px; }
  .grid.cards, .grid.three, .process, .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard { grid-template-columns: 1fr; }
  .dash-side { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .brand img { width: 178px; }
  .hero { min-height: auto; padding: 44px 0 22px; }
  .actions .btn { width: 100%; }
  .grid.cards, .grid.three, .grid.two, .problem-solution, .process, .pipeline, .form-grid, .stat-row, .metric-grid { grid-template-columns: 1fr; }
  .pipe-step::after { display: none; }
  .dash-side { grid-template-columns: 1fr; }
  .tech-visual { min-height: 360px; }
  .dash-preview { right: 2%; bottom: 2%; }
}


/* AI transformation marketplace upgrade */
.nav-shell { width: min(1380px, calc(100% - 28px)); }
.brand img { width: 188px; }
.nav-links { font-size: .86rem; }
.nav-links a, .nav-group > button, .client-login { padding: .56rem .58rem; }
.mega.wide { width: min(720px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-mini { display: flex; gap: .35rem; align-items: center; }
.social-mini a { color: rgba(255,255,255,.72); font-size: .78rem; border: 1px solid rgba(255,255,255,.12); padding: .42rem .5rem; border-radius: var(--radius); }
.social-rail { position: fixed; z-index: 40; right: .7rem; top: 34%; display: grid; gap: .35rem; }
.social-rail a { writing-mode: vertical-rl; transform: rotate(180deg); min-height: 38px; display: inline-flex; justify-content: center; align-items: center; padding: .45rem .32rem; border-radius: 999px; border: 1px solid rgba(37,214,255,.22); color: white; background: rgba(6,23,47,.74); backdrop-filter: blur(12px); font-size: .68rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.footer-socials a { border: 1px solid rgba(255,255,255,.12); padding: .38rem .55rem; border-radius: 999px; margin: 0; }
.hero h1 strong { color: var(--cyan); }
.flow-map, .transformation-map { display: grid; grid-template-columns: repeat(7, 1fr); gap: .55rem; }
.flow-stage, .map-stage { position: relative; min-height: 108px; padding: .9rem; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: white; }
.flow-stage::after, .map-stage::after { content: ""; position: absolute; right: -.44rem; top: 50%; width: .45rem; height: 2px; background: var(--cyan); }
.flow-stage:last-child::after, .map-stage:last-child::after { display: none; }
.flow-stage b, .map-stage b { display: block; color: var(--cyan); margin-bottom: .45rem; }
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.feature-chip { padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; font-weight: 800; color: var(--navy); }
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.agent-card { display: grid; gap: .7rem; }
.agent-card .mini-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge, .model-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .32rem .55rem; font-size: .72rem; font-weight: 900; color: var(--navy); background: #e8f8ff; border: 1px solid #bdeeff; }
.badge.orange { background: #fff0df; border-color: #ffd3a3; color: #7a3b00; }
.badge.dark { background: #071d3d; border-color: #071d3d; color: white; }
.marketplace-toolbar { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(130px, .7fr)); gap: .65rem; margin-bottom: 1rem; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.market-card { display: grid; gap: .8rem; }
.market-card header { display: grid; gap: .45rem; }
.price-line { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--navy); font-weight: 900; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.compare-tray { margin-top: 1rem; padding: 1rem; border: 1px dashed var(--blue); border-radius: var(--radius); background: #eef8ff; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.check-grid label { display: flex; align-items: flex-start; gap: .45rem; font-weight: 700; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: .62rem; background: white; }
.check-grid input { width: auto; margin-top: .2rem; }
.questionnaire { display: grid; gap: 1rem; }
.stepper { display: grid; grid-template-columns: repeat(12, 1fr); gap: .3rem; }
.step-dot { height: 8px; border-radius: 999px; background: #d4e4f1; }
.step-dot.active { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.q-step { display: grid; gap: 1rem; }
.q-step[hidden] { display: none; }
.q-actions { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.recommendation { border-left: 4px solid var(--cyan); background: #eef9ff; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0; }
.result-metric { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; }
.result-metric strong { display: block; color: var(--navy); font-size: 1.5rem; }
.portal-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.timeline { display: grid; gap: .7rem; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr auto; gap: .75rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .78rem; background: white; }
.command-center { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.calendar-grid span { min-height: 54px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: .42rem; color: rgba(255,255,255,.78); background: rgba(255,255,255,.06); font-size: .78rem; }
.service-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.data-examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.demo-safe { border-left: 4px solid var(--orange); }
.form-note { font-size: .82rem; color: var(--muted); }
.link-list { display: grid; gap: .5rem; }
.link-list a { color: var(--blue); font-weight: 800; }
.hidden { display: none !important; }
@media (max-width: 1200px) { .social-mini { display: none; } .nav-links { font-size: .84rem; } }
@media (max-width: 1050px) { .social-rail { display: none; } .mega.wide { width: 100%; grid-template-columns: 1fr; } .marketplace-toolbar, .flow-map, .transformation-map, .feature-row, .agent-grid, .market-grid, .portal-modules, .command-center, .service-compare, .data-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } .timeline-item { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .marketplace-toolbar, .flow-map, .transformation-map, .feature-row, .agent-grid, .market-grid, .check-grid, .portal-modules, .command-center, .service-compare, .data-examples, .result-grid { grid-template-columns: 1fr; } .flow-stage::after, .map-stage::after { display: none; } .stepper { grid-template-columns: repeat(6, 1fr); } }

/* Hero readability and motion-visual polish pass */
h1 { font-size: clamp(2.05rem, 4.2vw, 4.35rem); max-width: 920px; }
h2 { font-size: clamp(1.65rem, 3.15vw, 2.85rem); }
.hero.section.dark {
  min-height: calc(100vh - 74px);
  padding: 52px 0 34px;
  background:
    linear-gradient(90deg, rgba(4,16,32,.97) 0%, rgba(4,16,32,.9) 34%, rgba(4,16,32,.48) 68%, rgba(4,16,32,.78) 100%),
    radial-gradient(circle at 72% 24%, rgba(37,214,255,.22), transparent 30%),
    url("assets/ai-command-hero.png") right center / cover no-repeat,
    #041020;
}
.hero-grid { grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: 1.45rem; }
.hero-copy { gap: 1rem; max-width: 720px; }
.hero-copy h1 { font-size: clamp(2rem, 4.05vw, 4rem); line-height: 1.02; max-width: 780px; }
.hero-copy .lead { max-width: 690px; font-size: clamp(.98rem, 1.2vw, 1.16rem); }
.section-head.compact { margin-bottom: 1.2rem; }
.hero-path {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
}
.hero-path span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .38rem .62rem;
  border-radius: 999px;
  border: 1px solid rgba(37,214,255,.26);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 900;
}
.hero-path span:not(:last-child)::after {
  content: "";
  width: 16px;
  height: 1px;
  margin-left: .52rem;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.visual-stage,
.workflow-image {
  position: relative;
  min-height: 510px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 80px rgba(0,0,0,.34);
  background: #071d3d;
  isolation: isolate;
}
.visual-stage img,
.workflow-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: imageDrift 16s ease-in-out infinite alternate;
}
.visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,16,32,.05), rgba(4,16,32,.48)),
    radial-gradient(circle at 70% 18%, rgba(37,214,255,.18), transparent 25%);
}
.motion-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(37,214,255,.1) 1px, transparent 1px),
    linear-gradient(rgba(37,214,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
  animation: gridPan 12s linear infinite;
  mix-blend-mode: screen;
}
.data-stream {
  position: absolute;
  z-index: 3;
  width: 42%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent);
  box-shadow: 0 0 22px rgba(37,214,255,.7);
  animation: streamMove 4.8s linear infinite;
}
.stream-one { top: 24%; left: -35%; animation-delay: 0s; }
.stream-two { top: 52%; left: -40%; animation-delay: 1.15s; }
.stream-three { top: 76%; left: -30%; animation-delay: 2.2s; }
.floating-panel {
  position: absolute;
  z-index: 4;
  width: min(240px, 42%);
  padding: .78rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,20,42,.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  color: white;
  animation: panelFloat 5.6s ease-in-out infinite;
}
.floating-panel b { display: block; color: var(--cyan); font-size: .82rem; margin-bottom: .18rem; }
.floating-panel span { color: rgba(255,255,255,.76); font-size: .78rem; }
.panel-one { left: 5%; top: 9%; }
.panel-two { right: 5%; top: 38%; animation-delay: .7s; }
.panel-three { left: 9%; bottom: 8%; animation-delay: 1.35s; }
.quick-proof { padding: 54px 0; }
.quick-proof .feature-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.quick-proof .feature-chip {
  min-height: 82px;
  display: flex;
  align-items: center;
  border-color: #cae9f8;
  background: linear-gradient(180deg, #ffffff, #eef9ff);
  box-shadow: 0 10px 28px rgba(6,23,47,.07);
}
.workflow-showcase .split { grid-template-columns: .95fr 1.05fr; }
.transformation-map.simplified { grid-template-columns: 1fr; gap: .6rem; }
.transformation-map.simplified .map-stage {
  min-height: auto;
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease;
  animation: softPulse 5s ease-in-out infinite;
}
.transformation-map.simplified .map-stage:nth-child(2) { animation-delay: .25s; }
.transformation-map.simplified .map-stage:nth-child(3) { animation-delay: .5s; }
.transformation-map.simplified .map-stage:nth-child(4) { animation-delay: .75s; }
.transformation-map.simplified .map-stage:nth-child(5) { animation-delay: 1s; }
.transformation-map.simplified .map-stage::after { display: none; }
.transformation-map.simplified .map-stage:hover { transform: translateX(6px); border-color: rgba(37,214,255,.42); }
.workflow-image { min-height: 450px; }
.agent-card,
.market-card,
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.agent-card:hover,
.market-card:hover,
.card:hover { transform: translateY(-3px); border-color: rgba(37,214,255,.35); box-shadow: 0 18px 42px rgba(6,23,47,.12); }
@keyframes imageDrift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.8%, -1.2%, 0); } }
@keyframes gridPan { from { background-position: 0 0, 0 0; } to { background-position: 108px 54px, 54px 108px; } }
@keyframes streamMove { from { transform: translateX(0) skewX(-16deg); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } to { transform: translateX(330%) skewX(-16deg); opacity: 0; } }
@keyframes panelFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes softPulse { 0%,100% { border-color: rgba(255,255,255,.14); } 50% { border-color: rgba(37,214,255,.36); } }
@media (prefers-reduced-motion: reduce) {
  .visual-stage img, .workflow-image img, .motion-grid, .data-stream, .floating-panel, .transformation-map.simplified .map-stage { animation: none; }
}
@media (max-width: 1050px) {
  .hero-grid, .workflow-showcase .split { grid-template-columns: 1fr; }
  .visual-stage { min-height: 420px; }
  .quick-proof .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.45rem, 7vw, 2.05rem); }
  .hero.section.dark { padding: 38px 0 24px; min-height: auto; }
  .hero-copy h1 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .visual-stage, .workflow-image { min-height: 330px; }
  .floating-panel { width: min(205px, 58%); }
  .panel-two { right: 3%; }
  .quick-proof .feature-row { grid-template-columns: 1fr; }
  .hero-path span:not(:last-child)::after { display: none; }
}


.visual-proof { background: #06172f; color: white; padding-top: 68px; }
.visual-proof .section-head h2 { color: white; }
.motion-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.motion-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  background: #071d3d;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  isolation: isolate;
}
.motion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: imageDrift 14s ease-in-out infinite alternate;
  z-index: 0;
}
.motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,18,38,.08), rgba(5,18,38,.92));
}
.motion-card > div:last-child { position: relative; z-index: 4; display: grid; gap: .55rem; }
.motion-card h3 { color: white; font-size: 1.25rem; }
.motion-card p { color: rgba(255,255,255,.76); }
.motion-card .motion-grid, .motion-card .data-stream { z-index: 2; }
@media (max-width: 1050px) { .motion-card-grid { grid-template-columns: 1fr; } .motion-card { min-height: 280px; } }

/* Check Point-inspired enterprise mega menu */
.site-header { background: rgba(3, 15, 31, .96); }
.nav-shell { width: min(1440px, calc(100% - 28px)); gap: .7rem; }
.brand img { width: 174px; }
.mega-nav { gap: .12rem; }
.nav-mega-group { position: static; }
.nav-mega-group > button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .72;
}
.mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: min(1120px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  pointer-events: none;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(135deg, rgba(4,16,32,.98), rgba(7,31,62,.98)),
    url("assets/ai-command-hero.png") right center / 42% auto no-repeat;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  transition: opacity .18s ease, transform .18s ease;
}
.mega-panel-xl { width: min(1280px, calc(100vw - 32px)); }
.nav-mega-group:hover .mega-panel,
.nav-mega-group:focus-within .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr .92fr;
  gap: .85rem;
}
.mega-layout.three-col { grid-template-columns: 1.15fr 1fr .95fr; }
.mega-column {
  display: grid;
  align-content: start;
  gap: .28rem;
  padding: .75rem;
  border-radius: 10px;
}
.mega-column.primary { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); }
.mega-column a {
  display: grid;
  gap: .16rem;
  padding: .52rem .55rem;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
}
.mega-column a:hover { background: rgba(37,214,255,.12); color: white; }
.mega-label {
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}
.mega-feature {
  min-height: 86px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.06);
}
.mega-feature strong { color: white; font-size: .98rem; }
.mega-feature span { color: rgba(255,255,255,.68); line-height: 1.38; }
.accent-card {
  border: 1px solid rgba(37,214,255,.25);
  background:
    linear-gradient(180deg, rgba(37,214,255,.13), rgba(255,138,42,.09)),
    rgba(255,255,255,.06);
}
.accent-card h3 { color: white; font-size: 1.05rem; }
.accent-card p { color: rgba(255,255,255,.72); }
.accent-card .btn { width: fit-content; margin-top: .35rem; }

/* Every card now carries a tech image layer */
.card {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  isolation: isolate;
}
.card::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  background:
    linear-gradient(180deg, rgba(6,23,47,.04), rgba(255,255,255,.92)),
    url("assets/ai-command-hero.png") center / cover no-repeat;
  opacity: .95;
}
.card:nth-child(2n)::after,
.grid .card:nth-child(2n)::after,
.agent-grid .card:nth-child(2n)::after,
.market-grid .card:nth-child(2n)::after {
  background:
    linear-gradient(180deg, rgba(6,23,47,.04), rgba(255,255,255,.92)),
    url("assets/ai-ml-workflow.png") center / cover no-repeat;
}
.dark .card::after,
.card.glass::after {
  background:
    linear-gradient(180deg, rgba(6,23,47,.2), rgba(6,23,47,.86)),
    url("assets/ai-command-hero.png") center / cover no-repeat;
  opacity: .92;
}
.dark .card:nth-child(2n)::after,
.card.glass:nth-child(2n)::after {
  background:
    linear-gradient(180deg, rgba(6,23,47,.16), rgba(6,23,47,.86)),
    url("assets/ai-ml-workflow.png") center / cover no-repeat;
}
.card > * { position: relative; z-index: 1; }
.form.card { padding-top: 108px; }
.form.card::after { height: 88px; }
.recommendation.card::after { opacity: .7; }

/* Button and card arrangement cleanup */
.actions {
  align-items: stretch;
  gap: .62rem;
}
.hero .actions,
.section.dark .split > .actions {
  display: grid;
  grid-template-columns: minmax(210px, 280px);
  width: fit-content;
}
.hero .actions .btn,
.section.dark .split > .actions .btn { justify-content: flex-start; }
.card-actions,
.q-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: stretch;
}
.card-actions .btn,
.q-actions .btn { width: 100%; }
.footer-socials,
.cred-strip,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
}
.cred-strip span:nth-child(2n),
.mini-list .badge:nth-child(2n) { transform: translateY(4px); }
.cred-strip span:nth-child(3n),
.mini-list .badge:nth-child(3n) { transform: translateY(-3px); }
.grid.cards .card:nth-child(3n+2),
.agent-grid .card:nth-child(3n+2),
.market-grid .card:nth-child(3n+2) { transform: translateY(10px); }
.grid.cards .card:nth-child(3n),
.agent-grid .card:nth-child(3n),
.market-grid .card:nth-child(3n) { transform: translateY(20px); }
.grid.cards,
.agent-grid,
.market-grid { row-gap: 2rem; }
.grid.cards .card:hover,
.agent-grid .card:hover,
.market-grid .card:hover { transform: translateY(-4px); }
.feature-row .feature-chip:nth-child(2n) { transform: translateY(8px); }
.feature-row .feature-chip:nth-child(3n) { transform: translateY(16px); }
.pipeline { align-items: stretch; }
.pipe-step:nth-child(2n) { transform: translateY(10px); }
.pipe-step:nth-child(3n) { transform: translateY(20px); }

@media (max-width: 1200px) {
  .nav-links a, .nav-group > button, .client-login { padding: .5rem .46rem; font-size: .8rem; }
  .brand img { width: 152px; }
}
@media (max-width: 1050px) {
  .nav-shell.open .nav-links { display: grid; }
  .nav-mega-group { position: relative; }
  .mega-panel,
  .mega-panel-xl {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    border-radius: 10px;
    margin: .35rem 0;
    background: #071d3d;
  }
  .nav-mega-group:focus-within .mega-panel,
  .nav-mega-group:hover .mega-panel { display: block; transform: none; }
  .mega-layout,
  .mega-layout.three-col { grid-template-columns: 1fr; }
  .hero .actions,
  .section.dark .split > .actions { width: 100%; grid-template-columns: 1fr; }
  .grid.cards .card:nth-child(n),
  .agent-grid .card:nth-child(n),
  .market-grid .card:nth-child(n),
  .feature-row .feature-chip:nth-child(n),
  .pipe-step:nth-child(n) { transform: none; }
}
