/* ================================================================
   数洋智慧 · 设计系统 v2.0
   专业 B 端政企官网规范 — 庄重蓝 + 暖金点缀 + 白色主调
   ================================================================ */

/* ---------- 1. 设计令牌 (Design Tokens) ---------- */
:root {
  /* 品牌蓝色阶 (Professional Blue) */
  --brand-900: #0F2E52;
  --brand-800: #143D6B;
  --brand-700: #1B4F8C;
  --brand-600: #2361A3;
  --brand-500: #3A7BD5;
  --brand-400: #6BA0E0;
  --brand-300: #A3C6F0;
  --brand-200: #D1E2F8;
  --brand-100: #EBF2FA;
  --brand-50:  #F5F9FD;

  /* 暖金强调色 (Strategic Gold) */
  --gold-600: #C28826;
  --gold-500: #D4A343;
  --gold-400: #E2C278;
  --gold-200: #F2E6C8;
  --gold-100: #F9F3E2;
  --gold-50:  #FCF8F0;

  /* 中性色 */
  --text-primary:   #182234;
  --text-secondary: #4A5568;
  --text-tertiary:  #8B96A3;
  --text-disabled:  #BCC4CD;
  --text-inverse:   #FFFFFF;

  --border-default: #E2E8F0;
  --border-light:   #EEF2F6;
  --border-strong:  #CBD5E1;

  --bg-white:  #FFFFFF;
  --bg-light:  #F9FAFB;
  --bg-pale:   #F2F5F9;
  --bg-footer: #0F2E52;

  /* 渐变 */
  --grad-brand:  linear-gradient(135deg, #1B4F8C 0%, #2361A3 100%);
  --grad-hero:   linear-gradient(160deg, #0F2E52 0%, #1B4F8C 100%);
  --grad-cta:    linear-gradient(135deg, #C28826 0%, #D4A343 100%);

  /* 字体 */
  --font-display: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body:    "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "SF Mono", "JetBrains Mono", "Cascadia Code", monospace;

  /* 排版 */
  --fs-h0: clamp(36px, 5vw, 52px);
  --fs-h1: clamp(28px, 4vw, 40px);
  --fs-h2: clamp(22px, 3vw, 30px);
  --fs-h3: 20px;
  --fs-h4: 17px;
  --fs-xl: 18px;
  --fs-lg: 17px;
  --fs-md: 15px;
  --fs-sm: 13px;
  --fs-xs: 12px;

  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* 字重 */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* 间距 */
  --section-xl: clamp(80px, 10vw, 128px);
  --section-lg: clamp(64px, 8vw, 96px);
  --section-md: clamp(48px, 6vw, 80px);
  --section-sm: clamp(40px, 5vw, 64px);
  --block-lg: clamp(32px, 5vw, 56px);
  --block-md: clamp(24px, 3vw, 40px);
  --block-sm: 24px;
  --block-xs: 16px;

  /* 容器 */
  --maxw: 1200px;
  --maxw-narrow: 900px;
  --gutter: 24px;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-sm:  0 1px 2px rgba(15, 46, 82, 0.04);
  --shadow-md:  0 4px 12px rgba(15, 46, 82, 0.06);
  --shadow-lg:  0 8px 24px rgba(15, 46, 82, 0.08);
  --shadow-xl:  0 16px 40px rgba(15, 46, 82, 0.10);
  --shadow-gold: 0 4px 16px rgba(194, 136, 38, 0.25);

  /* 过渡 */
  --t-fast: 0.15s ease;
  --t-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Header */
  --header-h: 72px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: var(--bg-white);
  line-height: var(--lh-normal);
  font-size: var(--fs-lg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: var(--lh-tight);
}
h1 { font-size: var(--fs-h0); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }

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

/* ---------- 4. Layout Utilities ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-lg) 0; }
.section-sm { padding: var(--section-sm) 0; }
.section-md { padding: var(--section-md) 0; }
.section-xl { padding: var(--section-xl) 0; }

/* Subtle background tints for section differentiation */
.bg-white  { background: var(--bg-white); }
.bg-light  { background: var(--bg-light); }
.bg-pale   { background: var(--bg-pale); }
.bg-brand  { background: var(--bg-pale); color: var(--text-primary); border-top: 3px solid var(--brand-700); }
.bg-hero   { background: var(--bg-light); color: var(--text-primary); }
.bg-footer { background: var(--bg-light); color: var(--text-primary); border-top: 1px solid var(--border-light); }

/* ---------- 5. Grid System ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--block-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--block-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--block-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--block-md); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  padding: 12px 28px;
  border-radius: var(--r-sm);
  transition: all var(--t-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--brand-700);
  color: #FFFFFF;
  border: 1.5px solid var(--brand-700);
}
.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 79, 140, 0.3);
}
.btn-accent {
  background: var(--gold-600);
  color: #FFFFFF;
}
.btn-accent:hover {
  background: var(--gold-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-300);
}
.btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.btn-ghost {
  background: transparent;
  color: var(--brand-700);
  padding: 8px 16px;
}
.btn-ghost:hover {
  background: var(--brand-50);
}
.btn-white {
  background: #FFFFFF;
  color: var(--brand-700);
}
.btn-white:hover {
  background: var(--brand-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-lg);
  border-radius: var(--r-md);
}
.btn-sm {
  padding: 8px 18px;
  font-size: var(--fs-sm);
}

/* ---------- 7. Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-light);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 104px; height: auto; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--brand-700);
  letter-spacing: 0.02em;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--brand-700);
  border-radius: 1px;
}
.nav-caret {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
}
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--t-base);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-md);
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav-dropdown a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.nav-dropdown a.active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
}
.nav-item.open .nav-caret { transform: rotate(180deg); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--t-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--brand-700); }
.mobile-menu a.active { color: var(--brand-700); font-weight: var(--fw-semibold, 600); }
/* 移动端产品子项（四大产品） */
.mobile-menu a.mm-sub {
  padding: 12px 0 12px 18px;
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.mobile-menu a.mm-sub::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-400);
}
.mobile-menu a.mm-sub:hover,
.mobile-menu a.mm-sub.active { color: var(--brand-700); }
.mobile-menu .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ---------- 8. Footer ---------- */
/* CTA Banner — pre-footer callout */
.cta-banner {
  background: var(--grad-hero);
  color: #FFFFFF;
  padding: var(--section-md) 0;
  text-align: center;
}
.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
}
.cta-banner .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}
.cta-banner .btn-accent {
  background: #FFFFFF;
  color: var(--gold-600);
  border-color: #FFFFFF;
}
.cta-banner .btn-accent:hover {
  background: var(--gold-50);
  color: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .cta-banner { text-align: left; }
  .cta-banner h2 { font-size: var(--fs-h2); }
}

.footer {
  background: var(--bg-light);
  color: var(--text-secondary);
  padding: var(--section-lg) 0 0;
  border-top: 1px solid var(--brand-300);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--block-lg);
  padding-bottom: var(--block-lg);
  border-bottom: 1px solid var(--border-light);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-desc {
  color: var(--text-tertiary);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  max-width: 320px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
}
.footer-col h4 {
  color: var(--text-primary);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--brand-700); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 9. Section Headers (varied patterns) ---------- */
/* Pattern A: centered kicker + h2 + lead */
.sec-header-a {
  text-align: center;
  max-width: var(--maxw-narrow);
  margin: 0 auto var(--block-lg);
}
.sec-header-a .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--brand-50);
  border-radius: var(--r-pill);
}
.sec-header-a h2 { margin-bottom: 16px; }
.sec-header-a .lead {
  font-size: var(--fs-xl);
  color: var(--text-tertiary);
  line-height: var(--lh-relaxed);
}

