/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg-base:     #0A1A2E;
  --bg-surface:  #0F2238;
  --bg-elevated: #152B45;
  --bg-deep:     #060E1A;

  /* Text */
  --text-primary:   #F0EEE8;
  --text-secondary: #94A3B8;
  --text-muted:     #4A6080;

  /* Accents */
  --teal:      #14B8A6;
  --teal-glow: rgba(20, 184, 166, 0.15);
  --teal-dim:  rgba(20, 184, 166, 0.1);
  --gold:      #C8963E;
  --gold-glow: rgba(200, 150, 62, 0.18);
  --gold-dim:  rgba(200, 150, 62, 0.12);

  /* Borders */
  --border:       rgba(20, 184, 166, 0.14);
  --border-glass: rgba(240, 238, 232, 0.07);
  --border-muted: rgba(74, 96, 128, 0.25);

  /* Status */
  --status-green: #22C55E;

  /* Shadows */
  --shadow-card:    0 4px 20px rgba(0, 0, 0, 0.55);
  --shadow-lifted:  0 8px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border);
  --shadow-glow-t:  0 0 28px rgba(20, 184, 166, 0.14);

  /* Layout */
  --max:      1200px;
  --radius:   12px;
  --navbar-h: 68px;

  /* Fonts */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-data: 'Fira Code', 'Courier New', monospace;

  /* Motion */
  --dur-micro:  150ms;
  --dur-fast:   200ms;
  --dur-base:   300ms;
  --dur-slow:   500ms;
  --dur-reveal: 700ms;
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   PARTICLE CANVAS
═══════════════════════════════════════════════════════════════ */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--bg-base);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 200;
  transition: width 80ms linear;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--teal-dim);
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
}

.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0;
}
.section-header.centered {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.section-header.centered .section-lead { margin-inline: auto; }

.subsection-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-data);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast),
              border-color var(--dur-fast),
              color var(--dur-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: var(--bg-base);
  border-color: var(--teal);
  font-weight: 700;
}
.btn-primary:hover {
  background: transparent;
  color: var(--teal);
  box-shadow: var(--shadow-glow-t);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-muted);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  min-height: 36px;
  padding: 6px 14px;
}
.btn-nav:hover {
  background: var(--teal);
  color: var(--bg-base);
  transform: none;
}

.btn-sm { min-height: 36px; padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }

.btn-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   INDICATORS
═══════════════════════════════════════════════════════════════ */
.live-dot,
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.live-dot { background: var(--status-green); animation: pulse-dot 2.4s ease-in-out infinite; }
.status-dot { background: var(--status-green); animation: pulse-dot 2.4s ease-in-out infinite 0.6s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base),
              backdrop-filter var(--dur-base);
}
.navbar.scrolled {
  background: rgba(10, 26, 46, 0.88);
  border-bottom-color: var(--border-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg-base);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
}
nav a:hover {
  color: var(--text-primary);
  background: rgba(240, 238, 232, 0.06);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — LAYOUT
═══════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}
.section--alt { background: var(--bg-surface); }

/* Separator line between sections */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass) 40%, var(--border-glass) 60%, transparent);
}

.section-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.85fr);
  align-items: center;
  gap: 56px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding-top: calc(var(--navbar-h) + 48px);
  padding-bottom: 80px;
  overflow: visible;
}

/* Grid overlay on hero */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Glow orbs */
.hero-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.glow-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 70%);
  top: -120px; right: -60px;
}
.glow-b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.14), transparent 70%);
  bottom: 0; left: -80px;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.94;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.name-line { display: block; }

.hero-role {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}
.hero-position {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--teal);
  font-weight: 300;
  margin-bottom: 28px;
}
.hero-position em { font-style: italic; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: opacity var(--dur-base);
}
.scroll-line {
  width: 1px;
  height: 52px;
  position: relative;
  overflow: hidden;
  background: var(--border-muted);
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   COMMAND CENTER CARD (hero visual)
═══════════════════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  z-index: 1;
  will-change: transform;
}

.cc-card {
  background: rgba(15, 34, 56, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card), var(--shadow-glow-t);
  overflow: hidden;
  padding: 20px;
}

.cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cc-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.cc-mode-label {
  font-family: var(--font-data);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
}

