/* =========================================================
   NextGenAIForge — Premium Light Theme
   ========================================================= */

:root {
  --bg:           #F7F8FC;
  --bg-soft:      #EEF1F8;
  --surface:      #FFFFFF;
  --surface-2:    #FAFBFE;
  --border:       #E5E8F2;
  --border-soft:  #EEF0F7;
  --text:         #0B1020;
  --text-soft:    #475067;
  --text-mute:    #6B7488;

  --brand:        #6366F1;
  --brand-2:      #8B5CF6;
  --brand-3:      #06B6D4;
  --brand-grad:   linear-gradient(135deg,#6366F1 0%,#8B5CF6 50%,#06B6D4 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(99,102,241,.10), rgba(6,182,212,.10));

  --shadow-sm:    0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --shadow:       0 8px 24px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg:    0 24px 60px -12px rgba(15,23,42,.18), 0 8px 24px rgba(15,23,42,.06);
  --shadow-glow:  0 20px 60px -20px rgba(99,102,241,.45);

  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-xl:    32px;

  --container:    1200px;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-2); }
button { font-family: inherit; }

h1,h2,h3,h4 {
  font-family: 'Space Grotesk','Inter',sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1em; color: var(--text-soft); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Decorative background canvas ---------- */
.bg-canvas {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(99,102,241,.10), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(6,182,212,.10), transparent 60%),
    radial-gradient(700px 600px at 50% 110%, rgba(139,92,246,.08), transparent 60%);
}
.bg-canvas::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: .55;
}

/* ---------- Animated mesh gradient orbs (decorative) ---------- */
.mesh-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh-orbs .orb {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  animation: orbDrift 18s ease-in-out infinite;
  will-change: transform;
}
.mesh-orbs .orb.o1 { top: -160px; left: -120px; background: radial-gradient(circle, #A5B4FC, transparent 60%); }
.mesh-orbs .orb.o2 { top: 20%; right: -160px; background: radial-gradient(circle, #67E8F9, transparent 60%); animation-delay: -6s; animation-duration: 22s; }
.mesh-orbs .orb.o3 { bottom: -180px; left: 20%; background: radial-gradient(circle, #DDD6FE, transparent 60%); animation-delay: -12s; animation-duration: 26s; }
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.08); }
  66%     { transform: translate(-30px,30px) scale(.95); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(247,248,252,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,.86);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 40px; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: .95rem;
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(6,182,212,.10));
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content:""; position:absolute; left:0; right:0; height:2px;
  background: var(--text); border-radius:2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--brand-grad);
  --b-fg: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: -.01em;
  border: 0; cursor: pointer;
  background: var(--b-bg);
  color: var(--b-fg);
  box-shadow: 0 8px 24px -8px rgba(99,102,241,.55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(99,102,241,.6); color:#fff; }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  --b-bg: var(--surface);
  --b-fg: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--text); border-color: #c8cdde; box-shadow: var(--shadow); }

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--brand);
}
.btn-link:hover { gap: 10px; }

/* ---------- Section / Eyebrow ---------- */
section { padding: 96px 0; position: relative; }
section.tight { padding: 72px 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(6,182,212,.10));
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(99,102,241,.18);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(99,102,241,.18);
}
.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ---------- HERO ---------- */
.hero {
  padding: 60px 0 96px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.hero-stat .num {
  font-family: 'Space Grotesk',sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat .lbl { font-size: .85rem; color: var(--text-mute); }

/* Hero visual: orbiting nodes */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  min-height: 460px;
  margin-left: auto;
  justify-self: end;
}
/* padding-bottom fallback for engines where aspect-ratio fails inside grid items */
.hero-visual::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.orbit-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.orbit-core {
  position: relative;
  width: 36%; aspect-ratio: 1;
  border-radius: 32%;
  background: linear-gradient(135deg, #fff, #F0F2FA);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  display: grid; place-items: center;
  z-index: 4;
  animation: floaty 6s ease-in-out infinite;
}
.orbit-core img { width: 56%; }
.orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(99,102,241,.25);
  animation: spin 22s linear infinite;
}
.orbit.r2 { inset: 12%; animation-duration: 30s; animation-direction: reverse; border-style: dashed; border-color: rgba(6,182,212,.25); }
.orbit.r3 { inset: 24%; animation-duration: 18s; border-color: rgba(139,92,246,.25); }

.orbit-node {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  font-size: 22px;
  animation: counter-spin 22s linear infinite;
}
.orbit.r2 .orbit-node { animation-duration: 30s; animation-direction: normal; }
.orbit.r3 .orbit-node { animation-duration: 18s; }

.orbit-node.right { top: 50%; left: auto; right: -18px; transform: translateY(-50%); }
.orbit-node.bottom { top: auto; bottom: -18px; }
.orbit-node.left   { top: 50%; left: -18px; right: auto; transform: translateY(-50%); }

.glow-blob {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(6,182,212,.30), transparent 60%);
  filter: blur(30px);
  z-index: 0;
  animation: floaty 9s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* ---------- Trust bar ---------- */
.trust {
  padding: 36px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--bg), var(--surface-2));
}
.trust-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-row .label {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.chip svg, .chip .ico { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,.5), rgba(6,182,212,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }

.card .ico-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(6,182,212,.12));
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--brand);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p  { color: var(--text-soft); font-size: .98rem; }