/* Pattern B: left-aligned h2 + right stat */
.sec-header-b {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--block-lg);
  flex-wrap: wrap;
  gap: var(--block-sm);
}
.sec-header-b .stat {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}
.sec-header-b .stat strong {
  color: var(--brand-700);
  font-weight: var(--fw-bold);
}

/* Pattern C: h2 + view-all link */
.sec-header-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--block-lg);
  flex-wrap: wrap;
  gap: var(--block-sm);
}

/* Pattern D: no header — content is the header */

/* ---------- 10. Kicker + Eyebrow ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--brand-50);
  border-radius: var(--r-pill);
}
.kicker-gold {
  color: var(--gold-600);
  background: var(--gold-50);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- 11. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.tag-blue {
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}
.tag-gold {
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
}
.tag-gray {
  background: var(--bg-pale);
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
}
.tag-white {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- 12. Cards (base + variants) ---------- */
/* Base card */
.card {
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
}

/* Product Card — top color bar */
.card-product {
  composes: card;
  position: relative;
}
.card-product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-700);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.card-product:hover::before { transform: scaleX(1); }
.card-product:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

/* Capability Card — number watermark */
.card-capability {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--t-base);
  overflow: hidden;
}
.card-capability::before {
  content: attr(data-index);
  position: absolute;
  top: 8px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: var(--fw-extrabold);
  color: var(--brand-50);
  line-height: 1;
}
.card-capability:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.card-capability:hover::before { color: var(--brand-100); }

