/**
 * Sight Data Website - Purple Theme (Kiro IDE inspired)
 *
 * Color System:
 * Primary:    #7B61FF (Vivid purple)
 * Secondary:  #6366F1 (Indigo)
 * Accent:     #A78BFA (Light purple)
 * Dark:       #1E1B4B (Deep indigo)
 * Surface:    #F5F3FF (Light purple tint)
 */

/* ==================== CSS Variables ==================== */
:root {
  --primary: #7B61FF;
  --primary-dark: #6347E6;
  --primary-light: #9B85FF;
  --primary-bg: #F5F3FF;
  --primary-bg-hover: #EDE9FE;

  --secondary: #6366F1;
  --accent: #A78BFA;
  --accent-light: #C4B5FD;

  --dark: #1E1B4B;
  --dark-800: #2E2A5E;
  --dark-700: #3E3A6E;

  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-purple: 0 4px 14px rgba(123,97,255,0.25);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --header-height: 64px;
  --sidebar-width: 260px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

code {
  font-family: var(--font-mono);
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123,97,255,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-icon:hover {
  background: var(--primary-bg);
  color: var(--primary);
}
.btn-icon.btn-danger:hover {
  background: #FEF2F2;
  color: var(--danger);
}

/* ==================== Header ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-cn { display: none; }
.logo-sep {
  width: 1px;
  height: 16px;
  background: rgba(123,97,255,0.25);
  flex-shrink: 0;
}
.logo-slogan {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #7B61FF, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  line-height: 1;
}
.logo-slogan-svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
  /* 文字到达后字体加载能平滑过渡 */
  font-display: swap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--gray-600);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-link.active {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 8px 24px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 12px 0;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
}
@media (max-width: 480px) {
  .logo-sep, .logo-slogan-svg { display: none; }
}

/* ==================== Main Content ==================== */
main {
  padding-top: var(--header-height);
  min-height: calc(100vh - 200px);
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #2D2666 50%, #3B2D7B 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,97,255,0.3) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.4; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--accent-light);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #E0CCFF, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-light);
}
.stat-label {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* ==================== Sections ==================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: -4px;
  margin-bottom: 0;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
}

/* ==================== Features Grid ==================== */
.features-section {
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ==================== Workflow Steps ==================== */
.workflow-steps {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.workflow-step {
  flex: 1;
  text-align: center;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .workflow-steps { flex-direction: column; gap: 24px; }
}

/* ==================== CTA Section ==================== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--dark) 0%, #2D2666 50%, #3B2D7B 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  color: #fff;
}

.cta-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 32px;
}

.footer-slogan-cta {
  font-size: 17px;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  opacity: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ==================== Product Page ==================== */

/* -- Shared badge pill used on product page sections -- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

/* ── Hero ─────────────────────────────────────────── */
.pd-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(135deg, var(--dark) 0%, #2D2666 60%, #1a1a3e 100%);
  color: #fff;
}
.pd-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pd-hero-left { z-index: 1; position: relative; }
.pd-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 12px 0 6px;
}
.pd-hero-cn {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.pd-hero-tagline {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: 0.04em;
}
.pd-hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 440px;
  margin-bottom: 28px;
}
.pd-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  flex-wrap: wrap;
}
.pd-hero-right { z-index: 1; position: relative; }

/* ── Designer Mockup (hero right) ─────────────────── */
.pd-designer-mockup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  overflow: hidden;
  font-size: 12px;
}
.pdm-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #1e1b4b;
  color: #fff;
}
.pdm-dots { display: flex; gap: 5px; }
.pdm-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #64748b;
}
.pdm-dots span:nth-child(1) { background: #ef4444; }
.pdm-dots span:nth-child(2) { background: #f59e0b; }
.pdm-dots span:nth-child(3) { background: #22c55e; }
.pdm-title { flex: 1; text-align: center; font-size: 11px; color: rgba(255,255,255,0.6); }
.pdm-btns { display: flex; gap: 6px; }
.pdm-btn-pill {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}
.pdm-btn-primary { background: var(--primary); color: #fff; }

.pdm-body { display: flex; }

.pdm-sidebar {
  width: 68px;
  background: #f8f8fc;
  border-right: 1px solid #e5e7eb;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pdm-side-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  font-size: 10px;
  color: #94a3b8;
  cursor: default;
  border-radius: 6px;
  margin: 0 4px;
}
.pdm-side-item.active { background: var(--primary-bg); color: var(--primary); }

.pdm-canvas { flex: 1; overflow: hidden; }
.pdm-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.pdm-tool {
  padding: 2px 6px;
  border-radius: 4px;
  color: #475569;
  cursor: default;
  font-size: 11px;
  line-height: 1.6;
}
.pdm-tool:hover { background: #e5e7eb; }
.pdm-tool-active { background: var(--primary-bg); color: var(--primary); }
.pdm-tool-sep { width: 1px; height: 14px; background: #e5e7eb; margin: 0 2px; }

.pdm-grid { padding: 4px; }
.pdm-col-header {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 1px;
}
.pdm-col-header span {
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 2px 0;
  border-radius: 2px;
}
.pdm-row {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 1px;
}
.pdm-rh {
  font-size: 10px;
  color: #94a3b8;
  background: #f1f5f9;
  text-align: center;
  padding: 4px 0;
  border-radius: 2px;
}
.pdm-cell {
  font-size: 10px;
  padding: 4px 5px;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #fff;
  color: #374151;
  overflow: hidden;
  white-space: nowrap;
}
.pdm-cell-title {
  grid-column: span 5;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  background: #1e1b4b;
  color: #fff;
  border-color: #1e1b4b;
}
.pdm-cell-h { background: #ede9fe; color: #4c1d95; font-weight: 600; border-color: #ddd6fe; }
.pdm-cell-tag { background: #fef9c3; color: #854d0e; font-style: italic; border-color: #fde68a; }
.pdm-cell-formula { background: #f0fdf4; color: #166534; font-style: italic; border-color: #bbf7d0; }
.pdm-cell-bold { font-weight: 700; }
.pdm-cell-sum { background: #f0fdf4; color: #166534; font-weight: 600; border-color: #bbf7d0; }
.pdm-row-sum .pdm-rh { background: #dcfce7; }

.pdm-statusbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #f1f5f9;
  border-top: 1px solid #e5e7eb;
  font-size: 10px;
  color: #64748b;
}
.pdm-status-sep { color: #cbd5e1; }
.pdm-status-ai { color: #7c3aed; font-weight: 500; display: flex; align-items: center; gap: 3px; }

/* ── Stats Strip ───────────────────────────────────── */
.pd-stats-strip {
  background: #fff;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}
.pd-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.pd-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.pd-stat-div {
  width: 1px;
  height: 40px;
  background: var(--gray-100);
}
.pd-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pd-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ── Feature Grid (6 cards) ────────────────────────── */
.pd-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-fg-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pd-fg-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(123,97,255,0.1);
  transform: translateY(-2px);
}
.pd-fg-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pd-fg-card h3 { font-size: 16px; font-weight: 650; color: var(--dark); margin-bottom: 8px; }
.pd-fg-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }

/* ── Feature Deep Dive Row ─────────────────────────── */
.pd-fdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pd-fdr-reverse { direction: rtl; }
.pd-fdr-reverse > * { direction: ltr; }

.pd-fdr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.pd-fdr-text h2 {
  font-size: 32px;
  font-weight: 750;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.pd-fdr-text > p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
}
.pd-fdr-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-fdr-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

/* ── Report Preview Mockup ─────────────────────────── */
.pd-report-preview {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.prp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--dark);
  color: #fff;
}
.prp-title { font-size: 13px; font-weight: 600; }
.prp-actions { display: flex; gap: 6px; }
.prp-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.prp-badge-g { background: rgba(16,185,129,0.25); color: #34d399; }

.prp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.prp-table th {
  background: #f8f9fa;
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
}
.prp-table td { padding: 7px 12px; border-bottom: 1px solid #f1f5f9; color: #374151; }
.prp-group-row { background: #f8f7ff; }
.prp-group-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.prp-child td { font-size: 11.5px; color: #64748b; }
.prp-table th:first-child,
.prp-table td:first-child { white-space: nowrap; }
.prp-indent { width: 20px; }
.prp-num { text-align: right; font-variant-numeric: tabular-nums; }
.prp-sub { font-weight: 600; color: var(--dark) !important; }
.prp-up { color: #059669; font-weight: 500; }
.prp-dn { color: #dc2626; font-weight: 500; }
.prp-footer-row { background: #ede9fe; }
.prp-footer-row td { border-top: 2px solid var(--primary-light); }
.prp-expand-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--primary-bg);
  font-size: 11px;
  color: var(--primary);
  border-top: 1px solid var(--accent-light);
}

/* ── Data Source Mockup ────────────────────────────── */
.pd-ds-mockup {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  font-size: 13px;
}
.pdsm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.pdsm-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.pdsm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  cursor: default;
  transition: border-color 0.15s, background 0.15s;
}
.pdsm-active { border-color: var(--primary-light) !important; background: var(--primary-bg); }
.pdsm-db-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pdsm-info { flex: 1; min-width: 0; }
.pdsm-name { display: block; font-weight: 550; color: var(--dark); font-size: 12.5px; }
.pdsm-host { display: block; font-size: 10.5px; color: var(--gray-500); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdsm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pdsm-online { background: #22c55e; box-shadow: 0 0 0 2px #dcfce7; }
.pdsm-offline { background: #94a3b8; }
.pdsm-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  margin: 4px 8px 0;
  border: 1.5px dashed var(--primary-light);
  border-radius: 8px;
  color: var(--primary);
  font-size: 12px;
  cursor: default;
}
.pdsm-plugin-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  color: var(--gray-500);
  font-size: 11px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
}

/* ── AI Mockup ─────────────────────────────────────── */
.pd-ai-mockup {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  font-size: 13px;
}
.paim-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(90deg, #fff7ed 0%, #fff 100%);
}
.paim-model-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  background: #fff7ed;
  color: #EA580C;
  border: 1px solid #fed7aa;
}
.paim-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.paim-user-msg {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 16px 16px 4px 16px;
  font-size: 12.5px;
  max-width: 85%;
}
.paim-ai-reply { display: flex; gap: 8px; align-items: flex-start; }
.paim-ai-avatar {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.paim-ai-content {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 4px 16px 16px 16px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paim-section-title { font-size: 12px; font-weight: 600; color: var(--dark); }
.paim-bars { display: flex; flex-direction: column; gap: 5px; }
.paim-bar-row {
  display: grid;
  grid-template-columns: 44px 1fr 46px;
  align-items: center;
  gap: 6px;
}
.paim-bar-label { font-size: 11px; color: var(--gray-600); white-space: nowrap; }
.paim-bar-track { height: 6px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.paim-bar-fill { height: 100%; border-radius: 99px; }
.paim-bar-val { font-size: 11px; font-weight: 600; text-align: right; white-space: nowrap; }
.paim-bar-val.up { color: #059669; }
.paim-bar-val.dn { color: #dc2626; }
.paim-alert {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11.5px;
  color: #78350f;
  line-height: 1.5;
}
.paim-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  background: var(--primary-bg);
  border: 1px solid var(--accent-light);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11.5px;
  color: var(--primary-dark);
  line-height: 1.5;
}
.paim-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.paim-input-placeholder {
  flex: 1;
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.paim-send-btn {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
  flex-shrink: 0;
}

/* ── AI Generate Mockup ────────────────────────────── */
.pd-aigen-mockup {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  font-size: 12.5px;
}
.paig-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1e1b4b 0%, #2563EB 100%);
  color: #fff;
}
.paig-ai-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.paig-header-titles { display: flex; flex-direction: column; gap: 1px; }
.paig-header-title { font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1; }
.paig-header-sub { font-size: 10px; color: rgba(255,255,255,0.6); }
.paig-header-acts { display: flex; gap: 5px; margin-left: auto; }
.paig-act-btn {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: default;
}
.paig-tabbar {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
  background: #fafafa;
  padding: 0 14px;
  gap: 0;
}
.paig-tab {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: default;
  margin-bottom: -1px;
}
.paig-tab-active {
  color: #2563EB;
  border-bottom-color: #2563EB;
  font-weight: 600;
}
.paig-form {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow: hidden;
}
.paig-field { display: flex; flex-direction: column; gap: 3px; }
.paig-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 4px;
}
.paig-optional {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 1px 5px;
  border-radius: 3px;
}
.paig-type-btns {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.paig-type-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  cursor: default;
}
.paig-type-active {
  border-color: #2563EB;
  background: #eff6ff;
  color: #2563EB;
  font-weight: 600;
}
.paig-code-input {
  background: #1e1b4b;
  color: #a5b4fc;
  font-size: 10.5px;
  font-family: 'Consolas', monospace;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.55;
}
.paig-desc-input {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10.5px;
  color: var(--gray-600);
  line-height: 1.6;
}
.paig-two-col {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}
.paig-text-input {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10.5px;
  color: var(--gray-400);
}
.paig-dir-btns { display: flex; gap: 4px; }
.paig-dir {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  cursor: default;
  white-space: nowrap;
}
.paig-dir-active { border-color: #2563EB; color: #2563EB; background: #eff6ff; font-weight: 600; }
.paig-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.paig-color {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  cursor: default;
}
.paig-color-active {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, #fff);
  color: var(--c);
  font-weight: 600;
}
.paig-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.paig-color-add {
  color: var(--gray-400);
  border-style: dashed;
}
.paig-chips {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.paig-chips-wrap { flex-wrap: wrap; }
.paig-chip {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  cursor: default;
  white-space: nowrap;
}
.paig-chip-on {
  border-color: var(--primary-light);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}
.paig-chip-h {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #EA580C;
  font-weight: 600;
}
.paig-chip-add {
  border-color: var(--gray-200);
  border-style: dashed;
  color: var(--gray-400);
}
.paig-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10.5px;
  color: var(--gray-500);
  line-height: 1.6;
  font-style: italic;
}
.paig-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--gray-100);
  background: #fafafa;
}
.paig-gen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px;
  background: linear-gradient(135deg, #2563EB, #7B61FF);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: default;
  letter-spacing: 0.02em;
}

/* ── Print Plugin Mockup ───────────────────────────── */
.pdp-mockup {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  font-size: 12.5px;
}
.pdp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  color: #fff;
}
.pdp-header-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pdp-header-title { font-size: 12.5px; font-weight: 700; color: #fff; }
.pdp-mode-tabs {
  display: flex;
  gap: 3px;
  margin-left: auto;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  padding: 2px;
}
.pdp-tab {
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  cursor: default;
}
.pdp-tab-active {
  background: rgba(255,255,255,0.95);
  color: #1e40af;
  font-weight: 700;
}
.pdp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  font-size: 11px;
}
.pdp-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  flex-shrink: 0;
}
.pdp-status-text { color: #15803d; }
.pdp-status-addr {
  margin-left: 4px;
  padding: 1px 6px;
  background: #dcfce7;
  border-radius: 3px;
  font-family: 'Consolas', monospace;
  font-size: 10px;
  color: #166534;
}
.pdp-status-ver {
  margin-left: auto;
  font-size: 10px;
  color: #86efac;
  background: #166534;
  padding: 1px 6px;
  border-radius: 3px;
}
.pdp-form {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-field { display: flex; flex-direction: column; gap: 3px; }
.pdp-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-700);
}
.pdp-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 11px;
  color: var(--gray-700);
}
.pdp-radio-row { display: flex; gap: 10px; }
.pdp-radio {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray-600);
  cursor: default;
}
.pdp-radio-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  background: #2563EB;
  box-shadow: inset 0 0 0 2px #fff;
  flex-shrink: 0;
}
.pdp-radio-dot-off {
  background: transparent;
  border-color: var(--gray-300);
  box-shadow: none;
}
.pdp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pdp-counter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.pdp-cnt-btn {
  padding: 3px 10px;
  background: var(--gray-50);
  font-size: 14px;
  color: var(--gray-500);
  cursor: default;
  border-right: 1px solid var(--gray-200);
}
.pdp-cnt-btn:last-child { border-right: none; border-left: 1px solid var(--gray-200); }
.pdp-cnt-val {
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.pdp-dir-row { display: flex; gap: 4px; }
.pdp-dir {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  cursor: default;
  white-space: nowrap;
}
.pdp-dir-active { border-color: #2563EB; color: #2563EB; background: #eff6ff; font-weight: 600; }
.pdp-queue {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 6px 8px;
}
.pdp-queue-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px;
  border-radius: 4px;
  font-size: 10.5px;
  color: var(--gray-600);
}
.pdp-queue-done { background: #f0fdf4; color: #166534; }
.pdp-queue-ing { background: #eff6ff; color: #1d4ed8; }
.pdp-queue-wait { color: var(--gray-400); }
.pdp-q-size, .pdp-q-wait {
  margin-left: auto;
  font-size: 10px;
  color: var(--gray-400);
}
.pdp-q-prog {
  margin-left: auto;
  font-size: 10px;
  color: #2563EB;
  font-weight: 600;
}
.pdp-footer {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--gray-100);
  background: #fafafa;
}
.pdp-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  border: none;
}
.pdp-btn-primary {
  background: linear-gradient(135deg, #1e40af, #2563EB);
  color: #fff;
  flex: 1;
  justify-content: center;
}
.pdp-btn-ghost {
  background: #fff;
  border: 1px solid var(--gray-200) !important;
  color: var(--gray-600);
}

/* ── Use Cases ─────────────────────────────────────── */
.pd-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-usecase-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pd-usecase-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pd-uc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pd-usecase-card h3 { font-size: 17px; font-weight: 650; color: var(--dark); margin-bottom: 10px; }
.pd-usecase-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; margin-bottom: 14px; }
.pd-uc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-uc-tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 500;
}

/* ── Tech Specs ────────────────────────────────────── */
.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-spec-group {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pd-sg-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.pd-sg-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-sg-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}
.pd-sl-label { color: var(--gray-500); white-space: nowrap; flex-shrink: 0; }
.pd-sl-val { color: var(--dark); font-weight: 500; text-align: right; }

/* Comparison Table */
.comparison-section { background: var(--gray-50); }
.comparison-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th, .comparison-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}
.comparison-table thead th {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.comparison-table thead th.highlight { background: var(--primary); }
.comparison-table td.highlight { color: var(--primary); font-weight: 600; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .pd-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .pd-hero-title { font-size: 38px; }
  .pd-designer-mockup { display: none; }
  .pd-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-fdr, .pd-fdr-reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .pd-usecase-grid { grid-template-columns: 1fr; }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-stats-grid { flex-wrap: wrap; }
  .pd-stat { min-width: 110px; }
}
@media (max-width: 640px) {
  .pd-feature-grid { grid-template-columns: 1fr; }
  .pd-fdr-text h2 { font-size: 24px; }
}

/* ==================== Docs Page ==================== */
/* ── Docs Shell (full-height two-panel layout) ──────────── */
body:has(.docs-shell) {
  overflow: hidden;
}
.docs-shell {
  display: flex;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
}

/* ── Left tree sidebar ────── */
.docs-tree {
  width: 256px;
  min-width: 256px;
  border-right: 1px solid var(--gray-200);
  background: #f8f9fc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.docs-tree-head {
  padding: 12px 12px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.docs-tree-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 700;
}
.docs-tree-logo:hover { color: var(--primary); }
.docs-tree-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: text;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
/* .docs-tree-search:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
} */
.docs-tree-search > i { color: var(--gray-400); flex-shrink: 0; transition: color 0.15s; }
.docs-tree-search:focus-within > i { color: var(--primary); }
.docs-tree-search-input,
.docs-tree-search input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--gray-700);
}
.docs-tree-search-input::placeholder,
.docs-tree-search input::placeholder { color: var(--gray-400); }
.docs-tree-search kbd {
  flex-shrink: 0;
  font-size: 10px;
  padding: 1px 5px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  color: var(--gray-400);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.docs-tree-search:focus-within kbd { display: none; }

/* 产品切换 Tab（侧边栏顶部） */
.docs-product-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px 6px;
  position: sticky;
  top: 0;
  background: #f8f9fc;
  z-index: 2;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.docs-prod-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.docs-prod-tab:hover { border-color: var(--primary); color: var(--primary); }
.docs-prod-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.docs-prod-tab svg { flex-shrink: 0; }

.docs-tree-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0 40px;
}
.docs-tree-body::-webkit-scrollbar { width: 4px; }
.docs-tree-body::-webkit-scrollbar-track { background: transparent; }
.docs-tree-body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* Tree group (category) */
.tree-group-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px 7px 10px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
  transition: background 0.12s;
}
.tree-group-header:hover { background: var(--gray-100); }
.tree-group-header > i { flex-shrink: 0; }
.tree-chevron {
  color: var(--gray-400);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.tree-group.open .tree-chevron { transform: rotate(90deg); }
.tree-folder-icon { color: var(--gray-500); }
.tree-count {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--gray-400);
  background: var(--gray-200);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 400;
}
.tree-children {
  list-style: none;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.tree-group.open .tree-children { max-height: 4000px; }
.tree-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 12px 5px 28px;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  line-height: 1.45;
  border-left: 2px solid transparent;
  transition: background 0.1s, color 0.1s;
  position: relative;
}
.tree-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  margin-right: 8px;
  transition: background 0.1s, transform 0.1s;
}
.tree-item:hover { background: #eef2ff; color: var(--primary); }
.tree-item:hover::before { background: var(--primary-light); }
.tree-item-active {
  background: #ede9ff;
  color: var(--primary);
  font-weight: 500;
  border-left-color: var(--primary);
}
.tree-item-active::before {
  background: var(--primary);
  transform: scale(1.3);
}
.tree-empty {
  padding: 4px 12px 4px 30px;
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}
.tree-section {
  padding: 4px 0 2px;
}
.tree-section-label {
  padding: 8px 14px 4px 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  user-select: none;
}
.tree-section-docs {
  list-style: none;
  padding: 0;
}
.tree-subgroup-li {
  list-style: none;
}
.tree-folder-icon { display: none; }
/* ── Right main area ────── */
.docs-main {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  background: #fff;
}
.docs-main::-webkit-scrollbar { width: 6px; }
.docs-main::-webkit-scrollbar-track { background: transparent; }
.docs-main::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* Docs overview page (index) */
.docs-overview-body {
  padding: 0 36px 56px;
  max-width: 1060px;
}
.docs-welcome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #7B61FF 0%, #6C5CE7 40%, #8B7BF7 100%);
  border-radius: 16px;
  padding: 32px 32px;
  margin-bottom: 28px;
  overflow: hidden;
  border: none;
}
.docs-welcome::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.docs-welcome::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.docs-welcome-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.docs-welcome-text { position: relative; z-index: 1; }
.docs-welcome-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.docs-welcome-text p {
  color: rgba(255,255,255,0.8);
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.6;
}
.docs-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.docs-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gray-200), transparent);
}
.docs-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  max-width: 520px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.docs-search-bar:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(123,97,255,0.1);
}
.docs-search-bar i { color: var(--gray-400); flex-shrink: 0; }
.docs-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--gray-700);
  background: transparent;
}
.docs-search-bar input::placeholder { color: var(--gray-400); }
.docs-search-bar kbd {
  font-size: 11px;
  color: var(--gray-400);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: inherit;
  white-space: nowrap;
}
.docs-search-results {
  margin-bottom: 24px;
}
.docs-main {
  padding-top: 0;
}
.docs-main > .docs-search-results {
  padding: 20px 36px 24px;
  max-width: 860px;
  margin-bottom: 0;
}
.docs-search-count {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.docs-search-count::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.docs-search-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-search-list li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  background: var(--gray-50, #f9f9fb);
  border-radius: 10px;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.docs-search-list li a:hover {
  background: #f0edff;
  border-left-color: var(--primary);
}
.dsr-body { flex: 1; min-width: 0; }
.dsr-title { font-size: 14px; font-weight: 600; color: var(--dark); }
.dsr-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.dsr-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary);
  background: #ede9ff;
  padding: 1px 8px;
  border-radius: 20px;
}
.dsr-snippet {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 5px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dsr-arrow {
  color: var(--gray-300);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.15s, transform 0.15s;
}
.docs-search-list li a:hover .dsr-arrow {
  color: var(--primary);
  transform: translateX(2px);
}
.docs-search-empty { text-align: center; padding: 48px 0 32px; color: var(--gray-400); }
.docs-search-empty p { margin-top: 8px; font-size: 14px; }
.docs-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.docs-cat-card {
  --card-accent: var(--primary);
  --card-accent-bg: #F5F3FF;
  --card-accent-bg2: #EDE9FE;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.docs-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.docs-cat-card:hover {
  border-color: var(--card-accent-bg2);
  box-shadow: 0 8px 30px -8px rgba(123,97,255,0.12);
  transform: translateY(-3px);
}
.docs-cat-card:hover::before { opacity: 1; }

/* Per-card accent colors */
.docs-cat-card:nth-child(1)  { --card-accent: #7B61FF; --card-accent-bg: #F5F3FF; --card-accent-bg2: #EDE9FE; }
.docs-cat-card:nth-child(2)  { --card-accent: #2563EB; --card-accent-bg: #EFF6FF; --card-accent-bg2: #DBEAFE; }
.docs-cat-card:nth-child(3)  { --card-accent: #059669; --card-accent-bg: #ECFDF5; --card-accent-bg2: #D1FAE5; }
.docs-cat-card:nth-child(4)  { --card-accent: #EA580C; --card-accent-bg: #FFF7ED; --card-accent-bg2: #FFEDD5; }
.docs-cat-card:nth-child(5)  { --card-accent: #7C3AED; --card-accent-bg: #F5F3FF; --card-accent-bg2: #EDE9FE; }
.docs-cat-card:nth-child(6)  { --card-accent: #0891B2; --card-accent-bg: #ECFEFF; --card-accent-bg2: #CFFAFE; }
.docs-cat-card:nth-child(7)  { --card-accent: #DC2626; --card-accent-bg: #FEF2F2; --card-accent-bg2: #FEE2E2; }
.docs-cat-card:nth-child(8)  { --card-accent: #CA8A04; --card-accent-bg: #FEFCE8; --card-accent-bg2: #FEF9C3; }

.docs-cat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.docs-cat-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--card-accent-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--card-accent);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.docs-cat-card:hover .docs-cat-card-icon {
  background: var(--card-accent-bg2);
  transform: scale(1.05);
}
.docs-cat-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.docs-cat-card-desc {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 2px;
  line-height: 1.5;
}
.docs-cat-card-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
}
.docs-cat-card-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.docs-cat-card-links li a i,
.docs-cat-card-links li a svg { color: var(--gray-400); transition: color 0.15s; }
.docs-cat-card-links li a:hover {
  color: var(--card-accent);
  background: var(--card-accent-bg);
  padding-left: 12px;
}
.docs-cat-card-links li a:hover i,
.docs-cat-card-links li a:hover svg { color: var(--card-accent); }
.docs-cat-more a {
  color: var(--card-accent) !important;
  font-weight: 600;
  font-size: 12.5px;
}
.docs-cat-empty {
  font-size: 12.5px;
  color: var(--gray-400);
  font-style: italic;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}

/* Article page */
.docs-article-body {
  padding: 24px 44px 64px;
  max-width: 900px;
}
.docs-article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.docs-article-breadcrumb a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-500);
  text-decoration: none;
}
.docs-article-breadcrumb a:hover { color: var(--primary); }
.docs-article-breadcrumb span { color: var(--gray-300); }
.docs-article-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.docs-article-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}
.docs-article-meta i { width: 12px; height: 12px; }
.docs-article-summary {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}
.doc-nav-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.doc-nav-prev, .doc-nav-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13px;
  max-width: 46%;
  transition: all 0.15s;
}
.doc-nav-prev:hover, .doc-nav-next:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-bg);
}
.doc-nav-prev small, .doc-nav-next small {
  display: block;
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.doc-nav-next { margin-left: auto; }
.doc-nav-next span { text-align: right; }
.rich-content {
  line-height: 1.8;
  color: var(--gray-700);
}
.rich-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin: 20px 0 10px;
  padding-top: 6px;
}
.rich-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
}
.rich-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 8px;
}
.rich-content p {
  margin-bottom: 16px;
}
.rich-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 16px 0;
}
.rich-content pre {
  background: #f6f8fa;
  color: #24292f;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--primary-light);
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
}
.rich-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  background: var(--primary-bg);
  margin: 16px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.rich-content table th, .rich-content table td {
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  font-size: 14px;
}
.rich-content table th {
  background: var(--gray-50);
  font-weight: 600;
}
.rich-content ul, .rich-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.rich-content li {
  margin-bottom: 6px;
}

