/* ===== 广西-东盟 AI+OPC服务平台 · 共享样式 ===== */
:root {
  --primary: #3b9dff;
  --primary-light: #66b3ff;
  --primary-dark: #2b8cff;
  --primary-soft: #e8f4ff;
  --bg-top: #eef6ff;
  --bg-mid: #f8fbff;
  --bg-bottom: #ffffff;
  --text: #1a1a2e;
  --text-sub: #4a5568;
  --text-light: #8a94a6;
  --card: #ffffff;
  --border: rgba(43, 140, 255, 0.12);
  --shadow-sm: 0 2px 10px rgba(43, 140, 255, 0.06);
  --shadow: 0 6px 24px rgba(43, 140, 255, 0.10);
  --shadow-lg: 0 14px 40px rgba(43, 140, 255, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --green: #28c76f;
  --orange: #ff9f43;
  --maxw: 1240px;
  --logo-size: 46px; /* 导航栏 LOGO 正方形边长（顶部左/右及页脚左共用），改大小只动这里 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 38%, var(--bg-bottom) 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* 首页：避免底部渐变成纯白导致浅色粒子"消失"，整体保持浅蓝白 */
body[data-page="home"] {
  background: linear-gradient(180deg, #eef6ff 0%, #f0f6ff 45%, #e3edf8 100%);
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ===== 导航 ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.brand-text { line-height: 1.15; }
.nav-brand span { color: var(--primary); }
.nav-menu { display: flex; gap: 4px; align-items: stretch; }
.nav-menu li { display: flex; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-sub);
  transition: all 0.25s ease;
}
.nav-menu a:hover { color: var(--primary); background: var(--primary-soft); border-color: rgba(43, 140, 255, 0.32); }
.nav-menu a.active { color: #fff; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-color: transparent; box-shadow: var(--shadow-sm); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-logo-left { margin-right: 2px; }
.nav-logo-right { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 157, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59, 157, 255, 0.42); }
.btn-ghost { background: #fff; color: var(--primary); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-success { background: linear-gradient(135deg, #34d399, var(--green)); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 24px 36px;
  min-height: 480px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-content { flex: 0 0 44%; max-width: 520px; }
.hero-visual { flex: 0 0 56%; height: 460px; display: flex; align-items: center; justify-content: center; }
/* 字号由后台「首页主题文字」配置（CSS 变量 --hero-title-size），缺省回退 50px；
   移动端 ≤768px 的媒体查询声明在其后，仍可正常覆盖为 36px。 */
.hero-title { font-size: var(--hero-title-size, 50px); font-weight: 800; line-height: 1.22; letter-spacing: -0.5px; margin-bottom: 18px; }
.hero-title .accent { color: var(--primary); }
.hero-sub { font-size: 17px; color: var(--text-sub); margin-bottom: 32px; max-width: 460px; }
.hero-visual svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(43, 140, 255, 0.12)); }

/* 首页 Hero 动态光晕背景 */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: heroOrbFloat 16s ease-in-out infinite;
}
.hero-orb-1 {
  width: 540px; height: 540px;
  left: -140px; top: -100px;
  background: radial-gradient(circle, rgba(59,157,255,0.78), transparent 70%);
}
.hero-orb-2 {
  width: 460px; height: 460px;
  right: -80px; top: 20px;
  background: radial-gradient(circle, rgba(124,92,255,0.68), transparent 70%);
  animation-delay: -5s;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  left: 42%; bottom: -120px;
  background: radial-gradient(circle, rgba(102,179,255,0.65), transparent 70%);
  animation-delay: -10s;
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(34px, -24px) scale(1.08); }
}

/* 首页功能入口按钮区 */
.entry-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.entry-card {
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.65);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(43, 140, 255, 0.22); }
.entry-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--entry-icon-color, var(--primary-soft)), rgba(255,255,255,0.45));
  display: flex; align-items: center; justify-content: center;
  color: var(--entry-icon-color, var(--primary));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.entry-icon svg { width: 28px; height: 28px; }
.entry-title { font-size: 17px; font-weight: 700; }
.entry-desc { font-size: 13px; color: var(--text-light); }

