/* ============================================================
   BLOCINFRA — Smart Manufacturing System Integrator
   Enterprise Design System — LIGHT THEME
   Palette + logo taken from the live blocinfra.com brand system
   (white canvas · navy text · blue accents).
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand — sourced from blocinfra.com */
  --brand-primary: 215 100% 26%;     /* deep blue  */
  --brand-secondary: 215 95% 16%;    /* navy       */
  --brand-accent: 207 20% 75%;       /* steel      */
  --brand-glow: 215 100% 50%;        /* electric   */

  /* Surfaces — light canvas (matches blocinfra.com) */
  --bg-0: 0 0% 100%;                 /* page base, white   */
  --bg-1: 210 40% 98%;               /* faint section tint */
  --bg-2: 0 0% 100%;                 /* card surface       */
  --bg-3: 213 44% 96%;               /* hover / elevated   */
  --surface-tint: 213 44% 97%;       /* alternate sections */

  /* Text */
  --text-0: 215 75% 14%;             /* primary navy (headings) */
  --text-1: 215 28% 28%;             /* body                    */
  --text-2: 215 16% 46%;             /* muted                   */
  --text-on-dark: 0 0% 100%;         /* text on navy/blue surfaces */

  /* Lines & glass */
  --line: 215 35% 14% / 0.10;
  --line-strong: 215 35% 14% / 0.18;
  --glass: 0 0% 100% / 0.72;

  /* Functional accents (data viz only — never marketing) */
  --ok: 152 58% 40%;
  --warn: 38 92% 48%;
  --risk: 0 72% 52%;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, hsl(215 100% 26%) 0%, hsl(215 95% 16%) 100%);
  --grad-glow: linear-gradient(135deg, hsl(215 100% 50%) 0%, hsl(207 30% 70%) 100%);
  --grad-text: linear-gradient(115deg, hsl(215 95% 16%) 0%, hsl(215 100% 30%) 45%, hsl(215 100% 50%) 100%);
  --grad-mesh: radial-gradient(55% 75% at 12% 8%, hsl(215 100% 50% / 0.12) 0%, transparent 60%),
               radial-gradient(50% 70% at 88% 0%, hsl(213 90% 60% / 0.10) 0%, transparent 55%),
               radial-gradient(70% 85% at 70% 100%, hsl(213 50% 64% / 0.12) 0%, transparent 62%);

  /* Shadow (soft, light-theme) */
  --shadow-card: 0 20px 50px -22px hsl(215 60% 28% / 0.30);
  --shadow-glow: 0 0 0 1px hsl(215 100% 50% / 0.18), 0 22px 55px -20px hsl(215 100% 45% / 0.40);
  --shadow-soft: 0 10px 30px -16px hsl(215 50% 30% / 0.22);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 96px;   /* header bar height - sized around the brand lockup */

  /* Type */
  --font-display: "Poppins", "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-hero: "Poppins", "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-hero-display: "Sora", "Poppins", "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: hsl(var(--bg-0));
  color: hsl(var(--text-1));
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: hsl(var(--brand-glow) / 0.20); color: hsl(var(--text-0)); }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }
.section { padding-block: clamp(72px, 8vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--light { background: hsl(var(--surface-tint)); }
.divider-grad { height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--brand-glow) / 0.4), transparent); border: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- 4. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  /* Poppins: light negative tracking only, and word gaps left open so the line stays readable */
  letter-spacing: -0.015em;
  word-spacing: 0.06em;
  color: hsl(var(--text-0));
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Slightly looser tracking at phone sizes so the heavier face stays readable */
@media (max-width: 540px) { .display { letter-spacing: -0.01em; word-spacing: 0.04em; line-height: 1.12; } }
h1, h2, h3, h4 { font-family: var(--font-hero); font-weight: 600; color: hsl(var(--text-0)); letter-spacing: -0.02em; line-height: 1.08; }
.h-section { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h-sub { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: hsl(var(--text-1)); max-width: 60ch; }
.muted { color: hsl(var(--text-2)); }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-hero);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(215 100% 42%);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: hsl(215 100% 42% / 0.6); }

.section-head { max-width: 850px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 18px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: hsl(var(--brand-primary)); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); background: hsl(var(--brand-secondary)); box-shadow: 0 16px 36px -14px hsl(215 100% 30% / 0.55); }
.btn--ghost { background: #fff; color: hsl(var(--brand-primary)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); }
.btn--ghost:hover { background: hsl(var(--bg-3)); transform: translateY(-2px); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.35); }
.btn--light { background: hsl(var(--brand-primary)); color: #fff; box-shadow: var(--shadow-soft); }
.btn--light:hover { transform: translateY(-2px); background: hsl(var(--brand-secondary)); }
.btn--lg { padding: 1.1em 2em; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: hsl(215 100% 42%); transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 0.85em; }

/* ---------- 6. Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.9em; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em;
  background: hsl(var(--brand-glow) / 0.09); color: hsl(215 100% 38%);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.25);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--brand-glow)); box-shadow: 0 0 10px hsl(var(--brand-glow) / 0.8); }
.pill { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.95em; border-radius: 999px; font-size: 0.85rem; background: hsl(var(--brand-primary) / 0.06); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.16); color: hsl(var(--brand-secondary)); font-weight: 500; }

/* ---------- 7. Cards ---------- */
.card {
  position: relative;
  background: hsl(var(--bg-2));
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft);
  padding: clamp(22px, 2.4vw, 26px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.18), var(--shadow-card); }
.card--glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, hsl(var(--brand-glow) / 0.6), transparent 50%);
  -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 0.4s var(--ease);
}
.card--hover.card--glow:hover::before { opacity: 1; }
/* faint-tint sections keep cards pure white for separation */
.section--light .card { background: #fff; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: hsl(var(--brand-glow) / 0.10);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22);
  color: hsl(var(--brand-primary));
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: hsl(var(--text-2)); font-size: 0.96rem; }

/* feature list inside cards */
.feature-list { display: grid; gap: 10px; margin-top: 16px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: hsl(var(--text-1)); }
.feature-list li svg { flex: none; width: 18px; height: 18px; color: hsl(var(--brand-primary)); margin-top: 2px; }

/* ---------- 8. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: hsl(var(--bg-0) / 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 hsl(var(--line)), 0 8px 30px -22px hsl(215 50% 30% / 0.4);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; color: hsl(var(--text-0)); }
.brand .logo-mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; }
.brand span { color: hsl(var(--brand-glow)); }

/* Official Blocinfra logo (from blocinfra.com) */
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo--light { filter: brightness(0) invert(1); }   /* white lockup, for dark accent surfaces only */
@media (max-width: 540px) { .brand-logo { height: 30px; } }

/* Header lockup runs larger than the in-page/footer marks so the strapline stays legible,
   but never taller than the bar it sits in */
.site-header .brand { gap: 10px; flex: none; min-width: 0; }
.site-header .brand-logo { height: 72px; max-height: calc(var(--header-h) - 16px); }
@media (max-width: 980px) { :root { --header-h: 84px; } .site-header .brand-logo { height: 62px; } }
@media (max-width: 540px) { :root { --header-h: 72px; } .site-header .brand-logo { height: 52px; } }
@media (max-width: 380px) { .site-header .brand-logo { height: 44px; } }