/* Solution Card — accent bar */
.card-solution {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--t-base);
}
.card-solution-bar {
  height: 4px;
  transition: height var(--t-slow);
}
.card-solution:hover .card-solution-bar { height: 8px; }
.card-solution:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

/* Solution Matrix — modern 3-dimension cards */
.solution-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--block-md);
  align-items: stretch;
}
.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.solution-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.solution-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.solution-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--accent, var(--brand-700));
  display: grid;
  place-items: center;
  color: #FFFFFF;
  flex-shrink: 0;
}
.solution-icon svg {
  width: 22px;
  height: 22px;
}
.solution-card-head h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: var(--lh-tight);
}
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}
.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--brand-700));
}
.solution-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.solution-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: var(--gold-50);
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold-600);
}
.sm-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--gold-600);
  line-height: 1;
}
.sm-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

@media (max-width: 1080px) {
  .solution-matrix { grid-template-columns: 1fr; }
}

/* Case Card — restructured for clean hierarchy */
.card-case {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.card-case:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.case-code {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.card-case h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: var(--lh-tight);
}
.case-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.case-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.case-row-label {
  flex-shrink: 0;
  width: 52px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--r-sm);
  padding: 3px 0;
  text-align: center;
  margin-top: 1px;
}
.case-row-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* News Card — minimal */
.card-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
}
.card-news:hover {
  border-color: var(--border-strong);
}
.card-news:hover .card-news-title { color: var(--brand-700); }
.card-news-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  transition: color var(--t-fast);
  line-height: var(--lh-normal);
}

/* Stats Card — gold numbers */
.card-stat {
  text-align: center;
  padding: 28px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
}
.card-stat:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}
.card-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: var(--fw-extrabold);
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 8px;
}
.card-stat .stat-label {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

/* ---------- 13. Trust / Client Bar ---------- */
.trust-bar {
  background: var(--bg-light);
  padding: 32px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 60px);
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* ---------- 14. Feature List ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}
.feature-item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand-500);
}

/* ---------- 15. Tabs ---------- */
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: var(--block-md);
  padding: 4px;
  background: var(--bg-pale);
  border-radius: var(--r-md);
}
.tab-btn {
  padding: 10px 22px;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text-tertiary);
  border-radius: var(--r-sm);
  transition: all var(--t-base);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  background: #FFFFFF;
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- 16. Filter Bar ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--block-md);
}
.filter-btn {
  padding: 8px 20px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  transition: all var(--t-base);
}
.filter-btn:hover { color: var(--brand-700); border-color: var(--brand-300); }
.filter-btn.active {
  background: var(--brand-700);
  color: #FFFFFF;
  border-color: var(--brand-700);
}