/* Service card variations */
.svc-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
}
.tag {
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-soft);
  border: 1px solid var(--border-soft);
  font-weight: 500;
}

/* ---------- Agentic AI demo ---------- */
.agent-demo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: stretch;
}
.demo-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 540px;
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #fff, var(--surface-2));
}
.demo-head .dots { display: inline-flex; gap: 6px; }
.demo-head .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #E2E5EE;
}
.demo-head .dots i:nth-child(1){ background:#FF6B6B; }
.demo-head .dots i:nth-child(2){ background:#FFD166; }
.demo-head .dots i:nth-child(3){ background:#06D6A0; }
.demo-head .title {
  font-size: .85rem; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.demo-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; color: #06A36F; font-weight: 600;
}
.demo-head .live::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: #06D6A0;
  box-shadow: 0 0 0 0 rgba(6,214,160,.7);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(6,214,160,.7); }
  70%{ box-shadow: 0 0 0 8px rgba(6,214,160,0); }
  100%{ box-shadow: 0 0 0 0 rgba(6,214,160,0); }
}

.demo-body {
  flex: 1;
  padding: 22px;
  overflow: hidden;
  position: relative;
}
.msg { display: flex; gap: 12px; margin-bottom: 14px; opacity: 0; transform: translateY(8px); }
.msg.show { opacity: 1; transform: translateY(0); transition: all .4s var(--ease); }
.msg .avatar {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-weight: 700; font-size: .8rem;
}
.msg.user .avatar { background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); }
.msg.agent .avatar { background: var(--brand-grad); color: #fff; }
.msg.tool  .avatar { background: #F1F4FB; color: var(--brand-2); border: 1px solid var(--border); }
.bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.55;
  border: 1px solid var(--border-soft);
}
.msg.user .bubble { background: var(--bg-soft); }
.msg.agent .bubble { background: linear-gradient(180deg,#fff,#FAFBFE); }
.msg.tool  .bubble {
  background: #FAFBFE;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .82rem;
  color: var(--text-soft);
}
.thinking {
  display: inline-flex; gap: 4px; align-items: center;
}
.thinking span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  animation: think 1.2s infinite ease-in-out;
}
.thinking span:nth-child(2){ animation-delay: .15s; background: var(--brand-2); }
.thinking span:nth-child(3){ animation-delay: .30s; background: var(--brand-3); }
@keyframes think {
  0%, 80%, 100% { transform: scale(.6); opacity: .5; }
  40%           { transform: scale(1.1); opacity: 1; }
}
.label-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.label-tag.think { background: rgba(139,92,246,.10); color: var(--brand-2); }
.label-tag.act   { background: rgba(6,182,212,.12);  color: #0891B2; }
.label-tag.done  { background: rgba(6,214,160,.14);  color: #059669; }

.demo-foot {
  border-top: 1px solid var(--border-soft);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
}
.demo-foot input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .9rem; color: var(--text);
  outline: none;
}
.demo-foot input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.demo-foot .send {
  border: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-grad);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: transform .15s var(--ease);
}
.demo-foot .send:hover { transform: translateY(-2px); }

/* Side panel: capability list */
.demo-side {
  display: flex; flex-direction: column; gap: 16px;
}
.capability {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all .3s var(--ease);
}
.capability:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateX(4px); }
.capability .ico-wrap { width: 38px; height: 38px; border-radius: 10px; }
.capability h4 { font-size: 1rem; margin: 0 0 4px; }
.capability p  { font-size: .88rem; color: var(--text-soft); margin: 0; }

/* ---------- Use case ribbon ---------- */
.ribbon {
  display: flex; gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.ribbon .pill {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .9rem; font-weight: 500;
  color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s var(--ease);
}
.ribbon .pill:hover { border-color: var(--brand); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ribbon .pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-grad);
}

/* ---------- Stats counter row ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: linear-gradient(135deg, #0B1020, #1A1F3A);
  color: #fff;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(99,102,241,.30), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(6,182,212,.30), transparent 60%);
}
.metric {
  position: relative;
  text-align: center;
}
.metric .n {
  font-family: 'Space Grotesk',sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg,#fff,#A5B4FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric .l { color: #A5B4FC; font-size: .9rem; }

/* ---------- Process timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.5), rgba(6,182,212,.5), transparent);
}
.tl-step {
  position: relative;
  text-align: center;
  padding-top: 84px;
}
.tl-num {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  font-family: 'Space Grotesk',sans-serif;
  font-weight: 700; font-size: 1.4rem;
  color: var(--brand);
}
.tl-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.tl-step p  { font-size: .9rem; color: var(--text-soft); }

/* ---------- Product showcase ---------- */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .35s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card.reverse { direction: rtl; }
.product-card.reverse > * { direction: ltr; }
.product-card .copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.product-card .visual {
  background: linear-gradient(135deg, #EEF1FB, #E6F2F8);
  display: grid; place-items: center;
  padding: 32px;
  position: relative; overflow: hidden;
  min-height: 360px;
}
.product-card .visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, black, transparent 75%);
}
.product-card .visual svg, .product-card .visual .device { position: relative; }
.product-card h3 { font-size: 1.6rem; }
.product-card .feat {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; gap: 8px;
}
.product-card .feat li {
  font-size: .92rem; color: var(--text-soft);
  display: flex; gap: 8px; align-items: flex-start;
}
.product-card .feat li::before {
  content: "✓"; color: var(--brand);
  font-weight: 700; flex-shrink: 0;
}
.product-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* phone mockup */
.device-phone {
  width: 220px; aspect-ratio: 9/19;
  background: linear-gradient(180deg, #0B1020, #1A1F3A);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.4), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.device-phone::before {
  content: "";
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #0B1020;
  border-radius: 999px;
  z-index: 2;
}
.device-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg,#FFFFFF,#F4F6FC);
  border-radius: 22px;
  padding: 36px 14px 14px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  font-size: .68rem;
  color: var(--text);
}
.device-screen .row {
  background: #fff; border:1px solid var(--border); border-radius: 8px;
  padding: 6px 8px;
}