/* Single-page anchor offset so fixed header never covers a target */
section[id], div[id].anchor { scroll-margin-top: calc(var(--header-h) + 16px); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.6em 0.85em; border-radius: 10px;
  font-size: 0.93rem; font-weight: 500; color: hsl(var(--text-1));
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li.open > button { color: hsl(var(--brand-primary)); background: hsl(var(--brand-primary) / 0.06); }
.nav-links .chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-links li.open .chev { transform: rotate(180deg); }
.nav-spacer { flex: 1; }
/* Four top-level items + CTA: tighten the row before the mobile breakpoint */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav-links { gap: 0; margin-left: 4px; }
  .nav-links > li > a, .nav-links > li > button { padding: 0.6em 0.6em; font-size: 0.88rem; }
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Mega menu - one panel per top-level nav item, anchored under its trigger */
.has-mega { position: relative; }
.mega {
  position: absolute; left: 0; top: calc(100% - 6px); transform: translateY(8px);
  width: min(400px, calc(100vw - 40px));
  background: hsl(var(--bg-0) / 0.98); backdrop-filter: blur(22px);
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  padding: 14px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 110;
}
.nav-links li.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.mega--wide { width: min(520px, calc(100vw - 40px)); }
.mega-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 12px; font-weight: 500; }
.mega-item { display: flex; gap: 12px; padding: 11px; border-radius: 12px; transition: background 0.25s; align-items: flex-start; }
.mega-item:hover { background: hsl(var(--brand-primary) / 0.05); }
.mega-item .mi-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); }
.mega-item .mi-ico svg { width: 20px; height: 20px; }
.mega-item strong { display: block; color: hsl(var(--text-0)); font-size: 0.95rem; font-weight: 600; }
.mega-item span { font-size: 0.84rem; color: hsl(var(--text-2)); }
.mega-feature { grid-column: 1 / -1; margin-top: 8px; padding: 18px; border-radius: var(--r-md); background: var(--grad-primary); display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-soft); }
.mega-feature p { color: hsl(207 50% 88%); font-size: 0.92rem; max-width: 60ch; }
.mega-feature strong { color: #fff; font-family: var(--font-display); }
.mega-feature .link-arrow { color: #fff; white-space: nowrap; }
.mega--wide .mega-feature { flex-wrap: wrap; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); }
.nav-toggle svg { width: 22px; height: 22px; color: hsl(var(--text-0)); }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: hsl(var(--bg-0));
    padding: 24px var(--gutter) 60px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: 0 -1px 0 hsl(var(--line)) inset;
  }
  body.menu-open .mobile-nav { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .mobile-nav details { border-bottom: 1px solid hsl(var(--line)); }
  .mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-family: var(--font-display); font-size: 1.1rem; color: hsl(var(--text-0)); cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav details[open] summary .chev { transform: rotate(180deg); }
  .mobile-nav .chev { width: 18px; height: 18px; transition: transform 0.3s; }
  .mobile-nav .sub a { display: block; padding: 11px 4px 11px 16px; color: hsl(var(--text-1)); font-size: 0.98rem; }
  .mobile-nav .m-link { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: 1.1rem; color: hsl(var(--text-0)); border-bottom: 1px solid hsl(var(--line)); }
  .mobile-nav .btn { width: 100%; margin-top: 24px; }
}

/* ---------- 9. Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% -10%, transparent 55%, hsl(var(--bg-0)) 100%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 5vw, 64px);  }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
/* Hero headline has its own display face - used nowhere else on the site */
.hero h1 { margin: 22px 0 0; font-family: var(--font-hero-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.hero .lead { margin-top: 22px; }
.hero .btn-row { margin-top: 34px; }
/* hero concept pointers (replaces a descriptive sentence) */
.hero-concepts { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.hero-concepts .hc { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1; color: hsl(var(--text-0)); }
.hero-concepts .hc-sep { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); color: hsl(var(--brand-primary)); }
.hero-keywords { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-keywords span { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; color: hsl(var(--text-1)); padding: 8px 14px; border-radius: 999px; background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid hsl(var(--line)); }
.hero-proof .pf { display: flex; flex-direction: column; gap: 2px; }
.hero-proof .pf b { font-family: var(--font-display); font-size: 1.02rem; color: hsl(var(--text-0)); }
.hero-proof .pf span { font-size: 0.78rem; color: hsl(var(--text-2)); }

/* animated background grid */
.bg-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(hsl(var(--brand-primary) / 0.05) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--brand-primary) / 0.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%); }

/* ---------- 10. Hero lifecycle visual ---------- */
.lifecycle-orbit { position: relative; aspect-ratio: 1 / 1; }
.hero-stage-card {
  position: relative; background: hsl(var(--bg-0));
  border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  padding: 22px; overflow: hidden;
}
.hero-stage-card .hsc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
/* .hero-flow { display: flex; flex-direction: column; gap: 8px; } */
.hero-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hero-flow .hf-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); transition: all 0.4s var(--ease); }
.hero-flow .hf-row.active { background: hsl(var(--brand-glow) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.4); transform: translateX(6px); }
.hero-flow .hf-ico { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); }
.hero-flow .hf-ico svg { width: 17px; height: 17px; }
.hero-flow .hf-row.active .hf-ico { background: hsl(var(--brand-glow)); color: #fff; }
.hero-flow .hf-label { font-size: 0.9rem; font-weight: 500; color: hsl(var(--text-1)); flex: 1; }
.hero-flow .hf-row.active .hf-label { color: hsl(var(--text-0)); }
.hero-flow .hf-tick { width: 16px; height: 16px; color: hsl(var(--brand-glow)); opacity: 0; transition: opacity 0.3s; }
.hero-flow .hf-row.active .hf-tick { opacity: 1; }
.hsc-signals { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.signal { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 7px; background: hsl(var(--bg-1)); color: hsl(var(--text-2)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.signal.live { color: hsl(var(--ok)); box-shadow: inset 0 0 0 1px hsl(var(--ok) / 0.3); }

/* ---------- Hero industry slider ---------- */
.ind-slider { display: flex; flex-direction: column; }
/* All slides share one grid cell: the card is as tall as the tallest slide, so
   switching industries never shifts the hero layout. */
.ind-stage { display: grid; }
.ind-slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.ind-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

.ind-head { display: flex; align-items: center; gap: 13px; }
.ind-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); }
.ind-ico svg { width: 22px; height: 22px; }
.ind-num { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: hsl(var(--text-2)); }
.ind-name { font-family: var(--font-hero); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: hsl(var(--text-0)); margin-top: 2px; }
.ind-claim { font-family: var(--font-hero); font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: hsl(var(--brand-primary)); margin-top: 16px; }
.ind-desc { font-size: 0.92rem; line-height: 1.65; color: hsl(var(--text-1)); margin-top: 8px; }

.ind-sol { margin-top: 16px; padding-top: 14px; border-top: 1px solid hsl(var(--line)); }
.ind-sol-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-2)); }
.ind-sol ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; padding: 0; }
.ind-sol li { font-size: 0.78rem; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: hsl(var(--bg-1)); color: hsl(var(--text-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }

.ind-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid hsl(var(--line)); }
.ind-dots { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ind-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: hsl(var(--line-strong)); cursor: pointer; transition: width 0.35s var(--ease), background 0.35s var(--ease); }
.ind-dot:hover { background: hsl(var(--brand-primary) / 0.55); }
.ind-dot.is-active { width: 22px; background: hsl(var(--brand-primary)); }
.ind-arrows { display: flex; gap: 8px; flex: none; }
.ind-arrow { width: 34px; height: 34px; border: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; background: hsl(var(--bg-1)); color: hsl(var(--text-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); transition: background 0.25s, color 0.25s; }
.ind-arrow:hover { background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); }
.ind-arrow svg { width: 17px; height: 17px; }
.ind-prev svg { transform: rotate(180deg); }
.ind-dot:focus-visible, .ind-arrow:focus-visible { outline: 2px solid hsl(var(--brand-primary)); outline-offset: 2px; }

@media (max-width: 540px) {
  .ind-name { font-size: 1.1rem; }
  .ind-claim { font-size: 0.96rem; }
  .ind-sol li { font-size: 0.74rem; padding: 4px 9px; }
  .ind-controls { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-slide { transition: opacity 0.2s linear, visibility 0.2s; transform: none; }
  .ind-slide.is-active { transform: none; }
}


/* ---------- 11. Marquee (logos / integrations) ---------- */
.integrations-title { text-align: center; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 600; color: hsl(var(--text-0)); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; padding-block: 6px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .mq-item { display: flex; align-items: center; gap: 14px; font-family: var(--font-hero); font-size: 1.14rem; font-weight: 600; color: hsl(var(--text-0)); letter-spacing: -0.01em; white-space: nowrap; padding: 16px 26px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)), var(--shadow-soft); transition: all 0.3s var(--ease); }
.marquee-track .mq-item:hover { color: hsl(var(--brand-primary)); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.45), var(--shadow-card); transform: translateY(-3px); }
.marquee-track .mq-item svg { width: 30px; height: 30px; color: hsl(var(--brand-primary)); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. Problem section ---------- */
.problem-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .problem-layout { grid-template-columns: 1fr; gap: 36px; } }
.problem-intro { position: sticky; top: 110px; }
@media (max-width: 920px) { .problem-intro { position: static; } }
.problem-sub { color: hsl(var(--text-1)); font-size: 1.02rem; line-height: 1.6; max-width: 420px; }
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-cell { position: relative; padding: 24px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); transition: all 0.35s var(--ease); overflow: hidden; }
.problem-cell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: hsl(var(--risk) / 0.4); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease); }
.problem-cell:hover { box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.45), var(--shadow-card); transform: translateY(-4px); }
.problem-cell:hover::before { transform: scaleY(1); }
.problem-cell .pc-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: hsl(var(--text-2)); opacity: 0.55; }
.problem-cell .pc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: hsl(var(--risk) / 0.10); color: hsl(var(--risk)); margin-bottom: 16px; }
.problem-cell .pc-ico svg { width: 22px; height: 22px; }
.problem-cell p { color: hsl(var(--text-0)); font-weight: 500; font-size: 0.97rem; }
.closing-statement { margin-top: 56px; text-align: center; max-width: 720px; margin-inline: auto; }
.closing-statement p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: hsl(var(--text-0)); }
.closing-statement p .text-gradient { font-weight: 600; }