.cc-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 3px;
}
.cc-tab {
  flex: 1;
  padding: 7px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.cc-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.cc-tab:hover:not(.active) { color: var(--text-secondary); }

.cc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-glass);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.cc-kpi {
  background: var(--bg-elevated);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cc-kpi-label {
  font-family: var(--font-data);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cc-kpi-value {
  font-family: var(--font-data);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}
.cc-kpi.gold .cc-kpi-value { color: var(--gold); }
.cc-kpi-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.cc-chart-area {
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.cc-chart-header {
  font-family: var(--font-data);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cc-chart-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: flex-end;
}
.cc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
}
.cc-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(20, 184, 166, 0.22);
  border-radius: 3px 3px 0 0;
}
.cc-bar--gold {
  background: linear-gradient(to top, var(--gold-dim), var(--gold));
}
.cc-chart-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cc-chart-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cc-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.cc-proc.active { color: var(--teal); }
.cc-arrow { color: var(--border-muted); font-size: 0.65rem; }

/* ═══════════════════════════════════════════════════════════════
   COMMAND CENTER SECTION (sticky)
═══════════════════════════════════════════════════════════════ */
.command-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.command-sticky {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.sp-card {
  background: rgba(15, 34, 56, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.sp-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-data);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.sp-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}
.sp-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.sp-avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--status-green);
  margin-bottom: 24px;
  padding: 10px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 8px;
}
.sp-areas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.sp-areas li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.sp-bullet {
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.command-metrics {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 8px 0 64px;
}

.kpi-block {
  border-left: 1px solid var(--border-glass);
  padding-left: 28px;
  position: relative;
}
.kpi-block::before {
  content: '';
  position: absolute;
  left: -4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
}
.kpi-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.kpi-label {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.kpi-num {
  font-family: var(--font-data);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}
.kpi-num.gold { color: var(--gold); }
.kpi-unit { font-family: var(--font-data); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.kpi-unit.gold { color: var(--gold); }

.kpi-track {
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.kpi-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--teal), rgba(20,184,166,0.3));
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1s var(--ease-out);
}
.kpi-fill.animated { transform: scaleX(var(--fill, 0)); }

.kpi-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   METHOD SECTION
═══════════════════════════════════════════════════════════════ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
}

.method-step {
  position: relative;
  background: var(--bg-base);
  padding: 40px 36px;
  overflow: hidden;
  transition: background var(--dur-base);
}
.method-step:hover { background: var(--bg-elevated); }

.method-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-data);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.07;
  line-height: 1;
  user-select: none;
}

.method-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.method-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARDS SECTION
═══════════════════════════════════════════════════════════════ */
.dash-grid {
  display: grid;
  gap: 24px;
}

.dash-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast);
}
.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lifted);
  border-color: rgba(20, 184, 166, 0.3);
}

.dash-preview {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.dash-preview.huawei {
  background: linear-gradient(145deg, rgba(20,184,166,0.12), rgba(10,26,46,0.6));
  border-right: 1px solid var(--border-glass);
}
.dash-preview.culture {
  background: linear-gradient(145deg, rgba(200,150,62,0.1), rgba(10,26,46,0.6));
  border-right: 1px solid var(--border-glass);
}
.dash-preview.raps {
  background: linear-gradient(145deg, rgba(56,189,248,0.12), rgba(10,26,46,0.6));
  border-right: 1px solid var(--border-glass);
}
.dash-preview.coex {
  background: linear-gradient(145deg, rgba(20,184,166,0.14), rgba(200,150,62,0.08), rgba(10,26,46,0.6));
  border-right: 1px solid var(--border-glass);
}

.dp-label {
  font-family: var(--font-data);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.dp-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0 4px;
}
.dp-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(20, 184, 166, 0.25);
  border-radius: 3px 3px 0 0;
}
.dp-bar--gold {
  background: linear-gradient(to top, rgba(200,150,62,0.15), var(--gold));
}
.dp-funnel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  flex: 1;
}
.dp-funnel span {
  width: var(--w, 60%);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56,189,248,0.72), rgba(20,184,166,0.36));
  border: 1px solid rgba(56,189,248,0.24);
}
.dp-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
  align-content: center;
}
.dp-app-grid span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(20,184,166,0.12);
  border: 1px solid var(--border-glass);
}
.dp-app-grid span.active {
  background: linear-gradient(145deg, rgba(20,184,166,0.45), rgba(200,150,62,0.28));
  border-color: rgba(20,184,166,0.46);
}
.dp-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 28px;
}
.dp-filters span {
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
}
.dp-filters span.active {
  background: var(--teal-dim);
  border-color: var(--border);
}
.dp-heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  flex: 1;
}
.dp-heatmap div {
  border-radius: 4px;
  background: rgba(20,184,166,0.12);
  border: 1px solid var(--border-glass);
}
.dp-heatmap div.hot  { background: rgba(200,150,62,0.35); border-color: var(--gold); }
.dp-heatmap div.warm { background: rgba(20,184,166,0.28); border-color: var(--teal); }

.dp-metrics {
  display: flex;
  gap: 12px;
}
.dp-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dp-metric span {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-data);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dp-metric strong {
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
}