/* ---------- 17. Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--brand-700);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--brand-100);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--brand-700);
}
.timeline-text {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- 18. Form ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-label .required { color: #DC2626; margin-left: 2px; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-md);
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(27, 79, 140, 0.08);
}
.form-input.error,
.form-textarea.error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06);
}
.form-error {
  font-size: var(--fs-xs);
  color: #DC2626;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: var(--brand-50);
  border-radius: var(--r-lg);
  color: var(--brand-700);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
}
.form-success.visible { display: block; }

/* ---------- 19. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--block-sm);
}
.breadcrumb a { color: var(--text-tertiary); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb .sep { color: var(--text-disabled); }

/* ---------- 20. Page Hero (sub-pages) ---------- */
.page-hero {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: var(--block-lg) 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 {
  color: var(--text-primary);
  font-size: var(--fs-h1);
  margin-bottom: 12px;
}
.page-hero .lead {
  color: var(--text-secondary);
  font-size: var(--fs-xl);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ---------- 21. Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--block-lg);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  border-radius: var(--r-md);
  color: var(--brand-700);
}
.contact-info-item h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.contact-info-item p {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

/* ---------- 22. Qualification Grid ---------- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.qual-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: all var(--t-fast);
}
.qual-item:hover {
  border-color: var(--brand-200);
  background: var(--brand-50);
}
.qual-item .qc {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  color: var(--brand-700);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
}

/* ---------- 23. Tech Architecture ---------- */
.arch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: var(--block-md) 0;
}
.arch-layer {
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.arch-layer.l1 { background: var(--brand-50);  color: var(--brand-700); font-weight: var(--fw-semibold); }
.arch-layer.l2 { background: var(--brand-100); color: var(--brand-700); font-weight: var(--fw-semibold); }
.arch-layer.l3 { background: var(--brand-200); color: var(--brand-800); font-weight: var(--fw-semibold); }
.arch-layer.l4 { background: var(--brand-700); color: #FFFFFF; font-weight: var(--fw-semibold); }

/* ---------- 24. Misc ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--block-lg); }
.mt-md { margin-top: var(--block-md); }
.mb-lg { margin-bottom: var(--block-lg); }
.mb-md { margin-bottom: var(--block-md); }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Divider */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--block-lg) 0;
}

/* Back to top */
.to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-base);
  z-index: 99;
  cursor: pointer;
  color: var(--text-secondary);
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}

/* ---------- 25. Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:nth-child(2)::after { display: none; }
  .case-body { grid-template-columns: 1fr; gap: 18px; }
  .acc-wrap { grid-template-columns: 1fr; }
  .value-band { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; font-size: var(--fs-sm); }
  .hamburger { display: flex; }
  .header-cta .btn-primary { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .case-head, .case-body { padding: 22px; }
  .cta-box { padding: 40px 24px; }
  .big-134 { font-size: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; gap: 12px; }
  .qual-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--section-sm) 0; }
}

/* ---------- 27. Scroll Progress Bar ---------- */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 2000;
  background: var(--grad-brand); width: 0%;
  transition: width 0.1s linear;
}

/* ---------- 28. Eyebrow with Gradient Lines (AgentOS-style) ---------- */
.eyebrow-grad {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--brand-700); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow-grad::before,
.eyebrow-grad::after {
  content: ''; width: 26px; height: 1.5px;
  background: var(--grad-brand); border-radius: 2px;
}
.eyebrow-grad.gold { color: var(--gold-600); }
.eyebrow-grad.gold::before,
.eyebrow-grad.gold::after { background: var(--grad-cta); }

/* ---------- 29. Gradient Text ---------- */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 30. Hero Badge (Live indicator) ---------- */
.badge-live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-white);
  font-size: var(--fs-xs); color: var(--text-tertiary);
  margin-bottom: 24px;
}
.badge-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
}

/* ---------- 31. Tech Tags (mono pill) ---------- */
.tech-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tech-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); color: var(--text-tertiary);
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--border-default);
  background: var(--bg-white);
}
.tech-tag strong {
  color: var(--brand-700); font-weight: var(--fw-bold);
}
/* dark variant for hero */
.tech-tags-dark .tech-tag {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}
.tech-tags-dark .tech-tag strong { color: var(--brand-300); }

