/* ============================================================
   DatraIQ — Design System
   Dark premium palette · Electric blue / teal gradients
   ============================================================ */

:root {
  /* Palette */
  --bg-deep: #05080f;
  --bg-base: #080d1a;
  --bg-raised: #0d1526;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --blue: #3b82f6;
  --cyan: #00c2ff;
  --teal: #00ffa3;
  --mint: #00ffa3;
  --violet: #8b5cf6;
  --amber: #fbbf24;

  /* Brand gradient: DatraIQ neon mint → cyan */
  --grad-primary: linear-gradient(135deg, #00ffa3 0%, #00c2ff 100%);
  --grad-accent: linear-gradient(135deg, #00ffa3 0%, #00c2ff 55%, #3b82f6 100%);
  --grad-text: linear-gradient(90deg, #00ffa3 0%, #00c2ff 100%);

  --text-primary: #f1f5f9;
  --text-secondary: #b6c2d4;
  --text-muted: #7c8aa0;

  /* Type */
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-height: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

::selection { background: rgba(59, 130, 246, 0.4); color: #fff; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-deep); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.section-head p { font-size: 18px; color: var(--text-muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--grad-primary);
  color: #04101f;
  box-shadow: 0 8px 28px rgba(0, 194, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0, 194, 255, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--cyan); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 12px;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo:hover img {
  filter: drop-shadow(0 0 14px rgba(0, 255, 163, 0.35));
  transform: translateY(-1px);
}
.footer-brand .logo img { height: 68px; }

/* CTA inside nav: must keep dark text on the bright gradient
   (.nav-links a would otherwise override .btn-primary's color) */
.nav-links a.nav-cta {
  color: #04101f;
  font-weight: 700;
}
.nav-links a.nav-cta:hover { color: #04101f; }
.nav-links a.nav-cta.active::after { display: none; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
}
.nav-cta { margin-left: 8px; padding: 11px 24px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 18px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  z-index: 99;
  background: rgba(5, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 28px 30px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 70px) 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  top: -260px; right: -180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 65%);
  filter: blur(10px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  bottom: -300px; left: -200px;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.14) 0%, transparent 65%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
}

.hero-content { position: relative; max-width: 880px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px);
  font-weight: 700;
  margin-bottom: 26px;
}
.hero p.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 42px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 70px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 860px;
}
.stat {
  background: rgba(8, 13, 26, 0.85);
  padding: 26px 26px 22px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
}
.stat .num em { font-style: normal; color: var(--cyan); }
.stat .label { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

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

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(0, 194, 255, 0.35); background: var(--bg-card-hover); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(0,194,255,0.10));
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.card-icon svg { width: 25px; height: 25px; }
.card:hover .card-icon {
  transform: translateY(-3px) scale(1.06) rotate(-3deg);
  color: #7eeaff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 24px rgba(0,194,255,0.18);
}
.card h3 { font-size: 20.5px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--text-muted); }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cyan);
}
.card .card-link:hover { gap: 11px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}

/* ---------- Tech partners ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.partner:hover { transform: translateY(-4px); border-color: rgba(0, 194, 255, 0.35); }
.partner-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.partner-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #04101f;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.partner-logo svg { width: 22px; height: 22px; stroke-width: 2.2; }
.partner:hover .partner-logo { transform: scale(1.1) rotate(-5deg); }
.partner p { font-size: 15px; color: var(--text-muted); }

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.process-step:hover { border-color: rgba(0, 194, 255, 0.35); transform: translateY(-4px); }
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: block;
}
.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Values ---------- */
.value-row {
  display: flex;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.value-row:first-child { border-top: 1px solid var(--border-subtle); }
.value-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  min-width: 44px;
  padding-top: 4px;
}
.value-row h3 { font-size: 21px; margin-bottom: 8px; }
.value-row p { color: var(--text-muted); font-size: 15.5px; max-width: 640px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.quote-mark { font-size: 44px; color: var(--cyan); font-family: Georgia, serif; line-height: 1; margin-bottom: 14px; }
.quote-card blockquote { font-size: 16.5px; color: var(--text-secondary); margin-bottom: 24px; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #04101f;
  font-size: 16px;
}
.quote-author .name { font-weight: 600; color: var(--text-primary); font-size: 15px; }
.quote-author .role { font-size: 13.5px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  padding: 76px 50px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(620px circle at 18% 0%, rgba(59,130,246,0.28), transparent 55%),
    radial-gradient(620px circle at 85% 100%, rgba(0,255,163,0.22), transparent 55%),
    var(--bg-raised);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
.cta-band p { color: var(--text-muted); font-size: 17.5px; max-width: 560px; margin: 0 auto 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + 96px) 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  top: -340px; right: -160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; max-width: 760px; }
.page-hero p { font-size: 18.5px; color: var(--text-muted); max-width: 660px; }

/* ---------- Case studies ---------- */
.case-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 28px;
}
.case-card:hover { border-color: rgba(0, 194, 255, 0.35); transform: translateY(-3px); }
.case-visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.case-visual .industry {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #04101f;
  background: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 999px;
}
.case-body { padding: 36px 34px; }
.case-body h3 { font-size: 23px; margin-bottom: 12px; }
.case-body p { font-size: 15.5px; color: var(--text-muted); margin-bottom: 24px; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 34px; }
.case-metrics .metric .num {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--cyan);
}
.case-metrics .metric .label { font-size: 13px; color: var(--text-muted); }