/* ---------- 13. Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); transition: all 0.35s var(--ease); }
.pillar:hover { box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.3), var(--shadow-card); transform: translateY(-3px); }
.pillar .p-ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); }
.pillar .p-ico svg { width: 21px; height: 21px; }
.pillar span { font-weight: 600; color: hsl(var(--text-0)); font-size: 0.98rem; }

/* "What is" split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.integrate-visual { position: relative; padding: 30px; border-radius: var(--r-lg); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card); }
.integrate-visual .iv-center { text-align: center; padding: 18px; border-radius: var(--r-md); background: var(--grad-primary); box-shadow: var(--shadow-glow); margin: 18px 0; }
.integrate-visual .iv-center b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.integrate-visual .iv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.integrate-visual .iv-chip { text-align: center; padding: 12px 8px; border-radius: 11px; font-size: 0.78rem; font-family: var(--font-mono); color: hsl(var(--text-1)); background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }

/* ---------- 14. Lifecycle interactive ---------- */
.lifecycle-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .lifecycle-wrap { grid-template-columns: 1fr; } }
.lc-rail { display: flex; flex-direction: column; gap: 6px; position: relative; }
.lc-rail::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(hsl(var(--brand-primary) / 0.5), hsl(var(--line))); }
.lc-step { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; text-align: left; width: 100%; position: relative; z-index: 1; transition: background 0.3s var(--ease); }
.lc-step:hover { background: hsl(var(--brand-primary) / 0.05); }
.lc-step .lc-node { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); color: hsl(var(--text-2)); font-family: var(--font-mono); font-size: 0.8rem; transition: all 0.3s var(--ease); }
.lc-step .lc-name { font-weight: 600; color: hsl(var(--text-1)); font-size: 0.96rem; }
.lc-step.active .lc-node { background: hsl(var(--brand-glow)); color: #fff; box-shadow: 0 0 0 4px hsl(var(--brand-glow) / 0.18); }
.lc-step.active .lc-name { color: hsl(var(--text-0)); }
.lc-step .lc-arrow { margin-left: auto; opacity: 0; color: hsl(var(--brand-primary)); transition: opacity 0.3s; }
.lc-step.active .lc-arrow { opacity: 1; }

.lc-panel { position: relative; min-height: 420px; }
/* The rail is the taller column, so pin the detail card: whichever step you
   reach on the way down, its full content stays in view below the header */
@media (min-width: 901px) {
  .lc-panel {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}
.lc-card { display: none; }
.lc-card.active { display: block; animation: fadeUp 0.5s var(--ease); }
.lc-card .lc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.lc-card .lc-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lc-card .lc-stage-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(215 100% 42%); margin-bottom: 8px; display: block; }
.lc-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 620px) { .lc-cols { grid-template-columns: 1fr; } }
.lc-block h6 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 12px; }

/* ---------- 15. Departments ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1040px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dept-grid { grid-template-columns: 1fr; } }
.dept-card { cursor: pointer; }
.dept-card .dept-head { display: flex; align-items: center; gap: 12px; }
.dept-card h4 { font-size: 1.08rem; }
.dept-card .dept-plus { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--brand-primary) / 0.08); color: hsl(var(--brand-primary)); transition: transform 0.4s var(--ease); }
.dept-card.open .dept-plus { transform: rotate(45deg); }
.dept-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.dept-body > div { overflow: hidden; }
.dept-card.open .dept-body { grid-template-rows: 1fr; }
.dept-body .feature-list { margin-top: 18px; padding-top: 18px; border-top: 1px solid hsl(var(--line)); }

/* ---------- 16. AI assistants ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 940px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card { position: relative; }
.ai-card .ai-tag { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; color: hsl(215 100% 42%); padding: 4px 8px; border-radius: 6px; background: hsl(var(--brand-glow) / 0.10); }
.ai-layer-banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-md); background: hsl(var(--brand-primary) / 0.06); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22); margin-bottom: 30px; }
.ai-layer-banner svg { width: 30px; height: 30px; color: hsl(var(--brand-primary)); flex: none; }
.ai-layer-banner p { color: hsl(var(--text-0)); font-weight: 500; }

/* ---------- 17. Connectivity architecture ---------- */
.arch { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(80% 120% at 50% 0%, hsl(var(--brand-glow) / 0.07), transparent 70%), hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); overflow: hidden; }
.arch-tier { text-align: center; }
.arch-tier-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 16px; }
.arch-nodes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.arch-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 20px; border-radius: var(--r-md); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-soft); min-width: 96px; transition: all 0.35s var(--ease); }
.arch-node:hover { box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.35), var(--shadow-card); transform: translateY(-4px); }
.arch-node svg { width: 26px; height: 26px; color: hsl(var(--brand-primary)); }
.arch-node span { font-size: 0.82rem; font-weight: 500; color: hsl(var(--text-1)); }
.arch-connector { height: 56px; display: flex; align-items: center; justify-content: center; position: relative; }
.arch-connector svg { height: 100%; width: 80%; overflow: visible; }
.arch-core { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px 30px; border-radius: var(--r-lg); background: var(--grad-primary); box-shadow: var(--shadow-glow); margin-inline: auto; max-width: 460px; }
.arch-core .logo-mark { width: 40px; }
.arch-core b { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.arch-core span { color: hsl(207 50% 85%); font-size: 0.86rem; display: block; }
.dash-flow { stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* ---------- 18. Edge controller ---------- */
.edge-band { background: linear-gradient(180deg, hsl(var(--bg-1)), hsl(var(--bg-0))); }

/* ---------- 19. Track & trace journey ---------- */
.journey { display: flex; flex-wrap: wrap; gap: 0; counter-reset: jstep; align-items: stretch; }
.journey-step { flex: 1 1 150px; position: relative; padding: 24px 20px; }
.journey-step:not(:last-child)::after { content: ""; position: absolute; right: -1px; top: 30%; bottom: 30%; width: 1px; background: hsl(var(--line)); }
.journey-step .js-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); font-family: var(--font-mono); margin-bottom: 14px; box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.3); position: relative; }
.journey-step .js-num::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 hsl(var(--brand-glow) / 0.4); }
.journey-step.pulse .js-num::after { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 14px transparent; } }
.journey-step h5 { font-size: 1rem; margin-bottom: 6px; }
.journey-step p { font-size: 0.85rem; color: hsl(var(--text-2)); }
@media (max-width: 760px) { .journey-step:not(:last-child)::after { display: none; } .journey-step { flex-basis: 45%; } }

