/* ===== 变量与基础 ===== */
:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --accent-light: #e0f2fe;
  --border: rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.2s ease;
  /* 主题可覆盖 */
  --grid-line: rgba(14, 165, 233, 0.03);
  --btn-primary-text: #fff;
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --card-hover-border: rgba(14, 165, 233, 0.3);
  --card-hover-glow: rgba(14, 165, 233, 0.08);
  --module-glow: rgba(14, 165, 233, 0.16);
  --tag-border: rgba(14, 165, 233, 0.35);
  --tag-bg: rgba(224, 242, 254, 0.6);
  --tag-text: #0369a1;
  --service-card-bg: rgba(248, 250, 252, 0.9);
  --service-card-border: rgba(148, 163, 184, 0.45);
  --service-card-hover-border: rgba(59, 130, 246, 0.6);
  --service-card-hover-bg: rgba(248, 250, 252, 0.96);
  --service-pill-bg: rgba(224, 242, 254, 0.8);
  --service-pill-text: #0369a1;
  --saas-card-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.02), rgba(14, 165, 233, 0.08));
  --saas-card-border: rgba(148, 163, 184, 0.4);
  --saas-pill-bg: rgba(15, 23, 42, 0.02);
  --saas-pill-border: rgba(148, 163, 184, 0.7);
  --saas-pill-highlight-bg: rgba(224, 242, 254, 0.6);
  --saas-pill-highlight-border: rgba(14, 165, 233, 0.6);
  --saas-pill-highlight-text: #0369a1;
  --about-stat-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.06));
  --about-stat-border: rgba(148, 163, 184, 0.35);
  --about-pill-border: rgba(148, 163, 184, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== 布局 ===== */
.page-wrap {
  min-height: 100vh;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 背景网格 ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.25rem;
}

.logo-suffix {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ===== 主视觉 Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 160px;
  z-index: 1;
}

.hero-inner {
  text-align: center;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

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

.hero-link {
  font-size: 0.9rem;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
}

/* 公司首页 Hero（增强科技感） */
.hero--company {
  overflow: hidden;
}

.hero--company::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(59, 130, 246, 0.18), transparent 55%);
  opacity: 0.9;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0));
  pointer-events: none;
}

.hero-inner--company {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  text-align: left;
}

.hero-col {
  position: relative;
  z-index: 1;
}

.hero-col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--company .hero-label {
  letter-spacing: 0.16em;
}

.hero--company .hero-desc {
  max-width: none;
}

.hero-orbit {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 999px;
}

.hero-orbit-ring {
  position: absolute;
  inset: 20px;
  border-radius: inherit;
  border: 1px dashed rgba(148, 163, 184, 0.6);
}

.hero-orbit-ring--outer {
  inset: 0;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.7);
}

.hero-orbit-ring--inner {
  inset: 40px;
}

.hero-orbit-core {
  position: absolute;
  inset: 90px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0%, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 0 25px rgba(56, 189, 248, 0.6),
    0 0 60px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e5f3ff;
  text-align: center;
}

.hero-orbit-core-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-orbit-core-sub {
  font-size: 0.75rem;
  margin-top: 4px;
  opacity: 0.8;
}

.hero-orbit-node {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
  white-space: nowrap;
}

.hero-orbit-node--one {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-node--two {
  bottom: 14px;
  right: -4px;
}

.hero-orbit-node--three {
  bottom: 14px;
  left: -12px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-card);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-ghost {
  color: var(--accent);
}

.btn-ghost:hover {
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-color: transparent;
}

/* ===== 通用区块 ===== */
.section {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-head--left {
  text-align: left;
  margin-bottom: 24px;
}

/* ===== 模块卡片 ===== */
.module-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow 0.3s ease;
}

.module-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 4px 20px var(--card-hover-glow);
}

.module-section .module-card {
  margin: 0 auto;
  max-width: 960px;
}