/* ---------- Insights / blog ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(0, 194, 255, 0.35); }
.post-banner { height: 160px; position: relative; }
.post-banner .cat {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04101f;
  background: rgba(255,255,255,0.88);
  padding: 5px 13px;
  border-radius: 999px;
}
.post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.post-body h3 { font-size: 19px; margin-bottom: 10px; }
.post-body p { font-size: 14.5px; color: var(--text-muted); flex: 1; }

/* ---------- Careers ---------- */
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.job-row:hover { border-color: rgba(0, 194, 255, 0.35); transform: translateX(4px); }
.job-row h3 { font-size: 19px; margin-bottom: 6px; }
.job-row .job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--text-muted); }
.job-row .job-meta span { display: inline-flex; align-items: center; gap: 6px; }

.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk-icon {
  min-width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(0,194,255,0.12));
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.perk-icon svg { width: 21px; height: 21px; }
.perk h4 { font-size: 16.5px; margin-bottom: 4px; }
.perk p { font-size: 14px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-item .value { color: var(--text-primary); font-weight: 500; font-size: 16px; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field select option { background: var(--bg-raised); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--cyan); background: rgba(255,255,255,0.06); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 76px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { font-size: 14.5px; color: var(--text-muted); margin-top: 16px; max-width: 300px; }
.footer h4 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 14.5px; color: var(--text-secondary); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-accent);
  z-index: 200;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.6);
}

/* ---------- Floating parallax orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-1 { width: 420px; height: 420px; top: 8%; right: -6%; background: radial-gradient(circle, rgba(59,130,246,0.30), transparent 70%); }
.orb-2 { width: 340px; height: 340px; bottom: -8%; left: -4%; background: radial-gradient(circle, rgba(0,255,163,0.22), transparent 70%); animation-delay: -5s; }
.orb-3 { width: 260px; height: 260px; top: 46%; left: 38%; background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 70%); animation-delay: -9s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(36px, -44px, 0) scale(1.12); }
}

/* ---------- Hero entrance ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .hero-badge { animation: riseIn 0.8s 0.05s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero h1 { animation: riseIn 0.9s 0.18s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero p.lede { animation: riseIn 0.9s 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero .hero-actions { animation: riseIn 0.9s 0.46s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero .hero-stats { animation: riseIn 1s 0.62s cubic-bezier(0.2, 0.7, 0.3, 1) both; }

/* ---------- Button shine sweep ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Marquee tech strip ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
  background: var(--bg-deep);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--text-primary); }
.marquee-item svg { width: 19px; height: 19px; color: var(--cyan); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Small icon helpers ---------- */
.job-meta svg { width: 15px; height: 15px; color: var(--cyan); }
.ci-icon {
  min-width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(59,130,246,0.16), rgba(0,194,255,0.10));
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.ci-icon svg { width: 19px; height: 19px; }
.card-link svg, .btn svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.card-link:hover svg { transform: translateX(4px); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Card top accent ---------- */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1.5px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.35s ease, left 0.45s ease, right 0.45s ease;
}
.card:hover::after { opacity: 1; left: 6%; right: 6%; }

/* ---------- Section divider glow ---------- */
.section-head h2 { position: relative; }