/* QR verify mock */
.verify-mock { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.qr { width: 110px; height: 110px; border-radius: 14px; background: #fff; padding: 12px; flex: none; box-shadow: var(--shadow-soft); }
.qr svg { width: 100%; height: 100%; }
.verify-rows { display: grid; gap: 10px; }
.verify-rows .vr { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.verify-rows .vr svg { width: 18px; height: 18px; color: hsl(var(--ok)); flex: none; }
.verify-rows .vr b { color: hsl(var(--text-0)); }
@media (max-width: 520px) { .verify-mock { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- 20. Web3 trust ---------- */
.web3-band { position: relative; }
.web3-shield { display: grid; place-items: center; }
.web3-shield svg { width: clamp(180px, 30vw, 280px); height: auto; color: hsl(var(--brand-primary)); filter: drop-shadow(0 12px 40px hsl(var(--brand-glow) / 0.25)); animation: ws-float 6s var(--ease) infinite; }
/* Shield keeps verifying: ring rotates, a pulse ripples out, the tick redraws */
.web3-shield .ws-ring { transform-origin: 100px 116px; animation: ws-spin 24s linear infinite; }
.web3-shield .ws-pulse { transform-origin: 100px 116px; animation: ws-pulse 3.6s var(--ease) infinite; }
.web3-shield .ws-check { stroke-dasharray: 100; stroke-dashoffset: 0; animation: ws-draw 3.6s var(--ease) infinite; }
.web3-shield .ws-body { animation: ws-breathe 3.6s var(--ease) infinite; }
@keyframes ws-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ws-spin { to { transform: rotate(360deg); } }
@keyframes ws-pulse {
  0% { transform: scale(0.82); opacity: 0; }
  35% { opacity: 0.35; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}
@keyframes ws-draw {
  0% { stroke-dashoffset: 100; opacity: 0.35; }
  30% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 100; opacity: 0.35; }
}
@keyframes ws-breathe { 0%, 100% { opacity: 0.85; } 45% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .web3-shield svg,
  .web3-shield .ws-ring,
  .web3-shield .ws-pulse,
  .web3-shield .ws-check,
  .web3-shield .ws-body { animation: none; }
  .web3-shield .ws-check { stroke-dashoffset: 0; }
}
.proof-note { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: hsl(var(--brand-glow) / 0.07); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.28); }
.proof-note svg { width: 26px; height: 26px; color: hsl(var(--brand-primary)); flex: none; }
.proof-note p { color: hsl(var(--text-0)); font-weight: 500; }

/* ---------- 21. Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 940px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card { position: relative; overflow: hidden; }
.ind-card .ind-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); margin-bottom: 16px; }
.ind-card .ind-ico svg { width: 24px; height: 24px; }
.ind-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }

/* ---------- 22. Dashboards preview ---------- */
.dash-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 880px) { .dash-wrap { grid-template-columns: 1fr; } }
.dash-tabs { display: flex; flex-direction: column; gap: 6px; }
.dash-tab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; text-align: left; width: 100%; color: hsl(var(--text-1)); transition: all 0.3s var(--ease); }
.dash-tab:hover { background: hsl(var(--brand-primary) / 0.05); }
.dash-tab.active { background: hsl(var(--brand-glow) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.3); color: hsl(var(--text-0)); }
.dash-tab svg { width: 20px; height: 20px; flex: none; color: hsl(var(--brand-primary)); }
.dash-tab span { font-weight: 500; font-size: 0.94rem; }

.dash-screen { border-radius: var(--r-lg); background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid hsl(var(--line)); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--line-strong)); }
.dash-bar .dash-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: hsl(var(--text-2)); }
.dash-bar .badge { margin-left: auto; }
.dash-view { display: none; padding: clamp(18px, 2.4vw, 28px); }
.dash-view.active { display: block; animation: fadeUp 0.5s var(--ease); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 700px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 16px; border-radius: 13px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.kpi .k-label { font-size: 0.74rem; color: hsl(var(--text-2)); letter-spacing: 0.02em; }
.kpi .k-value { font-family: var(--font-display); font-size: 1.55rem; color: hsl(var(--text-0)); margin-top: 6px; line-height: 1; }
.kpi .k-delta { font-size: 0.74rem; margin-top: 7px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .k-delta.up { color: hsl(var(--ok)); }
.kpi .k-delta.down { color: hsl(var(--risk)); }
.kpi .k-delta.warn { color: hsl(var(--warn)); }

.dash-lower { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
@media (max-width: 700px) { .dash-lower { grid-template-columns: 1fr; } }
.panel { padding: 18px; border-radius: 13px; background: hsl(var(--bg-1)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.panel h6 { font-size: 0.86rem; color: hsl(var(--text-1)); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.panel h6 span { font-family: var(--font-mono); font-size: 0.7rem; color: hsl(var(--text-2)); }

/* mini bar chart */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars .bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(hsl(var(--brand-glow)), hsl(var(--brand-primary))); position: relative; min-height: 6px; transition: height 0.8s var(--ease); }
.bars .bar.mut { background: linear-gradient(hsl(var(--bg-3)), hsl(213 30% 90%)); }
.bars .bar span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 0.62rem; color: hsl(var(--text-2)); }

/* line/area chart container */
.spark { width: 100%; height: 120px; }
.spark path.area { fill: url(#sparkfill); opacity: 0.5; }
.spark path.line { fill: none; stroke: hsl(var(--brand-glow)); stroke-width: 2.5; }

/* list rows */
.row-list { display: grid; gap: 9px; }
.row-list .rl { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; padding: 9px 11px; border-radius: 9px; background: hsl(var(--bg-0)); box-shadow: inset 0 0 0 1px hsl(var(--line)); }
.row-list .rl .rl-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.row-list .rl .rl-dot.ok { background: hsl(var(--ok)); }
.row-list .rl .rl-dot.warn { background: hsl(var(--warn)); }
.row-list .rl .rl-dot.risk { background: hsl(var(--risk)); }
.row-list .rl b { color: hsl(var(--text-0)); }
.row-list .rl .rl-meta { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: hsl(var(--text-2)); }

/* donut */
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 110px; height: 110px; flex: none; }
.donut circle { fill: none; stroke-width: 14; }
.donut .track { stroke: hsl(var(--line-strong)); }
.donut .val { stroke: hsl(var(--brand-glow)); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.donut-center { font-family: var(--font-display); font-size: 1.3rem; fill: hsl(var(--text-0)); }

/* ---------- 23. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: hsl(var(--bg-1)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.9; z-index: 0; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band .display { margin-inline: auto; max-width: 16ch; }
.cta-band .btn-row { justify-content: center; margin-top: 34px; }

/* ---------- 24. Footer ---------- */
.site-footer { background: hsl(var(--surface-tint)); border-top: 1px solid hsl(var(--line)); padding-top: clamp(56px, 7vw, 90px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 30px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: hsl(var(--text-2)); margin-top: 16px; max-width: 38ch; font-size: 0.92rem; }
.footer-col h6 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--text-2)); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: hsl(var(--text-1)); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: hsl(var(--brand-primary)); }
.footer-contact-col .footer-address { color: hsl(var(--text-2)); font-size: 0.88rem; line-height: 1.5; margin-top: 6px; max-width: 22ch; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding: 26px 0; border-top: 1px solid hsl(var(--line)); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.85rem; color: hsl(var(--text-2)); }
.footer-positioning { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-positioning .pill { font-size: 0.74rem; }

/* ---------- 25. Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: clamp(130px, 18vh, 190px); padding-bottom: clamp(40px, 5vw, 70px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.7; z-index: -1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 18px; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: hsl(var(--text-2)); letter-spacing: 0.05em; }
.breadcrumb a:hover { color: hsl(var(--brand-primary)); }

/* ---------- 26. Forms (contact) ---------- */
.form-card { padding: clamp(26px, 3vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.84rem; font-weight: 500; color: hsl(var(--text-1)); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85em 1em; border-radius: 12px;
  background: hsl(var(--bg-1)); color: hsl(var(--text-0));
  box-shadow: inset 0 0 0 1px hsl(var(--line-strong)); font: inherit;
  transition: box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.6), 0 0 0 4px hsl(var(--brand-glow) / 0.12); }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23335' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; }
.field-error { display: none; font-size: 0.8rem; color: hsl(var(--risk)); }
.field-error.show { display: block; }
.field.invalid input:not(.cc-search), .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.6); }
.field.invalid input:not(.cc-search):focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.7), 0 0 0 4px hsl(var(--risk) / 0.12); }
.field.invalid .phone-field .cc-btn { box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.6); }