.module-software,
.module-compute,
.module-saas {
  position: relative;
  overflow: hidden;
}

.module-software::before,
.module-compute::before,
.module-saas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, var(--module-glow), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.module-software:hover::before,
.module-compute:hover::before,
.module-saas:hover::before {
  opacity: 1;
}

.module-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.module-content p {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.module-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--tag-border);
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.75rem;
  white-space: nowrap;
}

.module-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.module-icon svg {
  width: 100%;
  height: 100%;
}

.module-features {
  margin-bottom: 24px;
}

.module-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.module-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.module-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.code-preview {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
}

.code-line {
  display: block;
}

.code-line code {
  color: var(--text-muted);
}

.code-line:first-child code {
  color: var(--accent);
}

.compute-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.saas-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.saas-row {
  display: flex;
  gap: 12px;
}

.saas-card {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--saas-card-bg);
  border: 1px solid var(--saas-card-border);
}

.saas-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.saas-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.saas-pill {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px dashed var(--saas-pill-border);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--saas-pill-bg);
}

.saas-pill--highlight {
  border-style: solid;
  border-color: var(--saas-pill-highlight-border);
  background: var(--saas-pill-highlight-bg);
  color: var(--saas-pill-highlight-text);
}

/* ===== 公司简介 ===== */
.section-about {
  padding-top: 40px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: flex-start;
}

.about-main {
  max-width: 640px;
}

.about-text {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--about-stat-bg);
  border: 1px solid var(--about-stat-border);
}

.about-stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.about-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== 三大业务概览 ===== */
.section-services {
  padding-top: 40px;
}

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

.service-card {
  position: relative;
  padding: 24px 22px 20px;
  border-radius: 18px;
  background: var(--service-card-bg);
  border: 1px solid var(--service-card-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
  border-color: var(--service-card-hover-border);
  background: var(--service-card-hover-bg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.service-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--service-pill-bg);
  color: var(--service-pill-text);
  font-size: 0.72rem;
}

.service-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.service-desc {
  margin: 6px 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-meta {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.service-meta li {
  margin-bottom: 4px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 500;
}

/* ===== 联系我们 ===== */
.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.contact-info {
  flex: 1;
  min-width: 200px;
}

.contact-info p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info p:first-child {
  color: var(--text);
  font-size: 1rem;
}

/* ===== 页脚 ===== */
.footer {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  z-index: 1;
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== 主题：软件开发（蓝白） ===== */
body.theme-software {
  --bg: #f5f7fb;
  --bg-card: #ffffff;
  --bg-elevated: #edf2ff;
  --text: #0f172a;
  --text-muted: #6b7280;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-light: #e0edff;
  --border: rgba(15, 23, 42, 0.08);
  --grid-line: rgba(37, 99, 235, 0.04);
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --card-hover-border: rgba(37, 99, 235, 0.28);
  --card-hover-glow: rgba(37, 99, 235, 0.10);
  --module-glow: rgba(37, 99, 235, 0.18);
  --tag-border: rgba(37, 99, 235, 0.4);
  --tag-bg: rgba(219, 234, 254, 0.85);
  --tag-text: #1d4ed8;
  --service-card-bg: rgba(248, 250, 252, 0.96);
  --service-card-border: rgba(148, 163, 184, 0.55);
  --service-card-hover-border: rgba(37, 99, 235, 0.7);
  --service-card-hover-bg: #ffffff;
  --service-pill-bg: rgba(219, 234, 254, 0.9);
  --service-pill-text: #1d4ed8;
  --saas-card-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.01), rgba(37, 99, 235, 0.06));
  --saas-card-border: rgba(148, 163, 184, 0.4);
  --saas-pill-bg: rgba(248, 250, 252, 0.6);
  --saas-pill-border: rgba(148, 163, 184, 0.7);
  --saas-pill-highlight-bg: rgba(219, 234, 254, 0.9);
  --saas-pill-highlight-border: rgba(37, 99, 235, 0.7);
  --saas-pill-highlight-text: #1d4ed8;
  --about-stat-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.01), rgba(37, 99, 235, 0.06));
  --about-stat-border: rgba(148, 163, 184, 0.45);
  --about-pill-border: rgba(148, 163, 184, 0.6);
}