/* ---------- 32. Dashboard Mockup (Hero visual) ---------- */
.dash-mock {
  position: relative; border-radius: var(--r-xl);
  background: #FFFFFF; border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.dash-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
}
.dash-bar .db-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-bar .db-dot.r { background: #F87171; }
.dash-bar .db-dot.y { background: #FBBF24; }
.dash-bar .db-dot.g { background: #34D399; }
.dash-bar .db-title {
  margin-left: 8px; font-family: var(--font-mono);
  font-size: var(--fs-xs); color: var(--text-tertiary);
}
.dash-body {
  display: grid; grid-template-columns: 140px 1fr; min-height: 300px;
}
.dash-side {
  background: var(--bg-light); border-right: 1px solid var(--border-light);
  padding: 14px 10px;
}
.dash-side-item {
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-xs); color: var(--text-tertiary);
  margin-bottom: 4px; transition: all var(--t-fast);
}
.dash-side-item.active {
  background: var(--brand-50); color: var(--brand-700);
  font-weight: var(--fw-bold); border: 1px solid var(--brand-200);
}
.dash-main { padding: 18px 20px; }
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 16px;
}
.dash-stat {
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  padding: 13px 14px; background: var(--bg-light);
}
.dash-stat .ds-num {
  display: block; font-family: var(--font-display);
  font-size: 20px; font-weight: var(--fw-extrabold);
  color: var(--brand-700); letter-spacing: -0.5px;
}
.dash-stat .ds-label {
  font-size: 11px; color: var(--text-tertiary);
}
.dash-list {
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  overflow: hidden;
}
.dash-row {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px;
  align-items: center; padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white); font-size: var(--fs-xs);
}
.dash-row:last-child { border-bottom: 0; }
.dash-row .dr-emp { font-weight: var(--fw-semibold); color: var(--text-primary); }
.dash-row .dr-dept { color: var(--text-tertiary); }
.pill-status {
  font-size: 10px; padding: 2px 10px; border-radius: var(--r-pill);
  font-weight: var(--fw-semibold);
}
.pill-status.ok {
  color: #16A34A; background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
}
.pill-status.info {
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-200);
}

/* ---------- 33. Stats Band (gradient numbers + citations) ---------- */
.stats-band {
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -15px; top: 18%; height: 64%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.stat-num-grad {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 850; letter-spacing: -1px;
  color: var(--brand-700); line-height: 1.2;
}
.stat-num-grad.gold { color: var(--gold-600); }
.stat-label { color: var(--text-primary); font-weight: var(--fw-semibold); font-size: 15px; margin-top: 8px; }
.stat-src { color: var(--text-tertiary); font-size: var(--fs-xs); margin-top: 2px; }

/* ---------- 34. Company Intro + Slogan ---------- */
.company-intro {
  max-width: 780px; margin: 0 auto 48px;
  text-align: center; font-size: 17px; color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}
.company-slogan {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: var(--fw-bold); letter-spacing: 3px;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-top: 18px;
}
.company-slogan::before,
.company-slogan::after {
  content: ''; width: 30px; height: 1.5px;
  background: var(--grad-brand); border-radius: 2px;
}

/* ---------- 35. Feature Card (soft bg accent) ---------- */
.feat-card {
  position: relative; padding: 36px 32px; overflow: hidden;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
}
.feat-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--brand-50); opacity: 0.6;
  transition: opacity var(--t-base);
}
.feat-card:hover::before { opacity: 1; background: var(--brand-100); }
.feat-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feat-card-top {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; position: relative;
}
.feat-card-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); border: 1.5px solid var(--brand-200);
}
.feat-card-icon svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 19px; font-weight: var(--fw-bold); color: var(--text-primary); }
.feat-card .fc-sub {
  display: block; font-size: var(--fs-sm); color: var(--brand-700);
  font-weight: var(--fw-semibold); margin-top: 2px;
}
.feat-card p {
  color: var(--text-tertiary); font-size: var(--fs-md);
  line-height: var(--lh-relaxed); position: relative;
}