/* ---------- Tilt ---------- */
[data-tilt] { transform-style: preserve-3d; }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: opacity, transform;
}
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-scale { transform: scale(0.92); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .hero .hero-badge, .hero h1, .hero p.lede, .hero .hero-actions, .hero .hero-stats, .hero-visual { animation: none; }
  .orb, .marquee-track, .dash-chart .bar, .dash-line polyline, .chip-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* ============================================================
   VISUAL LAYER 2 — particles, hero dashboard, imagery
   ============================================================ */

/* Particle canvas */
#particles { position: absolute; inset: 0; z-index: 0; }
#particles canvas { position: absolute !important; }
.hero .container { position: relative; z-index: 2; }

/* Hero split layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.hero-actions { margin-bottom: 0; }

/* Animated glass dashboard */
.hero-visual { position: relative; animation: riseIn 1s 0.5s cubic-bezier(0.2,0.7,0.3,1) both; }
.dash {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: perspective(1300px) rotateY(-9deg) rotateX(4deg);
}
.dash-head { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; }
.dash-head .dot-r, .dash-head .dot-y, .dash-head .dot-g { width: 10px; height: 10px; border-radius: 50%; }
.dash-head .dot-r { background: #f87171; } .dash-head .dot-y { background: #fbbf24; } .dash-head .dot-g { background: #34d399; }
.dash-head .dash-title { margin-left: 10px; font-size: 12px; color: var(--text-muted); font-family: var(--font-display); letter-spacing: 0.06em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.dash-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash-kpi .k-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.dash-kpi .k-value { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.dash-kpi .k-value em { font-style: normal; color: var(--teal); font-size: 12px; }
.dash-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 130px;
  padding: 14px 12px 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}
.dash-chart .bar {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(0,194,255,0.85), rgba(59,130,246,0.35));
  transform-origin: bottom;
  animation: barPulse 3s ease-in-out infinite alternate;
}
.dash-chart .bar:nth-child(2n) { animation-delay: -0.7s; background: linear-gradient(180deg, rgba(139,92,246,0.75), rgba(59,130,246,0.3)); }
.dash-chart .bar:nth-child(3n) { animation-delay: -1.4s; }
@keyframes barPulse { from { transform: scaleY(0.72); } to { transform: scaleY(1.06); } }
.dash-line { position: absolute; inset: 0; pointer-events: none; }
.dash-line polyline {
  fill: none;
  stroke: #00c2ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0,194,255,0.8));
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 4.5s ease-in-out infinite;
}
@keyframes drawLine {
  0% { stroke-dashoffset: 600; opacity: 0; }
  15% { opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.dash-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 11.5px; color: var(--text-muted); }
.dash-foot .live { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 600; }
.dash-foot .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 1.8s infinite; }

/* Floating platform chips around the dashboard */
.chip-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 14px 38px rgba(0,0,0,0.45);
  animation: bob 5.5s ease-in-out infinite alternate;
}
.chip-float img { width: 18px; height: 18px; }
.chip-1 { top: -7%; left: -9%; animation-delay: -1s; }
.chip-2 { top: 16%; right: -10%; animation-delay: -2.4s; }
.chip-3 { bottom: 20%; left: -13%; animation-delay: -3.6s; }
.chip-4 { bottom: -7%; right: -5%; animation-delay: -4.8s; }
@keyframes bob { from { transform: translateY(-9px); } to { transform: translateY(11px); } }

/* Brand logo images */
.marquee-item img { width: 21px; height: 21px; }
.partner-logo { background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle); }
.partner-logo img { width: 23px; height: 23px; }

/* Imagery */
.img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-card .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(5,8,15,0.05) 40%, rgba(5,8,15,0.72));
}
.img-card .img-caption {
  position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff;
}
.img-card .img-caption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; }

.case-visual { position: relative; overflow: hidden; }
.case-visual img {
  position: absolute; inset: -10% 0;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.case-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(5,8,15,0.05), rgba(5,8,15,0.55));
}
.case-visual .industry { position: relative; z-index: 2; }

.post-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(5,8,15,0.08), rgba(5,8,15,0.5));
}
.post-banner .cat { z-index: 2; }
.post-card:hover .post-banner img { transform: scale(1.09); }

/* Split image + text section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .img-card { min-height: 380px; }
.split .img-card img { height: 380px; }

.banner-img { min-height: 300px; }
.banner-img img { height: 340px; }

/* ============================================================
   VISUAL LAYER 3 — Jaipur carousel, data pipeline, rotator
   ============================================================ */

/* Critical: prevent grid/flex column blowout from wide children
   (carousels, SVGs, code blocks). Grid items default to min-width:auto,
   so an over-wide child crushes sibling columns. */
.grid > *, .split > *, .contact-grid > *, .hero-grid > * { min-width: 0; }

/* Jaipur Swiper carousel */
.jaipur-swiper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  height: 440px;
  width: 100%;
  max-width: 100%;
}
.jaipur-swiper .swiper-slide { position: relative; height: 100%; overflow: hidden; }

/* Fallback when Swiper JS hasn't initialized (offline / CDN blocked):
   show the first slide as a static image instead of a broken strip */
.jaipur-swiper:not(.swiper-initialized) .swiper-wrapper { display: block; height: 100%; }
.jaipur-swiper:not(.swiper-initialized) .swiper-slide { display: none; }
.jaipur-swiper:not(.swiper-initialized) .swiper-slide:first-child { display: block; }
.jaipur-swiper:not(.swiper-initialized) .swiper-pagination,
.jaipur-swiper:not(.swiper-initialized) .swiper-button-prev,
.jaipur-swiper:not(.swiper-initialized) .swiper-button-next { display: none; }
.jaipur-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.jaipur-swiper .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(5,8,15,0.04) 45%, rgba(5,8,15,0.78));
}
.jaipur-swiper .slide-caption {
  position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #fff;
}
.jaipur-swiper .slide-caption span {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 13.5px; color: var(--text-secondary); margin-top: 4px;
}
.jaipur-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.55); opacity: 1; }
.jaipur-swiper .swiper-pagination-bullet-active { background: var(--cyan); width: 22px; border-radius: 6px; }
.jaipur-swiper .swiper-button-next,
.jaipur-swiper .swiper-button-prev {
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,16,32,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
}
.jaipur-swiper .swiper-button-next::after,
.jaipur-swiper .swiper-button-prev::after { font-size: 15px; font-weight: 700; }