/* ===== 软件开发页专属结构 ===== */
body.theme-software .hero-inner--sub {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
  text-align: left;
}

body.theme-software .hero--sub .hero-desc {
  max-width: none;
  margin-left: 0;
}

.hero-capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 20px;
}

.hero-capability-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.88));
  color: #1d4ed8;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-capability-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.7);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.hero-capability-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(219, 234, 254, 0.96));
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.2),
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 0 22px rgba(37, 99, 235, 0.24);
}

.hero-capability-pill:hover::before {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.95);
}

.section-software-capabilities {
  padding-top: 48px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.capability-card {
  padding: 28px 24px;
  border: 1px solid var(--service-card-border);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--service-card-hover-border);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.12);
}

.capability-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 16px;
}

.capability-icon svg {
  width: 100%;
  height: 100%;
}

.capability-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.capability-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.capability-list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.section-software-process {
  padding-top: 48px;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  padding: 22px 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
}

.process-index {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.process-step p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.process-step ul li {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.section-software-collab {
  padding-top: 36px;
}

.collab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 34px 32px;
  border-radius: 18px;
  border: 1px solid var(--service-card-border);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(237, 242, 255, 0.95));
}

.collab-main .section-title {
  margin-bottom: 10px;
}

.collab-main .section-desc {
  margin: 0;
  text-align: left;
}

.collab-points {
  display: grid;
  gap: 12px;
}

.collab-point {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.8);
}

.collab-point h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.collab-point p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== 主题：算力调度（黑客帝国绿） ===== */
body.theme-compute {
  --bg: #020617;
  --bg-card: #020617;
  --bg-elevated: #020617;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.16);
  --accent-light: rgba(34, 197, 94, 0.12);
  --border: rgba(148, 163, 184, 0.35);
  --grid-line: rgba(22, 163, 74, 0.18);
  --header-bg: rgba(2, 6, 23, 0.96);
  --header-bg-scrolled: rgba(2, 6, 23, 0.98);
  --btn-primary-text: #020617;
  --card-hover-border: rgba(34, 197, 94, 0.6);
  --card-hover-glow: rgba(34, 197, 94, 0.18);
  --module-glow: rgba(34, 197, 94, 0.24);
  --tag-border: rgba(34, 197, 94, 0.7);
  --tag-bg: rgba(6, 78, 59, 0.7);
  --tag-text: #bbf7d0;
  --service-card-bg: rgba(15, 23, 42, 0.9);
  --service-card-border: rgba(148, 163, 184, 0.45);
  --service-card-hover-border: rgba(34, 197, 94, 0.7);
  --service-card-hover-bg: rgba(15, 23, 42, 0.98);
  --service-pill-bg: rgba(6, 78, 59, 0.95);
  --service-pill-text: #bbf7d0;
  --saas-card-bg: linear-gradient(135deg, rgba(6, 78, 59, 0.4), rgba(22, 163, 74, 0.16));
  --saas-card-border: rgba(34, 197, 94, 0.6);
  --saas-pill-bg: rgba(15, 23, 42, 0.8);
  --saas-pill-border: rgba(34, 197, 94, 0.7);
  --saas-pill-highlight-bg: rgba(6, 95, 70, 0.9);
  --saas-pill-highlight-border: rgba(52, 211, 153, 0.9);
  --saas-pill-highlight-text: #bbf7d0;
  --about-stat-bg: linear-gradient(135deg, rgba(6, 78, 59, 0.4), rgba(15, 23, 42, 0.8));
  --about-stat-border: rgba(34, 197, 94, 0.7);
  --about-pill-border: rgba(55, 65, 81, 0.9);
}