/* Phone field — country-code select (searchable) + number input */
.phone-field { position: relative; display: flex; gap: 8px; }
.phone-field .cc-btn {
  display: flex; align-items: center; gap: 6px; flex: none; min-width: 96px;
  padding: 0.85em 0.7em; border-radius: 12px; font: inherit; cursor: pointer;
  background: hsl(var(--bg-1)); color: hsl(var(--text-0));
  box-shadow: inset 0 0 0 1px hsl(var(--line-strong));
  transition: box-shadow 0.25s, background 0.25s;
}
.phone-field .cc-btn:hover { background: hsl(var(--bg-0)); }
.phone-field .cc-btn:focus-visible,
.phone-field.open .cc-btn { outline: none; background: #fff; box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.6), 0 0 0 4px hsl(var(--brand-glow) / 0.12); }
.cc-btn .cc-flag { font-size: 1.05rem; line-height: 1; }
.cc-btn .cc-dial { font-size: 0.9rem; }
.cc-btn .cc-caret { width: 14px; height: 14px; margin-left: auto; color: hsl(var(--text-2)); transition: transform 0.2s; }
.phone-field.open .cc-caret { transform: rotate(180deg); }
.phone-field input#mobile { flex: 1; min-width: 0; }
.cc-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: min(300px, 90vw);
  display: flex; flex-direction: column; gap: 8px; padding: 10px;
  border-radius: var(--r-md); background: hsl(var(--bg-0));
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
}
.cc-panel[hidden] { display: none; }
.cc-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 0.88rem; }
.cc-list li:hover, .cc-list li.active { background: hsl(var(--brand-primary) / 0.08); }
.cc-list .cc-flag { font-size: 1rem; }
.cc-list .cc-name { flex: 1; color: hsl(var(--text-0)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-list .cc-code { color: hsl(var(--text-2)); font-family: var(--font-mono); font-size: 0.8rem; }
.cc-empty { padding: 10px; text-align: center; color: hsl(var(--text-2)); font-size: 0.85rem; }
.form-note { font-size: 0.82rem; color: hsl(var(--text-2)); margin-top: 4px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: hsl(var(--ok) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--ok) / 0.35); color: hsl(var(--ok)); margin-bottom: 18px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }
.form-error-banner { display: none; padding: 16px 18px; border-radius: 12px; background: hsl(var(--risk) / 0.10); box-shadow: inset 0 0 0 1px hsl(var(--risk) / 0.35); color: hsl(var(--risk)); margin-bottom: 18px; align-items: center; gap: 10px; }
.form-error-banner.show { display: flex; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.contact-aside .ca-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid hsl(var(--line)); align-items: center; }
.contact-aside .ca-item svg { width: 22px; height: 22px; color: hsl(var(--brand-primary)); flex: none; }
.contact-aside .ca-item b { color: hsl(var(--text-0)); display: block; font-size: 0.95rem; }
.contact-aside .ca-item span { font-size: 0.88rem; color: hsl(var(--text-2)); }

/* ---------- 27. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* utilities */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .gap { gap: 14px; }
.maxw-60 { max-width: 60ch; }
.hide-mobile { } @media (max-width: 700px) { .hide-mobile { display: none !important; } }
.stack-sm { display: grid; gap: 8px; }

/* ============================================================
   28. Photography layer (added)
   ============================================================ */

/* Hero background image — subtle, right-anchored, fades out under the copy */
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  background: url("../img/hero-bg.jpg") center right / cover no-repeat;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(95deg, transparent 8%, #000 62%);
  mask-image: linear-gradient(95deg, transparent 8%, #000 62%);
  pointer-events: none;
}
@media (max-width: 940px) { .hero-photo { opacity: 0.12; } }

/* Reusable framed media (edge controller, section visuals) */
.media-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
  aspect-ratio: 16 / 11;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }

/* Section intro that pairs copy with a supporting image */
.media-intro { margin-bottom: clamp(30px, 4vw, 52px); }

/* Full-width cinematic image band with an overlaid caption */
.media-band {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 21 / 7; box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
}
.media-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-band figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: clamp(20px, 4vw, 40px);
  background: linear-gradient(90deg, hsl(215 60% 6% / 0.86) 0%, hsl(215 60% 6% / 0.55) 45%, transparent 80%);
}
.media-band figcaption .eyebrow { color: hsl(var(--brand-glow)); }
.media-band figcaption strong {
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.6rem); max-width: 26ch; line-height: 1.25;
}
@media (max-width: 720px) { .media-band { aspect-ratio: 16 / 11; } }