/* Animated data pipeline */
.pipeline-wrap {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  background:
    radial-gradient(520px circle at 50% 0%, rgba(59,130,246,0.10), transparent 60%),
    var(--bg-card);
  padding: 46px 30px 30px;
  overflow: hidden;
}
.pipeline-svg { width: 100%; height: auto; display: block; }
.pipeline-svg .node-box {
  fill: rgba(13, 21, 38, 0.92);
  stroke: rgba(255,255,255,0.16);
  stroke-width: 1.2;
  rx: 14;
}
.pipeline-svg .node-box.core {
  stroke: rgba(0,194,255,0.6);
  stroke-width: 1.6;
}
.pipeline-svg .node-label {
  fill: #f1f5f9;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
}
.pipeline-svg .node-sub {
  fill: #7c8aa0;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-anchor: middle;
}
.pipeline-svg .flow-path {
  fill: none;
  stroke: rgba(59,130,246,0.4);
  stroke-width: 1.6;
  stroke-dasharray: 5 7;
}
.pipeline-svg .flow-dot { filter: drop-shadow(0 0 6px rgba(0,194,255,0.9)); }
.pipeline-svg .pulse-ring {
  fill: none;
  stroke: rgba(0,194,255,0.5);
  animation: ringPulse 2.6s ease-out infinite;
  transform-origin: center;
}
@keyframes ringPulse {
  0% { opacity: 0.9; stroke-width: 1.5; }
  100% { opacity: 0; stroke-width: 8; }
}
.pipeline-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.pipeline-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pipeline-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* Rotating hero keyword */
.rotator {
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rotator.swap { opacity: 0; transform: translateY(14px); }

/* Future-ready strip */
.future-card { text-align: left; }
.future-card .trend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.future-card .trend::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2s infinite;
}

/* ============================================================
   VISUAL LAYER 4 — Service vignettes (per-platform UI mocks)
   ============================================================ */