/* ===== 算力调度页专属结构与动效 ===== */
body.theme-compute .hero-inner--sub {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
  text-align: left;
}

body.theme-compute .hero--sub .hero-desc {
  max-width: none;
  margin-left: 0;
}

.compute-chip {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.55);
  background: radial-gradient(circle at 20% 0%, rgba(34, 197, 94, 0.18), rgba(2, 6, 23, 0.88) 55%);
  box-shadow:
    0 18px 60px rgba(34, 197, 94, 0.14),
    0 0 0 1px rgba(34, 197, 94, 0.1);
  overflow: hidden;
}

.compute-chip::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 40% 30%, rgba(34, 197, 94, 0.22), transparent 55%);
  opacity: 0.85;
  filter: blur(2px);
  pointer-events: none;
}

.compute-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 197, 94, 0.18) 0, rgba(34, 197, 94, 0) 38%),
    radial-gradient(circle at 82% 68%, rgba(34, 197, 94, 0.12) 0, rgba(34, 197, 94, 0) 42%),
    repeating-linear-gradient(0deg, rgba(34, 197, 94, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(34, 197, 94, 0.06) 0 1px, transparent 1px 22px);
  opacity: 0.35;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 55%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 55%, transparent 85%);
  pointer-events: none;
}

.compute-circuit {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.circuit-path {
  fill: none;
  stroke: url(#circuitGlow);
  stroke-width: 1.25;
  opacity: 0.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 10;
  animation: circuitDash 2.6s linear infinite;
}

.circuit-path--inner {
  opacity: 0.9;
  stroke-dasharray: 4 8;
  animation-duration: 2.1s;
}

.circuit-path--branch {
  opacity: 0.55;
  stroke-dasharray: 3 10;
  animation-duration: 3.2s;
}

@keyframes circuitDash {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -120; }
}

.packet {
  fill: rgba(34, 197, 94, 0.95);
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.9));
  opacity: 0.95;
}

.packet--inner {
  opacity: 0.85;
}

.packet--branch {
  opacity: 0.75;
}

.compute-chip-core {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 130px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.75);
  background: rgba(2, 6, 23, 0.78);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.62),
    0 0 44px rgba(34, 197, 94, 0.18);
  text-align: center;
}

.compute-chip-k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.86);
  margin-bottom: 4px;
}

.compute-chip-v {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #e5e7eb;
}

.compute-chip-label {
  position: absolute;
  z-index: 2;
  width: 120px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.7);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.compute-chip-label--left {
  left: 14px;
  top: 86px;
}

.compute-chip-label--right {
  right: 14px;
  top: 86px;
}

.compute-chip-label-k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.78);
  margin-bottom: 4px;
}

.compute-chip-label-v {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #e5e7eb;
}

.compute-chip-badges {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.compute-chip-badge {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(34, 197, 94, 0.5);
  background: rgba(2, 6, 23, 0.55);
}

.compute-chip-badge-k {
  display: block;
  font-size: 0.74rem;
  color: rgba(187, 247, 208, 0.86);
  margin-bottom: 3px;
}

.compute-chip-badge-v {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5e7eb;
}

.section-compute-modes {
  padding-top: 48px;
}

.compute-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compute-mode-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.compute-mode-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 10%, rgba(34, 197, 94, 0.22), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.compute-mode-card--owned::before {
  background: radial-gradient(circle at 90% 30%, rgba(34, 197, 94, 0.22), transparent 55%);
}

.compute-mode-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.compute-mode-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.7);
  background: rgba(6, 78, 59, 0.55);
  color: #bbf7d0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compute-mode-title {
  margin: 0;
  font-size: 1.18rem;
  color: #e5e7eb;
  font-weight: 700;
}

.compute-mode-desc {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #9ca3af;
  font-size: 0.92rem;
}