.browser {
  width: 100%; max-width: 460px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.3);
  border: 1px solid var(--border);
  background: #fff;
}
.browser-bar {
  display:flex; align-items:center; gap:6px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.browser-bar i { width:10px; height:10px; border-radius:50%; background:#E2E5EE; display:inline-block; }
.browser-bar i:nth-child(1){ background:#FF6B6B; }
.browser-bar i:nth-child(2){ background:#FFD166; }
.browser-bar i:nth-child(3){ background:#06D6A0; }
.browser-bar .url {
  margin-left: 10px; font-size: .72rem; color: var(--text-mute);
  background: var(--bg); padding: 4px 10px; border-radius: 999px; flex:1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.browser-body { padding: 18px; }

/* TV mockup */
.device-tv {
  width: 360px; aspect-ratio: 16/10;
  background: linear-gradient(180deg, #0B1020, #1A1F3A);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.4);
  position: relative;
}
.device-tv::after {
  content: ""; position: absolute;
  bottom: -16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 12px;
  background: #1A1F3A;
  border-radius: 0 0 14px 14px;
}
.tv-screen {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Space Grotesk',sans-serif;
  font-weight: 700;
  position: relative; overflow: hidden;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: "“";
  position: absolute; top: -8px; left: 18px;
  font-family: 'Space Grotesk',sans-serif;
  font-size: 4rem; line-height: 1;
  color: rgba(99,102,241,.18);
}
.testimonial p { font-size: .98rem; color: var(--text-soft); }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.t-author .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
}
.t-author .who { font-weight: 600; color: var(--text); font-size: .92rem; }
.t-author .role { font-size: .82rem; color: var(--text-mute); }

/* ---------- Tech / faq ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tech-grid .chip {
  justify-content: center;
  padding: 14px 10px;
  font-weight: 600;
  background: var(--surface);
}
@media (max-width: 900px){ .tech-grid { grid-template-columns: repeat(3, 1fr);} }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Space Grotesk',sans-serif;
  font-size: 1.4rem; color: var(--brand);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 22px; color: var(--text-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(700px 320px at 100% 100%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0E3A4B 100%);
  color: #fff;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 80%);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p  { color: #C7D2FE; font-size: 1.05rem; max-width: 580px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.cta-banner .btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--surface-2), #EFF2FA);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  font-family: 'Space Grotesk',sans-serif;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-soft); font-size: .92rem; }
.footer-grid a:hover { color: var(--brand); }
.foot-brand p { font-size: .92rem; color: var(--text-soft); max-width: 320px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-mute);
}
.social { display: inline-flex; gap: 8px; }
.social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-soft);
  transition: all .2s var(--ease);
}
.social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { max-width: 720px; margin: 0 auto; font-size: 1.1rem; color: var(--text-soft); }
.crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--text-mute);
  margin-bottom: 18px;
}
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--border); }

/* ---------- Animation reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: all .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit; font-size: .95rem;
  color: var(--text);
  outline: none;
  transition: all .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info {
  display: grid; gap: 16px;
}
.info-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-card .ico-wrap { width: 40px; height: 40px; flex-shrink: 0; }
.info-card h4 { font-size: 1rem; margin: 0 0 4px; }
.info-card p  { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* =========================================================
   PREMIUM ENHANCEMENTS — partners, trust, security architecture,
   neural-net hero, logo wall, ROI bar, premium dark sections
   ========================================================= */

/* ---------- Neural-net hero overlay ---------- */
.hero-visual.with-neural { position: relative; }
.hero-visual.with-neural .neural-bg {
  position: absolute; inset: -8%;
  z-index: 0;
  opacity: .85;
}
.hero-visual.with-neural .glow-blob { z-index: 1; }
.hero-visual.with-neural .orbit-stage { z-index: 2; }

/* ---------- Floating accent badge over hero ---------- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  transition: all .3s var(--ease);
}
.hero-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-badge .ms-tile { display:inline-grid; grid-template-columns: 1fr 1fr; gap:1px; width:14px; height:14px; }
.hero-badge .ms-tile i { display:block; }
.hero-badge .ms-tile i:nth-child(1){ background:#F25022; }
.hero-badge .ms-tile i:nth-child(2){ background:#7FBA00; }
.hero-badge .ms-tile i:nth-child(3){ background:#00A4EF; }
.hero-badge .ms-tile i:nth-child(4){ background:#FFB900; }

/* ---------- Partner / trust band ---------- */
.partners {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.partners-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 22px; flex-wrap: wrap;
}
.partners-head .lhs { display: flex; flex-direction: column; gap: 4px; }
.partners-head h3 { margin: 0; font-size: 1.05rem; }
.partners-head p  { margin: 0; color: var(--text-soft); font-size: .92rem; }
.partners-head .rhs { font-size: .82rem; color: var(--text-mute); }

.partner-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  align-items: stretch;
}
.partner-badge {
  display: flex; align-items: center;
  padding: 8px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 64px;
  transition: all .3s var(--ease);
}
.partner-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 12px 28px -12px rgba(99,102,241,.30);
}
.partner-badge svg { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .partner-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .partner-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Customer logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.logo-wall .lw-cell {
  height: 86px;
  display: grid; place-items: center;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  filter: grayscale(1) opacity(.55);
  transition: all .3s var(--ease);
}
.logo-wall .lw-cell:hover { filter: grayscale(0) opacity(1); background: var(--surface-2); }
.logo-wall .lw-cell svg { width: 75%; max-height: 36px; }
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- "Your Data, Your Boundary" architecture ---------- */
.security-section {
  position: relative;
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(99,102,241,.08), transparent 60%),
    radial-gradient(700px 320px at 90% 100%, rgba(6,182,212,.08), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
}
.security-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.security-points { display: grid; gap: 14px; margin-top: 22px; }
.sp-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .3s var(--ease);
}
.sp-row:hover { transform: translateX(4px); border-color: rgba(99,102,241,.4); box-shadow: var(--shadow-sm); }
.sp-row .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(6,182,212,.12));
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.sp-row h4 { font-size: 1rem; margin: 0 0 4px; }
.sp-row p  { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* Architecture diagram (your-tenant box) */
.arch-diagram {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.arch-diagram::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse, black, transparent 75%);
  opacity: .6;
}
.arch-tenant {
  position: relative;
  border: 2px dashed rgba(99,102,241,.45);
  border-radius: 18px;
  padding: 22px 18px 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.05), rgba(6,182,212,.05));
}
.arch-tenant > .tenant-tag {
  position: absolute; top: -12px; left: 18px;
  background: var(--surface);
  padding: 2px 12px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  border: 1px solid rgba(99,102,241,.4);
  border-radius: 999px;
}
.arch-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 8px;
}
.arch-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  position: relative;
  transition: all .3s var(--ease);
}
.arch-node:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.arch-node .ai {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(6,182,212,.14));
  display: grid; place-items: center;
  font-size: 14px; flex-shrink: 0;
}
.arch-node .lbl { font-size: .82rem; font-weight: 600; color: var(--text); }
.arch-node .meta { font-size: .68rem; color: var(--text-mute); display: block; font-weight: 500; }