:root { --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.service-block {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.service-block:nth-child(even) { background: var(--bg-deep); }
.service-block::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -200px; right: -160px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #3b82f6) 14%, transparent) 0%, transparent 65%);
  pointer-events: none;
}
.service-block:nth-child(even)::before { right: auto; left: -160px; }
.service-block .split { gap: 70px; }
.service-block:nth-child(even) .service-copy { order: 2; }
.service-block:nth-child(even) .service-visual { order: 1; }

.service-copy .eyebrow { color: var(--accent, var(--cyan)); }
.service-copy .eyebrow::before { background: var(--accent, var(--cyan)); }
.service-copy h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.service-copy p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.service-copy .card-tags { margin: 20px 0 26px; }
.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

/* Vignette shell */
.vignette {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(420px circle at 80% 0%, color-mix(in srgb, var(--accent, #3b82f6) 10%, transparent), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.vg-head {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.vg-head .d { width: 9px; height: 9px; border-radius: 50%; }
.vg-head .d:nth-child(1) { background: #f87171; }
.vg-head .d:nth-child(2) { background: #fbbf24; }
.vg-head .d:nth-child(3) { background: #34d399; }
.vg-head .vg-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.vg-head .vg-badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent, var(--cyan));
}
.vg-head .vg-badge img { width: 15px; height: 15px; }

/* --- V1: Lakehouse SQL console --- */
.sql-code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: #cfe3ff;
  min-height: 88px;
  white-space: pre-wrap;
  word-break: break-word;
}
.sql-caret {
  display: inline-block;
  width: 7px; height: 15px;
  background: var(--cyan);
  vertical-align: -2px;
  animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.sql-result { margin-top: 14px; border-top: 1px solid var(--border-subtle); }
.sql-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  opacity: 0; transform: translateY(7px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.sql-row.show { opacity: 1; transform: none; }
.sql-row .v { color: var(--cyan); }
.sql-row.head { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.sql-status {
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: #34d399;
  opacity: 0; transition: opacity 0.4s ease;
}
.sql-status.show { opacity: 1; }

/* --- V2: GenAI chat --- */
.chat { display: flex; flex-direction: column; gap: 13px; min-height: 280px; }
.bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.bubble.user {
  align-self: flex-end;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-bottom-right-radius: 4px;
  color: var(--text-primary);
}
.bubble.ai {
  align-self: flex-start;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}
.bubble.ai .ai-tag {
  display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 7px;
}
.typing-dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.18s; }
.typing-dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dotBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }
.src-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.src-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid rgba(139,92,246,0.4);
  color: #c4b5fd;
  background: rgba(139,92,246,0.1);
}

/* --- V3: Ontology graph --- */
.onto-svg { width: 100%; height: auto; display: block; }
.onto-svg .edge {
  stroke: rgba(148, 163, 184, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: edgeFlow 1.6s linear infinite;
}
@keyframes edgeFlow { to { stroke-dashoffset: -28; } }
.onto-svg .o-node { fill: rgba(13, 21, 38, 0.95); stroke: rgba(148,163,184,0.55); stroke-width: 1.4; }
.onto-svg .o-node.core { stroke: #e2e8f0; stroke-width: 2; }
.onto-svg .o-label {
  fill: #f1f5f9;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; font-weight: 600;
  text-anchor: middle;
}
.onto-svg .o-sub { fill: #7c8aa0; font-family: "Inter", sans-serif; font-size: 9.5px; text-anchor: middle; }
.onto-svg .o-ring {
  fill: none; stroke: rgba(226,232,240,0.5);
  animation: ringPulse 3s ease-out infinite;
}
.aip-badge {
  position: absolute;
  top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: 11px;
  border: 1px solid rgba(226,232,240,0.35);
  background: rgba(10, 16, 32, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #e2e8f0;
  animation: aipCycle 6s ease-in-out infinite;
}
.aip-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e2e8f0; box-shadow: 0 0 9px #fff; animation: pulse 1.6s infinite; }
@keyframes aipCycle { 0%, 12% { opacity: 0; transform: translateY(-8px); } 22%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-8px); } }

/* --- V4: RPA run console --- */
.rpa-steps { display: flex; flex-direction: column; gap: 9px; min-height: 270px; }
.rpa-step {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.025);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.rpa-step .st { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.rpa-step .st::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
}
.rpa-step.running { border-color: rgba(250, 70, 22, 0.55); color: var(--text-primary); background: rgba(250,70,22,0.06); }
.rpa-step.running .st::before {
  border-color: rgba(250,70,22,0.25);
  border-top-color: #fa4616;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rpa-step.done { color: var(--text-secondary); }
.rpa-step.done .st::before { border-color: #34d399; background: rgba(52, 211, 153, 0.15); }
.rpa-step.done .st::after {
  content: "✓";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #34d399;
}
.rpa-foot {
  margin-top: 13px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #34d399;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rpa-foot.show { opacity: 1; }

/* --- V5: BI dashboard --- */
.bi-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.bi-chip {
  font-size: 11.5px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all 0.35s ease;
}
.bi-chip.active {
  border-color: rgba(251,191,36,0.6);
  color: #fde68a;
  background: rgba(251,191,36,0.12);
}
.bi-grid2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; align-items: stretch; }
.bi-panel {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  padding: 16px;
}
.bi-panel .p-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 10px; }
.donut { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut .track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 12; }
.donut .arc {
  fill: none; stroke: url(#donutGrad); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 339;
  animation: donutFill 4s ease-in-out infinite alternate;
}
@keyframes donutFill { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 88; } }
.donut .donut-center {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-primary);
}
.spark-svg { width: 100%; height: 84px; }
.spark-svg polyline {
  fill: none; stroke: #fbbf24; stroke-width: 2.5; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(251,191,36,0.7));
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: sparkDraw 4s ease-in-out infinite;
}
@keyframes sparkDraw { 0% { stroke-dashoffset: 420; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.bi-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.bi-kpi { background: rgba(255,255,255,0.035); border: 1px solid var(--border-subtle); border-radius: 11px; padding: 12px 14px; }
.bi-kpi .v { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: #fde68a; }
.bi-kpi .l { font-size: 11px; color: var(--text-muted); }

/* --- V6: Governance scanner --- */
.gov-wrap { position: relative; overflow: hidden; border-radius: 13px; }
.gov-list { display: flex; flex-direction: column; gap: 9px; position: relative; }
.gov-row {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.025);
  font-size: 13.5px;
  color: var(--text-secondary);
  animation: govGlow 5s ease-in-out infinite;
}
.gov-row:nth-child(2) { animation-delay: 1s; }
.gov-row:nth-child(3) { animation-delay: 2s; }
.gov-row:nth-child(4) { animation-delay: 3s; }
.gov-row:nth-child(5) { animation-delay: 4s; }
@keyframes govGlow {
  0%, 14%, 100% { border-color: var(--border-subtle); }
  7% { border-color: rgba(0,255,163,0.7); background: rgba(0,255,163,0.07); }
}
.gov-row svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }
.gov-row .gov-ok { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #34d399; }
.gov-beam {
  position: absolute; left: 0; right: 0; height: 52px;
  background: linear-gradient(180deg, transparent, rgba(0,255,163,0.12), transparent);
  animation: beamSweep 5s linear infinite;
  pointer-events: none;
}
@keyframes beamSweep { from { top: -60px; } to { top: 110%; } }
.gov-score { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.gov-ring { position: relative; width: 74px; height: 74px; flex-shrink: 0; }
.gov-ring svg { transform: rotate(-90deg); }
.gov-ring .track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 7; }
.gov-ring .arc {
  fill: none; stroke: #00ffa3; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 195; stroke-dashoffset: 16;
  filter: drop-shadow(0 0 5px rgba(0,255,163,0.6));
}
.gov-ring .gov-pct {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-primary);
}
.gov-score .gs-text { font-size: 13px; color: var(--text-muted); }
.gov-score .gs-text strong { color: var(--text-primary); display: block; font-family: var(--font-display); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  .sql-caret, .typing-dots i, .onto-svg .edge, .onto-svg .o-ring, .aip-badge,
  .rpa-step.running .st::before, .donut .arc, .spark-svg polyline,
  .gov-row, .gov-beam { animation: none; }
}

/* ============================================================
   VISUAL LAYER 5 — About page: terminal, global arcs, timeline
   ============================================================ */

/* Terminal boot card */
.term {
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(170deg, rgba(0, 255, 163, 0.05), rgba(255,255,255,0.02)), #070c16;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 40px rgba(0,255,163,0.07);
  padding: 18px 20px 22px;
  min-height: 300px;
}
.term-body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  min-height: 220px;
}
.term-line { white-space: pre-wrap; word-break: break-word; }
.term-line.cmd { color: var(--mint); font-weight: 500; }
.term-line.out { color: var(--text-secondary); }
.term-line.ok { color: #34d399; }
.term-line.dim { color: var(--text-muted); }
.term-caret {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--mint);
  vertical-align: -2px;
  animation: caretBlink 0.9s steps(1) infinite;
}

/* Global delivery arcs */
.globe-panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(560px circle at 50% 100%, rgba(0,194,255,0.10), transparent 60%),
    var(--bg-card);
  padding: 30px 18px 10px;
  overflow: hidden;
}
.globe-svg { width: 100%; height: auto; display: block; }
.globe-svg .g-arc {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 1.6;
  opacity: 0.65;
  stroke-dasharray: 900;
  animation: arcDraw 7s ease-in-out infinite;
}
.globe-svg .g-arc:nth-of-type(2) { animation-delay: -1.1s; }
.globe-svg .g-arc:nth-of-type(3) { animation-delay: -2.2s; }
.globe-svg .g-arc:nth-of-type(4) { animation-delay: -3.3s; }
.globe-svg .g-arc:nth-of-type(5) { animation-delay: -4.4s; }
.globe-svg .g-arc:nth-of-type(6) { animation-delay: -5.5s; }
@keyframes arcDraw {
  0% { stroke-dashoffset: 900; opacity: 0; }
  12% { opacity: 0.65; }
  55% { stroke-dashoffset: 0; opacity: 0.65; }
  85% { stroke-dashoffset: 0; opacity: 0.65; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.globe-svg .g-city { fill: #0d1526; stroke: var(--cyan); stroke-width: 1.6; }
.globe-svg .g-city-ring { fill: none; stroke: rgba(0,194,255,0.5); animation: ringPulse 2.8s ease-out infinite; }
.globe-svg .g-hq { fill: #0d1526; stroke: var(--mint); stroke-width: 2.4; }
.globe-svg .g-hq-ring { fill: none; stroke: rgba(0,255,163,0.55); animation: ringPulse 2.2s ease-out infinite; }
.globe-svg .g-label {
  fill: var(--text-secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-anchor: middle;
}
.globe-svg .g-label.hq { fill: var(--mint); font-size: 14px; letter-spacing: 0.08em; }
.globe-svg .g-dot { filter: drop-shadow(0 0 6px rgba(0,255,163,0.9)); }
.globe-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 16px 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.globe-stats b { color: var(--mint); font-weight: 600; }

/* Telemetry ticker (marquee variant) */
.telemetry .marquee-item {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  gap: 10px;
}
.telemetry .marquee-item::before {
  content: "●";
  color: var(--mint);
  font-size: 9px;
  animation: pulse 2s infinite;
}

/* Journey timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-top: 8px; }
.tl-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.tl-progress {
  width: 100%; height: 0;
  background: var(--grad-primary);
  box-shadow: 0 0 14px rgba(0,255,163,0.6);
}
.tl-item { position: relative; width: 50%; padding: 0 48px 54px; }
.tl-item.right { margin-left: 50%; }
.tl-item.left { text-align: right; }
.tl-dot {
  position: absolute;
  top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0,194,255,0.6);
}
.tl-item.left .tl-dot { right: -8px; }
.tl-item.right .tl-dot { left: -7px; }
.tl-year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 10px;
}
.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tl-card:hover { border-color: rgba(0,194,255,0.4); transform: translateY(-3px); }
.tl-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.tl-card p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 768px) {
  .tl-line { left: 14px; transform: none; }
  .tl-item, .tl-item.right { width: 100%; margin-left: 0; padding: 0 0 44px 44px; text-align: left; }
  .tl-item.left { text-align: left; }
  .tl-item.left .tl-dot, .tl-item.right .tl-dot { left: 7px; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .term-caret, .globe-svg .g-arc, .globe-svg .g-city-ring, .globe-svg .g-hq-ring,
  .telemetry .marquee-item::before { animation: none; }
  .globe-svg .g-arc { stroke-dashoffset: 0; opacity: 0.65; }
  .tl-progress { height: 100% !important; }
}

/* ============================================================
   VISUAL LAYER 7 — Home consistency: bento, flow v2, manifesto
   ============================================================ */

/* Bento services grid */
.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-wide { grid-column: span 2; }
.svc-full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.svc-full .card-icon { margin-bottom: 0; }
.svc-full .svc-full-body { flex: 1; min-width: 260px; }
.svc-full h3 { margin-bottom: 8px; }
.svc-full .card-tags { margin-top: 12px; }
.svc-mark {
  position: absolute;
  right: -24px; bottom: -28px;
  width: 150px; height: 150px;
  opacity: 0.07;
  transform: rotate(-12deg);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 0;
}
.card:hover .svc-mark { opacity: 0.16; transform: rotate(-4deg) scale(1.06); }
.svc-card > *:not(.svc-mark) { position: relative; z-index: 1; }
.svc-card .card-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #00c2ff) 22%, transparent), rgba(255,255,255,0.03));
  border-color: color-mix(in srgb, var(--accent, #00c2ff) 35%, transparent);
  color: var(--accent, var(--cyan));
}
.svc-card:hover { border-color: color-mix(in srgb, var(--accent, #00c2ff) 45%, transparent); }

/* Process flow v2 */
.process-step { padding-top: 30px; overflow: hidden; }
.step-ghost {
  position: absolute;
  top: 2px; right: 14px;
  font-family: var(--font-display);
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.4s ease;
}
.process-step:hover .step-ghost { -webkit-text-stroke-color: rgba(0,255,163,0.4); }
.step-dur {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(0,255,163,0.3);
  background: rgba(0,255,163,0.06);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 16px;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0,194,255,0.16), rgba(0,255,163,0.08));
  border: 1px solid rgba(0,194,255,0.28);
  margin-bottom: 16px;
}
.step-icon svg { width: 20px; height: 20px; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 20px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--cyan) 55%, transparent 55%);
  background-size: 9px 2px;
  animation: dashMove 0.9s linear infinite;
  z-index: 2;
}
@keyframes dashMove { to { background-position: 9px 0; } }
@media (max-width: 1024px) {
  .process-step:not(:last-child)::after { display: none; }
}

/* Manifesto cards */
.mani-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px 34px 36px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.mani-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.mani-card:hover { transform: translateY(-6px); border-color: rgba(0,255,163,0.35); }
.mani-card:hover::before { transform: scaleX(1); }
.mani-num {
  position: absolute;
  top: -16px; right: 8px;
  font-family: var(--font-display);
  font-size: 124px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.45s ease;
}
.mani-card:hover .mani-num { -webkit-text-stroke-color: rgba(0,255,163,0.4); }
.mani-card h3 { font-size: 21px; margin-bottom: 12px; max-width: 75%; }
.mani-card p { font-size: 15px; color: var(--text-muted); max-width: 88%; }

@media (max-width: 1024px) {
  .svc-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .svc-bento { grid-template-columns: 1fr; }
  .svc-wide, .svc-full { grid-column: auto; }
  .mani-num { font-size: 96px; }
}

/* Standards rail — highlighted end-to-end engagement process */
.standards-flow {
  position: relative;
  border-radius: 26px;
  padding: 56px 44px 48px;
  background:
    radial-gradient(640px circle at 50% -10%, rgba(0,255,163,0.10), transparent 60%),
    var(--bg-raised);
  border: 1px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
}
.standards-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0,255,163,0.55), rgba(0,194,255,0.35), rgba(0,255,163,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.std-rail {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 8px 38px;
}
.std-rail::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}
.std-fill {
  position: absolute;
  left: 18px;
  top: 50%;
  height: 3px;
  width: 0%;
  max-width: calc(100% - 36px);
  transform: translateY(-50%);
  background: var(--grad-primary);
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(0,255,163,0.7);
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.std-node {
  position: relative;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-raised);
  border: 2px solid rgba(255,255,255,0.16);
  transition: all 0.45s ease;
}
.std-node.done {
  border-color: rgba(0,255,163,0.55);
  color: var(--mint);
}
.std-node.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #04101f;
  box-shadow: 0 0 22px rgba(0,255,163,0.6);
  transform: scale(1.18);
}
.std-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.std-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.45s ease;
}
.std-card .std-phase {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.45s ease;
}
.std-card .std-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  transition: all 0.45s ease;
}
.std-card .std-icon svg { width: 19px; height: 19px; }
.std-card h3 { font-size: 15.5px; margin-bottom: 8px; transition: color 0.45s ease; }
.std-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.std-card.active {
  transform: translateY(-8px);
  border-color: rgba(0,255,163,0.5);
  background: linear-gradient(170deg, rgba(0,255,163,0.08), rgba(0,194,255,0.04));
  box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 30px rgba(0,255,163,0.12);
}
.std-card.active .std-phase { color: var(--mint); }
.std-card.active .std-icon {
  color: #04101f;
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0,255,163,0.35);
}

@media (max-width: 1024px) {
  .std-grid { grid-template-columns: repeat(2, 1fr); }
  .std-rail { display: none; }
  .standards-flow { padding: 40px 26px 36px; }
}
@media (max-width: 600px) {
  .std-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .std-card, .std-node, .std-fill { transition: none; }
}

/* ============================================================
   VISUAL LAYER 6 — Insights: featured post, filters, authors
   ============================================================ */

.featured-post {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  margin-bottom: 56px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-height: 380px;
}
.featured-post:hover { border-color: rgba(0,194,255,0.45); transform: translateY(-4px); }
.featured-visual { position: relative; overflow: hidden; min-height: 260px; }
.featured-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.featured-post:hover .featured-visual img { transform: scale(1.06); }
.featured-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 55%, rgba(8,13,26,0.92) 100%);
}
.featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #04101f;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #04101f;
  animation: pulse 1.8s infinite;
}
.featured-body { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.featured-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.featured-body p { font-size: 15px; color: var(--text-muted); margin-bottom: 26px; }

/* Topic filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.f-chip {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.3s ease;
}
.f-chip:hover { color: var(--text-primary); border-color: var(--border-strong); }
.f-chip.active {
  background: var(--grad-primary);
  color: #04101f;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0,255,163,0.25);
}
.post-card.hidden { display: none; }
.post-card { animation: postIn 0.45s ease both; }
@keyframes postIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Author chip on cards */
.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.pa-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #04101f;
  flex-shrink: 0;
}
.post-author .pa-name { font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.post-author .pa-role { font-size: 11.5px; color: var(--text-muted); }

/* ============================================================
   VISUAL LAYER 8 — Article pages
   ============================================================ */

.article-hero {
  position: relative;
  height: 440px;
  margin-top: var(--nav-height);
  overflow: hidden;
}
.article-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,13,26,0.45) 0%, rgba(8,13,26,0.75) 60%, var(--bg-base) 100%);
}
.article-hero .container {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  z-index: 2;
}
.article-hero .cat-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #04101f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article-hero h1 { font-size: clamp(28px, 4vw, 46px); max-width: 820px; margin-bottom: 14px; }
.article-hero .meta { font-size: 14px; color: var(--text-secondary); }

.article-wrap { max-width: 780px; margin: 0 auto; padding: 56px 28px 0; }

.article-body { font-size: 17px; line-height: 1.85; color: var(--text-secondary); }
.article-body h2 {
  font-size: 27px;
  margin: 52px 0 18px;
  padding-top: 8px;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 44px; height: 3px;
  border-radius: 3px;
  background: var(--grad-primary);
  margin-bottom: 16px;
}
.article-body h3 { font-size: 20px; margin: 36px 0 14px; }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: var(--text-primary); }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--mint); }
.article-body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--mint);
  border-radius: 0 14px 14px 0;
  background: rgba(0,255,163,0.05);
  font-size: 18px;
  color: var(--text-primary);
  font-style: italic;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 14.5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px 8px;
  color: #7ee8ff;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.article-body th, .article-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.article-body th {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.takeaways {
  position: relative;
  border-radius: 18px;
  padding: 30px 32px;
  margin: 44px 0;
  background:
    radial-gradient(420px circle at 0% 0%, rgba(0,255,163,0.08), transparent 60%),
    var(--bg-raised);
  border: 1px solid rgba(0,255,163,0.3);
}
.takeaways h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px;
  margin: 0 0 16px !important;
  color: var(--mint);
}
.takeaways ul { margin: 0 0 0 22px; }
.takeaways li { margin-bottom: 10px; font-size: 15.5px; }

.article-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 0;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.article-author-box .pa-av { width: 52px; height: 52px; font-size: 17px; }
.article-author-box .ab-name { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.article-author-box .ab-role { font-size: 13.5px; color: var(--text-muted); }

.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.2s ease;
}
.article-nav-back:hover { color: var(--mint); }
.article-nav-back svg { width: 16px; height: 16px; }

.related-strip { margin: 72px 0 0; }
.related-strip h2 { font-size: 24px; margin-bottom: 26px; }

@media (max-width: 768px) {
  .article-hero { height: 340px; }
  .article-wrap { padding: 40px 22px 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .jaipur-swiper { height: 300px; }
  .pipeline-wrap { padding: 26px 12px 18px; }
  .logo img { height: 50px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-body { padding: 28px 24px 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 170px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .job-row { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 56px 26px; }
}