/* Doc Navigation */
.doc-nav-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.doc-nav-prev, .doc-nav-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  transition: all 0.2s;
  text-decoration: none;
}
.doc-nav-prev:hover, .doc-nav-next:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.doc-nav-next {
  text-align: right;
  justify-content: flex-end;
}
.doc-nav-prev span, .doc-nav-next span {
  display: flex;
  flex-direction: column;
}
.doc-nav-prev small, .doc-nav-next small {
  font-size: 12px;
  color: var(--gray-400);
}

.doc-meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .docs-article-page .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar {
    position: fixed;
    top: var(--header-height);
    left: -280px;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: #fff;
    z-index: 999;
    padding: 20px;
    transition: left 0.3s;
    box-shadow: var(--shadow-xl);
  }
  .docs-sidebar.open { left: 0; }
  .sidebar-close { display: block; }
  .sidebar-toggle { display: block; }
}

/* ==================== Downloads Page ==================== */
/* ── Downloads Page ───────────────────────────────── */
.downloads-page { background: var(--gray-50); }

/* ---- Hero ---- */
.dl-hero {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
  padding: 52px 0 48px;
  margin-bottom: 0;
  overflow: hidden;
}
.dl-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  pointer-events: none;
}
.dl-hero::after {
  content: '';
  position: absolute;
  bottom: -50px; left: 15%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(139,92,246,0.1);
  pointer-events: none;
}
.dl-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dl-hero-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.18);
}
.dl-hero-text h1 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.dl-hero-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin: 5px 0 0;
}
.dl-hero-badges {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 99px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.dl-badge:hover {
  background: rgba(255,255,255,0.18);
}

/* ---- Body ---- */
.dl-body {
  padding: 40px 0 80px;
}

/* ---- Section ---- */
.dl-section {
  margin-bottom: 44px;
}
.dl-section:last-child { margin-bottom: 0; }
.dl-category-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dl-category-title::before {
  content: '';
  width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
  display: inline-block;
}
.dl-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gray-200), transparent);
  margin-left: 4px;
}
/* ---- Category shared intro (tool purpose, above the platform cards) ---- */
.dl-category-intro {
  margin: -6px 0 18px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-500);
}