.dash-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}
.dash-tag {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.dash-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.dash-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 16px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.dash-list li::marker { color: var(--teal); }
.dash-content .btn { margin-top: 24px; align-self: flex-start; }
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-actions .btn { margin-top: 24px; }

/* ═══════════════════════════════════════════════════════════════
   PIVOTES SECTION
═══════════════════════════════════════════════════════════════ */
.pivotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
}

.pivot-card {
  position: relative;
  background: var(--bg-base);
  padding: 36px 32px;
  overflow: hidden;
  transition: background var(--dur-base), border-color var(--dur-fast);
}
.pivot-card:hover { background: var(--bg-elevated); }

.pivot-num {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--font-data);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  user-select: none;
}

.pivot-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding-right: 40px;
}
.pivot-body > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.pivot-dl {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px 12px;
}
.pivot-dl dt {
  font-family: var(--font-data);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 2px;
}
.pivot-dl dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   GOVERNANCE SECTION
═══════════════════════════════════════════════════════════════ */
.gov-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Matrix */
.maturity-wrap { }
.maturity-scroll { overflow-x: auto; }
.maturity-matrix {
  display: grid;
  gap: 6px;
  min-width: 480px;
}
.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 160px repeat(5, 1fr);
  gap: 6px;
  align-items: center;
}
.matrix-head > div {
  font-family: var(--font-data);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 4px;
}
.mh-dim { text-align: left; }
.matrix-dim {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding-right: 8px;
}
.mc {
  aspect-ratio: 2;
  border-radius: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
  transform: scale(0.7);
  opacity: 0;
  transition: transform 400ms var(--ease-out),
              opacity 400ms var(--ease-out),
              background var(--dur-base),
              border-color var(--dur-base);
}
.mc.revealed { transform: scale(1); opacity: 1; }
.mc.filled.revealed {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.4);
}
.mc.partial.revealed {
  background: rgba(200, 150, 62, 0.18);
  border-color: rgba(200, 150, 62, 0.35);
}

.matrix-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.matrix-legend span { display: flex; align-items: center; gap: 7px; }
.leg-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glass);
}
.leg-dot.filled { background: rgba(20,184,166,0.2); border-color: rgba(20,184,166,0.4); }
.leg-dot.partial { background: rgba(200,150,62,0.18); border-color: rgba(200,150,62,0.35); }

/* AI section */
.ai-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.ai-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ai-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
}
.ai-diamond {
  color: var(--teal);
  font-size: 0.65rem;
  margin-top: 4px;
  opacity: 0.7;
}
.ai-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.ai-list p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--bg-deep) !important;
  position: relative;
  overflow: hidden;
}
.contact-section::before { display: none; }

.contact-watermark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  user-select: none;
}

.contact-watermark span {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0.028;
  letter-spacing: -0.04em;
  animation: marquee-slide 22s linear infinite;
}

@keyframes marquee-slide {
  from { transform: translateX(0%); }
  to   { transform: translateX(-50%); }
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-inner h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.contact-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.contact-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.contact-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.contact-links a:hover { color: var(--teal); }
.contact-sep { color: var(--text-muted); }
.contact-sig {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.sig-code { color: var(--teal); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   PREFERS-REDUCED-MOTION
═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mc { transform: scale(1); opacity: 1; }
  .kpi-fill { transition: none; }
  .scroll-line::after { animation: none; opacity: 0.5; }
  .contact-watermark span { animation: none; }
  #particleCanvas { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-bottom: 100px;
  }
  .scroll-cue { display: none; }
  .hero-visual { max-width: 540px; }
  .command-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .command-sticky { position: static; }
  .gov-layout { grid-template-columns: 1fr; gap: 48px; }
  .dash-card {
    grid-template-columns: 1fr;
  }
  .dash-preview { min-height: 200px; border-right: none; border-bottom: 1px solid var(--border-glass); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 720px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  :root { --navbar-h: 60px; }

  .brand-name { display: none; }
  nav a { padding: 7px 10px; font-size: 0.8rem; }
  .btn-nav { display: none; }

  .section-inner { padding: 80px 0; }

  .hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-ctas .btn { width: 100%; }

  .method-grid,
  .pivotes-grid {
    grid-template-columns: 1fr;
  }
  .method-step { padding: 28px 24px; }
  .pivot-card  { padding: 28px 24px; }

  .kpi-num { font-size: 2.2rem; }

  .contact-ctas { flex-direction: column; align-items: center; }
  .contact-ctas .btn { width: 100%; max-width: 320px; }

  .matrix-head,
  .matrix-row { grid-template-columns: 120px repeat(5, 1fr); gap: 4px; }
  .matrix-dim { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  nav a:not(:first-child):not(:last-child) { display: none; }
  .section-inner { width: calc(100% - 32px); padding: 64px 0; }
  .cc-kpis { grid-template-columns: 1fr; }
  .cc-chart-inner { grid-template-columns: 1fr; }
}