/* Edge controller — unified split panel: content sizes the panel, photo fills its half edge-to-edge */
.edge-panel {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: hsl(var(--bg-0));
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: inset 0 0 0 1px hsl(var(--line)), var(--shadow-card);
}
.edge-content { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.edge-content .icon-tile { margin: 0 0 20px; }
.edge-content .eyebrow { align-self: flex-start; }
.edge-content .h-section { margin-top: 10px; }
.edge-content .lead { max-width: 48ch; margin-top: 18px; }

.edge-features { display: grid; gap: 13px; margin-top: 30px; }
.edge-features li { display: flex; gap: 12px; align-items: center; font-size: 0.95rem; color: hsl(var(--text-1)); }
.edge-features li svg { flex: none; width: 19px; height: 19px; color: hsl(var(--ok)); }
.edge-content .proof-note { margin-top: 30px; }

.edge-visual { position: relative; min-height: 100%; overflow: hidden; }
.edge-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.edge-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, hsl(var(--bg-0)) 0%, transparent 22%); }
.edge-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: #fff;
  background: hsl(215 60% 6% / 0.55); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.16);
}
.edge-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--ok)); box-shadow: 0 0 0 0 hsl(var(--ok) / 0.6); animation: pulse 2s var(--ease) infinite; }

@media (max-width: 860px) {
  .edge-panel { grid-template-columns: 1fr; }
  .edge-visual { min-height: 0; height: 300px; order: -1; }
  .edge-visual::after { background: linear-gradient(0deg, hsl(var(--bg-0)) 0%, transparent 30%); }
}
@media (max-width: 460px) { .edge-features { grid-template-columns: 1fr; } }

/* Industries — photographic cards with floating icon badge.
   Flex layout keeps the 7th card centered instead of orphaned. */
.ind-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ind-grid .ind-card { flex: 0 1 calc(33% - 12px); padding: 0; }
@media (max-width: 1100px) { .ind-grid .ind-card { flex-basis: calc(33.333% - 11px); } }
@media (max-width: 940px) { .ind-grid .ind-card { flex-basis: calc(50% - 8px); } }
@media (max-width: 560px) { .ind-grid .ind-card { flex-basis: 100%; } }

.ind-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.ind-card:hover .ind-media img { transform: scale(1.05); }
.ind-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(215 75% 14% / 0.05) 35%, hsl(215 75% 14% / 0.45) 100%); }
.ind-card .ind-ico {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; margin: 0;
  background: hsl(var(--bg-0) / 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px hsl(var(--brand-glow) / 0.22), var(--shadow-soft);
}
.ind-body { padding: 20px clamp(18px, 2vw, 24px) clamp(20px, 2.2vw, 26px); }
.ind-body h4 { margin-bottom: 12px; }

/* ---------- 13. New Section Styling Extensions ---------- */
/* Deployment Models Grid */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 960px) { .deploy-grid { grid-template-columns: 1fr; } }
.deploy-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.deploy-num { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: hsl(var(--brand-glow)); margin-bottom: 12px; display: inline-block; padding: 4px 10px; background: hsl(var(--brand-primary) / 0.08); border-radius: 6px; }

/* No Rip and Replace Visual Flow */
.no-rip-flow { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 32px; width: 100%; }
.sys-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sys-chip { padding: 10px 18px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; background: hsl(var(--bg-1)); border: 1px solid hsl(var(--line-strong)); color: hsl(var(--text-0)); }
.sys-arrow { color: hsl(var(--brand-glow)); width: 24px; height: 24px; animation: bounceDown 2s infinite var(--ease); }
.sys-target { padding: 18px 32px; border-radius: 14px; background: var(--grad-primary); color: #fff; text-align: center; box-shadow: var(--shadow-glow); }
.sys-target strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }

/* Pipeline Flow (AI & Provenance) */
.pipeline-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 36px 0; }
.pipe-step { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-sm); background: hsl(var(--bg-2)); border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); font-weight: 600; font-size: 0.92rem; color: hsl(var(--text-0)); }
.pipe-step svg { width: 18px; height: 18px; color: hsl(var(--brand-primary)); }
.pipe-arrow { color: hsl(var(--brand-glow)); flex: none; width: 16px; height: 25px; }
@media (max-width: 720px) { .pipe-arrow { transform: rotate(90deg); } }

/* Compliance Tags & Disclaimer */
.comp-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.comp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; background: hsl(215 100% 50% / 0.08); border: 1px solid hsl(215 100% 50% / 0.22); color: hsl(var(--brand-secondary)); }
.comp-badge svg { width: 14px; height: 14px; color: hsl(var(--ok)); }

.illustrative-tag { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 0.72rem; color: hsl(var(--text-2)); text-transform: uppercase; letter-spacing: 0.06em; }



/* ===== Blocinfra Document Update Component Styles ===== */
.hero-support { max-width: 680px; margin: 20px 0 0; color: hsl(var(--text-1)); font-size: 16px; line-height: 1.7; }
/* Sub-headline under the H1 - same display face as .display so the hero reads as one voice */
.hero-kicker {
  font-family: var(--font-hero);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.45;
  letter-spacing: -0.005em;
  word-spacing: 0.04em;
  color: hsl(var(--text-0));
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 540px) { .hero-kicker { font-size: 1.06rem; letter-spacing: 0; } }
.hero-value-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; max-width: 620px; }
@media (max-width: 640px) { .hero-value-points { grid-template-columns: 1fr; } }
.hvp-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 10px; background: hsl(var(--bg-0)); border: 1px solid hsl(var(--line)); font-size: 0.88rem; font-weight: 500; color: hsl(var(--text-0)); box-shadow: var(--shadow-soft); }
.hvp-item svg { width: 18px; height: 18px; color: hsl(var(--brand-glow)); flex-shrink: 0; margin-top: 2px; }

/* Seven Pillars Grid */
.pillars-7-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
@media (max-width: 1024px) { .pillars-7-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars-7-grid { grid-template-columns: 1fr; } }
.pillar-7-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-md); background: hsl(var(--bg-0)); border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); transition: all 0.35s var(--ease); }
.pillar-7-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px hsl(var(--brand-primary) / 0.3), var(--shadow-card); }
.p7-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.p7-num { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; color: hsl(215 100% 42%); background: hsl(var(--brand-glow) / 0.1); padding: 4px 8px; border-radius: 6px; }
.p7-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: hsl(var(--brand-glow) / 0.10); color: hsl(var(--brand-primary)); flex-shrink: 0; }
.p7-ico svg { width: 22px; height: 22px; }
.pillar-7-card h4 { font-size: 1.06rem; color: hsl(var(--text-0)); margin-bottom: 8px; }
.pillar-7-card p { font-size: 0.9rem; color: hsl(var(--text-2)); line-height: 1.55; }