/* 首页快捷入口（两排小按钮） */
.quick-links-section { padding: 0 0 56px; }
.quick-links-section .container { max-width: var(--maxw); }
.quick-links-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.quick-links-row:last-child { margin-bottom: 0; }
.quick-link-card {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.65);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none; color: inherit;
}
.quick-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(43, 140, 255, 0.22); }
.quick-link-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft), #d6ecff);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.quick-link-icon svg { width: 20px; height: 20px; }
.quick-link-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.quick-link-empty { opacity: 0.55; pointer-events: none; }
.quick-link-empty .quick-link-title { color: var(--text-light); font-weight: 500; }

/* ===== 通用区块 ===== */
.section { padding: 56px 0; }
.section.alt { background: rgba(255, 255, 255, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; font-size: 13px; color: var(--primary); background: var(--primary-soft); padding: 4px 14px; border-radius: 20px; font-weight: 600; margin-bottom: 14px; }
.section-title { font-size: 32px; font-weight: 800; }
.section-desc { color: var(--text-sub); margin-top: 12px; font-size: 15px; }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-sub); font-size: 14px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card-icon svg { width: 22px; height: 22px; }
.card-link { display: block; transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; text-decoration: none; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link .card-icon { background: linear-gradient(135deg, var(--primary-soft), #fff); }
.card-more { display: inline-block; margin-top: 10px; color: var(--primary); font-weight: 600; font-size: 13px; }

/* 高亮推荐卡片 */
.card-featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 28px rgba(59,157,255,0.35);
  position: relative;
  overflow: hidden;
}
.card-featured::before {
  content: "推荐";
  position: absolute;
  top: 12px;
  right: -30px;
  width: 110px;
  text-align: center;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 0;
  transform: rotate(45deg);
}
.card-featured h3,
.card-featured p,
.card-featured .card-more { color: #fff; }
.card-featured .card-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-featured:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 14px 36px rgba(59,157,255,0.45);
}

/* 社区网络页 */
.country-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.country-tab, .province-tab {
  padding: 9px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: #fff; color: var(--text-sub); font-size: 14px; cursor: pointer; transition: all .2s;
}
.country-tab:hover, .province-tab:hover { border-color: var(--primary); color: var(--primary); }
.country-tab.active, .province-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.province-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; padding-left: 4px; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
a.community-card { text-decoration: none; color: inherit; }
.community-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px; transition: all .25s ease; display: flex; flex-direction: column;
}
.community-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.community-card::after {
  content: "查看详情 →"; margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--primary); font-weight: 600; opacity: .8; transition: opacity .2s;
}
.community-card:hover::after { opacity: 1; }
.community-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.community-avatar {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.community-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.community-meta { font-size: 12px; color: var(--text-light); }
.community-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.community-tags span { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: #f2f6fb; color: var(--text-sub); }
.community-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; flex: 1; }

/* 页面头部 banner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { opacity: 0.92; font-size: 16px; max-width: 640px; }
.breadcrumb { font-size: 13px; opacity: 0.85; margin-bottom: 14px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== 表单 ===== */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-sub); }
.form-group .hint { font-size: 12px; color: var(--text-light); font-weight: 400; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 157, 255, 0.15); }
textarea { resize: vertical; min-height: 110px; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--primary-soft); color: var(--text-sub); font-weight: 700; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #f7fbff; }