/* ---------- 36. Architecture Panel (acc-wrap / level-row) ---------- */
.acc-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  align-items: stretch;
}
.acc-panel {
  padding: 32px; background: var(--bg-white);
  border: 1px solid var(--border-light); border-radius: var(--r-lg);
  transition: all var(--t-base);
}
.acc-panel h4 {
  font-size: 18px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-primary);
}
.acc-panel h4 .dot-accent {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--grad-brand); flex: none;
}
.big-134 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 850; letter-spacing: 2px;
  color: var(--brand-700); margin: 10px 0 12px;
}
.levels { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.level-row {
  display: grid; grid-template-columns: 108px 1fr; gap: 14px;
  align-items: center; padding: 13px 16px;
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  background: var(--bg-light);
  transition: all var(--t-fast);
}
.level-row:hover {
  border-color: var(--brand-200); background: var(--brand-50);
}
.level-row .lv {
  font-family: var(--font-mono); font-size: var(--fs-sm);
  font-weight: var(--fw-bold); color: var(--brand-700);
}
.level-row span { font-size: var(--fs-sm); color: var(--text-tertiary); }

.acc-list { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px;
  align-items: flex-start; padding: 15px 17px;
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  background: var(--bg-light);
  transition: all var(--t-fast);
}
.acc-item:hover {
  transform: translateX(4px); border-color: var(--brand-200);
  background: var(--bg-white);
}
.acc-item-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-50); border: 1.5px solid var(--brand-200);
}
.acc-item-icon svg { width: 19px; height: 19px; }
.acc-item b { display: block; font-size: var(--fs-md); margin-bottom: 2px; color: var(--text-primary); }
.acc-item span { font-size: var(--fs-sm); color: var(--text-tertiary); }

.cap-line {
  margin-top: 30px; text-align: center; font-size: var(--fs-md);
  color: var(--text-secondary);
  background: linear-gradient(120deg, var(--brand-50), var(--bg-light));
  border: 1.5px solid var(--brand-200); border-radius: var(--r-lg);
  padding: 22px 28px;
}
.cap-line strong { color: var(--brand-700); }

/* ---------- 37. Case Card (three-column layout) ---------- */
.case-box {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 22px; transition: all var(--t-base);
}
.case-box:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.case-head {
  padding: 28px 34px 20px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(120deg, var(--brand-50), var(--bg-light));
}
.case-head .cc-tag {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  font-weight: var(--fw-bold); color: var(--brand-700);
  letter-spacing: 2px; margin-bottom: 6px;
}
.case-head h3 { font-size: 22px; margin-bottom: 6px; }
.case-head p { color: var(--text-tertiary); font-size: var(--fs-md); }
.case-body {
  padding: 28px 34px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-col .cc-title {
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  color: var(--text-primary); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.case-col .cc-title .cc-dot {
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--grad-brand); display: inline-block;
}
.case-col ul { list-style: none; }
.case-col li {
  color: var(--text-tertiary); font-size: var(--fs-sm);
  padding-left: 16px; position: relative; margin-bottom: 7px;
  line-height: var(--lh-relaxed);
}
.case-col li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--brand-500); font-size: 12px;
}