.arch-flow {
  display: flex; justify-content: center; gap: 6px;
  margin: 14px 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem; color: var(--text-mute);
}
.arch-flow .pkt {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(6,214,160,.12);
  color: #059669;
  font-weight: 600;
  border: 1px solid rgba(6,214,160,.30);
  animation: pktFlow 2.6s ease-in-out infinite;
}
.arch-flow .pkt:nth-child(2){ animation-delay: .25s; }
.arch-flow .pkt:nth-child(3){ animation-delay: .5s;  }
.arch-flow .pkt:nth-child(4){ animation-delay: .75s; }
@keyframes pktFlow {
  0%,100%{ transform: translateX(0); opacity:.55; }
  50%    { transform: translateX(6px); opacity:1; }
}

.arch-out {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0F172A, #1E1B4B);
  color: #fff;
  border-radius: 12px;
  font-size: .85rem;
}
.arch-out .azure-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,120,212,.20);
  color: #67E8F9;
  border: 1px solid rgba(103,232,249,.35);
}
.arch-out .azure-pill::before {
  content: ""; width: 8px; height: 8px;
  background: linear-gradient(135deg,#0078D4,#50E6FF);
  transform: rotate(45deg);
}

.arch-disclaimer {
  font-size: .78rem; color: var(--text-mute);
  margin-top: 14px; text-align: center;
}
.arch-disclaimer strong { color: #059669; }

/* ---------- ROI / impact bar (light premium) ---------- */
.impact-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.impact-bar .ib {
  padding: 28px 22px;
  border-right: 1px solid var(--border-soft);
  position: relative;
  transition: all .3s var(--ease);
}
.impact-bar .ib:last-child { border-right: 0; }
.impact-bar .ib:hover { background: var(--surface-2); }
.impact-bar .ib .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 4px;
}
.impact-bar .ib .l { font-size: .9rem; color: var(--text-soft); }
.impact-bar .ib .ico-wrap { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; }
@media (max-width: 900px) { .impact-bar { grid-template-columns: 1fr 1fr; }
  .impact-bar .ib { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .impact-bar .ib:nth-child(odd){ border-right: 1px solid var(--border-soft); }
}

/* ---------- "Why CIOs choose us" cards (richer) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-grid .card { padding: 32px 28px; }
.value-grid .card .num-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.6rem; font-weight: 700;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .15;
  position: absolute; top: 16px; right: 22px;
}
@media (max-width: 980px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Premium dark "trust" section ---------- */
.dark-trust {
  position: relative;
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(99,102,241,.30), transparent 55%),
    radial-gradient(700px 380px at 100% 100%, rgba(6,182,212,.25), transparent 55%),
    linear-gradient(135deg,#0B1020 0%, #1E1B4B 50%, #0E3A4B 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  overflow: hidden;
}
.dark-trust::before {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse, black, transparent 80%);
  opacity:.7;
}
.dark-trust h2 { color: #fff; }
.dark-trust .lede { color: #C7D2FE; max-width: 700px; }
.dark-trust .pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 36px; position: relative;
}
.dark-trust .pillar {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  transition: all .3s var(--ease);
}
.dark-trust .pillar:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
  border-color: rgba(103,232,249,.35);
}
.dark-trust .pillar .ico-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.30), rgba(6,182,212,.30));
  color: #67E8F9;
  margin-bottom: 14px;
}
.dark-trust .pillar h4 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; }
.dark-trust .pillar p  { color: #A5B4FC; font-size: .9rem; margin: 0; }
@media (max-width: 980px) { .dark-trust .pillars { grid-template-columns: 1fr; }
  .dark-trust { padding: 40px 28px; } }

/* ---------- ROI calculator-style strip ---------- */
.outcome-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.outcome-strip .lead {
  padding: 28px;
  background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(6,182,212,.10));
  border-right: 1px solid var(--border-soft);
}
.outcome-strip .lead h3 { margin: 0 0 6px; font-size: 1.15rem; }
.outcome-strip .lead p  { font-size: .9rem; color: var(--text-soft); margin: 0; }
.outcome-strip .col {
  padding: 28px 22px;
  border-right: 1px solid var(--border-soft);
}
.outcome-strip .col:last-child { border-right: 0; }
.outcome-strip .col .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--text);
}
.outcome-strip .col .l { font-size: .82rem; color: var(--text-mute); }
@media (max-width: 980px) {
  .outcome-strip { grid-template-columns: 1fr 1fr; }
  .outcome-strip .lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--border-soft); }
}