/* Deployment Models */
.deployment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 980px) { .deployment-grid { grid-template-columns: 1fr; } }
.deployment-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 32px 28px; background: #fff; border-radius: var(--r-md); border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); transition: all 0.35s var(--ease); }
.deployment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
/* Line the cards up row by row - number, title, audience, list, outcome - so a
   longer heading in one card does not push its content out of step with the
   others. Falls back to the flex column layout where subgrid is unsupported. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 981px) {
    .deployment-grid { grid-template-rows: auto auto auto 1fr auto; align-items: stretch; }
    .deployment-card { display: grid !important; grid-row: span 5; grid-template-rows: subgrid; gap: 0; }
  }
}
.deployment-number { font-family: var(--font-mono); font-size: 0.84rem; font-weight: 700; color: hsl(215 100% 42%); letter-spacing: 0.1em; margin-bottom: 14px; display: inline-block; }
.deployment-card h3 { font-size: 1.28rem; margin-bottom: 10px; color: hsl(var(--text-0)); }
.deployment-target { font-size: 0.92rem; color: hsl(var(--text-2)); margin-bottom: 18px; line-height: 1.5; font-style: italic; }
.deployment-card .feature-list { margin: 18px 0; }
.deployment-card .feature-list li { font-size: 0.92rem; }
.deployment-outcome { margin-top: auto; padding: 12px 14px; border-radius: 8px; background: hsl(var(--brand-primary) / 0.05); border: 1px solid hsl(var(--brand-primary) / 0.15); font-size: 0.86rem; font-weight: 600; color: hsl(var(--brand-primary)); }

/* Enterprise Interoperability Callout */
.interop-card { padding: clamp(32px, 5vw, 56px); background: linear-gradient(135deg, hsl(var(--bg-0)) 0%, hsl(var(--surface-tint)) 100%); border: 1px solid hsl(var(--brand-glow) / 0.3); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.research-quote { margin-top: 28px; padding: 16px 20px; border-radius: 10px; background: hsl(var(--bg-0)); border-left: 4px solid hsl(var(--brand-glow)); font-size: 0.9rem; color: hsl(var(--text-1)); }
.research-quote b { color: hsl(var(--text-0)); }

/* AI Framework Cards */
.ai-framework-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
@media (max-width: 980px) { .ai-framework-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ai-framework-grid { grid-template-columns: 1fr; } }
.ai-framework-card { padding: 22px; border-radius: var(--r-md); background: hsl(var(--bg-0)); border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); transition: all 0.3s var(--ease); }
.ai-framework-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: hsl(var(--brand-glow) / 0.4); }
.ai-framework-card .af-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ai-framework-card .af-head h4 { font-size: 1.05rem; }
.ai-framework-card .af-tag { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: hsl(215 100% 42%); background: hsl(var(--brand-glow) / 0.1); padding: 3px 8px; border-radius: 6px; }
.ai-framework-card p { font-size: 0.88rem; color: hsl(var(--text-2)); line-height: 1.5; }
.ai-guardrail-banner { margin-top: 32px; padding: 16px 22px; border-radius: 12px; background: hsl(var(--bg-1)); border: 1px solid hsl(var(--line)); display: flex; align-items: center; gap: 14px; font-size: 0.88rem; color: hsl(var(--text-1)); }
.ai-guardrail-banner svg { width: 22px; height: 22px; color: hsl(var(--brand-primary)); flex-shrink: 0; }

/* Provenance 6-Step Workflow */
.provenance-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 10px; margin-top: 36px; counter-reset: pstep; }
.prov-step { flex: 1 1 160px; min-width: 140px; padding: 18px 16px; border-radius: 12px; background: hsl(var(--bg-0)); border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); text-align: center; position: relative; }
.prov-step-num { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: hsl(215 100% 42%); margin-bottom: 6px; }
.prov-step strong { display: block; font-size: 0.96rem; color: hsl(var(--text-0)); margin-bottom: 4px; }
.prov-step span { font-size: 0.8rem; color: hsl(var(--text-2)); }

/* Regulatory Intelligence Hub */
.reg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
@media (max-width: 980px) { .reg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-card { padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid hsl(var(--line)); box-shadow: var(--shadow-soft); }
.reg-card .reg-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; background: hsl(var(--brand-glow) / 0.1); color: hsl(215 100% 36%); margin-bottom: 12px; }
.reg-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.reg-card p { font-size: 0.88rem; color: hsl(var(--text-2)); line-height: 1.5; }
.compliance-disclaimer { margin-top: 32px; padding: 16px 20px; border-radius: 10px; background: hsl(var(--bg-1)); border: 1px solid hsl(var(--line)); font-size: 0.86rem; color: hsl(var(--text-2)); text-align: center; }

/* Value Matrix Banner */
.value-matrix-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 32px 0; }
@media (max-width: 900px) { .value-matrix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .value-matrix-grid { grid-template-columns: 1fr; } }
.vm-item { padding: 16px 14px; border-radius: 12px; background: hsl(var(--bg-0)); border: 1px solid hsl(var(--line)); text-align: center; box-shadow: var(--shadow-soft); }
.vm-item .vm-from { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; color: hsl(var(--text-2)); letter-spacing: 0.08em; }
.vm-item .vm-arr { color: hsl(var(--brand-glow)); margin: 4px 0; font-size: 0.9rem; }
.vm-item .vm-to { font-size: 0.95rem; font-weight: 700; color: hsl(var(--text-0)); }
/* Value-map rows: fixed centre column so every arrow sits on one vertical line,
   and the whole row takes the highlighted look on hover */
.vm-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.vm-item .vm-arr { text-align: center; margin: 0; transition: transform 0.3s var(--ease); }
.vm-item .vm-to { text-align: right; }
.vm-item:hover {
  background: hsl(215 100% 50% / 0.06) !important;
  border-color: hsl(215 100% 50% / 0.35) !important;
  box-shadow: 0 4px 16px hsl(215 100% 50% / 0.1) !important;
  transform: translateY(-2px);
}
.vm-item:hover .vm-from,
.vm-item:hover .vm-to { color: hsl(215 100% 36%) !important; }
.vm-item:hover .vm-arr { transform: translateX(4px); color: hsl(215 100% 42%) !important; }

.illustrative-note { margin-top: 10px; color: hsl(var(--text-2)); font-size: 0.88rem; font-family: var(--font-mono); }

.section-padding-cus{
    padding: 50px 0 50px 0;

}

.pillar-grid.pillar-grid-cus{
        grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   MAJOR INTEROPERABILITY LAYER SECTION (HIGH-TECH PREMIUM REDESIGN)
   ============================================================ */

.eyebrow-interop {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.08);
}

.eyebrow-interop::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284C7;
  box-shadow: 0 0 10px #0284C7;
}

.interop-main-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
/* Wide enough for each sentence of the headline to sit on its own single line */
#interoperability .section-head { max-width: 1120px; margin-inline: auto; }
@media (min-width: 1100px) {
  .interop-main-title { font-size: clamp(2.4rem, 3.4vw, 2.85rem); }
}

.interop-sub-title {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: #475569;
  max-width: 860px;
  margin-inline: auto;
  line-height: 1.6;
}

.interop-architecture-wrapper {
  margin-top: 54px;
  position: relative;
}

.interop-grid {
  display: grid;
  /* grid-template-columns: 290px 80px 1fr 60px 360px; */
  grid-template-columns: 290px 100px 1fr 40px 370px;
  align-items: center;
  gap: 0;
  position: relative;
}

@media (max-width: 1320px) {
  .interop-grid {
    grid-template-columns: 260px 60px 1fr 50px 320px;
  }
}

@media (max-width: 1080px) {
  .interop-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .interop-arrow-col {
    display: none;
  }
}