/* ---- Cards grid ---- */
.dl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

/* ---- Card ---- */
.dl-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.dl-card:hover {
  border-color: #ddd5ff;
  box-shadow: 0 8px 32px -6px rgba(123,97,255,0.13);
  transform: translateY(-3px);
}
.dl-card:hover::before { opacity: 1; }

.dl-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dl-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.dl-card:hover .dl-card-icon {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  transform: scale(1.06);
}
.dl-card-info { flex: 1; min-width: 0; }
.dl-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.dl-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}
.dl-version {
  padding: 2px 9px;
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  color: var(--primary);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
}
.dl-size {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--gray-400);
}
.dl-desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ---- Action buttons ---- */
.dl-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  justify-content: center;
  cursor: pointer;
}
.dl-btn-local {
  background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(123,97,255,0.25);
}
.dl-btn-local:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(123,97,255,0.35);
    filter: brightness(1.05);
}
.dl-btn-baidu {
  background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(123,97,255,0.25);
}
.dl-btn-baidu:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123,97,255,0.35);
  filter: brightness(1.05);
}
.dl-code {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  background: #e8f4ff;
  color: #1677ff;
  padding: 2px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.dl-btn-ext {
  background: #fff;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
}
.dl-btn-ext:hover {
  background: var(--gray-50);
  color: var(--dark);
  border-color: var(--gray-300, #D4D4D4);
}
.dl-btn-soon {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  background: var(--gray-50);
  color: var(--gray-400);
  text-align: center;
  border: 1.5px dashed var(--gray-200);
}

/* Empty */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}
.empty-state p { margin-top: 12px; font-size: 15px; }

/* ==================== Error Page ==================== */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 200px);
}

.error-content {
  text-align: center;
}

.error-code {
  font-size: 100px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 8px;
}

.error-content p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 20px 0;
}

/* ---- slim footer ---- */
.footer-slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-slim-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.footer-slim-sep {
  color: rgba(255,255,255,0.2);
  font-size: 16px;
}
.footer-slim-slogan {
  font-size: 12px;
  color: rgba(167,139,250,0.75);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.footer-slim-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-slim-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.footer-slim-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.footer-wechat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.footer-wechat-btn:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }
.footer-slim-bottom {
  padding: 12px 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
@media (max-width: 640px) {
  .footer-slim { flex-direction: column; align-items: flex-start; }
  .footer-slim-nav { justify-content: flex-start; }
  .footer-slim-slogan { display: none; }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}

/* ==================== Admin Styles ==================== */
.admin-body main {
  padding-top: var(--header-height);
}

.admin-page {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--dark);
  color: #fff;
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 20px 20px 12px;
}
.admin-sidebar-header h3 {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-nav {
  padding: 0 12px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: all 0.15s;
  text-decoration: none;
  margin-bottom: 2px;
}
.admin-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.admin-nav a.active {
  background: var(--primary);
  color: #fff;
}
.admin-nav .logout-link:hover {
  background: rgba(239,68,68,0.2);
  color: #ff6b6b;
}
.admin-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 12px 0;
}

.admin-main {
  flex: 1;
  background: var(--gray-50);
  min-width: 0;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.admin-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}
.header-actions {
  display: flex;
  gap: 8px;
}

.admin-content {
  padding: 24px 32px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--gray-200);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-card-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.stat-card-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* Quick Actions */
.quick-actions h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  transition: all 0.2s;
  text-decoration: none;
}
.action-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.action-card span {
  font-weight: 500;
  font-size: 14px;
}

/* Data Table */
.data-table-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: var(--gray-50);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }

.action-cell {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.empty-cell {
  text-align: center;
  padding: 40px !important;
  color: var(--gray-400);
}

.text-muted { color: var(--gray-400); }

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-muted { background: var(--gray-100); color: var(--gray-500); }
.badge-primary { background: var(--primary-bg); color: var(--primary); }

/* ==================== Forms ==================== */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--gray-800);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123,97,255,0.15);
}

.form-row {
  display: flex;
  gap: 16px;
}
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
}

.input-group {
  display: flex;
  gap: 8px;
}
.input-group input {
  flex: 1;
}

/* Upload progress */
.upload-progress {
  display: none;
  margin-top: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 14px;
  gap: 10px;
  align-items: center;
}
.upload-progress.active { display: flex; }
.upload-progress-bar-wrap {
  flex: 1;
  background: var(--gray-200);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 99px;
  transition: width 0.2s ease;
}
.upload-progress-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  min-width: 38px;
  text-align: right;
}
.upload-abort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  color: var(--gray-500);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.upload-abort-btn:hover { background: #fee2e2; color: #dc2626; }
.upload-abort-btn svg { pointer-events: none; }

.form-fieldset {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}
.form-fieldset legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 0 8px;
}

/* ==================== Modal ==================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-lg { max-width: 700px; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 {
  font-size: 17px;
  font-weight: 600;
}
.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-400);
  line-height: 1;
}
.modal-close:hover { color: var(--gray-700); }

.modal-body {
  padding: 24px;
}

.modal form {
  padding: 24px;
}

/* ==================== Login Page ==================== */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, var(--dark), #2D2666, #3B2D7B);
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px;
}

.login-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}
.login-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.login-header p {
  color: var(--gray-500);
  font-size: 14px;
}

.login-footer {
  text-align: center;
  margin-top: 20px;
}
.login-footer a {
  color: var(--gray-500);
  font-size: 13px;
}

/* Alert */
.alert {
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

/* ==================== Editor Page ==================== */
.editor-content .editor-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 24px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==================== Empty State ==================== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
}
.empty-state p {
  margin-top: 12px;
}

/* ==================== Scroll Bar ==================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ==================== Print Styles ==================== */
@media print {
  .site-header, .site-footer, .docs-sidebar, .admin-sidebar { display: none; }
  main { padding-top: 0; }
}


/* ============================================================
   NEW HOMEPAGE & GLOBAL ENHANCEMENTS
   ============================================================ */

/* ---------- Logo Image ---------- */
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ---------- Nav Contact Button ---------- */
.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
  font-family: var(--font-family);
  text-decoration: none;
}
.nav-contact-btn:hover { background: var(--primary-dark); transform: translateY(-1px); text-decoration: none; }

/* ---------- Hero Split Layout ---------- */
.hero-split { padding: 100px 0 80px; }
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-left { text-align: left; }
.hero-left .hero-badge { justify-content: flex-start; }
.hero-left .hero-actions { justify-content: flex-start; }

.hero-glow-2 {
  left: -200px;
  right: auto;
  bottom: -100px;
  top: auto;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(196,181,253,0.5);
  animation: particle-float 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1)  { left: 10%; top: 20%; animation-delay: 0s;   animation-duration: 7s; }
.hero-particles span:nth-child(2)  { left: 25%; top: 70%; animation-delay: 1s;   animation-duration: 9s; }
.hero-particles span:nth-child(3)  { left: 60%; top: 15%; animation-delay: 2s;   animation-duration: 6s; }
.hero-particles span:nth-child(4)  { left: 80%; top: 60%; animation-delay: 0.5s; animation-duration: 8s; }
.hero-particles span:nth-child(5)  { left: 45%; top: 85%; animation-delay: 3s;   animation-duration: 10s; }
.hero-particles span:nth-child(6)  { left: 15%; top: 45%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles span:nth-child(7)  { left: 70%; top: 35%; animation-delay: 2.5s; animation-duration: 9s; width: 6px; height: 6px; }
.hero-particles span:nth-child(8)  { left: 90%; top: 80%; animation-delay: 0.8s; animation-duration: 8s; }
.hero-particles span:nth-child(9)  { left: 35%; top: 30%; animation-delay: 4s;   animation-duration: 6s; }
.hero-particles span:nth-child(10) { left: 55%; top: 55%; animation-delay: 1.2s; animation-duration: 11s; width: 3px; height: 3px; }

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-20px) scale(1.3); opacity: 1; }
}

/* Glass button */
.btn-glass {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Hero Trust Strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}