/* ---------- Industry tabs ---------- */
.industries {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.industry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  transition: all .3s var(--ease);
  cursor: default;
}
.industry:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.industry .em { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.industry .nm { font-size: .85rem; font-weight: 600; }
@media (max-width: 980px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .industries { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section divider with neural pattern ---------- */
.divider-pattern {
  height: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(99,102,241,.08), transparent 40%);
}
.divider-pattern::before, .divider-pattern::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.divider-pattern::before { top: 30%; }
.divider-pattern::after  { bottom: 30%; }

/* ---------- Privacy promise section (the big honest pitch) ---------- */
.privacy-promise {
  position: relative;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(6,214,160,.10), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(99,102,241,.10), transparent 55%),
    linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(6,214,160,.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
}
.privacy-promise::before {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(6,214,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,214,160,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, black, transparent 75%);
}
.privacy-promise > * { position: relative; z-index: 1; }
.privacy-promise .lead {
  display: flex; gap: 24px; align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.privacy-promise .seal {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #06D6A0, #059669);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 12px 28px -8px rgba(6,214,160,.45);
}
.privacy-promise .lead-copy { flex: 1; min-width: 280px; }
.privacy-promise h2 { margin: 0 0 6px; }
.privacy-promise .lede { color: var(--text-soft); margin: 0; font-size: 1.05rem; max-width: 720px; }
.privacy-promise .pp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.privacy-promise .pp {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s var(--ease);
}
.privacy-promise .pp:hover {
  border-color: rgba(6,214,160,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(6,214,160,.18);
}
.privacy-promise .pp .ico-wrap {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(6,214,160,.10);
  color: #059669;
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.privacy-promise .pp h4 { margin: 0 0 4px; font-size: 1rem; }
.privacy-promise .pp p { margin: 0; font-size: .9rem; color: var(--text-soft); }
@media (max-width: 900px) {
  .privacy-promise { padding: 36px 24px; }
  .privacy-promise .pp-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero privacy chip ---------- */
.privacy-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6,214,160,.10), rgba(99,102,241,.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6,214,160,.30);
  font-size: .88rem;
  box-shadow: 0 4px 14px -6px rgba(6,214,160,.25);
  margin-bottom: 22px;
}
.privacy-chip .promise {
  display: inline-flex; align-items: center; gap: 8px;
  color: #047857; font-weight: 700;
}
.privacy-chip .promise svg { color: #059669; flex-shrink: 0; }
.privacy-chip .extra { color: var(--text-soft); font-weight: 500; }
.privacy-chip .sep {
  width: 1px; height: 16px;
  background: rgba(6,214,160,.30);
}

/* ---------- Hero badge: "Backed by" (legacy) ---------- */
.backed-by {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.backed-by .lbl { color: var(--text-mute); font-weight: 500; }
.backed-by .partner-mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--text);
}
.backed-by .ms-tile { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 1.5px; width: 14px; height: 14px; }
.backed-by .ms-tile i { display: block; }
.backed-by .ms-tile i:nth-child(1){ background:#F25022; }
.backed-by .ms-tile i:nth-child(2){ background:#7FBA00; }
.backed-by .ms-tile i:nth-child(3){ background:#00A4EF; }
.backed-by .ms-tile i:nth-child(4){ background:#FFB900; }
.backed-by .azure-mini {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8rem; font-weight: 700;
  color: #0078D4;
}
.backed-by .azure-mini::before {
  content: ""; width: 12px; height: 12px;
  background: linear-gradient(135deg, #0078D4 0%, #50E6FF 100%);
  clip-path: polygon(20% 70%, 50% 20%, 80% 70%, 60% 70%, 50% 50%, 40% 70%);
}
.backed-by .sep { width: 1px; height: 16px; background: var(--border); }

/* ---------- Process card with diagram ---------- */
.flow-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.flow-pipeline .stage {
  padding: 28px 20px;
  border-right: 1px solid var(--border-soft);
  position: relative;
  transition: all .3s var(--ease);
}
.flow-pipeline .stage:last-child { border-right: 0; }
.flow-pipeline .stage:hover { background: var(--surface-2); }
.flow-pipeline .stage::after {
  content: "›";
  position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.2rem;
  background: var(--surface);
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  z-index: 2;
}
.flow-pipeline .stage:last-child::after { display: none; }
.flow-pipeline .stage .ico-wrap { margin-bottom: 12px; }
.flow-pipeline .stage h4 { margin: 0 0 6px; font-size: 1rem; }
.flow-pipeline .stage p  { font-size: .82rem; color: var(--text-soft); margin: 0; }
@media (max-width: 980px) {
  .flow-pipeline { grid-template-columns: 1fr 1fr; }
  .flow-pipeline .stage { border-bottom: 1px solid var(--border-soft); }
  .flow-pipeline .stage::after { display: none; }
}
@media (max-width: 520px) {
  .flow-pipeline { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .agent-demo, .product-card, .contact-grid { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-card .copy { padding: 32px 24px; }
  .product-card .visual { min-height: 280px; padding: 24px; }
  .device-tv { width: 100%; max-width: 320px; }
  .hero-visual { max-width: 420px; margin: 20px auto 0; }
  .field-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links {
    position: absolute; top: 64px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stat .num { font-size: 1.3rem; }
  .timeline { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
