/* ══════════════════════════════════════════════
   DocIP Product Website — Design System v3
   Brand: Purple Gradient · Premium · Trusted
   ══════════════════════════════════════════════ */

:root {
  --brand: #6C47FF;
  --brand-dark: #3D1FB8;
  --brand-light: #A78BFA;
  --brand-glow: rgba(108,71,255,.15);
  --brand-bg: #F5F3FF;
  --accent: #FF6B6B;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFE;
  --bg-dark: #0A0815;
  --text: #111127;
  --text-muted: #5F6B7A;
  --text-light: #949DB0;
  --card: #FFFFFF;
  --border: #E8ECF1;
  --border-light: #F2F4F7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lg: 0 16px 32px rgba(0,0,0,.06), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 24px 48px rgba(0,0,0,.1);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.72; -webkit-font-smoothing: antialiased;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(108,71,255,.08);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  transition: all .35s ease;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 72px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo { height: 26px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0 auto; flex-shrink: 1; min-width: 0; padding: 0; background: none; border: none; border-radius: 0; }
.nav-links a {
  text-decoration: none; font-size: 12.5px; font-weight: 700;
  color: var(--text); transition: all .25s; padding: 6px 0; border-radius: 0;
  position: relative; letter-spacing: .2px; white-space: nowrap; flex-shrink: 0;
  background: none; border: none;
}
.nav-links a::after { display: none; }
.nav-links a:hover { color: var(--brand); background: none; border: none; box-shadow: none; transform: none; }
.nav-cta {
  background: var(--brand); color: #fff; border: none;
  padding: 8px 18px; border-radius: 100px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .25s; text-decoration: none; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(108,71,255,.3);
}
.nav-cta-mobile { display: none; }
.nav-links-open-inner { display: none; }
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,71,255,.4); }

