/* 云弈智OPC管理平台 · 样式 */
:root {
  /* 核心品牌色 — 三档绿渐变 */
  --brand: #0F846A;
  --brand-2: #1B9784;
  --brand-3: #3FA97F;
  --brand-deep: #0A6B55;
  --brand-soft: #E8F5EE;
  --brand-soft-line: #A6E0CC;
  /* 辅助色（黄绿/柠檬） */
  --accent: #9ACF61;
  --accent-2: #B8D543;
  --warn: #F79646;
  /* 中性 */
  --dark: #0A4538;
  --dark-2: #0F5E4D;
  --text: #18191C;
  --muted: #808286;
  --line: #D8E5DD;
  --card: #ffffff;
  --bg: #F9F6F0;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 132, 106, .08);
  --shadow-lg: 0 12px 36px rgba(15, 90, 70, .18);
  --hdr: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ============ Header ============ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr); transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.hdr.scrolled, .hdr.solid {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.on-hero:not(.scrolled) { background: transparent; }
/* hero 上的导航：白字 + 投影，避免亮帧视频里看不清 */
.hdr.on-hero:not(.scrolled) .nav-link,
.hdr.on-hero:not(.scrolled) .logo-txt { color: #fff; text-shadow: 0 1px 10px rgba(0, 24, 18, .75), 0 1px 3px rgba(0, 24, 18, .6); }
.hdr.on-hero:not(.scrolled) .logo-txt em { color: var(--accent-2); }

.hdr-inner { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: 0; flex: 0 0 auto; }
.logo-mark {
  width: 36px; height: 32px; display: block; object-fit: contain; object-position: left center; flex: 0 0 36px;
}
.logo-txt { color: var(--text); white-space: nowrap; line-height: 1; display: inline-block; vertical-align: middle; }
.logo-txt em { font-style: normal; color: var(--brand); }

/* 顶部 hero 区域的 logo 大图 */
.hero-logo {
  display: block; width: 96px; height: auto; margin: 0 auto 22px;
  filter: drop-shadow(0 4px 24px rgba(15, 90, 70, .5));
}

/* 页脚 logo */
.brand-l .logo-mark, .footer .logo-mark { width: 32px; height: 28px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 7px 13px; border-radius: 8px; font-size: 14.5px; color: var(--text);
  transition: background .18s, color .18s; white-space: nowrap;
}
.nav-link:hover { background: var(--brand-soft); color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.hdr.on-hero:not(.scrolled) .nav-link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hdr.on-hero:not(.scrolled) .nav-link.active { color: #fff; background: rgba(255, 255, 255, .18); }

.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; flex-shrink: 0; }
.hdr-actions .btn { white-space: nowrap; flex-shrink: 0; }
.burger { display: none; background: none; border: 0; font-size: 20px; cursor: pointer; color: inherit; padding: 4px 8px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .18s; background: none;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; background-image: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.btn-primary:hover { background: var(--brand-deep); background-image: linear-gradient(135deg, var(--brand), var(--brand-deep)); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15, 132, 106, .35); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-w { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-w:hover { background: #fff; color: var(--brand); }
.btn-sm { padding: 6px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 12px; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 640px; padding: calc(var(--hdr) + 80px) 0 100px;
  background: #6291A6;
  color: #fff; overflow: hidden; text-align: center;
}
.hero-bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
  background: #6291A6;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* 两端深、中间透：顶部保证导航可读，底部保证 stats 可读，中间让 AI/城市画面露出来 */
    linear-gradient(180deg,
      rgba(7, 52, 42, .86) 0%,
      rgba(7, 52, 42, .66) 22%,
      rgba(7, 52, 42, .28) 50%,
      rgba(7, 52, 42, .52) 74%,
      rgba(7, 52, 42, .80) 100%),
    linear-gradient(135deg, rgba(15, 132, 106, .28), rgba(27, 151, 132, .12));
}
.hero > .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: rgba(8, 42, 34, .35); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; color: #fff; margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0, 24, 18, .55);
}
.hero h1 { font-size: 32px; line-height: 1.3; margin: 0 0 18px; font-weight: 800; letter-spacing: 0; white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 28, 20, .72), 0 1px 3px rgba(0, 28, 20, .55); }
.hero h1 em { font-style: normal; color: var(--accent-2); text-shadow: 0 2px 16px rgba(0, 28, 20, .55); }
.hero p.lead { font-size: 17px; color: #fff; max-width: 720px; margin: 0 auto 30px;
  text-shadow: 0 2px 16px rgba(0, 28, 20, .65), 0 1px 3px rgba(0, 28, 20, .45); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* hero 上的描边按钮：加半透底 + 白字投影，亮背景上不糊 */
.hero .btn-outline-w {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(8, 42, 34, .3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(0, 24, 18, .55);
}
.hero .btn-outline-w:hover { background: #fff; color: var(--brand); text-shadow: none; }

/* 移动端/低带宽/省流量场景：用 poster 静态图，不自动播视频 */
@media (max-width: 768px) {
  .hero-video { display: none; }
}
/* 弱网/省电偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; margin: 54px auto 0; }
.stat {
  background: rgba(4, 38, 30, .46);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px; padding: 20px 12px;
  backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 22, 16, .7); }
.stat span { font-size: 13.5px; color: #e6f0ec; text-shadow: 0 1px 8px rgba(0, 22, 16, .65); }

/* ============ Section ============ */
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section.dark { background: var(--dark); color: #fff; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.sec-head h2 { font-size: 32px; margin: 0 0 10px; font-weight: 800; letter-spacing: .3px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
.section.dark .sec-head p { color: #aab3c0; }

.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft-line); }
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand); margin-bottom: 16px;
}
.card .ic svg { width: 22px; height: 22px; }
.more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--brand); font-size: 14px; font-weight: 600; }
.more:hover { gap: 9px; }

/* eco card */
.eco { position: relative; overflow: hidden; }
.eco .tag-mini {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.eco h3 { font-size: 20px; }

/* 优势 / 愿景 列表 */
.num-list { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.num-list li {
  counter-increment: n; position: relative; padding-left: 46px; font-size: 15.5px; color: #d5dae2;
}
.num-list li::before {
  content: "0" counter(n); position: absolute; left: 0; top: 2px;
  font-size: 13px; font-weight: 800; color: var(--brand);
  background: rgba(255, 122, 0, .14); border: 1px solid rgba(184, 213, 67, .45);
  width: 34px; height: 26px; border-radius: 7px; display: grid; place-items: center;
}
.num-list.light li { color: var(--text); }

/* ============ 通用列表页头（科技风 · 与 GPU 资源页同款） ============ */
.page-hero {
  padding: calc(var(--hdr) + 60px) 0 56px; text-align: center;
  background: linear-gradient(180deg, #062821 0%, #073d31 55%, #0a5245 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-badge { margin-bottom: 16px; }
.page-hero h1 { font-size: 36px; margin: 0 0 12px; font-weight: 800; }
.page-hero h1 em { font-style: normal; color: var(--accent-2); }
.page-hero p { color: #8fb4dd; margin: 0 auto; max-width: 680px; font-size: 16px; }

/* ============ 筛选 / Tabs ============ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 12px; }
.chip {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; cursor: pointer; transition: all .16s; font-family: inherit; color: var(--text);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.search-bar {
  max-width: 560px; margin: 26px auto 0; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px; padding: 11px 16px; color: #fff;
}
.search-bar.light { background: #fff; border-color: var(--line); color: var(--text); }
.search-bar input {
  flex: 1; background: none; border: 0; outline: 0; color: inherit; font-size: 15px; font-family: inherit;
}
.search-bar input::placeholder { color: inherit; opacity: .55; }
.search-bar svg { opacity: .7; flex: none; }

.result-count { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 6px; }
.result-count b { color: var(--brand); font-size: 16px; }

/* ============ 智能体卡片 ============ */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.agent {
  display: flex; gap: 13px; padding: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; transition: all .18s; cursor: pointer;
}
.agent:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.agent-ic {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: #fff; overflow: hidden; background: var(--brand);
}
.agent-ic img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.agent-b { min-width: 0; }
.agent-b h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-b p { margin: 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-title { margin: 34px 0 14px; display: flex; align-items: baseline; gap: 10px; }
.cat-title h3 { margin: 0; font-size: 20px; font-weight: 800; }
.cat-title span { color: var(--muted); font-size: 13.5px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; opacity: .3; margin-bottom: 10px; }

/* 步骤序号 */
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; margin-bottom: 12px;
}

/* OPC 联盟卡片 */
.alliance-card { padding: 0; overflow: hidden; }
.alliance-img { width: 100%; height: 200px; overflow: hidden; background: var(--bg); }
.alliance-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.alliance-card:hover .alliance-img img { transform: scale(1.05); }

/* ============ 算力超市 · 科技感 ============ */
.tech-hero { color: #fff; }
.tech-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(184,213,67,.3);
  background: rgba(184,213,67,.1); color: #b8d543;
}
.tech-hero h1 { color: #fff; }
.tech-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.tech-hero .btn-outline-w {
  border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.05);
}
.tech-hero .btn-outline-w:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
@media (max-width: 768px) {
  .tech-hero .hero-cta .btn { width: 100%; }
}

.tech-dark {
  background: linear-gradient(160deg, #041d18 0%, #062e26 40%, #0a3d33 100%);
  color: #e2f0ec; border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
}
.tech-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(15,132,106,.25), transparent 60%),
    radial-gradient(500px 250px at 80% 90%, rgba(184,213,67,.12), transparent 60%);
  pointer-events: none;
}
.tech-dark > * { position: relative; z-index: 1; }
.tech-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.tech-glow {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,132,106,.4), transparent 70%);
  filter: blur(40px); pointer-events: none; animation: techglow 6s ease-in-out infinite alternate;
}
@keyframes techglow { 0% { opacity:.4; transform:scale(1); } 100% { opacity:.8; transform:scale(1.15); } }

/* 模型卡片 */
.model-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 18px; position: relative; overflow: hidden;
  transition: all .3s ease; display: flex; flex-direction: column; gap: 8px;
}
.model-card:hover {
  background: rgba(255,255,255,.08); border-color: rgba(184,213,67,.35);
  transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.model-card .m-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #b8d543; background: rgba(184,213,67,.12); border: 1px solid rgba(184,213,67,.25);
  padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; width: fit-content;
}
.model-card .m-name { color: #fff; font-size: 16px; font-weight: 700; margin: 0; }
.model-card .m-vendor { color: #7e93b1; font-size: 12px; margin: 0; }
.model-card .m-spec {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.model-card .m-spec span {
  font-size: 11px; color: #8fb4dd; background: rgba(143,180,221,.08);
  border: 1px solid rgba(143,180,221,.12); padding: 2px 7px; border-radius: 4px;
  font-family: ui-monospace, Consolas, monospace;
}

/* GPU 算力卡片 */
.gpu-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 20px; transition: all .3s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.gpu-card:hover {
  background: rgba(255,255,255,.08); border-color: rgba(184,213,67,.3);
  transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.gpu-card .gpu-head {
  display: flex; align-items: center; gap: 10px;
}
.gpu-card .gpu-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(15,132,106,.3), rgba(184,213,67,.15));
  border: 1px solid rgba(184,213,67,.2);
  display: flex; align-items: center; justify-content: center; color: #b8d543;
}
.gpu-card .gpu-head h3 {
  color: #fff; font-size: 16px; font-weight: 700; margin: 0;
}
.gpu-card .gpu-desc { color: #7e93b1; font-size: 13px; margin: 0; line-height: 1.6; }
.gpu-card .gpu-spec {
  font-size: 12px; color: #8fb4dd; font-family: ui-monospace, Consolas, monospace;
  background: rgba(143,180,221,.06); border: 1px solid rgba(143,180,221,.1);
  border-radius: 8px; padding: 8px 12px;
}
.gpu-card .gpu-prices {
  display: flex; gap: 12px; margin-top: 4px;
}
.gpu-card .gpu-price {
  flex: 1; text-align: center;
  background: rgba(255,255,255,.03); border-radius: 8px; padding: 10px 4px;
}
.gpu-card .gpu-price-val {
  display: block; font-size: 18px; font-weight: 800; color: #b8d543;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
.gpu-card .gpu-price-unit {
  font-size: 11px; color: #7e93b1; margin-top: 2px; display: block;
}
.model-card .m-price {
  display: flex; align-items: baseline; gap: 4px; margin-top: auto;
}
.model-card .m-price .num {
  font-size: 28px; font-weight: 800; color: #b8d543;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
.model-card .m-price .unit { font-size: 13px; color: #8fb4dd; }
.model-card .m-bar {
  height: 4px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 6px;
}
.model-card .m-bar .fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #0F846A, #b8d543);
  transition: width 1s ease;
}

/* 模型折扣表（算力超市） */
.model-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.model-table th {
  text-align: left; color: #b8d543; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 10px 14px; border-bottom: 1px solid rgba(184, 213, 67, .25); white-space: nowrap;
}
.model-table td {
  padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #e2f0ec; vertical-align: middle;
}
.model-table tbody tr:last-child td { border-bottom: 0; }
.model-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.model-table td.m {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 13.5px; color: #fff;
}
.model-table td.c { color: #8fb4dd; font-size: 12.5px; }
.model-table td.c::before { content: "●"; font-size: 8px; margin-right: 6px; vertical-align: 1px; }
.model-table td.d {
  text-align: right; color: #b8d543; font-weight: 800; font-size: 16px;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; white-space: nowrap;
}
.model-table td.n { color: #7e93b1; font-size: 12.5px; }

/* 模型分组标题 */
.model-group-title {
  color: #b8d543; font-size: 14px; font-weight: 700; letter-spacing: 2px;
  margin: 28px 0 14px; display: flex; align-items: center; gap: 10px;
}
.model-group-title::before {
  content: ""; width: 24px; height: 2px; background: linear-gradient(90deg, #b8d543, transparent);
}
.model-group-title .badge {
  font-size: 11px; color: #8fb4dd; background: rgba(143,180,221,.1);
  border: 1px solid rgba(143,180,221,.2); padding: 1px 8px; border-radius: 999px;
  font-family: ui-monospace, Consolas, monospace;
}

/* 数据指标行 */
.tech-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0;
}
.tech-metric {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 16px; text-align: center;
}
.tech-metric .val {
  font-size: 26px; font-weight: 800; color: #b8d543;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
.tech-metric .label { font-size: 12px; color: #7e93b1; margin-top: 4px; }

/* 说明提示 */
.tech-note {
  background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.2);
  border-radius: 10px; padding: 12px 16px; margin-top: 24px;
  color: #ffb020; font-size: 13px; line-height: 1.6;
}
.tech-note b { color: #ffd080; }

@media (max-width: 768px) {
  .tech-metrics { grid-template-columns: repeat(2, 1fr); }
  .tech-dark { padding: 20px 16px; }
}

/* ============ 数字员工作战台 ============ */
.demo-board {
  background: linear-gradient(180deg, #073d31 0%, #0a5245 100%);
  border-radius: 18px; padding: 24px; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(7, 61, 49, .5);
}
.demo-board::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.demo-board > * { position: relative; z-index: 1; }
.demo-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.demo-topbar .title { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .95rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.2); } 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.demo-topbar .meta { font-size: .78rem; color: #8fb4dd; font-family: ui-monospace, Consolas, monospace; }
.demo-lanes { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0 18px; }
.lane-header { color: #b8cbe4; font-size: .8rem; margin-bottom: 10px; }
.lane-header.mid { text-align: center; }
.task-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; transition: all .3s;
}
.task-row:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.task-row.done { border-color: rgba(74,222,128,.35); }
.task-row.processing { border-color: rgba(184,213,67,.55); }
.task-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.t-meta { display: flex; gap: 8px; font-size: .68rem; color: #7e93b1; margin-bottom: 3px; }
.t-meta .src { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; color: #a9bdd9; font-family: ui-monospace, Consolas, monospace; font-size: .62rem; }
.t-title { color: #eaf2fb; font-size: .84rem; font-weight: 600; margin-bottom: 3px; }
.t-sub { color: #6a7e99; font-size: .72rem; }
.task-status { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 6px; font-size: .7rem; color: #8296b3; }
.task-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.done .task-status { color: #4ade80; } .done .task-status .dot { background: #4ade80; }
.processing .task-status { color: #b8d543; } .processing .task-status .dot { background: #b8d543; animation: blinker 1.2s ease-in-out infinite; }
@keyframes blinker { 50% { opacity: .25; } }
.flow-col { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.flow-track { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(255,255,255,.12) 15%, rgba(255,255,255,.12) 85%, transparent); }
.flow-pulse { position: absolute; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: #b8d543; box-shadow: 0 0 12px rgba(184,213,67,.8); animation: flow-move 3.2s linear infinite; }
.flow-pulse.p2 { animation-delay: -1.1s; background: #5eb0ff; box-shadow: 0 0 12px rgba(94,176,255,.8); }
.flow-pulse.p3 { animation-delay: -2.2s; background: #4ade80; box-shadow: 0 0 12px rgba(74,222,128,.8); }
@keyframes flow-move { 0% { top: 5%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 95%; opacity: 0; } }
.flow-label { font-size: .62rem; color: #8fb4dd; background: rgba(15,46,82,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 3px 10px; white-space: nowrap; z-index: 2; }
.flow-label.l-top { margin-bottom: 26px; } .flow-label.l-bot { margin-top: 26px; }
.agent-row { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.agent-row.active { border-color: rgba(94,176,255,.4); background: rgba(94,176,255,.06); }
.agent-avatar { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #0F846A, #1B9784); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.a-name { color: #eaf2fb; font-size: .82rem; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.role-badge { font-size: .6rem; font-weight: 400; color: #8fb4dd; background: rgba(143,180,221,.12); border: 1px solid rgba(143,180,221,.25); padding: 1px 7px; border-radius: 999px; font-family: ui-monospace, Consolas, monospace; }
.a-action { color: #93a9c6; font-size: .72rem; }
.a-action .token { color: #5eb0ff; font-family: ui-monospace, Consolas, monospace; }
.agent-meta { margin-left: auto; text-align: right; flex-shrink: 0; }
.agent-meta .time { color: #eaf2fb; font-size: .78rem; font-weight: 600; }
.agent-meta .cost { color: #6a7e99; font-size: .68rem; margin-top: 2px; }
.agent-row.queued .time { color: #94a3b8; font-weight: 400; }
.demo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.demo-stat .k { color: #7e93b1; font-size: .7rem; margin-bottom: 6px; }
.demo-stat .v { color: #fff; font-size: 1.6rem; font-weight: 800; }
.demo-stat .v .unit { font-size: .8rem; font-weight: 500; color: #b8cbe4; margin-left: 4px; }
.demo-stat .d { font-size: .68rem; color: #4ade80; margin-top: 4px; }
.demo-stat .d.neg { color: #b8d543; }
@media (max-width: 860px) { .demo-lanes { grid-template-columns: 1fr; } .flow-col { display: none; } .demo-stats { grid-template-columns: repeat(2, 1fr); } }

/* ============ 供需卡 ============ */
.tabs { display: flex; gap: 6px; justify-content: center; background: #fff; border: 1px solid var(--line); padding: 5px; border-radius: 12px; width: fit-content; margin: 0 auto 30px; }
.tab { padding: 8px 26px; border-radius: 9px; border: 0; background: none; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--muted); font-family: inherit; }
.tab.on { background: var(--brand); color: #fff; }

.item-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; transition: all .18s; }
.item-card:hover { box-shadow: var(--shadow); border-color: var(--brand-soft-line); }
.item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.item-top h3 { margin: 0; font-size: 17.5px; font-weight: 700; }
.item-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.item-meta .who { font-size: 14px; font-weight: 600; }
.item-meta .time { font-size: 13px; color: var(--muted); margin-left: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tagx { font-size: 12.5px; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-soft-line); padding: 2px 9px; border-radius: 6px; }

/* ============ 课程 ============ */
.course { display: flex; flex-direction: column; }
.course .thumb { height: 130px; border-radius: 10px; background: linear-gradient(135deg, #3FA97F, #0F846A); display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.course .meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin: 10px 0; flex-wrap: wrap; }
.course .price { color: var(--brand); font-weight: 800; font-size: 18px; }
.lv { font-size: 12px; padding: 2px 9px; border-radius: 6px; background: #eef2f7; color: #475569; }
.lv.初级 { background: #e8f7ee; color: #16a34a; }
.lv.中级 { background: #fdf6d4; color: #ca8a04; }
.lv.高级 { background: #ffe6df; color: #ea580c; }

/* 小程序展示（手机壳截图 + 首页引导区） */
.phone {
  width: 260px; border-radius: 36px; background: #062821; padding: 10px;
  box-shadow: 0 24px 60px -18px rgba(6, 40, 33, .55);
  position: relative; flex: none;
}
.phone::after { /* 听筒 */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.18);
}
.phone img { width: 100%; border-radius: 28px; display: block; }
.phone-tilt-l { transform: rotate(-4deg) translateY(14px); }
.phone-tilt-r { transform: rotate(4deg) translateY(14px); }
.mp-shot-row { display: flex; justify-content: center; gap: 30px; padding: 30px 0 10px; flex-wrap: wrap; }
.mp-shot-cap { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }

.mp-band {
  display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap;
  background: linear-gradient(135deg, #062821, #0a5245); border-radius: 24px;
  padding: 44px 46px; color: #fff; position: relative; overflow: hidden;
}
.mp-band .tech-grid-bg { opacity: .6; }
.mp-band-code {
  width: 150px; height: 150px; border-radius: 18px; background: #fff;
  padding: 8px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); position: relative; z-index: 1;
}
.mp-band-code img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.mp-band-info { position: relative; z-index: 1; max-width: 460px; }
.mp-band-info h2 { color: #fff; margin: 0 0 10px; }
.mp-band-info p { color: #b6d4cc; margin: 0 0 18px; }
.mp-band-info .mp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.mp-band-info .mp-tags span {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(184,213,67,.12); border: 1px solid rgba(184,213,67,.3); color: #b8d543;
}
@media (max-width: 768px) {
  .phone { width: 200px; }
  .mp-shot-row { gap: 14px; }
  .mp-band { padding: 32px 22px; }
}

/* 后台界面实拍（数字员工页 · 浏览器窗口壳） */
.console-shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 10px 34px -12px rgba(10, 70, 56, .18);
  transition: transform .22s, box-shadow .22s;
}
.console-shot:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(10, 70, 56, .26); }
.console-shot .cs-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: #F3F7F5; border-bottom: 1px solid var(--line);
}
.console-shot .cs-bar i {
  width: 10px; height: 10px; border-radius: 50%; background: #D8E5DD; display: block;
}
.console-shot .cs-bar i:nth-child(1) { background: #f87171; }
.console-shot .cs-bar i:nth-child(2) { background: #fbbf24; }
.console-shot .cs-bar i:nth-child(3) { background: #34d399; }
.console-shot .cs-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.console-shot img { width: 100%; display: block; }
.console-shot-cap { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* ============ KPI 指标行（数字版权页） ============ */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 34px 0; }
.kpi { text-align: center; padding: 22px 10px; background: var(--brand-soft); border: 1px solid var(--brand-soft-line); border-radius: 14px; }
.kpi b { display: block; font-size: 30px; color: var(--brand-deep); font-weight: 800; }
.kpi span { font-size: 13.5px; color: var(--brand); }

/* ============ 社区 ============ */
.community { display: flex; flex-direction: column; gap: 14px; }
.community .card { margin: 0; }
.community h3 { font-size: 17px; }

/* ============ 新闻 ============ */
.news-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.news-item:last-child { border-bottom: 0; }
.news-date { flex: none; width: 92px; color: var(--brand); font-weight: 700; font-size: 14px; padding-top: 2px; }
.news-item h3 { margin: 0 0 6px; font-size: 17px; transition: color .18s; }
.news-item:hover h3 { color: var(--brand); }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 表单（申请页 · 与全站科技风呼应） ============ */
.form-wrap {
  max-width: 780px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 38px 42px;
  box-shadow: 0 14px 44px -14px rgba(10, 70, 56, .14);
  position: relative; overflow: hidden;
}
/* 顶部一道品牌绿渐变线，呼应科技风 hero 的三段渐变 */
.form-wrap::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #062821, #0F846A 45%, #b8d543);
}
.form-type { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.form-type .chip { font-size: 13px; padding: 7px 16px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: #374151; letter-spacing: .2px; }
/* 必填星号：红色星改为荧光绿小徽记，科技感 */
.field label i {
  color: var(--brand); font-style: normal; margin-left: 3px;
  display: inline-block; width: 14px; height: 14px; line-height: 14px;
  text-align: center; border-radius: 4px; vertical-align: -2px;
  background: rgba(15, 132, 106, .1);
}
.field input, .field select, .field textarea {
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14.5px;
  font-family: inherit; background: #FBFDFC; color: var(--text); outline: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #b6c3bd; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand-soft-line); }
/* 聚焦：品牌绿描边 + 柔光圈，呼应 tech-glow */
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 132, 106, .1);
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.field .hint {
  font-size: 12px; color: var(--muted); padding-left: 2px;
  position: relative; padding-left: 16px;
}
.field .hint::before { content: "·"; color: var(--brand); font-weight: 800; position: absolute; left: 4px; }
/* 分段标题：左侧短渐变竖条 + 呼应 hero-badge 的小点 */
.sec-title {
  grid-column: 1 / -1; font-size: 15px; font-weight: 800; letter-spacing: .5px;
  padding-top: 14px; border-top: 1px dashed var(--line); margin-top: 6px;
  position: relative; padding-left: 16px;
}
.sec-title::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 4px; height: 15px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brand), #b8d543);
}
/* 提交按钮：渐变 + 悬浮微抬 */
form .btn-primary[type=submit] {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 0; box-shadow: 0 8px 22px -8px rgba(15, 132, 106, .55);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
form .btn-primary[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(15, 132, 106, .6);
  filter: saturate(1.08);
}
form .btn-primary[type=submit]:active { transform: translateY(0); }
form .btn-primary[type=submit]:disabled { opacity: .6; transform: none; box-shadow: none; }

/* ============ Footer ============ */
.footer { background: var(--dark); color: #b8c5be; padding: 56px 0 26px; font-size: 14px; }
.footer h4 { color: #fff; font-size: 15.5px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--brand); }
.f-grid4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; }
.footer .brand-l { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 20px; text-align: center; font-size: 13px; color: #8a9994; }

/* ============ 登录 ============ */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 100px 20px 60px; background: linear-gradient(180deg, #062821 0%, #073d31 55%, #0a5245 100%); position: relative; overflow: hidden; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 38px 34px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 24px; margin: 0 0 6px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.auth-card .field { margin-bottom: 16px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13.5px; }
.auth-links a { color: var(--brand); }

/* ============ 通用 ============ */
.center { text-align: center; }
.mt40 { margin-top: 40px; }
.mb30 { margin-bottom: 30px; }
.cta-band {
  background: linear-gradient(135deg, #1B9784, #0F846A); color: #fff; border-radius: 20px;
  padding: 46px 40px; text-align: center;
}
.cta-band h2 { font-size: 28px; margin: 0 0 10px; font-weight: 800; }
.cta-band p { margin: 0 0 24px; color: rgba(255, 255, 255, .9); }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: var(--brand-soft); }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.back-link:hover { color: var(--brand); }

/* ============ 响应式 ============ */
@media (max-width: 1380px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; position: fixed;
    top: var(--hdr); left: 0; right: 0; background: #fff; padding: 14px 20px 22px;
    box-shadow: var(--shadow-lg); gap: 2px; z-index: 99;
  }
  .nav.open .nav-link { color: var(--text) !important; padding: 11px 12px; }
  .nav.open .nav-cta { color: var(--brand) !important; font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
  .burger { display: block; margin-left: auto; }
  .hdr.on-hero:not(.scrolled) .burger { color: #fff; }
}
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .f-grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero h1 { font-size: 22px; white-space: normal; }
  .page-hero h1 { font-size: 27px; }
  .sec-head h2 { font-size: 25px; }
  .stats, .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2, .g4, .g6 { grid-template-columns: 1fr; }
  .f-grid, .num-list { grid-template-columns: 1fr; }
  .f-grid4 { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 20px; }
  .container { padding: 0 16px; }
  .hdr-inner { gap: 12px; }
}