/* ===== 徽章 / 标签 ===== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: rgba(40, 199, 111, 0.14); color: #1a9e54; }
.badge-blue { background: var(--primary-soft); color: var(--primary-dark); }
.badge-orange { background: rgba(255, 159, 67, 0.16); color: #e8821e; }
.badge-gray { background: #eef1f5; color: #7a8595; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; background: var(--primary-soft); color: var(--primary-dark); margin: 0 6px 6px 0; cursor: pointer; transition: all 0.2s; }
.tag:hover, .tag.active { background: var(--primary); color: #fff; }

/* ===== 详情页通用样式 ===== */
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tags .badge { background: var(--primary-soft); color: var(--primary-dark); }
.detail-tags .badge.outline { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.detail-banner { width: 100%; height: 340px; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.detail-banner-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; }
.detail-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.detail-body { max-width: 820px; margin: 0 auto 40px; font-size: 15px; line-height: 1.9; color: var(--text); }
.detail-body p { margin-bottom: 18px; }
.detail-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px; }
.detail-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: transform .25s ease; }
.detail-gallery img:hover { transform: scale(1.03); }
.contact-card { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 18px; margin-bottom: 16px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.contact-card li:last-child { border-bottom: none; }
.contact-card .cc-label { color: var(--text-light); }
.contact-card .cc-val { color: var(--text); font-weight: 600; }

/* ===== Tabs ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.tab-btn {
  padding: 9px 20px; border-radius: 22px; border: 1px solid var(--border);
  background: #fff; color: var(--text-sub); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { background: var(--primary-soft); }
.tab-btn.active { background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===== 产品/智能体卡片 ===== */
.product-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: all 0.25s ease; cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-thumb { height: 150px; background: linear-gradient(135deg, var(--primary-soft), #d6ecff); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.product-thumb svg { width: 46px; height: 46px; }
.product-thumb .emoji-ic { font-size: 52px; line-height: 1; }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-body h4 { font-size: 16px; }
.product-body p { font-size: 13px; color: var(--text-light); flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.price { color: var(--primary-dark); font-weight: 800; font-size: 17px; }
.price small { font-size: 12px; color: var(--text-light); font-weight: 500; }

/* ===== 论坛 ===== */
.forum-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.post-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 16px; transition: all 0.2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.post-meta { font-size: 13px; color: var(--text-light); }
.post-meta b { color: var(--text); }
.post-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.post-body { font-size: 14px; color: var(--text-sub); }
.post-foot { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--text-light); }
.post-foot span { cursor: pointer; }
.post-foot span:hover { color: var(--primary); }
.side-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 16px; }
.side-card h4 { margin-bottom: 12px; font-size: 15px; }
.side-card .stat { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.side-card .stat:last-child { border-bottom: none; }

/* ===== 弹窗 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(20, 30, 50, 0.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 28px; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform 0.25s; }
.modal-mask.show .modal { transform: none; }
.modal-close { float: right; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); line-height: 1; }
.modal h3 { font-size: 20px; margin-bottom: 16px; }

/* ===== 登录 ===== */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 38px 34px; }
.auth-card h2 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 26px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-light); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.wx-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid #07c160; color: #07c160; background: #fff; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.wx-btn:hover { background: #f3fbf6; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-light); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.auth-error { display: none; margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 77, 79, 0.10); border: 1px solid rgba(255, 77, 79, 0.35); color: #e23b3b; font-size: 13px; font-weight: 600; line-height: 1.5; }

/* ===== 首页公司介绍与宣传区块 ===== */
.company-promo-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.promo-text-box {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,138,0,0.3) 0%, rgba(255,106,0,0.3) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.promo-text-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.promo-text-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.promo-text-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
  line-height: 1.7;
}
.promo-text-btn {
  display: inline-block;
  background: #fff;
  color: #ff6a00;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}
.promo-text-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.promo-image-box {
  width: 100%;
  max-width: 66.67%;          /* 2/3 width */
  margin: 28px auto;
  min-height: 240px;            /* fallback for empty state */
  background: rgba(245, 247, 250, 0.3);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 31, 61, 0.08);
}
.promo-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.promo-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
  font-weight: 600;
  background: repeating-linear-gradient(45deg, #f0f3f7, #f0f3f7 10px, #f5f7fa 10px, #f5f7fa 20px);
}

/* 宣传轮播位（每位最多 5 张图，3 秒自动切换 + 左右按键）
   2026-09-08：区块宽度由 2/3 放大至页面宽度 3/4（75%） */