.compute-flow-rail {
  position: relative;
  z-index: 1;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(15, 23, 42, 0.65);
  overflow: hidden;
  margin: 10px 0 16px;
}

.compute-flow-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.18), transparent);
  opacity: 0.55;
}

.compute-flow-dot {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.95);
  box-shadow:
    0 0 18px rgba(34, 197, 94, 0.9),
    0 0 40px rgba(34, 197, 94, 0.25);
  animation: flowDot 1.9s linear infinite;
}

.compute-flow-rail--reverse .compute-flow-dot {
  animation-duration: 2.2s;
  animation-delay: 0.35s;
}

@keyframes flowDot {
  0% { left: -12px; opacity: 0.25; }
  15% { opacity: 1; }
  100% { left: calc(100% + 12px); opacity: 0.15; }
}

.compute-mode-list {
  position: relative;
  z-index: 1;
}

.compute-mode-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 0.88rem;
}

.compute-mode-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.section-compute-steps {
  padding-top: 36px;
}

.compute-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compute-step {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.72);
}

.compute-step-k {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.85);
}

.compute-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #e5e7eb;
}

.compute-step p {
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* ===== 主题：驰盈二手车（黑橙） ===== */
body.theme-saas {
  --bg: #fff7ed;
  --bg-card: #ffffff;
  --bg-elevated: #ffedd5;
  --text: #0f172a;
  --text-muted: #6b7280;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-light: rgba(254, 215, 170, 0.7);
  --border: rgba(15, 23, 42, 0.08);
  --grid-line: rgba(249, 115, 22, 0.05);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --btn-primary-text: #ffffff;
  --card-hover-border: rgba(249, 115, 22, 0.35);
  --card-hover-glow: rgba(249, 115, 22, 0.10);
  --module-glow: rgba(249, 115, 22, 0.18);
  --tag-border: rgba(249, 115, 22, 0.35);
  --tag-bg: rgba(255, 237, 213, 0.9);
  --tag-text: #9a3412;
  --service-card-bg: rgba(255, 255, 255, 0.96);
  --service-card-border: rgba(15, 23, 42, 0.10);
  --service-card-hover-border: rgba(249, 115, 22, 0.45);
  --service-card-hover-bg: #ffffff;
  --service-pill-bg: rgba(255, 237, 213, 0.95);
  --service-pill-text: #9a3412;
  --saas-card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.45));
  --saas-card-border: rgba(249, 115, 22, 0.22);
  --saas-pill-bg: rgba(255, 255, 255, 0.75);
  --saas-pill-border: rgba(15, 23, 42, 0.14);
  --saas-pill-highlight-bg: rgba(254, 215, 170, 0.55);
  --saas-pill-highlight-border: rgba(249, 115, 22, 0.35);
  --saas-pill-highlight-text: #9a3412;
  --about-stat-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.35));
  --about-stat-border: rgba(15, 23, 42, 0.10);
  --about-pill-border: rgba(15, 23, 42, 0.14);
}

/* 驰盈二手车页：首屏与展示区（预留截图/图片位） */
body.theme-saas .hero-inner--sub {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
  text-align: left;
}

body.theme-saas .hero--sub .hero-desc {
  max-width: none;
  margin-left: 0;
}

/* 驰盈 SaaS 首屏轮播（外框固定 360×790 竖版比例，图片 contain 完整显示） */
.saas-hero-carousel {
  position: relative;
  width: min(360px, 100%, calc(85vh * 360 / 790));
  max-width: 100%;
  margin-left: auto;
}

.saas-carousel-stage {
  position: relative;
  width: 100%;
}

.saas-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 790;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.saas-carousel-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.saas-carousel-slide {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 247, 237, 0.95));
}

/* 竖版截图：等比放入框内，不裁切放大 */
.saas-carousel-img {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.saas-carousel-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px 28px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.5);
  line-height: 1.55;
  max-width: 90%;
}