/* ---------- Product Preview Window ---------- */
.hero-right {
  position: relative;
}
.preview-window {
  background: #1A1740;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123,97,255,0.35);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: visible;
  position: relative;
  animation: preview-float 8s ease-in-out infinite;
}
@keyframes preview-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #110E30;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.preview-dots { display: flex; gap: 6px; }
.dot-r { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.dot-y { width: 12px; height: 12px; border-radius: 50%; background: #FEBC2E; }
.dot-g { width: 12px; height: 12px; border-radius: 50%; background: #28C840; }
.preview-app-title {
  flex: 1;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 5px;
}
.preview-window-btns { display: flex; gap: 5px; }
.pwb-pill {
  padding: 2px 8px;
  background: rgba(123,97,255,0.25);
  border-radius: 99px;
  font-size: 10px;
  color: var(--accent-light);
  border: 1px solid rgba(123,97,255,0.3);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: #1E1950;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ptb-left { display: flex; gap: 2px; }
.ptb-item {
  padding: 3px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ptb-active {
  background: rgba(123,97,255,0.25);
  color: var(--accent-light);
}
.ptb-badge {
  font-size: 10px;
  background: rgba(16,185,129,0.15);
  color: #34D399;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16,185,129,0.25);
}
.preview-content {
  padding: 14px 16px 10px;
}
.preview-report-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.preview-table th {
  background: rgba(123,97,255,0.2);
  color: var(--accent-light);
  padding: 5px 6px;
  text-align: left;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.preview-table td { padding: 4px 6px; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.04); }
.preview-table tr:hover td { background: rgba(255,255,255,0.03); }
.td-name { color: rgba(255,255,255,0.9) !important; font-weight: 500; }
.td-num { font-variant-numeric: tabular-nums; color: #C4B5FD !important; }
.td-up { color: #34D399 !important; font-weight: 600; }
.td-dn { color: #F87171 !important; font-weight: 600; }
.td-bar { position: relative; min-width: 60px; }
.td-bar em { font-style: normal; font-size: 10px; color: rgba(255,255,255,0.5); margin-left: 4px; position: relative; z-index: 1; }
/* Preview KPI mini row */
.preview-kpi-row { display: flex; align-items: center; gap: 0; margin-bottom: 7px; padding: 4px 8px; background: rgba(123,97,255,0.08); border-radius: 6px; border: 1px solid rgba(123,97,255,0.12); }
.pkv-item { display: flex; flex-direction: column; flex: 1; align-items: center; }
.pkv-label { font-size: 9px; color: rgba(255,255,255,0.35); line-height: 1.4; }
.pkv-val { font-size: 11px; font-weight: 700; color: #C4B5FD; font-variant-numeric: tabular-nums; }
.pkv-up { color: #34D399 !important; }
.pkv-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.08); margin: 0 2px; flex-shrink: 0; }
/* Rank badge */
.td-rank { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); }
.rank-1 { background: linear-gradient(135deg,#FBBF24,#F59E0B); color: #1E1B4B; }
.rank-2 { background: rgba(196,181,253,0.2); color: #C4B5FD; }
.rank-3 { background: rgba(251,191,36,0.15); color: #FBBF24; }
.td-best-badge { font-size: 9px; color: #FBBF24; margin-left: 2px; vertical-align: middle; }
.bar-fill {
  display: inline-bloc;
  height: 14px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 2px;
  opacity: 0.8;
}
.preview-sum-row td {
  background: rgba(123,97,255,0.12);
  font-weight: 600;
  border-top: 1px solid rgba(123,97,255,0.25);
}
/* Mini bar chart */
.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
  margin-top: 12px;
  padding: 0 4px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 10px;
}
.pc-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), #9B85FF);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: opacity 0.2s;
  opacity: 0.8;
  min-height: 10px;
}
.pc-bar-hi { background: linear-gradient(to top, #059669, #34D399); opacity: 0.9; }
.pc-bar-warn { background: linear-gradient(to top, #D97706, #FBBF24); opacity: 0.8; }
.pc-bar span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
/* Floating tags on preview */
.preview-float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(30,27,75,0.95);
  border: 1px solid rgba(123,97,255,0.4);
  border-radius: 99px;
  font-size: 11px;
  color: var(--accent-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: tag-bob 4s ease-in-out infinite;
}
.pft-1 { top: -14px; left: 24px; animation-delay: 0s; }
.pft-2 { bottom: -14px; right: 24px; animation-delay: 2s; }
@keyframes tag-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { text-align: center; }
  .hero-left .hero-badge { justify-content: center; }
  .hero-left .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .preview-window { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hero-split { padding: 60px 0 48px; }
  .preview-window { font-size: 10px; }
  .nav-contact-btn { display: none; }
  .pft-1, .pft-2 { display: none; }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-block {
  text-align: center;
  padding: 12px 48px;
}
.sb-value {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.sb-plus { color: var(--accent); font-size: 24px; }
.sb-unit { color: var(--accent); font-size: 24px; }
.sb-sub {
  font-size: 28px;
  background: linear-gradient(135deg, var(--accent-light), #E0CCFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sb-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  color: rgba(167,139,250,0.55);
}
.sb-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.stat-sep {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .stat-block { padding: 12px 24px; }
  .sb-value { font-size: 28px; }
  .stat-sep { display: none; }
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- Feature Spotlight (3 big cards: AI / Platform / Open) ---------- */
.feature-spotlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.fspot-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
}
.fspot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.fspot-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.fspot-ai       .fspot-accent { background: linear-gradient(90deg, #7B61FF, #a78bfa); }
.fspot-platform .fspot-accent { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.fspot-open     .fspot-accent { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.fspot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fspot-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fspot-ai       .fspot-icon { background: #F5F3FF; color: #7B61FF; }
.fspot-platform .fspot-icon { background: #FFFBEB; color: #D97706; }
.fspot-open     .fspot-icon { background: #EFF6FF; color: #3B82F6; }
.fspot-badge {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  line-height: 1.5;
}
.fspot-ai       .fspot-badge { background: #F5F3FF; color: #7B61FF; }
.fspot-platform .fspot-badge { background: #FFFBEB; color: #D97706; }
.fspot-open     .fspot-badge { background: #EFF6FF; color: #3B82F6; }
.fspot-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.fspot-card p  { font-size: 13.5px; color: var(--gray-600); line-height: 1.72; margin-bottom: 20px; }
.fspot-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.fspot-tags li {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 500;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: #FAFAFA;
}
.fspot-ai       .fspot-tags li i { color: #7B61FF; }
.fspot-platform .fspot-tags li i { color: #D97706; }
.fspot-open     .fspot-tags li i { color: #3B82F6; }

/* ---------- Features divider ---------- */
.features-divider {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.features-divider::before,
.features-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--gray-200);
}
.features-divider span {
  font-size: 12px; font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Features V2 ---------- */
.features-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card-v2 {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 24px 36px;
  border: 1px solid var(--gray-200);
  transition: all 0.25s;
  overflow: hidden;
  cursor: default;
}
.feature-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: var(--radius-lg);
}
.feature-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.feature-card-v2:hover::before { opacity: 1; }
.feature-card-v2:hover .fc-arrow { opacity: 1; transform: translateX(0); }
.fc-icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card-v2 h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; color: var(--dark); }
.feature-card-v2 p  { font-size: 13px; color: var(--gray-600); line-height: 1.65; }
.fc-arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
  color: var(--gray-400);
}
/* Color variants */
.fc-purple .fc-icon-wrap { background: #F5F3FF; color: var(--primary); }
.fc-purple:hover::before { background: linear-gradient(135deg, rgba(123,97,255,0.03) 0%, transparent 100%); }
.fc-blue   .fc-icon-wrap { background: #EFF6FF; color: #3B82F6; }
.fc-green  .fc-icon-wrap { background: #F0FDF4; color: #16A34A; }
.fc-orange .fc-icon-wrap { background: #FFF7ED; color: #EA580C; }
.fc-teal   .fc-icon-wrap { background: #F0FDFA; color: #0D9488; }
.fc-indigo .fc-icon-wrap { background: #EEF2FF; color: #4F46E5; }
.fc-rose   .fc-icon-wrap { background: #FFF1F2; color: #E11D48; }
.fc-cyan   .fc-icon-wrap { background: #ECFEFF; color: #0891B2; }
.fc-amber  .fc-icon-wrap { background: #FFFBEB; color: #D97706; }

@media (max-width: 1100px) {
  .feature-spotlight { grid-template-columns: 1fr 1fr; }
  .feature-spotlight .fspot-card:last-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .feature-spotlight { grid-template-columns: 1fr; }
  .feature-spotlight .fspot-card:last-child { grid-column: span 1; }
  .features-grid-v2  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid-v2 { grid-template-columns: 1fr; }
}

/* ---------- Scenarios Section ---------- */
.scenario-section { background: var(--primary-bg); }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.scenario-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.28s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.scenario-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #a78bfa 100%);
  opacity: 0;
  transition: opacity 0.25s;
}
.scenario-card:hover::before { opacity: 1; }
.scenario-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

/* ── Featured card (中间) ── */
.scenario-card-featured {
  background: linear-gradient(145deg, #7B61FF 0%, #9333ea 60%, #7c3aed 100%);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(123,97,255,0.35);
}
.scenario-card-featured::before { display: none; }
.scenario-featured-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.scenario-card-featured h3 { color: #fff; }
.scenario-card-featured p  { color: rgba(255,255,255,0.88); }

/* ── Card top row ── */
.scenario-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.scenario-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-icon-1 { background: #EDE9FF; color: var(--primary); }
.sc-icon-2 { background: #FFF7ED; color: #C2410C; }
.sc-icon-3 { background: #DCFCE7; color: #16A34A; }

/* ── Scenario badge ── */
.scenario-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  line-height: 1.5;
  white-space: nowrap;
}
.sc-badge-1   { background: #EDE9FF; color: var(--primary); }
.sc-badge-2   { background: #FFF7ED; color: #C2410C; }
.sc-badge-3   { background: #DCFCE7; color: #16A34A; }
.sc-badge-featured { background: rgba(255,255,255,0.2); color: #fff; }

/* ── Headings & body ── */
.scenario-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.scenario-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

/* ── Feature checklist ── */
.scenario-features {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.scenario-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.4;
}
.scenario-features li i { flex-shrink: 0; color: var(--primary); }
.scenario-card-featured .scenario-features li { color: rgba(255,255,255,0.92); }
.scenario-card-featured .scenario-features li i { color: #c4b5fd; }

/* ── Footer row: tags + link ── */
.scenario-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.scenario-card-featured .scenario-footer { border-top-color: rgba(255,255,255,0.18); }
.scenario-tags { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 0; }
.scenario-tags li {
  padding: 2px 9px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
}
.scenario-card-featured .scenario-tags li {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.scenario-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
  transition: gap 0.2s;
}
.scenario-more:hover { gap: 6px; }
.sc-more-featured { color: #c4b5fd; }
.sc-more-featured:hover { color: #fff; }

/* ── Extra scenarios row (补充4项) ── */
.scenario-extra-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0 8px;
  margin-top: 12px;
  overflow: hidden;
}
.scenario-extra-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 20px 20px;
  transition: background 0.2s;
}
.scenario-extra-item:hover { background: var(--primary-bg); }
.scenario-extra-divider {
  width: 1px;
  height: 44px;
  background: var(--gray-200);
  flex-shrink: 0;
}
.sei-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #EDE9FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sei-icon-b { background: #FEF3C7; color: #D97706; }
.sei-icon-c { background: #DCFCE7; color: #16A34A; }
.sei-icon-d { background: #E0F2FE; color: #0284C7; }
.sei-name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.sei-desc { font-size: 12px; color: var(--gray-600); }

@media (max-width: 900px) {
  .scenario-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .scenario-extra-row { flex-direction: column; padding: 0; }
  .scenario-extra-item { width: 100%; padding: 16px 20px; }
  .scenario-extra-divider { width: 100%; height: 1px; }
}

/* ---------- Integrations Strip ---------- */
.integrations-section {
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.integrations-title {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.intg-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.intg-group-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.intg-domestic-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 1px 7px;
  border-radius: 20px;
  background: #EDE9FF;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: none;
}
.intg-group-divider {
  height: 1px;
  background: var(--gray-100);
}
.intg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.intg-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.intg-card:hover {
  border-color: rgba(123,97,255,0.3);
  box-shadow: 0 2px 8px rgba(123,97,255,0.08);
}
.intg-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--c, #6B7280);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.intg-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
}

/* ---------- Workflow V2 ---------- */
.workflow-steps-v2 {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.wf-step {
  flex: 1;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
  position: relative;
}
.wf-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wf-step-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.wf-step-icon { margin-bottom: 16px; }
.wf-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.wf-step p { font-size: 14px; color: var(--gray-600); line-height: 1.65; margin-bottom: 16px; }
.wf-step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.wf-step-link:hover { gap: 8px; }
.wf-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin-top: 60px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .workflow-steps-v2 { flex-direction: column; }
  .wf-arrow { transform: rotate(90deg); margin: 4px auto; }
}

/* ---------- Contact Section ---------- */
.contact-section { background: var(--gray-50); }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-method { display: flex; align-items: center; gap: 14px; }
.cm-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cm-label { font-size: 12px; color: var(--gray-400); margin-bottom: 2px; }
.cm-value { font-size: 14px; font-weight: 600; color: var(--dark); }
.inline-wechat-qr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--gray-200);
  transition: all 0.2s;
}
.inline-wechat-qr:hover { border-color: var(--primary); background: var(--primary-bg); }
.inline-qr-tip { font-size: 12px; color: var(--gray-400); }

/* Contact form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cf-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--dark), #2D2A60);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.inline-contact-form { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.icf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.icf-field { display: flex; flex-direction: column; gap: 6px; }
.icf-field label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.req { color: var(--danger); }
.icf-field input, .icf-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--dark);
  transition: border-color 0.2s;
  resize: vertical;
}
.icf-field input:focus, .icf-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123,97,255,0.12);
}
.icf-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  color: #15803d;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 2px;
  border-radius: 0 4px 4px 0;
}
.icf-success strong { font-weight: 600; }
.icf-success h4 { display: none; }
.icf-success p  { display: none; }
@media (max-width: 900px) {
  .contact-box { grid-template-columns: 1fr; gap: 32px; }
  .icf-row { grid-template-columns: 1fr; }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2D2A66 60%, #3B2D7B 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,97,255,0.2) 0%, transparent 70%);
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-banner-text p { font-size: 16px; color: rgba(255,255,255,0.6); }
.cta-banner-actions { display: flex; gap: 12px; align-items: center; }
@media (max-width: 768px) {
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-text h2 { font-size: 26px; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer Updates ---------- */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  transition: all 0.2s;
}
.footer-social-btn:hover { background: var(--primary-bg); color: var(--primary); }
.footer-icp { color: var(--gray-400); font-size: 12px; margin-top: 4px; }

/* ---------- WeChat / Float Dock ---------- */
.float-dock {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.25s;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.float-btn:hover { transform: translateY(-2px) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.float-btn svg, .float-btn i  { pointer-events: none; }
.float-btn-wechat {
  background: #07C160;
  padding: 0;
}
.float-btn-msg { background: var(--primary); }
.float-btn-top { background: var(--dark); }
/* WeChat panel */
.float-item { position: relative; }
.wechat-panel {
  display: none;
  position: absolute;
  bottom: 56px;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  animation: panel-appear 0.2s ease;
}
.wechat-panel.open { display: block; }
@keyframes panel-appear {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wechat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #07C160;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.panel-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.8); display: flex; }
.wechat-qr-wrap { padding: 16px; text-align: center; }
.wechat-tip { font-size: 13px; font-weight: 600; color: var(--dark); margin-top: 10px; }
.wechat-sub { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* QR Placeholder */
.wechat-qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: #f9f9f9;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
}
.qr-tl { top: 6px; left: 6px; border-width: 3px 0 0 3px; }
.qr-tr { top: 6px; right: 6px; border-width: 3px 3px 0 0; }
.qr-bl { bottom: 6px; left: 6px; border-width: 0 0 3px 3px; }
.qr-br { bottom: 6px; right: 6px; border-width: 0 3px 3px 0; }
.qr-center-icon { position: absolute; z-index: 1; }
.qr-dots {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
}
.qd { width: 100%; aspect-ratio: 1; border-radius: 1px; background: transparent; }
.qdon { background: var(--dark); opacity: 0.7; }

/* ---------- Contact Modal ---------- */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.contact-modal-overlay.open { display: flex; }
.contact-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
  animation: modal-appear 0.25s ease;
  overflow: hidden;
}
@keyframes modal-appear {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.contact-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.contact-modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.2s;
}
.contact-modal-close:hover { background: var(--gray-200); }
.contact-modal-body { padding: 24px; }
.contact-modal-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cm-field label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.cm-field input, .cm-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--dark);
  transition: border-color 0.2s;
  resize: vertical;
}
.cm-field input:focus, .cm-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123,97,255,0.12);
}
.cm-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}
.contact-success {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-success h3 { font-size: 20px; font-weight: 700; color: var(--dark); }
.contact-success p { color: var(--gray-500); font-size: 14px; }
@media (max-width: 600px) {
  .cm-row { grid-template-columns: 1fr; }
  .cm-actions { flex-direction: column; }
  .cm-actions .btn { width: 100%; justify-content: center; }
}

/* ==================== 导航产品下拉 ==================== */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger { display: inline-flex; align-items: center; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  padding: 8px; opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 1200;
}
.nav-dropdown:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-dd-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav-dd-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius); transition: background .15s; }
.nav-dd-item:hover { background: var(--primary-bg); }
.nav-dd-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.nav-dd-tx { display: flex; flex-direction: column; line-height: 1.35; }
.nav-dd-tx strong { font-size: 14px; color: var(--dark); font-weight: 700; }
.nav-dd-tx small { font-size: 12px; color: var(--gray-500); }
.mobile-nav-sub { padding-left: 26px !important; font-size: 14px; }

/* ==================== 首页：三大产品矩阵 ==================== */
.product-matrix-section { padding: 80px 0 40px; }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pm-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.pm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: color-mix(in srgb, var(--pm-c) 45%, #fff); }
.pm-card-top { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--pm-c); }
.pm-ic { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--pm-c), color-mix(in srgb, var(--pm-c) 60%, #000 8%)); margin-bottom: 18px; box-shadow: 0 8px 20px color-mix(in srgb, var(--pm-c) 35%, transparent); }
.pm-name { font-size: 21px; font-weight: 800; color: var(--dark); }
.pm-name span { font-size: 13px; font-weight: 600; color: var(--pm-c); margin-left: 8px; }
.pm-tag { font-size: 14px; color: var(--pm-c); font-weight: 600; margin: 4px 0 10px; }
.pm-desc { font-size: 14px; color: var(--gray-600); line-height: 1.7; flex: 1; }
.pm-feats { list-style: none; padding: 0; margin: 16px 0 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.pm-feats li { font-size: 12px; color: var(--gray-600); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 999px; padding: 4px 11px; }
.pm-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--pm-c); }
.pm-link:hover { gap: 10px; }
@media (max-width: 900px) { .pm-grid { grid-template-columns: 1fr; } }

/* ==================== 数据大屏产品页（深色） ==================== */
.dw { background: #070A18; color: #E5E9F5; }
.dw-hero { position: relative; padding: 120px 0 90px; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(34,211,238,0.18), transparent 60%),
              radial-gradient(900px 500px at 10% 20%, rgba(123,97,255,0.16), transparent 60%), #070A18; }
.dw-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,160,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,0.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 60% 0%, #000, transparent 75%); }
.dw-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #67E8F9; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); border-radius: 999px; padding: 6px 14px; }
.dw-title { font-size: 52px; font-weight: 800; line-height: 1.1; margin: 22px 0 14px; letter-spacing: -1px; }
.dw-grad { background: linear-gradient(90deg, #22D3EE, #818CF8, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: dwflow 4s linear infinite; }
@keyframes dwflow { to { background-position: 200% center; } }
.dw-sub { font-size: 17px; color: #9AA4C2; line-height: 1.8; max-width: 540px; }
.dw-section { padding: 76px 0; }
.dw-section.alt { background: #0B1020; }
.dw-sec-label { color: #67E8F9; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.dw-sec-title { font-size: 34px; font-weight: 800; color: #F1F4FF; margin: 8px 0 10px; }
.dw-sec-sub { color: #8A93B2; font-size: 15px; max-width: 640px; margin: 0 auto; }
.dw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.dw-fcard { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid rgba(120,160,255,0.14); border-radius: 16px; padding: 26px 22px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.dw-fcard:hover { transform: translateY(-5px); border-color: rgba(34,211,238,0.4); box-shadow: 0 16px 40px rgba(34,211,238,0.12); }
.dw-fic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #070A18; background: linear-gradient(135deg, #22D3EE, #60A5FA); margin-bottom: 16px; }
.dw-fcard h3 { font-size: 18px; font-weight: 700; color: #F1F4FF; margin-bottom: 8px; }
.dw-fcard p { font-size: 14px; color: #97A0BE; line-height: 1.7; }
.dw-mock { position: relative; border-radius: 16px; border: 1px solid rgba(120,160,255,0.2); background: linear-gradient(180deg, #0C1226, #070A18); box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: hidden; }
.dw-mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(120,160,255,0.12); }
.dw-mock-bar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dw-mock-title { font-size: 13px; color: #8A93B2; margin-left: 8px; }
.dw-mock-body { padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 64px; gap: 12px; }
.dw-tile { border-radius: 10px; border: 1px solid rgba(34,211,238,0.22); background: linear-gradient(160deg, rgba(34,211,238,0.1), rgba(123,97,255,0.06)); display: flex; align-items: center; justify-content: center; color: #9FE9F7; font-size: 12px; position: relative; overflow: hidden; }
.dw-tile.kpi { flex-direction: column; gap: 2px; }
.dw-tile .big { font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.dw-tile.span2 { grid-column: span 2; }
.dw-tile.row2 { grid-row: span 2; }
.dw-bars { display: flex; align-items: flex-end; gap: 7px; height: 70%; padding: 0 4px; }
.dw-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #22D3EE, rgba(34,211,238,0.15)); box-shadow: 0 0 14px rgba(34,211,238,0.5); }
.dw-themes { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.dw-theme { width: 150px; border-radius: 14px; padding: 16px; border: 1px solid rgba(120,160,255,0.16); }
.dw-theme .swatch { height: 56px; border-radius: 8px; margin-bottom: 10px; }
.dw-theme .tname { font-size: 13px; color: #C7CFE6; font-weight: 600; }
@media (max-width: 900px) { .dw-grid { grid-template-columns: 1fr; } .dw-title { font-size: 38px; } .dw-mock-body { grid-template-columns: repeat(2, 1fr); } }

/* ==================== 指标/BI 产品页 ==================== */
.bi-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.bi-cap { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 22px; transition: transform .22s, box-shadow .22s; }
.bi-cap:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bi-cap-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, #34D399, #059669); }
.bi-cap h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.bi-cap p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }
.bi-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.bi-flow-step { text-align: center; padding: 20px 12px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); position: relative; }
.bi-flow-step .n { width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid #34D399; color: #059669; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bi-flow-step h4 { font-size: 15px; color: var(--dark); font-weight: 700; margin-bottom: 4px; }
.bi-flow-step p { font-size: 12.5px; color: var(--gray-500); line-height: 1.6; }
.bi-ai-band { background: linear-gradient(135deg, #064E3B, #065F46); border-radius: var(--radius-xl); padding: 48px; color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.bi-ai-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.bi-ai-band p { font-size: 15px; color: #C7F0DD; line-height: 1.8; }
.bi-ai-chat { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 18px; }
.bi-ai-msg { display: flex; gap: 10px; margin-bottom: 14px; }
.bi-ai-msg .av { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.bi-ai-bub { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 13px; font-size: 13.5px; line-height: 1.6; }
.bi-ai-bub.me { background: #34D399; color: #04331F; }
.bi-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.bi-stat { text-align: center; }
.bi-stat .v { font-size: 38px; font-weight: 800; color: #059669; font-variant-numeric: tabular-nums; }
.bi-stat .l { font-size: 14px; color: var(--gray-600); margin-top: 4px; }
@media (max-width: 900px) { .bi-cap-grid { grid-template-columns: 1fr; } .bi-flow { grid-template-columns: 1fr 1fr; } .bi-ai-band { grid-template-columns: 1fr; padding: 30px; } .bi-stat-row { grid-template-columns: 1fr 1fr; } }

/* ==================== 单据套打 mockup（report 替代锐浪）==================== */
.pd-doc-section { background: linear-gradient(180deg,#faf8ff,#fff); }
.pd-doc-badge { background: #FEF2F2 !important; color: #DC2626 !important; }
.doc-mock { position: relative; padding: 26px; }
.doc-crop { position: absolute; width: 16px; height: 16px; border: 2px solid var(--primary); opacity: .55; }
.doc-crop.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.doc-crop.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.doc-crop.bl { bottom: 26px; left: 8px; border-right: 0; border-top: 0; }
.doc-crop.br { bottom: 26px; right: 8px; border-left: 0; border-top: 0; }
.doc-paper { background: #fff; border: 1px solid var(--gray-200); border-radius: 6px; box-shadow: 0 16px 40px rgba(76,40,130,.14); padding: 22px 22px 18px; font-size: 12.5px; color: #1f2937; }
.doc-head { text-align: center; border-bottom: 2px double #111827; padding-bottom: 8px; margin-bottom: 10px; }
.doc-org { font-size: 18px; font-weight: 800; letter-spacing: 2px; color: #111827; }
.doc-sub { font-size: 11px; color: #6b7280; letter-spacing: 1px; margin-top: 3px; }
.doc-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: #374151; margin-bottom: 8px; }
.doc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc-table th, .doc-table td { border: 1px solid #9ca3af; padding: 5px 8px; text-align: left; }
.doc-table th { background: #f3f4f6; font-weight: 700; font-size: 11.5px; }
.doc-table td.r, .doc-table th.r { text-align: right; }
.doc-table tfoot td { font-weight: 700; background: #faf5ff; }
.doc-term td { padding: 0 !important; height: 30px; position: relative; background: repeating-linear-gradient(135deg,transparent,transparent 7px,#f3f4f6 7px,#f3f4f6 8px); }
.doc-term-line { display: block; text-align: center; color: #9ca3af; font-size: 11px; letter-spacing: 1px; line-height: 30px; }
.doc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; }
.doc-sign { font-size: 11px; color: #4b5563; }
.doc-codes { display: flex; align-items: center; gap: 10px; }
.doc-barcode { display: inline-flex; align-items: flex-end; gap: 1px; height: 34px; }
.doc-barcode i { width: 2px; height: 100%; background: #111827; display: inline-block; }
.doc-barcode i:nth-child(2n){ height: 70%; } .doc-barcode i:nth-child(3n){ width: 3px; } .doc-barcode i:nth-child(5n){ height: 86%; width: 1px; } .doc-barcode i:nth-child(7n){ width: 4px; }
.doc-qr { width: 38px; height: 38px; border-radius: 4px;
  background-image:
    linear-gradient(#111827 25%, transparent 25% 50%, #111827 50% 75%, transparent 75%),
    linear-gradient(90deg,#111827 25%, transparent 25% 50%, #111827 50% 75%, transparent 75%);
  background-size: 8px 8px; background-blend-mode: difference; border: 2px solid #111827; }
.doc-ruler { margin-top: 12px; height: 22px; border-radius: 5px; background:
  repeating-linear-gradient(90deg, var(--primary) 0 1px, transparent 1px 11px);
  position: relative; opacity: .8; }
.doc-ruler span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--primary); background: #faf8ff; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ==================== DataWall hero 数据大屏 widgets ==================== */
.dw-hero-inner { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 44px; align-items: center; }
.dw-hero-copy .dw-title { font-size: 50px; }
.dw-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: dwblink 1.6s infinite; }
@keyframes dwblink { 50% { opacity: .35; } }
.dw-trust { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: #9AA4C2; font-size: 13px; }
.dw-trust b { color: #C7F2FB; font-weight: 700; }
.dw-trust i { width: 1px; height: 14px; background: rgba(120,160,255,.25); display: inline-block; }
.dw-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(34,211,238,.06), transparent); width: 40%; animation: dwscan 7s linear infinite; }
@keyframes dwscan { from { transform: translateX(-60%); } to { transform: translateX(360%); } }

.ds-screen { background: linear-gradient(180deg,#0B1226,#070A18); border: 1px solid rgba(80,180,255,.22); border-radius: 16px; padding: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 0 60px rgba(34,211,238,.05); position: relative; }
.ds-screen::before { content:''; position:absolute; inset:0; border-radius:16px; padding:1px; background:linear-gradient(135deg,rgba(34,211,238,.5),transparent 40%,transparent 60%,rgba(129,140,248,.5)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.ds-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 10px; }
.ds-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; background: linear-gradient(90deg,#67E8F9,#818CF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #FCA5A5; letter-spacing: 1px; }
.ds-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 8px #EF4444; animation: dwblink 1.2s infinite; }
.ds-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 10px; }
.ds-kpi { position: relative; background: linear-gradient(160deg,rgba(34,211,238,.1),rgba(129,140,248,.05)); border: 1px solid rgba(80,180,255,.16); border-radius: 10px; padding: 10px 12px; overflow: hidden; }
.ds-kpi-v { display: block; font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(34,211,238,.5); }
.ds-kpi-v small { font-size: 11px; color: #9FE9F7; margin-left: 1px; }
.ds-kpi-l { font-size: 11px; color: #8FA0C4; }
.ds-spark { position: absolute; right: 8px; bottom: 8px; width: 52px; height: 18px; }
.ds-spark polyline { fill: none; stroke: #22D3EE; stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(34,211,238,.8)); }
.ds-mid { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr; gap: 10px; margin-bottom: 10px; }
.ds-bot { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 10px; }
.ds-card { background: rgba(255,255,255,.03); border: 1px solid rgba(120,160,255,.13); border-radius: 10px; padding: 9px 10px; min-height: 92px; }
.ds-card-h { font-size: 11px; color: #9FB0D6; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.ds-card-h::before { content:''; width: 3px; height: 11px; border-radius: 2px; background: linear-gradient(#22D3EE,#818CF8); }
.ds-line svg, .ds-map svg { width: 100%; height: 70px; display: block; }
.ds-area { opacity: .9; }
.ds-stroke { fill: none; stroke: #22D3EE; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(34,211,238,.9)); stroke-dasharray: 320; stroke-dashoffset: 320; animation: dsdraw 3s ease forwards, dsflow 6s linear 3s infinite; }
@keyframes dsdraw { to { stroke-dashoffset: 0; } }
@keyframes dsflow { from { stroke-dasharray: 6 6; stroke-dashoffset: 0; } to { stroke-dasharray: 6 6; stroke-dashoffset: -120; } }
.ds-map-shape { fill: rgba(34,211,238,.07); stroke: rgba(34,211,238,.5); stroke-width: 1.2; }
.ds-fly { fill: none; stroke: #67E8F9; stroke-width: 1.4; stroke-dasharray: 5 8; filter: drop-shadow(0 0 4px #22D3EE); animation: dsflow2 2.4s linear infinite; }
.ds-fly2 { stroke: #A5B4FC; animation-duration: 3s; }
@keyframes dsflow2 { to { stroke-dashoffset: -52; } }
.ds-node { fill: #67E8F9; }
.ds-pulse { fill: none; stroke: #22D3EE; stroke-width: 2; animation: dspulse 2s ease-out infinite; }
@keyframes dspulse { 0% { r: 2; opacity: 1; } 100% { r: 20; opacity: 0; } }
.ds-gauge svg { width: 100%; height: 70px; }
.ds-g-track { fill: none; stroke: rgba(120,160,255,.18); stroke-width: 8; stroke-linecap: round; }
.ds-g-val { fill: none; stroke: #22D3EE; stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(34,211,238,.9)); stroke-dasharray: 119; stroke-dashoffset: 119; animation: dsgauge 2.4s ease forwards; }
@keyframes dsgauge { to { stroke-dashoffset: 21; } }
.ds-g-num { fill: #fff; font-size: 16px; font-weight: 800; text-anchor: middle; }
.ds-bar-row { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 4px; }
.ds-bar-row span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg,#22D3EE,rgba(34,211,238,.12)); box-shadow: 0 0 12px rgba(34,211,238,.55); transform-origin: bottom; animation: dsbar 2.2s ease forwards; }
@keyframes dsbar { from { transform: scaleY(.2); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
.ds-donut { display: flex; flex-direction: column; }
.ds-donut-ring { margin: 4px auto 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(#22D3EE 0 61%, rgba(120,160,255,.16) 61% 100%); display: grid; place-items: center; position: relative; filter: drop-shadow(0 0 8px rgba(34,211,238,.4)); }
.ds-donut-ring::after { content:''; position: absolute; inset: 9px; border-radius: 50%; background: #0B1226; }
.ds-donut-ring span { position: relative; z-index: 1; font-size: 15px; font-weight: 800; color: #fff; }
.ds-donut-ring small { font-size: 9px; color: #9FE9F7; }
.ds-rk { display: flex; align-items: center; gap: 7px; margin: 5px 0; }
.ds-rk i { width: 15px; height: 15px; border-radius: 4px; background: rgba(34,211,238,.18); color: #67E8F9; font-size: 9px; font-style: normal; display: grid; place-items: center; font-weight: 700; }
.ds-rk b { font-size: 11px; color: #C7D2E6; font-weight: 600; width: 30px; }
.ds-rk u { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg,#22D3EE,#818CF8); box-shadow: 0 0 8px rgba(34,211,238,.5); }

/* 动效边框展示 */
.dw-frames { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 40px; }
.dw-frame { position: relative; height: 110px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.03); color: #C7D2E6; font-size: 14px; font-weight: 600; overflow: hidden; }
.dw-frame span { position: relative; z-index: 2; }
.dw-frame::before, .dw-frame::after { content:''; position: absolute; }
.dw-frame.f1 { border: 1px solid rgba(34,211,238,.4); box-shadow: inset 0 0 18px rgba(34,211,238,.12); }
.dw-frame.f1::before { inset: 0; border-radius: 12px; background: conic-gradient(from 0deg, transparent, #22D3EE, transparent 30%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; animation: dwspin 4s linear infinite; }
@keyframes dwspin { to { transform: rotate(360deg); } }
.dw-frame.f2 { border: 1px solid rgba(129,140,248,.4); }
.dw-frame.f2::before, .dw-frame.f2::after { width: 16px; height: 16px; border: 2px solid #818CF8; }
.dw-frame.f2::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.dw-frame.f2::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.dw-frame.f3 { border: 1px solid rgba(52,211,153,.35); }
.dw-frame.f3::before { left: -30%; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg,transparent,rgba(52,211,153,.5),transparent); animation: dwsweep 2.6s linear infinite; }
@keyframes dwsweep { to { left: 110%; } }
.dw-frame.f4 { border: 1px dashed rgba(34,211,238,.45); animation: dwdash 14s linear infinite; }
@keyframes dwdash { to { background-position: 60px 0; } }

/* 主题套件迷你屏 */
.dw-theme-scr { height: 78px; border-radius: 10px; padding: 8px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; background: linear-gradient(160deg, color-mix(in srgb, var(--t1) 30%, #0a0f1f), #0a0f1f); border: 1px solid color-mix(in srgb, var(--t1) 40%, transparent); }
.dw-theme-scr span { border-radius: 5px; }
.dw-theme-scr .b1 { background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: 0 0 12px color-mix(in srgb, var(--t1) 60%, transparent); }
.dw-theme-scr .b2 { background: color-mix(in srgb, var(--t2) 40%, transparent); }
.dw-theme-scr .b3 { background: color-mix(in srgb, var(--t1) 30%, transparent); }
.dw-theme-scr .b4 { background: linear-gradient(135deg, var(--t2), var(--t1)); box-shadow: 0 0 12px color-mix(in srgb, var(--t2) 50%, transparent); }
.dw-theme .tname { font-size: 13px; color: #C7CFE6; font-weight: 600; text-align: center; }

@media (max-width: 900px) {
  .dw-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .ds-mid, .ds-bot { grid-template-columns: 1fr 1fr; }
  .dw-frames { grid-template-columns: 1fr 1fr; }
}

/* ==================== BI 指标驾驶舱 + 血缘 ==================== */
.bi-badge { background: #ECFDF5 !important; color: #059669 !important; }
.bi-grad { background-image: linear-gradient(90deg,#059669,#34D399) !important; }
.bi-btn { background: #059669 !important; border-color: #059669 !important; }
.bi-btn:hover { background: #047857 !important; }
.bi-cockpit { background: linear-gradient(180deg,#ffffff,#f4fbf7); border: 1px solid #d6efe2; border-radius: 16px; padding: 14px; box-shadow: 0 24px 60px rgba(5,102,69,.14); }
.bi-co-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bi-co-title { font-size: 13px; font-weight: 700; color: #065f46; display: inline-flex; align-items: center; gap: 7px; }
.bi-co-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: dwblink 1.6s infinite; }
.bi-co-date { font-size: 11px; color: #6b8a7c; }
.bi-co-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 10px; }
.bi-co-kpi { position: relative; background: #fff; border: 1px solid #d6efe2; border-radius: 11px; padding: 11px 12px; overflow: hidden; }
.bi-co-kpi .v { display: block; font-size: 21px; font-weight: 800; color: #065f46; font-variant-numeric: tabular-nums; }
.bi-co-kpi .v small { font-size: 12px; }
.bi-co-kpi .l { font-size: 11px; color: #6b8a7c; }
.bi-co-kpi .d { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; }
.bi-co-kpi .d.up { color: #059669; } .bi-co-kpi .d.dn { color: #16a34a; }
.bi-spark { position: absolute; right: 0; bottom: 0; width: 100%; height: 18px; opacity: .55; }
.bi-spark polyline { fill: none; stroke: #34D399; stroke-width: 1.8; }
.bi-co-mid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-bottom: 10px; }
.bi-co-card { background: #fff; border: 1px solid #e3f3ec; border-radius: 11px; padding: 10px; }
.bi-co-h { font-size: 11px; color: #5b756a; margin-bottom: 6px; font-weight: 600; }
.bi-co-trend svg { width: 100%; height: 70px; display: block; }
.bi-area { opacity: .9; }
.bi-stroke { fill: none; stroke: #059669; stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; animation: dsdraw 2.6s ease forwards; }
.bi-co-donut { display: flex; flex-direction: column; align-items: center; }
.bi-donut { margin-top: 4px; width: 66px; height: 66px; border-radius: 50%; background: conic-gradient(#34D399 0 38%, #10B981 38% 60%, #A7F3D0 60% 100%); display: grid; place-items: center; position: relative; }
.bi-donut::after { content:''; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.bi-donut span { position: relative; z-index: 1; font-size: 15px; font-weight: 800; color: #065f46; }
.bi-donut small { font-size: 9px; }
.bi-rk { display: flex; align-items: center; gap: 8px; margin: 7px 0; }
.bi-rk b { font-size: 11.5px; color: #374151; font-weight: 600; width: 46px; }
.bi-rk u { flex: 1; height: 7px; border-radius: 4px; background: linear-gradient(90deg,#34D399,#059669); }
.bi-rk em { font-size: 11px; color: #6b8a7c; font-style: normal; font-variant-numeric: tabular-nums; }

.bi-lineage-sec { background: linear-gradient(180deg,#f6fbf8,#fff); }
.bi-lineage { background: #fff; border: 1px solid #e3f3ec; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); margin-top: 8px; }
.bi-lineage svg { width: 100%; height: auto; display: block; }
.bi-ln-links path { fill: none; stroke: #34D399; stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .7; animation: biflow 2.2s linear infinite; }
@keyframes biflow { to { stroke-dashoffset: -44; } }
.bi-node rect { stroke-width: 1.4; }
.bi-node text { text-anchor: middle; font-size: 13px; font-weight: 600; fill: #1f2937; }
.bi-node text.sub { font-size: 10px; font-weight: 400; fill: #94a3b8; }
.bi-node.src rect { fill: #f1f5f9; stroke: #cbd5e1; }
.bi-node.model rect { fill: #ecfdf5; stroke: #34D399; }
.bi-node.model text { fill: #065f46; }
.bi-node.ind rect { fill: #059669; stroke: #047857; }
.bi-node.ind text { fill: #fff; font-weight: 700; }
.bi-lineage-tags { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--gray-600); justify-content: center; }
.bi-lineage-tags span { display: inline-flex; align-items: center; gap: 7px; }
.bi-lineage-tags i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.bi-lineage-tags i.t-src { background: #cbd5e1; } .bi-lineage-tags i.t-model { background: #34D399; } .bi-lineage-tags i.t-ind { background: #059669; }
.bi-flow-hint { color: #059669 !important; font-weight: 600; }
@media (max-width: 900px) { .bi-co-kpis { grid-template-columns: repeat(3,1fr); } }

/* ==================== BI v2 — 深色指挥中心 cockpit ==================== */
.bi-screen { background: radial-gradient(600px 300px at 80% -10%, rgba(52,211,153,.16), transparent 60%), linear-gradient(180deg,#08130F,#06100D); border: 1px solid rgba(52,211,153,.28); border-radius: 16px; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 60px rgba(16,185,129,.06); position: relative; }
.bi-screen::before { content:''; position:absolute; inset:0; border-radius:16px; padding:1px; background:linear-gradient(135deg,rgba(52,211,153,.55),transparent 42%,transparent 58%,rgba(34,211,238,.4)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.bi-scr-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; }
.bi-scr-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; background: linear-gradient(90deg,#6EE7B7,#22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bi-scr-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #6EE7B7; letter-spacing: 1px; }
.bi-scr-dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: dwblink 1.2s infinite; }
.bi-scr-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 10px; }
.bi-scr-kpi { position: relative; background: linear-gradient(160deg,rgba(52,211,153,.12),rgba(34,211,238,.04)); border: 1px solid rgba(52,211,153,.2); border-radius: 10px; padding: 9px 11px; overflow: hidden; }
.bi-scr-kpi .v { display: block; font-size: 19px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(52,211,153,.55); }
.bi-scr-kpi .v small { font-size: 11px; color: #6EE7B7; }
.bi-scr-kpi .l { font-size: 10.5px; color: #8FB7A6; }
.bi-sk { position: absolute; right: 7px; bottom: 7px; width: 50px; height: 16px; }
.bi-sk polyline { fill: none; stroke: #34D399; stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(52,211,153,.8)); }
.bi-scr-mid { display: grid; grid-template-columns: 1fr 1.25fr .85fr; gap: 10px; margin-bottom: 10px; }
.bi-scr-bot { display: grid; grid-template-columns: .85fr 1.1fr 1.05fr; gap: 10px; }
.bi-card { background: rgba(255,255,255,.03); border: 1px solid rgba(52,211,153,.14); border-radius: 10px; padding: 8px 9px; min-height: 96px; }
.bi-ch { font-size: 10.5px; color: #9FD9C0; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.bi-ch::before { content:''; width: 3px; height: 10px; border-radius: 2px; background: linear-gradient(#34D399,#22D3EE); }
.bi-radar svg { width: 100%; height: 78px; }
.bi-radar .rg { fill: none; stroke: rgba(110,231,183,.18); stroke-width: 1; }
.bi-radar .rg2 { stroke: rgba(110,231,183,.12); }
.bi-radar .rv { fill: rgba(52,211,153,.28); stroke: #34D399; stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(52,211,153,.7)); animation: bipop 1.6s ease forwards; transform-origin: center; }
.bi-radar circle { fill: #6EE7B7; }
@keyframes bipop { from { opacity:.2; transform: scale(.6); } to { opacity:1; transform: scale(1); } }
.bi-areac svg { width: 100%; height: 76px; display: block; }
.bi-areac .s1 { fill: none; stroke: #34D399; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(52,211,153,.8)); stroke-dasharray: 320; stroke-dashoffset: 320; animation: dsdraw 2.6s ease forwards; }
.bi-gaugec svg { width: 100%; height: 70px; }
.bi-gaugec .gt { fill: none; stroke: rgba(110,231,183,.16); stroke-width: 8; stroke-linecap: round; }
.bi-gaugec .gv { fill: none; stroke: #34D399; stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(52,211,153,.9)); stroke-dasharray: 119; stroke-dashoffset: 119; animation: bigauge 2.4s ease forwards; }
@keyframes bigauge { to { stroke-dashoffset: 14; } }
.bi-gaugec text { fill: #fff; font-size: 15px; font-weight: 800; text-anchor: middle; }
.bi-donutc { display: flex; flex-direction: column; }
.bi-dr { margin: 2px auto 0; width: 62px; height: 62px; border-radius: 50%; background: conic-gradient(#34D399 0 38%, #22D3EE 38% 62%, rgba(110,231,183,.16) 62% 100%); display: grid; place-items: center; position: relative; filter: drop-shadow(0 0 8px rgba(52,211,153,.4)); }
.bi-dr::after { content:''; position: absolute; inset: 9px; border-radius: 50%; background: #08130F; }
.bi-dr span { position: relative; z-index: 1; font-size: 14px; font-weight: 800; color: #fff; }
.bi-dr small { font-size: 9px; color: #6EE7B7; }
.bi-brow { display: flex; align-items: flex-end; gap: 6px; height: 66px; padding-top: 4px; }
.bi-brow span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg,#34D399,rgba(52,211,153,.12)); box-shadow: 0 0 10px rgba(52,211,153,.5); transform-origin: bottom; animation: dsbar 2.2s ease forwards; }
.bi-tick { display: flex; align-items: center; justify-content: space-between; font-size: 11px; padding: 4px 0; border-bottom: 1px dashed rgba(110,231,183,.12); }
.bi-tick b { color: #C7E8DA; font-weight: 600; }
.bi-tick em { font-style: normal; font-variant-numeric: tabular-nums; }
.bi-tick em.up { color: #6EE7B7; } .bi-tick em.dn { color: #FCA5A5; }

/* 能力数据 band */
.bi-statband { background: linear-gradient(90deg,#065F46,#047857); }
.bi-statband-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; }
.bi-sb { text-align: center; flex: 1; min-width: 110px; }
.bi-sb .n { display: block; font-size: 34px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.bi-sb .n i { font-style: normal; font-size: 18px; color: #A7F3D0; }
.bi-sb .t { font-size: 13px; color: #C7F0DD; margin-top: 6px; display: block; }
.bi-sb-sep { width: 1px; height: 34px; background: rgba(255,255,255,.18); }

/* 18 种可视化组件画廊 */
.bi-gallery { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 40px; }
.bi-chip { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px 8px 11px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bi-chip:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(5,102,69,.14); border-color: #6EE7B7; }
.bi-chip svg { width: 48px; height: 32px; }
.bi-chip span { display: block; font-size: 12.5px; color: var(--gray-700); margin-top: 7px; font-weight: 500; }
.bi-chip .f { fill: #34D399; } .bi-chip .l { fill: none; stroke: #059669; stroke-width: 2; stroke-linejoin: round; }
.bi-chip .af { fill: rgba(52,211,153,.25); } .bi-chip .pie { fill: #A7F3D0; } .bi-chip .pie2 { fill: #059669; }
.bi-chip .ring { fill: none; stroke: #34D399; stroke-width: 6; stroke-dasharray: 52 18; }
.bi-chip .rd { fill: rgba(52,211,153,.12); stroke: #A7F3D0; stroke-width: 1.2; } .bi-chip .rdv { fill: rgba(5,150,105,.4); stroke: #059669; stroke-width: 1.4; }
.bi-chip .gg { fill: none; stroke: #34D399; stroke-width: 4; stroke-linecap: round; } .bi-chip .gn { stroke: #065f46; stroke-width: 2; stroke-linecap: round; }
.bi-chip .fn { fill: #34D399; } .bi-chip .fn:nth-of-type(2){ fill:#059669; }
.bi-chip .sc { fill: #059669; }
.bi-chip .h1 { fill: #D1FAE5; } .bi-chip .h2 { fill: #6EE7B7; } .bi-chip .h3 { fill: #059669; }
.bi-chip .mp { fill: rgba(52,211,153,.18); stroke: #34D399; stroke-width: 1.2; } .bi-chip .mpd { fill: #059669; }
.bi-chip .sk { fill: #6EE7B7; } .bi-chip .sk2 { fill: #059669; } .bi-chip .skl { fill: none; stroke: rgba(52,211,153,.5); stroke-width: 4; }

/* 数据接入连接条 */
.bi-dbs { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 40px; }
.bi-db { display: flex; align-items: center; gap: 9px; padding: 12px 14px; background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; font-size: 13.5px; color: var(--gray-700); font-weight: 500; transition: transform .18s, box-shadow .18s; }
.bi-db:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bi-db b { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--c); }
.bi-db b[style*="FACC15"] { color: #1E1B4B; }

/* 血缘段深色化 */
.bi-lineage-sec { background: radial-gradient(700px 300px at 50% 0%, rgba(16,185,129,.14), transparent 60%), linear-gradient(180deg,#06110D,#08130F); }
.bi-lineage { background: rgba(255,255,255,.03); border: 1px solid rgba(52,211,153,.2); box-shadow: inset 0 0 60px rgba(16,185,129,.05); }
.bi-lineage-sec .bi-ln-links path { stroke: #34D399; filter: drop-shadow(0 0 3px rgba(52,211,153,.6)); opacity: .8; }
.bi-lineage-sec .bi-node.src rect { fill: rgba(255,255,255,.05); stroke: rgba(148,163,184,.45); }
.bi-lineage-sec .bi-node.src text { fill: #CBD5E1; } .bi-lineage-sec .bi-node.src text.sub { fill: #64748b; }
.bi-lineage-sec .bi-node.model rect { fill: rgba(52,211,153,.12); stroke: #34D399; }
.bi-lineage-sec .bi-node.model text { fill: #A7F3D0; } .bi-lineage-sec .bi-node.model text.sub { fill: #6b9a86; }
.bi-lineage-sec .bi-node.ind rect { fill: #059669; stroke: #6EE7B7; filter: drop-shadow(0 0 6px rgba(52,211,153,.5)); }
.bi-lineage-sec .bi-node.ind text { fill: #fff; }
.bi-lineage-sec .bi-lineage-tags { color: #9FD9C0; }
.bi-lineage-sec .bi-flow-hint { color: #6EE7B7 !important; }

@media (max-width: 1000px) { .bi-gallery { grid-template-columns: repeat(4,1fr); } .bi-dbs { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px) {
  .bi-scr-mid, .bi-scr-bot { grid-template-columns: 1fr 1fr; }
  .bi-statband-in { gap: 18px; } .bi-sb-sep { display: none; }
  .bi-gallery { grid-template-columns: repeat(3,1fr); } .bi-dbs { grid-template-columns: repeat(2,1fr); }
}

/* ==================== BI v3 — 靛蓝/紫高级配色 + 稠密仪表盘 + 智能AI问数 ==================== */
.bipage { --i:#6366F1; --v:#8B5CF6; --b:#3B82F6; --c:#22D3EE; --a:#FBBF24; --p:#F472B6; --t:#14B8A6; }
/* —— 复用类重新着色（.bipage 提高优先级压过旧绿色规则）—— */
.bipage .bi-badge { background:rgba(99,102,241,.18) !important; border-color:rgba(129,140,248,.45) !important; color:#C7D2FE !important; }
.bipage .bi-grad { background-image: linear-gradient(90deg,#6366F1,#8B5CF6,#22D3EE) !important; }
.bipage .bi-btn { background:#6366F1 !important; border-color:#6366F1 !important; }
.bipage .bi-btn:hover { background:#4F46E5 !important; }
.bipage .bi-lbl { color:#6366F1; }
.bipage .bi-statband { background: linear-gradient(90deg,#4338CA,#6D28D9,#7C3AED); }
.bipage .bi-cap-ic { background: linear-gradient(135deg,#6366F1,#8B5CF6); }
.bipage .bi-cap-ic.ic2 { background: linear-gradient(135deg,#8B5CF6,#A855F7); }
.bipage .bi-cap-ic.ic3 { background: linear-gradient(135deg,#3B82F6,#6366F1); }
.bipage .bi-cap-ic.ic4 { background: linear-gradient(135deg,#06B6D4,#3B82F6); }
.bipage .bi-cap-ic.ic5 { background: linear-gradient(135deg,#14B8A6,#22D3EE); }
.bipage .bi-cap-ic.ic6 { background: linear-gradient(135deg,#EC4899,#F472B6); }
.bipage .bi-cap:hover { box-shadow: 0 14px 30px rgba(99,102,241,.16); }
.bipage .bi-flow-step .n { border-color:#6366F1; color:#6366F1; }
.bipage .bi-flow-hint { color:#8B5CF6 !important; }
.bipage .bi-conn-sec .bi-db:hover { box-shadow: 0 8px 20px rgba(99,102,241,.18); }

/* 血缘段 → 靛蓝深色 */
.bipage .bi-lineage-sec { background: radial-gradient(700px 320px at 50% 0%, rgba(99,102,241,.18), transparent 60%), linear-gradient(180deg,#0B0F2A,#0E1330); }
.bipage .bi-lineage { background: rgba(255,255,255,.03); border:1px solid rgba(139,92,246,.28); box-shadow: inset 0 0 60px rgba(99,102,241,.06); }
.bipage .bi-lineage-sec .bi-ln-links path { stroke:#A78BFA; filter: drop-shadow(0 0 3px rgba(139,92,246,.7)); }
.bipage .bi-lineage-sec .bi-node.src rect { fill: rgba(255,255,255,.05); stroke: rgba(148,163,184,.45); }
.bipage .bi-lineage-sec .bi-node.src text { fill:#CBD5E1; } .bipage .bi-lineage-sec .bi-node.src text.sub { fill:#6B72A0; }
.bipage .bi-lineage-sec .bi-node.model rect { fill: rgba(139,92,246,.14); stroke:#A78BFA; }
.bipage .bi-lineage-sec .bi-node.model text { fill:#DDD6FE; } .bipage .bi-lineage-sec .bi-node.model text.sub { fill:#9b93c7; }
.bipage .bi-lineage-sec .bi-node.ind rect { fill:#6366F1; stroke:#A5B4FC; filter: drop-shadow(0 0 6px rgba(99,102,241,.5)); }
.bipage .bi-lineage-sec .bi-node.ind text { fill:#fff; }
.bipage .bi-lineage-tags { color:#AEB4DE; } .bipage .bi-lineage-tags i.t-src { background:#94A3B8; } .bipage .bi-lineage-tags i.t-model { background:#A78BFA; } .bipage .bi-lineage-tags i.t-ind { background:#6366F1; }

/* —— 稠密多彩仪表盘 .bid —— */
.bid { background: radial-gradient(560px 280px at 82% -12%, rgba(139,92,246,.2), transparent 60%), linear-gradient(180deg,#0C1130,#0A0E27); border:1px solid rgba(124,131,253,.28); border-radius:16px; padding:13px; box-shadow:0 30px 80px rgba(8,10,40,.55), inset 0 0 60px rgba(99,102,241,.06); position:relative; }
.bid::before { content:''; position:absolute; inset:0; border-radius:16px; padding:1px; background:linear-gradient(135deg,rgba(139,92,246,.6),transparent 42%,transparent 58%,rgba(34,211,238,.45)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.bid-top { display:flex; justify-content:space-between; align-items:center; padding:2px 3px 10px; }
.bid-title { font-size:13px; font-weight:700; letter-spacing:1px; background:linear-gradient(90deg,#C4B5FD,#22D3EE); -webkit-background-clip:text; background-clip:text; color:transparent; }
.bid-tools { display:flex; align-items:center; gap:6px; }
.bid-chip { font-size:10px; color:#A6ACD6; border:1px solid rgba(124,131,253,.3); border-radius:999px; padding:2px 9px; }
.bid-chip.on { background:rgba(99,102,241,.25); color:#C7D2FE; border-color:transparent; }
.bid-live { display:inline-flex; align-items:center; gap:4px; font-size:9px; font-weight:700; color:#5EEAD4; letter-spacing:1px; margin-left:2px; }
.bid-live i { width:6px; height:6px; border-radius:50%; background:#2DD4BF; box-shadow:0 0 8px #2DD4BF; animation:dwblink 1.2s infinite; }
.bid-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:8px; }
.bid-kpi { position:relative; border-radius:10px; padding:8px 9px; overflow:hidden; border:1px solid rgba(124,131,253,.18); background:rgba(255,255,255,.03); }
.bid-kpi .v { display:block; font-size:17px; font-weight:800; color:#fff; font-variant-numeric:tabular-nums; line-height:1.1; }
.bid-kpi .v small { font-size:10px; }
.bid-kpi .l { font-size:10px; color:#9098C4; }
.bid-kpi .d { position:absolute; top:8px; right:8px; font-size:9px; font-weight:700; }
.bid-kpi .d.up { color:#5EEAD4; } .bid-kpi .d.dn { color:#FB7185; }
.bid-sk { position:absolute; right:6px; bottom:5px; width:44px; height:14px; }
.bid-sk polyline { fill:none; stroke-width:1.6; }
.bid-kpi.k-v { box-shadow: inset 0 0 24px rgba(139,92,246,.14); } .k-v .v{ text-shadow:0 0 12px rgba(139,92,246,.5);} .k-v .bid-sk polyline{ stroke:#A78BFA; }
.bid-kpi.k-b .bid-sk polyline{ stroke:#60A5FA; } .k-b .v{ text-shadow:0 0 12px rgba(59,130,246,.4);}
.bid-kpi.k-c .bid-sk polyline{ stroke:#22D3EE; } .k-c .v{ text-shadow:0 0 12px rgba(34,211,238,.4);}
.bid-kpi.k-a .bid-sk polyline{ stroke:#FBBF24; } .k-a .v{ text-shadow:0 0 12px rgba(251,191,36,.4);}
.bid-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.bid-c { background:rgba(255,255,255,.03); border:1px solid rgba(124,131,253,.15); border-radius:9px; padding:7px 8px; min-height:78px; }
.bid-c.c-span2 { grid-column:span 2; }
.bid-ch { font-size:10px; color:#A6ACD6; margin-bottom:4px; display:flex; align-items:center; gap:5px; }
.bid-ch::before { content:''; width:3px; height:10px; border-radius:2px; background:linear-gradient(#8B5CF6,#22D3EE); }
.c-span2 svg { width:100%; height:60px; display:block; }
.bid .sv { fill:none; stroke:#A78BFA; stroke-width:2; filter:drop-shadow(0 0 4px rgba(139,92,246,.8)); stroke-dasharray:360; stroke-dashoffset:360; animation:dsdraw 2.4s ease forwards; }
.bid .sc { fill:none; stroke:#22D3EE; stroke-width:1.6; opacity:.85; stroke-dasharray:360; stroke-dashoffset:360; animation:dsdraw 2.8s ease forwards; }
.c-radar svg { width:100%; height:64px; }
.c-radar .rg { fill:none; stroke:rgba(167,139,250,.2); stroke-width:1; } .c-radar .rg2 { stroke:rgba(167,139,250,.12); }
.c-radar .rv { fill:rgba(139,92,246,.3); stroke:#A78BFA; stroke-width:1.6; filter:drop-shadow(0 0 5px rgba(139,92,246,.7)); animation:bipop 1.6s ease forwards; transform-origin:center; }
.c-radar circle { fill:#C4B5FD; }
.c-gauge svg { width:100%; height:58px; }
.c-gauge .gt { fill:none; stroke:rgba(34,211,238,.16); stroke-width:7; stroke-linecap:round; }
.c-gauge .gv { fill:none; stroke:#22D3EE; stroke-width:7; stroke-linecap:round; filter:drop-shadow(0 0 5px rgba(34,211,238,.9)); stroke-dasharray:119; stroke-dashoffset:119; animation:bigauge 2.4s ease forwards; }
.c-gauge text { fill:#fff; font-size:15px; font-weight:800; text-anchor:middle; }
.c-stack { display:flex; align-items:flex-end; justify-content:space-around; gap:5px; padding-bottom:2px; }
.bid-stack { width:11px; display:flex; flex-direction:column-reverse; gap:2px; }
.bid-stack i { display:block; border-radius:2px; } .bid-stack .s1 { background:#8B5CF6; } .bid-stack .s2 { background:#3B82F6; } .bid-stack .s3 { background:#22D3EE; }
.c-donut { display:flex; flex-direction:column; align-items:center; }
.bid-donut { margin-top:2px; width:54px; height:54px; border-radius:50%; background:conic-gradient(#8B5CF6 0 38%, #3B82F6 38% 62%, #22D3EE 62% 82%, #FBBF24 82% 100%); display:grid; place-items:center; position:relative; }
.bid-donut::after { content:''; position:absolute; inset:8px; border-radius:50%; background:#0A0E27; }
.bid-donut span { position:relative; z-index:1; font-size:13px; font-weight:800; color:#fff; } .bid-donut small{ font-size:8px; color:#C4B5FD; }
.bid-heat { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.bid-heat i { aspect-ratio:1; border-radius:2px; background:#6366F1; opacity:calc(.18 + var(--o)*.82); box-shadow:0 0 6px rgba(99,102,241,calc(var(--o)*.5)); }
.c-rank .bid-rk { display:flex; align-items:center; gap:6px; margin:4px 0; }
.bid-rk b { font-size:10px; color:#C7CCEC; width:42px; }
.bid-rk u { flex:1; height:6px; border-radius:3px; background:linear-gradient(90deg,#8B5CF6,#22D3EE); box-shadow:0 0 7px rgba(139,92,246,.5); }
@keyframes bigauge { to { stroke-dashoffset:14; } }

/* —— AI 问数 智能交互 —— */
.aiq-sec { background: radial-gradient(800px 360px at 50% -10%, rgba(99,102,241,.22), transparent 60%), linear-gradient(180deg,#0B0F2C,#0E1234); }
.aiq { max-width:980px; margin:38px auto 0; background:rgba(255,255,255,.03); border:1px solid rgba(124,131,253,.26); border-radius:18px; padding:20px; box-shadow:inset 0 0 60px rgba(99,102,241,.06), 0 24px 60px rgba(8,10,40,.4); }
.aiq-bar { display:flex; align-items:center; gap:10px; background:#0A0E27; border:1px solid rgba(139,92,246,.4); border-radius:12px; padding:13px 14px; box-shadow:0 0 0 3px rgba(139,92,246,.08); }
.aiq-q { color:#EDEBFF; font-size:15px; font-weight:500; }
.aiq-cursor { width:2px; height:17px; background:#A78BFA; margin-left:-6px; animation:dwblink 1s steps(1) infinite; }
.aiq-go { margin-left:auto; display:inline-flex; align-items:center; gap:5px; background:linear-gradient(135deg,#6366F1,#8B5CF6); color:#fff; border:none; border-radius:9px; padding:8px 14px; font-size:13px; font-weight:600; cursor:pointer; box-shadow:0 6px 16px rgba(99,102,241,.4); }
.aiq-steps { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.aiq-step { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:#C7CCEC; background:rgba(99,102,241,.12); border:1px solid rgba(124,131,253,.25); border-radius:999px; padding:4px 11px; }
.aiq-step i { color:#5EEAD4; } .aiq-step b { color:#fff; font-weight:600; }
.aiq-body { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.aiq-sql { background:#070B22; border:1px solid rgba(124,131,253,.2); border-radius:12px; overflow:hidden; }
.aiq-sql-h { display:flex; align-items:center; gap:6px; padding:8px 12px; border-bottom:1px solid rgba(124,131,253,.15); }
.aiq-sql-h .dot { width:8px; height:8px; border-radius:50%; } .dot.r{ background:#FF5F57;} .dot.y{ background:#FEBC2E;} .dot.g{ background:#28C840;}
.aiq-sql-t { font-size:11px; color:#8089B8; margin-left:4px; }
.aiq-sql pre { margin:0; padding:12px 14px; font-family:var(--font-mono); font-size:11.5px; line-height:1.65; color:#C7CFF2; white-space:pre-wrap; }
.aiq-sql .k { color:#C792EA; font-weight:600; } .aiq-sql .f { color:#82AAFF; } .aiq-sql .s { color:#7FDBAA; }
.aiq-out { display:flex; flex-direction:column; gap:10px; }
.aiq-rh { font-size:12px; color:#A6ACD6; display:flex; align-items:center; justify-content:space-between; }
.aiq-badge { font-size:10px; color:#C4B5FD; background:rgba(139,92,246,.18); border:1px solid rgba(139,92,246,.35); border-radius:999px; padding:2px 9px; }
.aiq-bars { display:flex; flex-direction:column; gap:8px; }
.aiq-brow { display:flex; align-items:center; gap:9px; font-size:12px; }
.aiq-brow b { color:#C7CCEC; width:48px; font-weight:600; }
.aiq-brow .bar { flex:1; height:14px; background:rgba(255,255,255,.05); border-radius:4px; overflow:hidden; }
.aiq-brow u { display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#FB7185,#F472B6); box-shadow:0 0 8px rgba(244,63,94,.4); animation:aiqbar 1.4s ease forwards; transform-origin:left; }
@keyframes aiqbar { from { transform:scaleX(0);} to { transform:scaleX(1);} }
.aiq-brow em { font-style:normal; font-variant-numeric:tabular-nums; font-size:11.5px; } .aiq-brow em.dn { color:#FB7185; }
.aiq-insight { display:flex; gap:9px; background:rgba(251,191,36,.08); border:1px solid rgba(251,191,36,.28); border-radius:11px; padding:11px 13px; font-size:12.5px; line-height:1.7; color:#D8DCF4; }
.aiq-insight b { color:#FBBF24; } .aiq-insight em { color:#FCA5A5; font-style:normal; font-weight:600; }
.aiq-caps { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-top:18px; }
.aiq-caps span { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#C7CCEC; background:rgba(99,102,241,.1); border:1px solid rgba(124,131,253,.25); border-radius:999px; padding:6px 13px; }
.aiq-caps span i { color:#A78BFA; }

/* —— 18 组件画廊：多彩（每 chip 用 --g）—— */
.bipage .bi-chip:hover { box-shadow:0 12px 26px color-mix(in srgb, var(--g) 26%, transparent); border-color: var(--g); }
.bipage .bi-chip .f { fill:var(--g); } .bipage .bi-chip .l { fill:none; stroke:var(--g); stroke-width:2; stroke-linejoin:round; }
.bipage .bi-chip .af { fill:color-mix(in srgb, var(--g) 28%, transparent); }
.bipage .bi-chip .pie { fill:color-mix(in srgb, var(--g) 38%, #fff); } .bipage .bi-chip .pie2 { fill:var(--g); }
.bipage .bi-chip .ring { fill:none; stroke:var(--g); stroke-width:6; stroke-dasharray:52 18; }
.bipage .bi-chip .rd { fill:color-mix(in srgb, var(--g) 12%, transparent); stroke:color-mix(in srgb, var(--g) 50%, #fff); stroke-width:1.2; } .bipage .bi-chip .rdv { fill:color-mix(in srgb, var(--g) 40%, transparent); stroke:var(--g); stroke-width:1.4; }
.bipage .bi-chip .gg { fill:none; stroke:var(--g); stroke-width:4; stroke-linecap:round; } .bipage .bi-chip .gn { stroke:#475569; stroke-width:2; stroke-linecap:round; }
.bipage .bi-chip .fn { fill:var(--g); } .bipage .bi-chip .fn2 { fill:color-mix(in srgb, var(--g) 55%, #000 8%); }
.bipage .bi-chip .sc { fill:var(--g); }
.bipage .bi-chip .ha { fill:color-mix(in srgb, var(--g) 24%, #fff); } .bipage .bi-chip .hb { fill:color-mix(in srgb, var(--g) 55%, #fff); } .bipage .bi-chip .hc { fill:var(--g); }
.bipage .bi-chip .mp { fill:color-mix(in srgb, var(--g) 18%, transparent); stroke:var(--g); stroke-width:1.2; } .bipage .bi-chip .mpd { fill:var(--g); }
.bipage .bi-chip .sk { fill:color-mix(in srgb, var(--g) 55%, #fff); } .bipage .bi-chip .sk2 { fill:var(--g); } .bipage .bi-chip .skl { fill:none; stroke:color-mix(in srgb, var(--g) 50%, transparent); stroke-width:4; }
.bipage .bi-chip .tm { fill:var(--g); } .bipage .bi-chip .tm2 { fill:color-mix(in srgb, var(--g) 60%, #fff); } .bipage .bi-chip .tm3 { fill:color-mix(in srgb, var(--g) 35%, #fff); }
.bipage .bi-chip .rose { fill:var(--g); } .bipage .bi-chip .rose2 { fill:color-mix(in srgb, var(--g) 65%, #fff); } .bipage .bi-chip .rose3 { fill:color-mix(in srgb, var(--g) 40%, #fff); }
.bipage .bi-chip .nd { fill:var(--g); } .bipage .bi-chip .ndl { fill:none; stroke:color-mix(in srgb, var(--g) 45%, transparent); stroke-width:1.4; }
.bipage .bi-chip .lq { fill:none; stroke:var(--g); stroke-width:2; } .bipage .bi-chip .lqw { fill:color-mix(in srgb, var(--g) 45%, transparent); }
.bipage .bi-chip .cal { fill:color-mix(in srgb, var(--g) 22%, #fff); } .bipage .bi-chip .cal2 { fill:color-mix(in srgb, var(--g) 55%, #fff); } .bipage .bi-chip .cal3 { fill:var(--g); }
.bipage .bi-chip .tb { fill:var(--g); } .bipage .bi-chip .tb2 { fill:color-mix(in srgb, var(--g) 30%, #fff); }
.bipage .bi-chip .kpi { fill:var(--g); font-size:11px; font-weight:800; text-anchor:middle; } .bipage .bi-chip .kpil { fill:none; stroke:color-mix(in srgb, var(--g) 60%, transparent); stroke-width:2; }
.bipage .bi-chip .wc { fill:var(--g); }
.bipage .bi-chip.ic { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; }
.bipage .bi-chip.ic i, .bipage .bi-chip.ic svg { color:var(--g); width:26px; height:26px; }

/* ==================== AI 问数 友好版（浅色，对标产品 mockup）==================== */
.aiq2-sec { background: linear-gradient(180deg,#f3f5ff,#fbfbff); }
.aiq2 { max-width:1000px; margin:36px auto 0; background:#fff; border:1px solid #e6e8f5; border-radius:18px; box-shadow:0 24px 60px rgba(76,70,170,.12); overflow:hidden; }
.aiq2-ask { padding:20px 22px; background:linear-gradient(135deg,#fbfcff,#f4f1ff); border-bottom:1px solid #eceaf8; }
.aiq2-hello { font-size:18px; font-weight:800; color:#1d2433; } .aiq2-hello span { background:linear-gradient(90deg,#6366F1,#8B5CF6); -webkit-background-clip:text; background-clip:text; color:transparent; }
.aiq2-input { display:flex; align-items:center; gap:11px; margin-top:12px; background:#fff; border:1.5px solid #d8d6f5; border-radius:12px; padding:12px 13px; box-shadow:0 0 0 4px rgba(99,102,241,.08); }
.aiq2-input .ai { width:28px; height:28px; border-radius:8px; background:linear-gradient(135deg,#6366F1,#8B5CF6); display:grid; place-items:center; color:#fff; font-size:14px; flex:none; }
.aiq2-input .q { font-size:15px; color:#1d2433; font-weight:500; } .aiq2-input .cur { width:2px; height:17px; background:#8B5CF6; margin-left:-7px; animation:dwblink 1s steps(1) infinite; }
.aiq2-input .go { margin-left:auto; display:inline-flex; align-items:center; gap:5px; background:#6366F1; color:#fff; border:none; border-radius:9px; padding:9px 15px; font-size:13px; font-weight:600; box-shadow:0 6px 16px rgba(99,102,241,.35); }
.aiq2-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
.aiq2-chips .c { font-size:12.5px; color:#5b667d; background:#fff; border:1px solid #e6e8f5; border-radius:18px; padding:6px 12px; }
.aiq2-res { padding:18px 22px 22px; }
.aiq2-parse { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:10px 13px; background:#faf9ff; border:1px dashed #cdc9f0; border-radius:11px; }
.aiq2-parse .lab { font-size:12px; color:#8a94a8; }
.aiq2-parse .seg { font-size:12px; font-weight:600; border-radius:7px; padding:3px 9px; background:#eef0ff; color:#4f46e5; }
.aiq2-parse .seg.d { background:#eafaf6; color:#0d8b80; } .aiq2-parse .seg.t { background:#f3ecff; color:#7c3aed; } .aiq2-parse .seg.f { background:#fff3e6; color:#c2740a; }
.aiq2-parse .edit { margin-left:auto; font-size:12px; color:#6366F1; cursor:pointer; }
.aiq2-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:14px 0; }
.aiq2-kpi { background:#fff; border:1px solid #eceaf8; border-radius:12px; padding:12px 14px; box-shadow:var(--shadow-sm); }
.aiq2-kpi .l { font-size:12px; color:#8a94a8; } .aiq2-kpi .v { font-size:23px; font-weight:800; color:#1d2433; letter-spacing:-.5px; margin:2px 0; } .aiq2-kpi .v.sm { font-size:17px; padding-top:4px; }
.aiq2-kpi .dd { font-size:11.5px; font-weight:600; color:#8a94a8; } .aiq2-kpi .dd.up { color:#16a34a; } .aiq2-kpi .dd.dn { color:#f43f5e; }
.aiq2-grid { display:grid; grid-template-columns:1.6fr 1fr; gap:14px; }
.aiq2-card { background:#fff; border:1px solid #eceaf8; border-radius:12px; box-shadow:var(--shadow-sm); overflow:hidden; }
.aiq2-card .h { display:flex; align-items:center; gap:8px; padding:11px 14px; border-bottom:1px solid #f1f0fa; }
.aiq2-card .h .t { font-weight:600; font-size:13px; color:#1d2433; }
.aiq2-card .h .bdg { margin-left:auto; font-size:10.5px; font-weight:600; color:#6366F1; background:#eef0ff; border-radius:6px; padding:2px 8px; } .aiq2-card .h .bdg.cyan { color:#0891b2; background:#e6fbff; }
.aiq2-card .b { padding:13px 14px; }
.aiq2-card .hb { display:flex; align-items:center; gap:9px; margin:7px 0; }
.aiq2-card .hb b { width:60px; font-size:12px; color:#5b667d; text-align:right; flex:none; }
.aiq2-card .hb .bt { flex:1; height:19px; background:#eef0f8; border-radius:6px; overflow:hidden; }
.aiq2-card .hb u { display:flex; align-items:center; justify-content:flex-end; height:100%; border-radius:6px; background:linear-gradient(90deg,#6366F1,#8B5CF6); color:#fff; font-size:10.5px; font-weight:600; padding-right:7px; }
.aiq2-card .drill { display:flex; align-items:center; gap:5px; font-size:11px; color:#8a94a8; margin-top:9px; }
.aiq2-card .corr { display:flex; flex-direction:column; gap:9px; }
.corr svg { width:100%; height:96px; }
.corr .axis { stroke:#d8dbea; stroke-width:1; } .corr .trend { stroke:#8B5CF6; stroke-width:2; stroke-dasharray:4 4; } .corr circle { fill:#6366F1; opacity:.85; }
.corr-tx { font-size:12px; color:#5b667d; line-height:1.6; } .corr-tx b { color:#1d2433; display:block; } .corr-tx em { color:#6366F1; font-style:normal; font-weight:700; }
.aiq2-insight { margin-top:14px; background:linear-gradient(135deg,#f6f4ff,#eef3ff); border:1px solid #e2e2f7; border-radius:13px; padding:15px 16px; }
.aiq2-insight .ih { display:flex; align-items:center; gap:9px; font-weight:700; font-size:13.5px; color:#1d2433; margin-bottom:9px; }
.aiq2-insight .ih .sp { width:24px; height:24px; border-radius:7px; background:linear-gradient(135deg,#8B5CF6,#6366F1); display:grid; place-items:center; color:#fff; font-size:13px; }
.aiq2-insight .it { display:flex; gap:9px; margin:8px 0; font-size:13px; color:#3a4256; line-height:1.65; }
.aiq2-insight .it .dot { flex:none; margin-top:6px; width:7px; height:7px; border-radius:50%; } .dot.g{ background:#16a34a;} .dot.r{ background:#f43f5e;} .dot.a{ background:#f59e0b;} .dot.b{ background:#6366F1;}
.aiq2-insight .it b { color:#1d2433; }
.aiq2-follow { display:flex; gap:8px; flex-wrap:wrap; margin-top:11px; }
.aiq2-follow button { border:1px solid #d6d4f0; background:#fff; border-radius:8px; padding:6px 12px; font-size:12px; color:#4f46e5; font-weight:600; cursor:pointer; }
.aiq2-follow button:hover { border-color:#6366F1; background:#f6f5ff; }
.aiq2-caps { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-top:22px; }
.aiq2-caps span { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#4a4f6a; background:#fff; border:1px solid #e6e8f5; border-radius:999px; padding:7px 14px; box-shadow:var(--shadow-sm); }
.aiq2-caps span i { color:#6366F1; }

/* 组件画廊分类标题 */
.gal-cat { font-size:13px; font-weight:700; color:#6366F1; margin:30px 0 14px; display:flex; align-items:center; gap:10px; }
.gal-cat::after { content:''; flex:1; height:1px; background:linear-gradient(90deg, rgba(99,102,241,.25), transparent); }

@media (max-width: 900px) { .aiq2-grid { grid-template-columns:1fr; } .aiq2-kpis { grid-template-columns:repeat(2,1fr); } }

@media (max-width: 980px) { .aiq-body { grid-template-columns:1fr; } .bid-kpis, .bid-grid { grid-template-columns:repeat(2,1fr); } .bid-c.c-span2 { grid-column:span 2; } }



/* ==================== 首页微调：stats 网格 + 产品卡渐变 ==================== */
/* 6 项均匀网格，避免最后一项单独落行 */
.stats-bar .stats-inner { display: grid !important; grid-template-columns: repeat(6, 1fr); align-items: stretch; gap: 0; flex-wrap: nowrap; }
.stats-bar .stat-sep { display: none !important; }
.stats-bar .stat-block { padding: 6px 12px; position: relative; }
.stats-bar .stat-block + .stat-block::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: rgba(255,255,255,0.09); }
@media (max-width: 1024px) {
  .stats-bar .stats-inner { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .stats-bar .stat-block:nth-child(odd) + .stat-block::before,
  .stats-bar .stat-block::before { display: none; }
}
@media (max-width: 560px) { .stats-bar .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* 产品矩阵卡：顶条与图标用双色渐变（--pm-c → --pm-c2），更高级 */
.pm-card-top { background: linear-gradient(90deg, var(--pm-c), var(--pm-c2, var(--pm-c))) !important; }
.pm-ic { background: linear-gradient(135deg, var(--pm-c), var(--pm-c2, color-mix(in srgb, var(--pm-c) 65%, #000 6%))) !important;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--pm-c2, var(--pm-c)) 38%, transparent) !important; }

/* ==================== 博客 ==================== */
.blog-page { padding: 40px 0 80px; }
.blog-hero { text-align: center; padding: 20px 0 48px; }
.blog-hero-title { font-size: 2.4rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.blog-hero-desc { font-size: 1.05rem; color: var(--gray-500); }

.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } .blog-sidebar { order: -1; } }

/* 文章卡片 */
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(123,97,255,.1); transform: translateY(-2px); }
.blog-card-cover img { width: 100%; height: 220px; object-fit: cover; display: block; }
.blog-card-body { padding: 22px 26px 24px; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.blog-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; background: var(--primary-bg); color: var(--primary); font-size: 12px; font-weight: 500; text-decoration: none; transition: background .15s; }
.blog-tag:hover, .blog-tag.active { background: var(--primary); color: #fff; }
.blog-tag-cnt { opacity: .65; }
.blog-card-title { font-size: 1.2rem; font-weight: 700; margin: 6px 0 10px; color: var(--dark); }
.blog-card-title a { text-decoration: none; color: inherit; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-summary { font-size: .93rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.blog-card-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--gray-400); }
.blog-card-date { display: inline-flex; align-items: center; gap: 5px; }

/* 侧栏 */
.blog-sidebar { position: sticky; top: 80px; }
.blog-sidebar-section { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; }
.blog-sidebar-title { font-size: 13px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }

.blog-empty { text-align: center; padding: 60px 20px; color: var(--gray-400); }
.blog-empty p { margin-top: 16px; }

/* 文章详情 */
.blog-article-page { padding: 40px 0 80px; }
.blog-article-wrap { max-width: 820px; margin: 0 auto; }
.blog-article-header { margin-bottom: 32px; }
.blog-article-title { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1.35; margin: 12px 0 16px; }
.blog-article-meta { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--gray-400); margin-bottom: 20px; }
.blog-article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-article-cover { border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.blog-article-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.blog-article-content { font-size: 1rem; line-height: 1.85; color: #374151; }
.blog-article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.blog-nav-prev, .blog-nav-next { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--gray-600); text-decoration: none; padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: 8px; transition: all .15s; max-width: 46%; }
.blog-nav-prev:hover, .blog-nav-next:hover { border-color: var(--primary); color: var(--primary); }
.blog-nav-next { margin-left: auto; }

/* btn-success */
.btn-success { background: #16a34a; border-color: #16a34a; color: #fff; }
.btn-success:hover { background: #15803d; border-color: #15803d; }