.promo-carousel {
  position: relative;
  width: 100%;
  max-width: 75%;
  margin: 28px auto;
  background: rgba(245, 247, 250, 0.3);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 31, 61, 0.08);
  overflow: hidden;
}
.promo-carousel-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: block;
}
.promo-carousel-wrap .promo-image-placeholder {
  position: absolute;
  inset: 0;
  font-size: 16px;
}
.promo-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.promo-carousel-img.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: #ff6a00;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.promo-carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.promo-carousel-prev { left: 12px; }
.promo-carousel-next { right: 12px; }
.promo-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.promo-carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.promo-carousel-dots span.active {
  background: #ff6a00;
  transform: scale(1.2);
}
@media (max-width: 860px) {
  .promo-text-box { padding: 60px 20px; }
  .promo-text-title { font-size: 28px; }
  .promo-image-box { max-width: 92%; min-height: 180px; }
  .promo-carousel { max-width: 92%; }
  .promo-carousel-wrap { min-height: 360px; }
  .promo-carousel-btn { width: 36px; height: 36px; font-size: 22px; }
}
@media (max-width: 480px) {
  .promo-text-title { font-size: 24px; }
  .promo-text-desc { font-size: 14px; }
  .promo-text-btn { padding: 12px 28px; font-size: 14px; }
  .promo-image-box { max-width: 100%; min-height: 140px; border-radius: 10px; }
}