.saas-carousel-caption code {
  font-size: 0.8em;
  font-weight: 700;
  color: #9a3412;
  background: rgba(255, 237, 213, 0.9);
  padding: 2px 6px;
  border-radius: 6px;
}

.saas-carousel-caption.is-hidden {
  display: none;
}

.saas-carousel-stage .saas-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #9a3412;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.saas-carousel-btn:hover {
  background: #fff;
  color: #ea580c;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.15);
}

.saas-carousel-prev {
  left: 10px;
}

.saas-carousel-next {
  right: 10px;
}

.saas-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.saas-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.saas-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.saas-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 无图时隐藏 <img>，有有效 src 时再显示（否则占位文案会一直盖在上面） */
.saas-media-img:not([src]),
.saas-media-img[src=""] {
  display: none;
}

.saas-media-img[src]:not([src=""]) {
  display: block;
}

.saas-media-frame:has(.saas-media-img[src]:not([src=""])) .saas-media-placeholder {
  display: none;
}

.saas-media-placeholder {
  position: absolute;
  inset: 34px 0 0 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-saas-showcase {
  padding-top: 48px;
}

/* 界面展示：浏览器框顶栏（与首屏轮播无关） */
.saas-frame-bar {
  height: 34px;
  background: rgba(15, 23, 42, 0.06);
}

.saas-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.saas-showcase-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.saas-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.saas-showcase-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.saas-showcase-badge {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(255, 237, 213, 0.95);
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 700;
}

.saas-template-switcher {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
}

.saas-template-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(15, 23, 42, 0.78);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.saas-template-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.35);
}

.saas-template-tab.is-active {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(255, 237, 213, 0.95);
  color: #9a3412;
}

.saas-template-panel {
  display: none;
}

.saas-template-panel.is-active {
  display: block;
}

.saas-media-frame {
  position: relative;
  border-radius: 18px;
  border: 1px dashed rgba(249, 115, 22, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 237, 213, 0.75));
  overflow: hidden;
}

.saas-media-frame--browser {
  min-height: 360px;
}

.saas-media-frame--phone {
  min-height: 220px;
  border-radius: 22px;
}

.saas-miniapp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.saas-miniapp-grid .saas-media-frame--phone:last-child {
  grid-column: 1 / -1;
  min-height: 240px;
}

/* 驰盈二手车页：行业痛点（预留配图位） */
.section-saas-pain {
  padding-top: 48px;
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.pain-text .section-desc {
  margin: 0;
  text-align: left;
}

.pain-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.pain-list li {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.78);
  font-size: 0.95rem;
}

.pain-list strong {
  color: #9a3412;
}

/* 痛点配图：宽度与高度在此微调（等比随容器缩小，勿改 HTML） */
.pain-media {
  width: 100%;
  max-width: 90%;
  margin-left: auto;
}

.saas-media-frame--pain {
  min-height: 380px;
  border-style: solid;
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .nav.open .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav.open .nav-links li:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-inner--company {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    text-align: left;
  }

  body.theme-software .hero-inner--sub {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-capability-pills {
    margin-bottom: 16px;
  }

  .hero-col--visual {
    justify-content: flex-start;
  }

  body.theme-compute .hero-inner--sub {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .compute-chip {
    max-width: 100%;
  }

  .compute-chip-core {
    width: 124px;
  }

  .compute-chip-label {
    width: 112px;
  }

  .compute-mode-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .compute-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.theme-saas .hero-inner--sub {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .saas-hero-carousel {
    width: min(360px, 100%, calc(82vh * 360 / 790));
    margin-left: 0;
  }

  .saas-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .saas-miniapp-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-media {
    max-width: 100%;
    margin-left: 0;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .module-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

  .module-visual {
    order: -1;
    min-height: 120px;
  }

  .saas-row {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .collab-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 22px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}