/* Card Common Base */
.interop-card {
  border-radius: 28px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

/* Column 1: Existing Systems */
.interop-card--left {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.interop-card-header h3 {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #334155;
  text-align: center;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.interop-card-header h3::before,
.interop-card-header h3::after {
  content: "";
  height: 1px;
  width: 24px;
  background: #CBD5E1;
}

.interop-systems-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: auto;
  margin-bottom: auto;
}

.interop-sys-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.interop-sys-pill:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px -4px rgba(59, 130, 246, 0.18);
  border-color: #93C5FD;
}

.sys-ico-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.sys-ico-box svg {
  width: 19px;
  height: 19px;
}

.sys-ico--blue { background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%); color: #0284C7; }
.sys-ico--green { background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%); color: #15803D; }
.sys-ico--cyan { background: linear-gradient(135deg, #CFFAFE 0%, #A5F3FC 100%); color: #0991B2; }
.sys-ico--purple { background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%); color: #7E22CE; }
.sys-ico--amber { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); color: #B45309; }

.sys-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F172A;
}

.sys-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82F6;
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.interop-sys-pill:hover .sys-dot {
  transform: scale(1.3);
  background: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3), 0 0 12px #2563EB;
}

/* Arrow Columns with Animated Flow Lines */
.interop-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.interop-connector-lines {
  width: 100%;
  height: 100%;
  min-height: 580px;
}

.interop-connector-lines path {
  animation: strokeFlow 3s linear infinite;
}

@keyframes strokeFlow {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

.flow-arrow-head {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.6), 0 4px 14px rgba(29, 78, 216, 0.5);
  position: absolute;
  right: -23px;
  z-index: 5;
  animation: pulseGlow 2.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(37, 99, 235, 0.5); }
  100% { transform: scale(1.08); box-shadow: 0 0 30px rgba(56, 189, 248, 0.8); }
}

.flow-arrow-head svg {
  width: 22px;
  height: 22px;
}

.interop-arrow-col--right .flow-arrow-head--solid {
  position: relative;
  right: 14px;
}

/* Column 2: Center Dark Interoperability Layer (Stunning Neon Glass Card) */
.interop-card--center {
  height: max-content;
  background: linear-gradient(165deg, #0B1930 0%, #050D1C 50%, #08152B 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px -10px rgba(5, 13, 28, 0.7), 0 0 40px rgba(56, 189, 248, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.interop-card--center::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.interop-dark-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.dark-brand-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.dark-brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.dark-subtitle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #38BDF8;
  text-transform: uppercase;
}

/* Enhanced 3D Isometric Platform Stage */
.isometric-stage {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 28px;
  perspective: 900px;
}

.iso-platform-group {
  position: relative;
  width: 230px;
  height: 150px;
}

.iso-layer {
  position: absolute;
  width: 190px;
  height: 95px;
  left: 20px;
  border-radius: 26px;
  transform: rotateX(60deg) rotateZ(-30deg);
  transition: all 0.4s var(--ease);
}

.iso-layer-1 {
  top: 0px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9) 0%, rgba(2, 132, 199, 0.95) 100%);
  border: 2px solid #7DD3FC;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  z-index: 3;
}

.iso-layer-2 {
  top: 28px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.65) 0%, rgba(3, 105, 161, 0.8) 100%);
  border: 1.5px solid #38BDF8;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3), inset 0 1px 4px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.iso-layer-3 {
  top: 56px;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.45) 0%, rgba(12, 74, 110, 0.7) 100%);
  border: 1.5px solid #0284C7;
  box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
  z-index: 1;
}

.iso-shadow {
  position: absolute;
  width: 200px;
  height: 90px;
  left: 15px;
  top: 85px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.45) 0%, transparent 70%);
  transform: rotateX(60deg) rotateZ(-30deg);
  filter: blur(6px);
}

.iso-hexagon-core {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  z-index: 10;
  filter: drop-shadow(0 8px 20px rgba(56, 189, 248, 0.75));
  animation: floatHexagon 3.2s ease-in-out infinite alternate;
}

.iso-hex-svg {
  width: 100%;
  height: 100%;
}

@keyframes floatHexagon {
  0% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(-10px) rotate(2deg); }
}

.interop-dark-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.dark-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 30, 58, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 12px 10px;
  transition: all 0.3s var(--ease);
}

.dark-feature-item:hover {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.16) 0%, rgba(20, 42, 78, 0.85) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.dark-ico-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dark-ico-box svg {
  width: 19px;
  height: 19px;
}

.dark-feature-content h5 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.dark-feature-content p {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* Column 3: Trusted Operational Data Fabric (Clean High-End Redesign) */
.interop-card--right {
  background: linear-gradient(180deg, #F0F7FF 0%, #F8FAFC 100%);
  border: 1px solid #BFDBFE;
  box-shadow: 0 10px 30px -10px rgba(2, 132, 199, 0.08);
  position: relative;
  overflow: hidden;
}

.fabric-title {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0265DC;
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fabric-title::before,
.fabric-title::after {
  content: "";
  height: 1px;
  width: 24px;
  background: #93C5FD;
}

.fabric-hub-stage {
  position: relative;
  height: 440px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.fabric-spoke-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fabric-orbit-ring {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 2px dashed #93C5FD;
  border-radius: 50%;
  animation: spinOrbit 50s linear infinite;
  z-index: 1;
}

@keyframes spinOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Center 3D Multi-Stage Pedestal */
.fabric-center-pedestal {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 50%, #38BDF8 100%);
  box-shadow: 0 14px 40px rgba(2, 132, 199, 0.35), inset 0 2px 6px rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  z-index: 3;
}

.pedestal-ring-outer {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  animation: pulsePedestal 3s ease-in-out infinite alternate;
}

@keyframes pulsePedestal {
  0% { transform: scale(0.98); opacity: 0.7; }
  100% { transform: scale(1.04); opacity: 1; }
}

.pedestal-disc {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF 0%, #E0F2FE 100%);
  border: 4px solid #38BDF8;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
  position: relative;
  z-index: 2;
}

.pedestal-logo {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(2, 132, 199, 0.4));
  animation: floatPedLogo 3s ease-in-out infinite alternate;
}

@keyframes floatPedLogo {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* 6 Spoke Nodes - Clean Card Styling */
.fabric-node {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 125px;
  z-index: 4;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.fabric-node:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: #38BDF8;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.28);
}

.node-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.node-ico svg {
  width: 18px;
  height: 18px;
}

.node-ico--blue {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: #0284C7;
}

.node-ico--green {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  color: #15803D;
}

.node-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

/* Perfect Node Positions inside Stage */
.node-top {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.node-top:hover {
  transform: translateX(-50%) scale(1.08) translateY(-2px);
}

.node-top-right {
  top: 27%;
  right: -2%;
}

.node-bottom-right {
  bottom: 27%;
  right: -2%;
}

.node-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.node-bottom:hover {
  transform: translateX(-50%) scale(1.08) translateY(-2px);
}

.node-bottom-left {
  bottom: 27%;
  left: -2%;
}

.node-top-left {
  top: 27%;
  left: -2%;
}

/* Bottom Value Bar (4 Pillars) */
.interop-value-bar {
  margin-top: 40px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-top: 3px solid #002f82;
  border-radius: 22px;
  padding: 26px clamp(18px, 3.5vw, 36px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1080px) {
  .interop-value-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .interop-value-bar {
    grid-template-columns: 1fr;
  }
}

.val-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease;
}

.val-bar-item:hover {
  transform: translateY(-2px);
}

.val-ico-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  color: #2563EB;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  transition: transform 0.25s ease;
}

.val-bar-item:hover .val-ico-circle {
  transform: scale(1.08);
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
}

.val-ico-circle svg {
  width: 21px;
  height: 21px;
}

.val-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 3px;
}

.val-info p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.35;
}