/* ===== 页脚 ===== */
.site-footer { background: #0f1f3d; color: #c7d3e6; padding: 48px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  align-self: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { display: block; color: #9fb0cc; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--primary-light); }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 30px; padding-top: 18px; text-align: center; font-size: 13px; color: #8a9bbb; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: #0f1f3d; color: #fff; padding: 13px 26px; border-radius: 30px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 数据空态 ===== */
.empty { text-align: center; padding: 50px 20px; color: var(--text-light); }
.empty svg { width: 60px; height: 60px; opacity: 0.4; margin-bottom: 12px; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .entry-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-links-row { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .forum-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-brand { font-size: 15px; }
  .nav-menu a { padding: 6px 10px; font-size: 12px; }
  :root { --logo-size: 42px; }
}
@media (max-width: 860px) {
  /* ==== 移动端导航：首页沉浸式（☰ 悬浮右上角），二级页只留返回栏 ==== */
  .site-nav { z-index: 100000 !important; }
  body[data-page="home"] .site-nav { background: transparent !important; border-bottom: none !important; box-shadow: none !important; }
  body[data-page="home"] .nav-brand, body[data-page="home"] .nav-actions, body[data-page="home"] .nav-logo-right { display: none !important; }
  body[data-page="home"] .nav-inner { justify-content: flex-end !important; padding: 0 !important; min-height: 0 !important; }
  body[data-page="home"] .nav-toggle {
    display: flex !important; position: fixed !important; top: 12px !important; right: 12px !important;
    z-index: 99999 !important; width: 44px !important; height: 44px !important;
    background: #ffffff !important; border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(20,35,60,0.18) !important;
    align-items: center !important; justify-content: center !important;
    font-size: 24px !important; color: #1f2937 !important; line-height: 1 !important;
  }
  body[data-page="home"] .nav-menu { display: none; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; flex-direction: column !important; background: #ffffff !important; padding: 70px 14px 14px !important; z-index: 99998 !important; overflow-y: auto !important; gap: 8px; }
  body[data-page="home"] .nav-menu.open { display: flex !important; }
  body[data-page="home"] .nav-menu li { display: block !important; width: 100% !important; background: #ffffff !important; }
  body[data-page="home"] .nav-menu a { display: flex !important; width: 100% !important; min-height: 48px !important; background: #ffffff !important; background-color: #ffffff !important; color: var(--text) !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important; justify-content: flex-start !important; align-items: center !important; padding: 0 16px !important; margin: 0 !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2 !important; text-decoration: none !important; box-sizing: border-box !important; -webkit-tap-highlight-color: rgba(43,140,255,0.15); }
  body[data-page="home"] .nav-menu a:active, body[data-page="home"] .nav-menu a:focus { background: #3b9dff !important; background-color: #3b9dff !important; color: #ffffff !important; border-color: #3b9dff !important; outline: none !important; }
  body[data-page="home"] .nav-menu a.active { background: #3b9dff !important; background-color: #3b9dff !important; color: #ffffff !important; border-color: #3b9dff !important; box-shadow: 0 4px 12px rgba(59,157,255,0.25); }
  /* 二级页：隐藏顶部导航，返回栏由 main.js 注入 */
  body[data-page]:not([data-page="home"]) .site-nav { display: none !important; }
  .mobile-sub-bar { position: sticky; top: 0; z-index: 100; background: #ffffff; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; }
  .mobile-back { background: none; border: none; font-size: 15px; color: #3b9dff; cursor: pointer; padding: 6px 10px; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
  .mobile-sub-title { font-size: 15px; font-weight: 600; color: #1f2937; flex: 1; text-align: center; padding-right: 68px; }
  .hero { padding-top: 36px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 36px; }
  .hero-visual { width: 100%; height: 320px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links-row { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
}
@media (max-width: 520px) {
  .entry-grid { grid-template-columns: 1fr; }
  .quick-links-row { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-brand .brand-text { display: none; }
  .nav-logo-right { display: none; }
}

/* ===== 登录态 / 评论 ===== */
.nav-user { font-size: 14px; font-weight: 600; color: var(--text-sub); }
.nav-user::before { content: "👤 "; }
.comment-item { border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 10px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.comment-item b { color: var(--text); }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; }
.auth-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; color: var(--text-sub); font-weight: 600; cursor: pointer; }
.auth-tabs button.active { background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; border-color: transparent; }
.auth-form { display: none; }
.auth-form.active { display: grid; gap: 18px; }
.auth-form input { width: 100%; }
.auth-form .btn-ghost:disabled { opacity: 0.6; cursor: default; }

/* ===== 全站科技感：动态流光背景 + 粒子 ===== */
.flow-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.flow-beam {
  position: absolute; left: -30%; top: -30%; width: 160%; height: 160%;
  background-image: repeating-linear-gradient(118deg,
    rgba(59, 157, 255, 0) 0 26px,
    rgba(59, 157, 255, 0.10) 26px 28px,
    rgba(59, 157, 255, 0) 28px 56px);
  animation: flowShift 14s linear infinite;
}
.flow-beam-2 {
  background-image: repeating-linear-gradient(62deg,
    rgba(102, 179, 255, 0) 0 30px,
    rgba(102, 179, 255, 0.09) 30px 32px,
    rgba(102, 179, 255, 0) 32px 64px);
  animation-duration: 22s; animation-direction: reverse; opacity: 0.95;
}
@keyframes flowShift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(56px, 28px, 0); }
}
.flow-aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.65; mix-blend-mode: screen; }
.flow-aurora-1 { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: radial-gradient(circle, rgba(59, 157, 255, 0.68), transparent 70%); animation: auroraMove 26s ease-in-out infinite; }
.flow-aurora-2 { width: 40vw; height: 40vw; right: -6vw; bottom: -12vw; background: radial-gradient(circle, rgba(124, 92, 255, 0.58), transparent 70%); animation: auroraMove2 32s ease-in-out infinite; }
@keyframes auroraMove { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8vw, 6vw); } }
@keyframes auroraMove2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7vw, -5vw); } }
.particle-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.7;
}
/* 所有页面内容置于流光/粒子画布之上（导航自带更高层级不受影响） */
body > *:not(.particle-canvas):not(.flow-bg) { position: relative; z-index: 2; }

.ai-market-hero {
  background: linear-gradient(135deg, rgba(102, 179, 255, 0.96), rgba(59, 157, 255, 0.96));
  padding: 56px 0 48px; min-height: 480px; display: flex; align-items: center;
}
.ai-market-hero::after { display: none; }
.ai-market-text { margin: 0 auto; text-align: center; max-width: 1080px; }
.ai-market-text h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.ai-market-text p { opacity: 0.95; font-size: 16px; margin-bottom: 28px; margin-left: auto; margin-right: auto; max-width: 560px; }

.theme-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.theme-card {
  --theme: #ff7a18;
  --theme-soft: rgba(255, 122, 24, 0.08);
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px 12px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(31, 92, 160, 0.10);
  border: 1px solid rgba(230, 240, 255, 0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  text-decoration: none; color: inherit;
}
.theme-card-link { cursor: pointer; }
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31, 92, 160, 0.18);
}
.theme-card-icon {
  width: 40px; height: 40px; margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme), var(--theme));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px var(--theme-soft);
}
.theme-card-icon svg { width: 18px; height: 18px; }
.theme-card h3 {
  font-size: 15px; font-weight: 800; color: #1a1a2e;
  margin-bottom: 6px;
}
.theme-card-sub {
  font-size: 12px; line-height: 1.5; color: #5a6b82;
  margin-bottom: 10px; min-height: 30px;
}
.theme-highlights {
  list-style: none; text-align: left; margin: 0; padding: 0;
}
.theme-highlights li {
  position: relative;
  font-size: 11.5px; color: #3c4858; line-height: 1.45;
  padding: 6px 8px 6px 24px;
  border-radius: 8px; margin-bottom: 4px;
  background: var(--theme-soft);
}
.theme-highlights li:nth-child(even) { background: var(--theme-soft); }
.theme-highlights li::before {
  content: "";
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--theme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/8px no-repeat;
}