/* ---------- 38. Value Band (top-line accent) ---------- */
.value-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.value-item {
  text-align: center; padding: 36px 24px; position: relative;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--t-base);
}
.value-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.value-item::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: var(--grad-brand); border-radius: 0 0 2px 2px;
}
.value-item .vn {
  font-size: 18px; font-weight: var(--fw-extrabold);
  color: var(--text-primary); margin-bottom: 10px;
}
.value-item .vn .vn-hl {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.value-item p { color: var(--text-tertiary); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

/* ---------- 39. CTA Box ---------- */
.cta-box {
  position: relative; border-radius: var(--r-xl);
  padding: 64px 48px; text-align: center;
  background: var(--brand-50); color: var(--text-primary);
  border: 1px solid var(--brand-200);
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 260px at 50% -25%, rgba(27,79,140,0.08), transparent 70%),
    radial-gradient(420px 220px at 90% 120%, rgba(194,136,38,0.06), transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 {
  color: var(--brand-800); font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold); letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-box p {
  color: var(--text-secondary); max-width: 540px;
  margin: 0 auto 30px; font-size: var(--fs-xl);
}
.cta-box .btn-primary {
  box-shadow: 0 8px 24px rgba(27,79,140,0.18);
}

/* ---------- 39b. 资质实力带（替代市场数据条） ---------- */
.qual-strip {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}
.qual-strip .qual-head {
  text-align: center; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: var(--fs-sm);
  font-weight: var(--fw-semibold); color: var(--brand-700);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.qual-strip .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.qual-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: #FFFFFF; border: 1px solid var(--border-light);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-primary);
  transition: all var(--t-fast);
}
.qual-chip:hover { border-color: var(--brand-300); background: var(--brand-50); transform: translateY(-1px); }
.qual-chip::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-600); flex-shrink: 0;
}
.qual-chip.gold::before { background: var(--gold-600); }

/* ---------- 39c. 产品与业务矩阵（首页） ---------- */
.product-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); gap: 18px; }
.pm-card {
  position: relative; padding: 28px 24px; border-radius: var(--r-md);
  background: #FFFFFF; border: 1px solid var(--border-light);
  transition: all var(--t-base); overflow: hidden;
}
.pm-card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.pm-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.pm-card:hover::after { transform: scaleX(1); }
.pm-card.flag { background: var(--brand-50); border-color: var(--brand-200); }
.pm-card .pm-tag {
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand-600);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.pm-card h3 { font-size: 18px; margin: 10px 0 8px; color: var(--text-primary); }
.pm-card p { font-size: var(--fs-sm); color: var(--text-tertiary); line-height: var(--lh-relaxed); }
.pm-card .pm-flag {
  display: inline-block; margin-top: 14px; font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  color: var(--brand-700); background: #FFFFFF; border: 1px solid var(--brand-200);
  padding: 3px 10px; border-radius: var(--r-pill);
}
@media (max-width: 768px) { .qual-strip { padding: 32px 0; } }

/* ---------- 40. Marquee / Tech Scroller ---------- */
.marquee {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light); overflow: hidden; position: relative;
  -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: 40px; width: max-content;
  padding: 16px 0; animation: marquee-scroll 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono); font-size: var(--fs-sm);
  color: var(--text-tertiary); white-space: nowrap;
}
.marquee-track span::before {
  content: '◆ '; color: var(--brand-500); font-size: 10px; vertical-align: 2px;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- 41. Icon Circle ---------- */
.icon-circle {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; flex: none;
  background: var(--brand-50); border: 1.5px solid var(--brand-200);
  margin-bottom: 18px;
}
.icon-circle svg { width: 24px; height: 24px; }

/* ---------- 42. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Product Detail Pages (DO-DIA / DO-DAMP / DO-DataLens / DO-IoTAP) ===== */
.pd-code {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  border: 1px solid var(--brand-200); margin-bottom: 16px;
}
.card-capability h3 { font-size: 18px; margin: 0 0 10px; color: var(--text-primary); }
.card-capability p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.pd-card { padding: 26px 26px; }
.pd-card h4 { font-size: 17px; margin: 0 0 12px; color: var(--text-primary); }
.pd-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.pd-card ul { list-style: none; margin: 0; padding: 0; }
.pd-card ul li {
  position: relative; padding-left: 18px; margin-bottom: 9px;
  font-size: 14px; line-height: 1.65; color: var(--text-secondary);
}
.pd-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400);
}
.pd-case { padding: 26px 26px; }
.pd-case .pd-case-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: #C28826;
  background: #FBF4E6; border-radius: 6px; padding: 3px 10px; margin-bottom: 12px;
}
.pd-case h4 { font-size: 17px; margin: 0 0 10px; color: var(--text-primary); }
.pd-case p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.pd-note {
  margin-top: 22px; padding: 16px 20px; border-radius: var(--r-md);
  background: var(--brand-50); border: 1px solid var(--brand-200);
  font-size: 14px; line-height: 1.7; color: var(--text-secondary);
}
.pd-note b { color: var(--text-primary); }
.tab-panel { padding-top: 6px; }