.qr-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.qr-modal.show { opacity: 1; pointer-events: auto; }
.qr-modal-content { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; position: relative; max-width: 320px; box-shadow: 0 24px 48px rgba(0,0,0,.2); transform: scale(.96); transition: transform .3s; }
.qr-modal.show .qr-modal-content { transform: scale(1); }
.qr-modal-close { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
.qr-modal-img { width: 220px; height: 220px; border-radius: var(--radius); display: block; margin: 0 auto 16px; }
.qr-modal-text { font-size: 14px; color: var(--text-muted); }

.nav-hamburger { display: none; }

/* ═══ HERO ═══ */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-dark);
  padding: 168px 32px 80px;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(108,71,255,.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 90%, rgba(167,139,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 10% 30%, rgba(108,71,255,.1) 0%, transparent 50%),
    radial-gradient(ellipse 45% 45% at 50% 60%, rgba(108,71,255,.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-content { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 50px;
  background: rgba(108,71,255,.15); border: 1px solid rgba(108,71,255,.25);
  font-size: 12.5px; font-weight: 600; color: var(--brand-light);
  margin-bottom: 36px; letter-spacing: 1.5px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: #A78BFA;
  border-radius: 50%; animation: pulse 2.5s infinite;
  box-shadow: 0 0 8px rgba(167,139,250,.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.6); }
}
.hero h1 {
  font-size: 62px; font-weight: 900; line-height: 1.15;
  color: #fff; letter-spacing: -1.5px; margin-bottom: 32px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, #C4B5FD 0%, #8B5CF6 35%, #A78BFA 65%, #7C3AED 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.95;
  max-width: 680px; margin: 0 auto 28px; font-weight: 400;
}
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-sub-geo {
  font-size: 14.5px; color: rgba(255,255,255,.55); line-height: 1.85;
  margin-bottom: 44px; max-width: 560px;
}
.hero-sub-geo strong { color: #fff; font-weight: 700; }
.hero-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 900px; margin: 0 auto 44px;
}
.hero-pillar {
  padding: 22px 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; backdrop-filter: blur(10px);
  transition: all .3s; text-align: center;
}
.hero-pillar:hover { background: rgba(108,71,255,.1); border-color: rgba(108,71,255,.2); transform: translateY(-3px); }
.hero-pillar-icon { display: none; }
.hero-pillar-text strong { display: block; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.hero-pillar-text span { font-size: 12px; color: rgba(255,255,255,.4); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 42px; border-radius: 12px; font-size: 15.5px; font-weight: 700;
  background: var(--brand); color: #fff; text-decoration: none; border: none;
  cursor: pointer; transition: all .3s; box-shadow: 0 4px 20px rgba(108,71,255,.35);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,71,255,.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 42px; border-radius: 12px; font-size: 15.5px; font-weight: 600;
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.75); text-decoration: none;
  border: 1px solid rgba(255,255,255,.15); cursor: pointer; transition: all .3s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); transform: translateY(-2px); }

.hero-divider {
  width: 100%; max-width: 920px; margin: 48px auto 44px;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  position: relative; z-index: 1;
}
.hero-vision {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 52px; align-items: center;
  max-width: 920px; margin: 0 auto 48px;
  position: relative; z-index: 1; text-align: left;
}
.hero-vision-text h2 {
  font-size: 25px; font-weight: 900; color: #fff;
  line-height: 1.35; margin-bottom: 14px; letter-spacing: -0.5px;
}
.hero-vision-text p { font-size: 14px; color: rgba(255,255,255,.42); line-height: 1.85; margin: 0; }
.hero-vision-future {
  background: rgba(108,71,255,.08); border: 1px solid rgba(108,71,255,.14);
  border-radius: var(--radius-lg); padding: 26px 24px;
  transition: all .3s;
}
.hero-vision-future:hover { background: rgba(108,71,255,.12); border-color: rgba(108,71,255,.25); }
.hero-vision-badge {
  display: inline-block; padding: 3px 12px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  background: rgba(108,71,255,.2); color: #C4B5FD;
  margin-bottom: 12px;
}
.hero-vision-future p { font-size: 13.5px; color: rgba(255,255,255,.48); line-height: 1.85; margin: 0; }

.stats-row {
  display: flex; justify-content: center; gap: 56px;
  position: relative; z-index: 1; flex-wrap: wrap;
  margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -1px;
  background: linear-gradient(135deg, #C4B5FD, #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.35); margin-top: 6px; font-weight: 500; letter-spacing: .5px; }

/* ═══ SECTION COMMON ═══ */
.section { padding: 108px 32px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 18px;
  padding: 5px 14px; border-radius: 4px; background: var(--brand-bg);
}
.section-title {
  font-size: 35px; font-weight: 900; line-height: 1.28;
  color: var(--text); margin-bottom: 18px; letter-spacing: -0.6px;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-label { color: var(--brand-light); background: rgba(108,71,255,.12); }
.section-desc {
  font-size: 14px; color: var(--text-muted); max-width: 640px; line-height: 1.82;
}
.section-dark .section-desc { color: rgba(255,255,255,.48); }

/* ═══ WHY ═══ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px;
}
.why-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 20px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(108,71,255,.06), 0 2px 8px rgba(0,0,0,.03);
  border-color: rgba(108,71,255,.12);
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), transparent);
  opacity: 0; transition: opacity .3s;
}
.why-card:hover::before { opacity: 1; }
.why-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.why-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-bg), #EDE9FE);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark); flex-shrink: 0;
}
.why-icon svg { width: 16px; height: 16px; }
.why-card h3 { font-size: 14px; font-weight: 800; margin: 0; position: relative; z-index: 1; }
.why-card p { font-size: 12px; color: var(--text-muted); line-height: 1.65; margin: 0; position: relative; z-index: 1; }

/* ═══ PIPELINE CARDS ═══ */
.pipeline-cards {
  display: flex; gap: 16px; margin-top: 40px;
  justify-content: space-between; flex-wrap: wrap;
  align-items: stretch;
}
.pipeline-card {
  flex: 1; min-width: 170px; max-width: 220px;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 28px 20px 24px;
  text-align: center; transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.pipeline-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  opacity: 0; transition: opacity .35s;
  pointer-events: none; z-index: 0;
}
.pipeline-card:nth-child(1)::after { box-shadow: inset 0 0 0 2px rgba(108,71,255,.12); }
.pipeline-card:nth-child(2)::after { box-shadow: inset 0 0 0 2px rgba(234,88,12,.12); }
.pipeline-card:nth-child(3)::after { box-shadow: inset 0 0 0 2px rgba(22,163,74,.12); }
.pipeline-card:nth-child(4)::after { box-shadow: inset 0 0 0 2px rgba(225,29,72,.12); }
.pipeline-card:nth-child(5)::after { box-shadow: inset 0 0 0 2px rgba(37,99,235,.12); }
.pipeline-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(108,71,255,.08); }
.pipeline-card:hover::after { opacity: 1; }
.pipeline-card-num {
  font-size: 48px; font-weight: 900; line-height: 1;
  letter-spacing: -2px; margin-bottom: 16px; position: relative; z-index: 1;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pipeline-card:nth-child(1) .pipeline-card-num { background-image: linear-gradient(135deg, #6C47FF, #A78BFA); }
.pipeline-card:nth-child(2) .pipeline-card-num { background-image: linear-gradient(135deg, #EA580C, #FDBA74); }
.pipeline-card:nth-child(3) .pipeline-card-num { background-image: linear-gradient(135deg, #16A34A, #86EFAC); }
.pipeline-card:nth-child(4) .pipeline-card-num { background-image: linear-gradient(135deg, #E11D48, #FDA4AF); }
.pipeline-card:nth-child(5) .pipeline-card-num { background-image: linear-gradient(135deg, #2563EB, #93C5FD); }
.pipeline-card-name { font-size: 17px; font-weight: 800; margin-bottom: 16px; color: var(--text); position: relative; z-index: 1; }
.pipeline-card-skill { font-size: 9px; font-weight: 600; color: var(--brand); margin-bottom: 40px; letter-spacing: .2px; position: relative; z-index: 1; }
.pipeline-card-desc { font-size: 11px; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; position: relative; z-index: 1; }
.pipeline-card-link {
  display: inline-block; margin-top: auto; padding: 6px 16px;
  font-size: 11.5px; font-weight: 600; border-radius: 100px;
  text-decoration: none; transition: all .2s; position: relative; z-index: 1;
}
.pipeline-card:nth-child(1) .pipeline-card-link { color: #6C47FF; border: 1px solid rgba(108,71,255,.3); }
.pipeline-card:nth-child(2) .pipeline-card-link { color: #EA580C; border: 1px solid rgba(234,88,12,.3); }
.pipeline-card:nth-child(3) .pipeline-card-link { color: #16A34A; border: 1px solid rgba(22,163,74,.3); }
.pipeline-card:nth-child(4) .pipeline-card-link { color: #E11D48; border: 1px solid rgba(225,29,72,.3); }
.pipeline-card:nth-child(5) .pipeline-card-link { color: #2563EB; border: 1px solid rgba(37,99,235,.3); }
.pipeline-card:nth-child(1) .pipeline-card-link:hover { background: #6C47FF; color: #fff; border-color: #6C47FF; }
.pipeline-card:nth-child(2) .pipeline-card-link:hover { background: #EA580C; color: #fff; border-color: #EA580C; }
.pipeline-card:nth-child(3) .pipeline-card-link:hover { background: #16A34A; color: #fff; border-color: #16A34A; }
.pipeline-card:nth-child(4) .pipeline-card-link:hover { background: #E11D48; color: #fff; border-color: #E11D48; }
.pipeline-card:nth-child(5) .pipeline-card-link:hover { background: #2563EB; color: #fff; border-color: #2563EB; }

/* ═══ ENGINE DIAGRAM ═══ */
.engine-diagram {
  position: relative; margin-top: 48px;
  display: flex; flex-direction: column; align-items: center;
  gap: 48px;
  background: radial-gradient(circle at 50% 50%, rgba(108,71,255,.08), transparent 60%);
}
.engine-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 0;
  position: relative;
  padding: 0 20px;
}
.engine-row::before {
  content: ''; position: absolute; top: 50%; left: 95px; right: 20px;
  height: 5px; z-index: 0; margin-top: -4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(108,71,255,.12) 15%,
    rgba(108,71,255,.25) 35%,
    rgba(108,71,255,.25) 65%,
    rgba(167,139,250,.4) 85%,
    transparent 100%
  );
  border-radius: 4px;
  filter: blur(1px);
}
.engine-row::after {
  content: ''; position: absolute; top: 50%; left: 95px; right: 20px;
  height: 6px; z-index: 0; margin-top: -3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(167,139,250,.25) 20%,
    rgba(255,255,255,.9) 45%,
    rgba(255,255,255,.95) 50%,
    rgba(167,139,250,.7) 55%,
    rgba(167,139,250,.4) 75%,
    transparent 100%
  );
  background-size: 250% 100%;
  border-radius: 3px;
  animation: meteorRiver 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(167,139,250,.9)) drop-shadow(0 0 20px rgba(108,71,255,.35));
}
@keyframes meteorRiver {
  0% { background-position: 120% 0; opacity: .7; }
  25% { opacity: 1; }
  50% { background-position: -20% 0; opacity: .8; }
  75% { opacity: 1; }
  100% { background-position: 120% 0; opacity: .7; }
}

.engine-hub-v2 {
  position: relative; z-index: 2; width: 228px; height: 240px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6C47FF, #8B5CF6); border: 1px solid rgba(108,71,255,.3);
  border-radius: 16px; padding: 16px;
  box-shadow: 0 8px 24px rgba(108,71,255,.2), inset 0 1px 0 rgba(255,255,255,.15);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.engine-hub-v2:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(108,71,255,.3); }
.hub-pulse { display: none; }
.hub-rays { display: none; }
.hub-ring {
  position: absolute; top: 50%; left: 50%; width: 158px; height: 158px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.25);
  animation: hubSpinClockwise 15s linear infinite;
}
@keyframes hubSpinClockwise { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hub-core {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 0 30px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.2);
  position: relative; z-index: 2;
  border: 1px solid rgba(255,255,255,.15);
}
.hub-icon {
  width: 28px; height: 28px; margin-bottom: 4px;
  animation: hubSpinClockwiseCore 15s linear infinite;
}
.hub-icon svg { width: 100%; height: 100%; }
@keyframes hubSpinClockwiseCore { to { transform: rotate(360deg); } }
.hub-title { font-size: 13px; font-weight: 800; }

.engine-node {
  width: 228px; height: 240px; pointer-events: auto; position: relative; z-index: 1;
  background: rgba(255,255,255,.95); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-sizing: border-box;
  display: flex; flex-direction: column;
}
.engine-node:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(108,71,255,.12); border-color: rgba(108,71,255,.25); }
.node-status {
  position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 8px #22C55E;
  animation: statusBlink 2s ease-in-out infinite;
}
@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.node-header {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px;
}
.node-icon {
  width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.node-icon svg { width: 18px; height: 18px; }
.node-data .node-icon { background: rgba(108,71,255,.08); color: #6C47FF; }
.node-strategy .node-icon { background: rgba(139,92,246,.08); color: #8B5CF6; }
.node-compliance .node-icon { background: rgba(167,139,250,.08); color: #A78BFA; }
.node-title { font-size: 15px; font-weight: 800; margin: 0; color: var(--text); }
.node-metric {
  text-align: center; padding: 10px 0; margin-bottom: 8px;
  border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
}
.metric-value {
  font-size: 36px; font-weight: 900; line-height: 1;
}
.node-data .metric-value { color: #6C47FF; }
.node-strategy .metric-value { color: #6C47FF; }
.node-compliance .metric-value { color: #6C47FF; }
.metric-label { font-size: 10px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.node-desc {
  font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.5;
  margin-bottom: 10px; font-weight: 500;
}
.node-tags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.node-tags span { padding: 3px 8px; border-radius: 100px; font-size: 9.5px; font-weight: 600; }
.node-data .node-tags span { background: rgba(108,71,255,.08); color: #6C47FF; }
.node-strategy .node-tags span { background: rgba(108,71,255,.08); color: #6C47FF; }
.node-compliance .node-tags span { background: rgba(108,71,255,.08); color: #6C47FF; }

@media (max-width: 800px) {
  .engine-row { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .engine-row::before { display: none; }
  .engine-hub-v2 { order: -1; margin-bottom: 16px; }
  .engine-node { width: calc(50% - 12px); min-width: 150px; }
}

/* ═══ PROCESS ═══ */
.process-flow {
  display: flex; justify-content: space-between; gap: 0; margin-top: 56px;
  position: relative; align-items: flex-start; padding: 0 20px;
}
.process-step {
  flex: 1; text-align: center; position: relative; padding: 0 16px; max-width: 240px;
}
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 34px; left: calc(50% + 30px);
  width: calc(100% - 60px); height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), transparent);
  opacity: .2;
}
.step-num {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 24px; font-weight: 900; color: #fff;
  box-shadow: 0 8px 28px rgba(108,71,255,.22);
  position: relative; z-index: 2; letter-spacing: -1px;
}
.process-step h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 11.5px; color: var(--text-muted); line-height: 1.75; }

/* ═══ DIFFERENTIATOR TABLE ═══ */
.diff-table {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--card); margin-top: 52px;
}
.diff-header {
  display: grid; grid-template-columns: 150px 1fr 1fr 1fr;
  background: var(--bg-alt); border-bottom: 1px solid var(--border-light);
}
.diff-row {
  display: grid; grid-template-columns: 150px 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-light); transition: background .25s;
}
.diff-row:last-child { border-bottom: none; }
.diff-row:hover { background: rgba(108,71,255,.02); }
.diff-col-label {
  padding: 18px 20px; font-size: 13.5px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; background: #FAFAFE; border-right: 1px solid var(--border-light);
}
.diff-header .diff-col-label { background: transparent; border-right: none; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.diff-col {
  padding: 18px 20px; font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.diff-col.highlight {
  background: linear-gradient(135deg, rgba(108,71,255,.035), rgba(167,139,250,.03)); color: var(--brand-dark);
}
.diff-sub { font-size: 11.5px; font-weight: 400; color: var(--text-muted); margin-top: 5px; display: block; }
.diff-col.highlight .diff-sub { color: var(--brand); opacity: .65; }
.diff-badge {
  display: inline-block; padding: 8px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 700; margin: 0 auto;
}
.diff-badge.bad { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.diff-badge.good { background: var(--brand-bg); color: var(--brand-dark); border: 1px solid rgba(108,71,255,.15); }
.diff-header .diff-col { padding: 14px 20px; align-items: center; }

/* ═══ MATRIX ═══ */
.matrix-table {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--card); margin-top: 52px;
}
.matrix-header {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr 1fr 1fr;
  background: var(--bg-alt); border-bottom: 1px solid var(--border-light);
}
.matrix-row {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-light); transition: background .25s;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: rgba(108,71,255,.02); }
.matrix-col-label {
  padding: 16px 18px; font-size: 13px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; background: #FAFAFE; border-right: 1px solid var(--border-light);
}
.matrix-header .matrix-col-label { background: transparent; border-right: none; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.matrix-col {
  padding: 16px 18px; font-size: 13.5px; color: var(--text);
  display: flex; flex-direction: column; justify-content: center; text-align: center; font-weight: 600;
}
.matrix-col .check { color: var(--brand); font-weight: 800; font-size: 16px; }
.matrix-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-top: 3px; }

/* ═══ TEAM ═══ */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 36px; }
.team-card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: all .3s cubic-bezier(.4,0,.2,1);
}
.team-card:hover {
  box-shadow: 0 12px 28px rgba(108,71,255,.06), 0 2px 8px rgba(0,0,0,.03);
  border-color: rgba(108,71,255,.1); transform: translateY(-3px);
}
.team-card:hover .team-avatar { transform: scale(1.08); }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; background: #f0f0f0 center/cover no-repeat; margin: 0 auto 14px; overflow: hidden; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.team-name { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--brand); margin-bottom: 14px; position: relative; }
.team-role::after { content:''; display: block; width: 24px; height: 2px; background: rgba(108,71,255,.2); border-radius: 1px; margin: 8px auto 0; }
.team-bio { font-size: 12px; color: var(--text-muted); line-height: 1.65; max-width: 85%; margin: 0 auto; }

@media (max-width: 800px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-card { padding: 20px 14px; }
  .team-avatar { width: 44px; height: 44px; }
  .team-bio { max-width: 100%; }
  .team-name { font-size: 14px; }
  .team-role { font-size: 10px; }
  .team-bio { font-size: 11px; }
}

/* ═══ DELIVERABLES ═══ */
.deliverable-section { margin-top: 64px; }
.deliverable-header { margin-bottom: 40px; }
.deliverable-header .section-title { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.deliverable-header .section-desc { font-size: 14px; color: var(--text-muted); line-height: 1.82; }

.deliverable-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.04); transition: all .3s ease;
  display: flex; flex-direction: column;
}
.deliverable-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(108,71,255,.08); border-color: rgba(108,71,255,.15); }
.deliverable-preview { background: var(--bg-alt); height: 420px; overflow: hidden; position: relative; }
.deliverable-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 100px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(108,71,255,.25);
}
.deliverable-preview img {
  width: 100%; display: block; object-fit: cover; object-position: top;
}
.deliverable-card.auto-scroll-once .deliverable-preview img {
  animation: caseScroll 5s cubic-bezier(.4,0,.2,1) forwards;
}
.deliverable-card.auto-scroll-hover .deliverable-preview img {
  animation: caseScroll 5s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes caseScroll {
  0% { transform: translateY(0); object-position: top; }
  100% { transform: translateY(-60%); object-position: bottom; }
}
.deliverable-card-footer { padding: 20px 22px; }
.deliverable-card-footer h4 { font-size: 16px; font-weight: 800; margin-bottom: 5px; color: var(--text); }
.deliverable-card-footer p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.case-note { text-align: center; margin-top: 28px; }
.case-note span {
  display: inline-block; padding: 10px 20px; border-radius: 100px;
  background: var(--brand-bg); color: var(--brand-dark); font-size: 12px; font-weight: 600;
}
.case-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.case-tags span {
  padding: 7px 15px; border-radius: 6px; background: var(--brand-bg); color: var(--brand-dark);
  font-size: 12px; font-weight: 600;
}

.platform-strip { padding: 36px 32px; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border-light); margin-top: 60px; }
.platform-icons { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.platform-item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.platform-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--card); display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  transition: all .3s;
}
.platform-item:hover .platform-icon { box-shadow: 0 8px 20px rgba(108,71,255,.1); border-color: rgba(108,71,255,.2); transform: translateY(-3px); }
.platform-item span:not(.platform-icon) { font-size: 14px; font-weight: 700; }
.platform-item small { font-size: 11px; color: var(--text-light); }

@media (max-width: 800px) {
  .deliverable-gallery { grid-template-columns: 1fr; }
  .deliverable-preview { height: 340px; }
  .deliverable-header .section-title { font-size: 24px; }
}
.cta-section {
  background: linear-gradient(155deg, #0A0815 0%, #1A1540 35%, #2D1B69 65%, #6C47FF 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 80%, rgba(167,139,250,.14) 0%, transparent 50%),
    radial-gradient(circle at 75% 20%, rgba(108,71,255,.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(167,139,250,.06) 0%, transparent 60%);
}
.cta-section .section-inner { position: relative; z-index: 1; text-align: center; padding: 84px 32px; }
.cta-section .section-title { color: #fff; }
.cta-section .section-desc { color: rgba(255,255,255,.5); margin: 0 auto 44px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 52px; border-radius: 14px;
  font-size: 18px; font-weight: 800; cursor: pointer;
  background: #fff; color: var(--brand-dark); border: none;
  text-decoration: none; letter-spacing: .3px;
  transition: all .3s; box-shadow: 0 8px 36px rgba(0,0,0,.25);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0,0,0,.35); }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.35);
  padding: 52px 32px 36px; text-align: center;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-brand {
  font-size: 22px; font-weight: 800; color: rgba(255,255,255,.6);
  margin-bottom: 14px; letter-spacing: .5px;
}
.footer p { font-size: 13px; line-height: 1.9; }
.footer-line { display: inline; }
.footer-br { display: inline; }
.footer-line:first-child { white-space: nowrap; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-card { min-width: 150px; }
  .pipeline-card-icon { width: 24px; height: 24px; }
  .engine-systems { grid-template-columns: 1fr; max-width: 100%; }
  .deliverable-row { grid-template-columns: 1fr; gap: 36px; }
  .deliverable-row-reverse { direction: ltr; }
  .cover-grid { flex-direction: column; }
  .cover-stack { flex-direction: row; flex: 1; }
  .adv-grid { grid-template-columns: 1fr; }
  .diff-header, .diff-row { grid-template-columns: 100px 1fr 1fr 1fr; }
  .diff-col-label { padding: 14px 10px; font-size: 12px; }
  .diff-col { padding: 14px 10px; font-size: 13px; }
  .diff-badge { font-size: 12px; padding: 6px 14px; }
  .matrix-header, .matrix-row { grid-template-columns: 140px 1fr 1fr 1fr 1fr 1fr; }
  .matrix-col-label { padding: 14px 10px; font-size: 11px; }
  .matrix-col { padding: 14px 10px; font-size: 12px; }
  .hero h1 { font-size: 42px; }
  .hero-vision { grid-template-columns: 1fr; gap: 28px; }
  .process-flow { flex-wrap: wrap; gap: 44px; }
  .process-step { flex: 0 0 calc(50% - 22px); }
  .process-step:nth-child(2)::after { display: none; }
}

/* ═══ RESPONSIVE — Mobile (≤768px) ═══ */
@media (max-width: 768px) {

  /* --- NAV --- */
  .nav { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
  .nav-inner { padding: 0 16px; height: 56px; }
  .nav-logo { height: 22px; }
  .nav-hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile {
    display: inline-flex; margin-left: auto; margin-right: 12px;
    padding: 7px 14px; font-size: 11px; font-weight: 700;
  }
  .nav-links-open-inner.open {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(10,8,21,.55); backdrop-filter: blur(4px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .nav-links-open-inner {
    display: none;
  }
  .nav-links-open-inner.open .nav-links-open-content {
    background: #fff; border-radius: 20px;
    padding: 28px 36px; width: 76%; max-width: 280px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    animation: menuPop .25s cubic-bezier(.4,0,.2,1);
  }
  .nav-links-open-inner a {
    display: block; padding: 13px 16px; font-size: 16px; font-weight: 700;
    color: var(--text); border-radius: 12px; background: none; border: none;
    transition: all .2s; text-align: center; text-decoration: none;
  }
  .nav-links-open-inner a:hover { background: var(--brand-bg); color: var(--brand); }
  @keyframes menuPop {
    from { opacity: 0; transform: scale(.92) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  .nav-links { display: none; margin: 0 !important; padding: 0; background: none; border: none; gap: 0; }
  .nav-links.open { display: none; }
  .nav-links.open a:hover { background: var(--brand-bg); color: var(--brand); }
  .nav-hamburger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 10px; z-index: 101;
  }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  /* --- HERO --- */
  .hero { padding: 108px 20px 52px; }
  .hero h1 {
    font-size: 28px; font-weight: 900; line-height: 1.3; letter-spacing: -0.8px;
    margin-bottom: 20px;
  }
  .hero h1 br { display: inline; }
  .hero-sub {
    font-size: 14px; line-height: 1.7; margin-bottom: 16px;
    max-width: 100%; padding: 0 4px;
  }
  .hero-sub strong { font-weight: 700; }
  .hero-sub-geo {
    font-size: 12.5px; margin-bottom: 28px; max-width: 100%;
    line-height: 1.65; padding: 0 4px;
  }
  .hero-pillars {
    grid-template-columns: repeat(2, 1fr); gap: 8px;
    max-width: 100%; margin-bottom: 32px;
  }
  .hero-pillar { padding: 16px 12px; border-radius: 14px; }
  .hero-pillar-text strong { font-size: 13.5px; margin-bottom: 4px; }
  .hero-pillar-text span { font-size: 11px; }
  .hero-actions { margin-bottom: 32px; }
  .hero-divider { margin: 28px auto; }
  .hero-vision { grid-template-columns: 1fr; gap: 16px; padding: 0 4px; }
  .hero-vision-text h2 { font-size: 20px; }
  .hero-vision-text p { font-size: 12.5px; }
  .hero-vision-future { padding: 18px 16px; }
  .hero-vision-future p { font-size: 12.5px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 260px; justify-content: center; padding: 13px 20px; font-size: 14px; }

  /* Stats row — 5 items: 3+2 grid */
  /* Stats row — 5 items: 3+2 centered rows */
  /* Stats row — 5 items: first row 3 + second row 3 centered */
  /* Stats row — 5 items: first row 2 + second row 3 centered */
  .stats-row {
    gap: 0; display: flex; flex-wrap: wrap; justify-content: center;
    border: none; border-radius: 0; overflow: visible;
    margin-top: 28px; max-width: 100%;
  }
  .stat-item {
    flex: 0 0 33.33%; padding: 16px 4px;
    border: none; text-align: center;
  }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { flex: 0 0 50%; }
  .stat-item:nth-child(3), .stat-item:nth-child(4), .stat-item:nth-child(5) { flex: 0 0 33.33%; }
  .stat-num { font-size: 16.8px; font-weight: 900; -webkit-text-fill-color: #fff; background: none; }
  .stat-item:nth-child(1) .stat-num,
  .stat-item:nth-child(2) .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; margin-top: 4px; color: rgba(255,255,255,.5); }

  /* --- SECTION COMMON --- */
  .section { padding: 52px 14px; }
  .section-inner { max-width: 100%; }
  .section-label { font-size: 10px; letter-spacing: 1.5px; padding: 3px 10px; margin-bottom: 12px; }
  .section-title { font-size: 16.5px; font-weight: 900; line-height: 1.3; letter-spacing: -0.3px; margin-bottom: 10px; }
  .section-desc { font-size: 11.7px; line-height: 1.7; max-width: 100%; }
  .section-desc br { display: none; }

  /* --- WHY --- */
  .why-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .why-card { padding: 16px 14px; border-radius: 14px; border: 1px solid rgba(108,71,255,.15); }
  .why-card::before { opacity: 1; height: 2px; }
  .why-card h3 { font-size: 13px; }
  .why-card p { font-size: 11px; line-height: 1.55; }

  /* --- PIPELINE CARDS --- */
  .pipeline-cards { gap: 10px; margin-top: 20px; }
  .pipeline-card {
    min-width: 100%; max-width: 100%; padding: 20px 16px 16px;
    border-radius: 16px;
  }
  .pipeline-card-num { font-size: 30px; margin-bottom: 8px; }
  .pipeline-card-name { font-size: 13.5px; margin-bottom: 8px; }
  .pipeline-card-skill { font-size: 8px; margin-bottom: 22px; }
  .pipeline-card-desc { font-size: 10.5px; margin-bottom: 16px; }
  .pipeline-card-link { padding: 5px 12px; font-size: 10.5px; }

  /* --- ENGINE --- */
  .engine-diagram { gap: 16px; margin-top: 24px; padding: 0; background: none; }
  .engine-row {
    flex-direction: column; align-items: center; gap: 12px;
    padding: 0;
  }
  .engine-row::before, .engine-row::after { display: none; }
  .engine-hub-v2 {
    order: -1; width: 100%; max-width: 320px; height: auto; aspect-ratio: 1/1;
    border-radius: 14px; padding: 20px; margin-bottom: 4px;
    display: none;
  }
  .engine-hub-v2:hover { transform: none; }
  .hub-ring { width: 70%; height: 70%; }
  .hub-core { width: 45%; height: 45%; }
  .hub-icon { width: 22px; height: 22px; margin-bottom: 3px; }
  .hub-title { font-size: 11px; }
  .engine-node {
    width: 100%; max-width: 320px; height: auto;
    padding: 18px 16px; border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .engine-node:hover { transform: none; }
  .node-header { justify-content: center; margin-bottom: 8px; }
  .node-title { font-size: 14px; }
  .node-metric { padding: 8px 0; margin-bottom: 6px; }
  .metric-value { font-size: 28px; }
  .metric-label { font-size: 9.5px; }
  .node-desc { font-size: 10.5px; margin-bottom: 8px; }
  .node-tags { gap: 4px; }
  .node-tags span { padding: 3px 8px; font-size: 9px; }
  .node-status { top: 10px; right: 10px; width: 6px; height: 6px; }

  /* --- PROCESS FLOW --- */
  .process-flow { flex-direction: column; gap: 0; margin-top: 24px; padding: 0; }
  .process-step {
    display: flex; align-items: flex-start; gap: 12px; text-align: left;
    padding: 14px 0; border-bottom: 1px solid var(--border-light);
    max-width: 100%;
  }
  .process-step:last-child { border-bottom: none; }
  .process-step:not(:last-child)::after { display: none; }
  .step-num {
    width: 38px; height: 38px; min-width: 38px; font-size: 14px; margin: 0;
    box-shadow: 0 4px 12px rgba(108,71,255,.16);
    border-radius: 50%;
  }
  .process-step h4 { font-size: 12px; margin-bottom: 3px; }
  .process-step p { font-size: 10.5px; line-height: 1.55; }

  /* --- DELIVERABLES --- */
  .deliverable-section { margin-top: 36px; }
  .deliverable-header { margin-bottom: 20px; }
  .deliverable-header .section-title { font-size: 16.5px; }
  .deliverable-header .section-desc { font-size: 11.7px; }
  .deliverable-gallery { grid-template-columns: 1fr; gap: 12px; }
  .deliverable-card { border-radius: 16px; }
  .deliverable-card:hover { transform: none; }
  .deliverable-preview { height: 280px; }
  .deliverable-tag { top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; }
  .deliverable-card-footer { padding: 14px; }
  .deliverable-card-footer h4 { font-size: 13.5px; }
  .deliverable-card-footer p { font-size: 11px; }
  .case-note { margin-top: 18px; }
  .case-note span { font-size: 11px; padding: 8px 16px; }

  /* --- DIFFERENTIATOR TABLE --- */
  .diff-table { border-radius: 14px; margin-top: 24px; border: 1px solid var(--border-light); background: var(--card); overflow: hidden; }
  .diff-header { display: grid; grid-template-columns: 80px 1fr 1fr 1fr; background: var(--bg-alt); border-bottom: 1px solid var(--border-light); }
  .diff-header .diff-col-label { display: none; }
  .diff-header .diff-col { padding: 10px 6px; font-size: 10px; font-weight: 600; text-align: center; }
  .diff-header .diff-col:nth-child(2) { color: #DC2626; }
  .diff-header .diff-col:nth-child(3) { color: #EA580C; }
  .diff-header .diff-col:nth-child(4) { color: var(--brand); }
  .diff-row { display: grid; grid-template-columns: 80px 1fr 1fr 1fr; border-bottom: 1px solid var(--border-light); }
  .diff-row:last-child { border-bottom: none; }
  .diff-col-label {
    padding: 12px 8px; font-size: 10px; font-weight: 700; color: var(--text);
    display: flex; align-items: center; background: #FAFAFE; border-right: 1px solid var(--border-light);
  }
  .diff-col {
    padding: 12px 6px; font-size: 10.5px; font-weight: 600; color: var(--text);
    display: flex; flex-direction: column; justify-content: center; text-align: center;
  }
  .diff-col.highlight { color: var(--brand-dark); background: rgba(108,71,255,.03); }
  .diff-sub { font-size: 9px; font-weight: 400; color: var(--text-muted); margin-top: 3px; display: block; }
  .diff-col.highlight .diff-sub { color: var(--brand); opacity: .65; }
  .diff-badge { display: none; }

  /* --- MATRIX TABLE (unused but kept) --- */
  .matrix-header { display: none; }
  .matrix-row { grid-template-columns: 1fr; padding: 0; }
  .matrix-col-label { padding: 12px 16px 4px; font-size: 11px; color: var(--brand); border-right: none; background: transparent; }
  .matrix-col { padding: 4px 16px 14px; font-size: 14px; text-align: left; }
  .matrix-col:last-child { padding-bottom: 16px; }

  /* --- TEAM --- */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
  .team-card { padding: 18px 12px; border-radius: 14px; }
  .team-card:hover { transform: none; }
  .team-avatar { width: 40px; height: 40px; margin-bottom: 8px; }
  .team-name { font-size: 12px; }
  .team-role { font-size: 9.5px; margin-bottom: 6px; }
  .team-role::after { margin-top: 4px; width: 16px; }
  .team-bio { font-size: 10px; max-width: 100%; line-height: 1.5; }

  /* --- DIFFERENTIATOR SECTION TITLE --- */
  .section-title[style*="margin-top"] { margin-top: 36px; font-size: 16.5px; }

  /* --- CTA --- */
  .cta-section .section-inner { padding: 52px 16px; }
  .cta-btn { padding: 14px 36px; font-size: 15px; width: auto; max-width: 260px; justify-content: center; }

  /* --- FOOTER --- */
  .footer { padding: 32px 14px 24px; }
  .footer-brand { font-size: 18px; margin-bottom: 8px; }
  .footer p { font-size: 11px; line-height: 1.9; }
  .footer-br { display: none; }
  .footer-line { display: block; }
}

@media (min-width: 769px) {
  .footer-line { display: inline; }
  .footer-br { display: inline; }
}

  /* --- QR MODAL --- */
  .qr-modal-content { max-width: 280px; padding: 28px 20px; }
  .qr-modal-img { width: 180px; height: 180px; }
  .qr-modal-text { font-size: 13px; }

}