.ai-market-visual { flex: 1 1 48%; max-width: 580px; position: relative; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-slides {
  position: relative; width: 100%;
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 16 / 9; min-height: 240px;
  /* skeleton: shimmer while loading */
  background: linear-gradient(100deg, #dcebfa 20%, #f2f9ff 40%, #dcebfa 60%);
  background-size: 200% 100%;
  animation: heroSkel 1.3s linear infinite;
  box-shadow: 0 24px 70px rgba(43, 140, 255, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.75);
}
@keyframes heroSkel {
  0% { background-position: 120% 0; }
  100% { background-position: -80% 0; }
}
.hero-slides.skel-loaded { animation: none; background: linear-gradient(135deg, #e8f4ff, #cfe8ff); }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; z-index: 1;
  transform: scale(1.06);
  transition: opacity 0.8s ease, transform 6s ease;
  will-change: opacity;
  pointer-events: none;
}
.hero-slides img.active { opacity: 1; z-index: 2; transform: scale(1); pointer-events: auto; }
.slide-dots {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.slide-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer; transition: all 0.25s;
}
.slide-dots span.active { background: #fff; width: 22px; border-radius: 4px; }

@media (max-width: 960px) {
  .ai-market-text { padding: 0 10px; }
}
@media (max-width: 600px) {
  .theme-cards { grid-template-columns: 1fr; gap: 14px; }
  .theme-card { padding: 18px 22px 16px; }
  .theme-card-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .theme-card-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 520px) {
  .ai-market-hero { padding: 48px 0 42px; min-height: auto; }
  .ai-market-text h1 { font-size: 30px; }
  .hero-slides { border-radius: 16px; }
}

/* ===== 超级 AI 工作间 · 接入模型供应商（主体框 4×3 共 12 个） ===== */
.ai-supplier-models {
  padding: 64px 0 72px;
  background: transparent;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.ai-supplier-models .acsm-head {
  text-align: center;
  margin-bottom: 36px;
}
.ai-supplier-models .acsm-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #3b9dff;
  background: rgba(59,157,255,0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ai-supplier-models .acsm-head h2 {
  font-size: 30px; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
}
.ai-supplier-models .acsm-head p {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.ai-supplier-models .acsm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ai-supplier-models .acsm-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-supplier-models .acsm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59,157,255,0.25);
}
.ai-supplier-models .acsm-cover {
  height: 96px;
  background: linear-gradient(135deg, #1a6fc4 0%, #3b9dff 55%, #66b3ff 100%);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ai-supplier-models .acsm-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 100%);
}
.ai-supplier-models .acsm-letter {
  position: relative; z-index: 1;
  font-size: 36px; font-weight: 800;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.ai-supplier-models .acsm-body {
  padding: 16px 18px 18px;
}
.ai-supplier-models .acsm-body h4 {
  font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.ai-supplier-models .acsm-body p {
  font-size: 12.5px;
  color: var(--text-sub); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 40px;
}
.ai-supplier-models .acsm-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 0;
  color: var(--text-sub);
  font-size: 14px;
}
.ai-supplier-models .acsm-more {
  display: block; text-align: center;
  margin-top: 28px;
  font-size: 14px; font-weight: 600;
  color: #3b9dff;
}
.ai-supplier-models .acsm-more:hover { color: #66b3ff; }

@media (max-width: 960px) {
  .ai-supplier-models .acsm-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-supplier-models .acsm-head h2 { font-size: 26px; }
}
@media (max-width: 720px) {
  .ai-supplier-models .acsm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .ai-supplier-models .acsm-grid { grid-template-columns: 1fr; }
}

/* ===== 首页超级 AI 工作间 4 大主题入口（红圈位置对撞色区块） ===== */
.home-ai-themes {
  padding: 72px 24px;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.home-ai-themes-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.home-ai-themes-head {
  text-align: center;
  margin-bottom: 44px;
}
.home-ai-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  background: rgba(59,157,255,0.10);
  border: 1px solid rgba(59,157,255,0.18);
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.home-ai-themes-head h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}
.home-ai-themes-head p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto;
}
.home-ai-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.home-ai-theme-card {
  background: linear-gradient(145deg, #1e3a6f 0%, #13254a 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.home-ai-theme-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #24497f 0%, #182e5a 100%);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.home-ai-theme-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.home-ai-theme-icon svg { width: 30px; height: 30px; }
.home-ai-theme-icon-1 { background: linear-gradient(135deg, #3b9dff, #2b8cff); box-shadow: 0 12px 32px rgba(59,157,255,0.35); }
.home-ai-theme-icon-2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 12px 32px rgba(124,92,255,0.35); }
.home-ai-theme-icon-3 { background: linear-gradient(135deg, #ff9f43, #ff7a18); box-shadow: 0 12px 32px rgba(255,122,24,0.35); }
.home-ai-theme-icon-4 { background: linear-gradient(135deg, #28c76f, #1a9e54); box-shadow: 0 12px 32px rgba(40,199,111,0.35); }
.home-ai-theme-card h3 { font-size: 18px; font-weight: 700; color: #fff; }
.home-ai-theme-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  flex: 1;
}
.home-ai-theme-link {
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.home-ai-theme-card:hover .home-ai-theme-link { color: #fff; gap: 8px; }

@media (max-width: 1080px) {
  .home-ai-theme-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .home-ai-theme-grid { grid-template-columns: 1fr; }
  .home-ai-themes { padding: 56px 20px; }
  .home-ai-themes-head h2 { font-size: 26px; }
}

/* ===== 首页园区管理核心数据 ===== */
.home-stats {
  padding: 64px 24px;
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.home-stats-card {
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(59,157,255,0.10);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(31,45,70,0.05);
  transition: all 0.3s ease;
}
.home-stats-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31,45,70,0.10);
  border-color: rgba(59,157,255,0.22);
}
.home-stats-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.home-stats-label {
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 500;
}
@media (max-width: 860px) {
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .home-stats { padding: 48px 20px; }
}
@media (max-width: 480px) {
  .home-stats-grid { grid-template-columns: 1fr; }
  .home-stats-num { font-size: 32px; }
}

/* ===== 算力中心页面（compute.html） ===== */
/* 统一使用主站浅蓝白主题，不再覆盖 body 背景与导航颜色；
   后台页面背景管理可在此基础上叠加自定义背景图/颜色。 */
body[data-page="compute"] .compute-hero {
  position: relative;
  padding: 110px 0 70px;
  overflow: hidden;
  text-align: center;
  background: transparent;
}
.compute-aurora { position: absolute; inset: 0; pointer-events: none; }
.ca-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
body[data-page="compute"] .ca-orb-1 { width: 360px; height: 360px; background: #3b9dff; top: -120px; left: 15%; opacity: .16; }
body[data-page="compute"] .ca-orb-2 { width: 260px; height: 260px; background: #66b3ff; bottom: 10%; right: 10%; opacity: .12; }
body[data-page="compute"] .ca-orb-3 { width: 180px; height: 180px; background: #3b9dff; top: 30%; right: 25%; opacity: .10; }

.compute-hero-inner { position: relative; z-index: 1; }
.compute-hero-head { max-width: 820px; margin: 0 auto; }
body[data-page="compute"] .compute-hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--text);
}
body[data-page="compute"] .compute-hero h1::before {
  content: attr(data-prefix);
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
body[data-page="compute"] .compute-hero-sub {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 34px;
}
.compute-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 54px;
  flex-wrap: wrap;
}
.btn-compute-primary,
.btn-compute-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-compute-primary {
  background: linear-gradient(135deg, #3b9dff, #66b3ff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(59,157,255,.35);
}
.btn-compute-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(59,157,255,.45); }
.btn-compute-ghost {
  background: rgba(255,255,255,.85);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-compute-ghost:hover { background: #fff; border-color: var(--primary); color: var(--primary); }

.compute-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.compute-stat { text-align: center; }
.compute-stat-value {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}
.compute-stat-label { font-size: 14px; color: var(--text-sub); }

body[data-page="compute"] .compute-features-section { padding: 80px 0 100px; background: transparent; }
body[data-page="compute"] .compute-section-head .section-tag { color: var(--primary); }
body[data-page="compute"] .compute-section-head .section-title { color: var(--text); }
body[data-page="compute"] .compute-section-head .section-title .accent { color: var(--primary); }
body[data-page="compute"] .compute-section-head .section-desc { color: var(--text-sub); }

.compute-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
body[data-page="compute"] .compute-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  display: block;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
body[data-page="compute"] .compute-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,157,255,.35);
  box-shadow: var(--shadow);
}
.compute-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--s, rgba(59,157,255,.1));
  color: var(--c, #3b9dff);
}
.compute-feature-icon svg { width: 24px; height: 24px; }
body[data-page="compute"] .compute-feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
body[data-page="compute"] .compute-feature-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

body[data-page="compute"] .compute-models-section { padding: 80px 0 100px; background: transparent; }
.compute-models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
body[data-page="compute"] .compute-model-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
body[data-page="compute"] .compute-model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,157,255,.35);
  box-shadow: var(--shadow);
}
.compute-model-cover {
  height: 130px;
  background: linear-gradient(135deg, #1a6fc4 0%, #3b9dff 55%, #66b3ff 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.compute-model-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%);
}
.compute-model-letter {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  text-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.compute-model-body { padding: 18px 20px 22px; }
body[data-page="compute"] .compute-model-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
body[data-page="compute"] .compute-model-body p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 算力中心页脚恢复主站默认浅色样式 */
body[data-page="compute"] .site-footer { background: #0f1f3d; color: #c7d3e6; border-top-color: transparent; }
body[data-page="compute"] .site-footer,
body[data-page="compute"] .site-footer a,
body[data-page="compute"] .footer-brand { color: #c7d3e6; }

@media (max-width: 1100px) {
  .compute-models-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .compute-hero { padding: 84px 0 54px; }
  .compute-hero h1 { font-size: 38px; }
  .compute-hero-sub { font-size: 16px; }
  .compute-features { grid-template-columns: repeat(2, 1fr); }
  .compute-stats { gap: 36px; }
  .compute-models-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .compute-hero h1 { font-size: 30px; }
  .compute-features { grid-template-columns: 1fr; }
  .compute-stat-value { font-size: 32px; }
  .compute-models-grid { grid-template-columns: 1fr; }
  .compute-model-cover { height: 160px; }
}

/* ==================== OPC 创业订单池 ==================== */
.opc-pool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.opc-pool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border, #eef0f4);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.opc-pool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,157,255,.12);
  border-color: var(--primary, #3b9dff);
}
.opc-pool-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.opc-pool-row-1 { margin-bottom: 2px; padding-bottom: 8px; border-bottom: 1px dashed var(--border, #eef0f4); }
.opc-pool-row-1 .opc-pool-prod { font-size: 14.5px; font-weight: 700; color: #1f2a3a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opc-pool-row-1 .opc-pool-amt { color: #e8730a; font-weight: 700; font-size: 15px; white-space: nowrap; }
.opc-pool-meta-label { color: var(--text-light, #8a94a6); font-size: 12px; flex: 0 0 56px; }
.opc-pool-meta-val { color: #1f2a3a; font-weight: 500; font-size: 13px; flex: 1; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opc-pool-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--text-light, #8a94a6); }
.opc-pool-empty .e-ico { font-size: 36px; display: block; margin-bottom: 8px; }
.opc-pool-actions { text-align: center; margin-top: 20px; }
@media (max-width: 1100px) { .opc-pool-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .opc-pool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .opc-pool-grid { grid-template-columns: 1fr; } }
