/* ============================================================
   组梦AI - 前台全站样式
   ============================================================ */
:root {
  --primary: #6d5df6;
  --primary-2: #8b5cf6;
  --accent: #0ea5e9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e8ecf3;
  --bg: #f7f8fc;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #6d5df6 0%, #8b5cf6 45%, #0ea5e9 100%);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; height: 64px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; box-shadow: 0 6px 16px rgba(109,93,246,.4);
}
.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a {
  padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: #475569; transition: .2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background: #efe9ff; }
.main-nav a.active {
  color: #fff; background: var(--grad); font-weight: 600;
  box-shadow: 0 4px 14px rgba(109,93,246,.35);
}
.main-nav a.active:hover { color: #fff; background: var(--grad); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(109,93,246,.45); }
.header-user { font-size: 14px; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.header-user a:hover { color: var(--primary); }

/* ============ 公告条 ============ */
.notice-bar { background: linear-gradient(90deg, #4c3ff0, #7c5cf6 55%, #0ea5e9); color: #fff; font-size: 13.5px; }
.notice-bar .wrap { display: flex; gap: 32px; justify-content: center; padding: 7px 24px; overflow: hidden; white-space: nowrap; }
.notice-bar a { opacity: .95; }
.notice-bar a:hover { opacity: 1; text-decoration: underline; }

/* ============ 轮播 ============ */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-stage { position: relative; height: 520px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center; pointer-events: none;
}
.hero-slide.on { opacity: 1; pointer-events: auto; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(500px 320px at 8% 85%, rgba(109,93,246,.16), transparent 60%),
    linear-gradient(180deg, #fbfaff 0%, #f2f4ff 100%);
}
.hero-slide .wrap { position: relative; display: flex; align-items: center; gap: 60px; width: 100%; }
.hero-copy { flex: 1.15; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 30px;
  background: #efeaff; color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero-title { font-size: 44px; font-weight: 800; line-height: 1.25; letter-spacing: 1px; }
.hero-title .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 17px; margin: 16px 0 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 30px; border-radius: 12px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: .22s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(109,93,246,.38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(109,93,246,.5); }
.btn-ghost { background: #fff; color: #334155; border: 1px solid #dbe2ee; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { height: 38px; padding: 0 20px; font-size: 13.5px; border-radius: 10px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-glass {
  width: 400px; height: 300px; border-radius: 24px; position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(80, 70, 200, .18);
  backdrop-filter: blur(6px); padding: 26px;
}
.hero-glass .hg-line { height: 12px; border-radius: 6px; background: #e6e3fb; margin-bottom: 14px; }
.hero-glass .hg-line.short { width: 60%; }
.hero-glass .hg-thumb {
  height: 130px; border-radius: 14px; margin-top: 22px;
  background: linear-gradient(120deg, #6d5df6, #a78bfa 55%, #38bdf8);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px;
  box-shadow: 0 14px 34px rgba(109,93,246,.4);
}
.hero-glass .hg-float {
  position: absolute; right: -26px; top: 44px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 16px; font-size: 13px; font-weight: 600; color: #334155;
  animation: float 3.6s ease-in-out infinite;
}
.hero-glass .hg-float b { color: var(--primary); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.hero-dots i { width: 22px; height: 5px; border-radius: 3px; background: #d9dcf0; cursor: pointer; transition: .3s; }
.hero-dots i.on { width: 36px; background: var(--grad); }

/* ============ 通用版块 ============ */
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .sec-badge {
  display: inline-block; padding: 4px 16px; border-radius: 30px; background: #efeaff;
  color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 14px; letter-spacing: 2px;
}
.sec-head h2 { font-size: 32px; font-weight: 800; letter-spacing: 1px; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* 统计 */
.stats { padding: 10px 0 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.stat-item {
  background: #fff; border-radius: var(--radius); text-align: center; padding: 26px 10px;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6); transition: .25s;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-num { font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* 功能卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--line); transition: .28s; position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; margin-bottom: 18px; background: var(--grad);
  box-shadow: 0 8px 18px rgba(109,93,246,.3);
}
.feature-icon img {
  width: 34px; height: 34px; object-fit: contain;
  background: rgba(255,255,255,.94); border-radius: 9px; padding: 4px; box-sizing: border-box;
  display: block;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13.8px; }

/* 工作流 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow::before {
  content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, #cfd4f5 0 10px, transparent 10px 20px);
}
.flow-step { text-align: center; position: relative; }
.flow-no {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff;
  border: 2px solid #d9dcf5; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--primary); position: relative; z-index: 1; transition: .3s;
}
.flow-step:hover .flow-no { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(109,93,246,.4); }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 13.6px; max-width: 230px; margin: 0 auto; }

/* 引擎 */
.engine-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.engine-tab {
  padding: 8px 22px; border-radius: 30px; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: #475569; transition: .2s;
}
.engine-tab.on, .engine-tab:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(109,93,246,.3); }
.engine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.engine-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .25s;
}
.engine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.engine-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.engine-logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  overflow: hidden; flex-shrink: 0;
}
.engine-logo img { width: 100%; height: 100%; object-fit: cover; }
.engine-top h3 { font-size: 15.5px; }
.engine-top small { color: var(--muted); font-size: 12.5px; display: block; }
.engine-card p { color: var(--muted); font-size: 13.2px; min-height: 40px; }
.engine-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.engine-tags span { background: #f1eeff; color: var(--primary); font-size: 11.5px; padding: 2px 10px; border-radius: 20px; }

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: .28s; position: relative;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-cover {
  height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 42px; overflow: hidden;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.case-card:hover .case-cover img { transform: scale(1.06); }
.case-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-cover .case-live {
  position: absolute; bottom: 10px; right: 10px; background: rgba(109,93,246,.9); color: #fff;
  font-size: 11px; padding: 3px 10px; border-radius: 20px; letter-spacing: .5px;
}
.case-cover .case-cat {
  position: absolute; top: 12px; left: 12px; background: rgba(15,23,42,.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px;
}
.case-meta { padding: 16px 18px; display: block; }
.case-meta h3 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-meta .case-desc { margin: 7px 0 6px; color: var(--muted); font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta .views { color: var(--muted); font-size: 12.5px; display: block; }

/* 定价 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1020px; margin: 0 auto; }
.plan {
  background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 34px 30px;
  position: relative; transition: .28s; display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.recommend { border: 2px solid transparent; background:
  linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 18px 40px rgba(109,93,246,.18); }
.plan-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12.5px; padding: 4px 18px; border-radius: 20px; font-weight: 600;
}
.plan h3 { font-size: 19px; text-align: center; }
.plan-price { text-align: center; margin: 16px 0 4px; }
.plan-price b { font-size: 42px; font-weight: 800; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-desc { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 7px 0; font-size: 14px; color: #334155; display: flex; gap: 8px; align-items: center; }
.plan li::before { content: '✓'; color: #10b981; font-weight: 700; }
.plan .btn { width: 100%; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-cover { height: 160px; background: linear-gradient(120deg, #ede9fe, #e0f2fe); display: flex; align-items: center; justify-content: center; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover .news-emoji { font-size: 44px; }
.news-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 15.5px; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { color: var(--muted); font-size: 13.2px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-foot { color: #94a3b8; font-size: 12.5px; margin-top: 12px; display: flex; gap: 14px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
  background: var(--grad); border-radius: 24px; color: #fff; text-align: center;
  padding: 66px 30px; position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-box::before { width: 260px; height: 260px; top: -110px; left: -60px; }
.cta-box::after { width: 200px; height: 200px; bottom: -90px; right: -40px; }
.cta-box h2 { font-size: 32px; font-weight: 800; position: relative; }
.cta-box p { opacity: .92; margin: 12px 0 30px; position: relative; }
.cta-box .btn { background: #fff; color: var(--primary); position: relative; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.cta-box .btn:hover { transform: translateY(-2px); }

/* ============ 页脚 ============ */
.site-footer { background: #12101f; color: #9aa0b5; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-desc { font-size: 13.8px; line-height: 1.8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.8px; padding: 5px 0; transition: .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12.8px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.friends { display: flex; flex-wrap: wrap; gap: 14px; padding: 18px 0 4px; font-size: 12.8px; border-top: 1px solid rgba(255,255,255,.08); }
.friends a:hover { color: #fff; }
.friends .fl-label { color: #6b7089; }

/* ============ 内页 ============ */
.page-hero { background: linear-gradient(150deg, #f3f0ff 0%, #eef7ff 100%); padding: 56px 0 46px; text-align: center; }
.page-hero h1 { font-size: 32px; font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 8px; }
.filter-row { display: flex; gap: 10px; justify-content: center; margin: 26px 0 34px; flex-wrap: wrap; }
.chip {
  padding: 7px 20px; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; cursor: pointer; color: #475569; transition: .2s;
}
.chip.on, .chip:hover { background: var(--grad); color: #fff; border-color: transparent; }
.pager-center { display: flex; justify-content: center; margin: 34px 0; }
.pager-center ul.pagination {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.pager-center .pagination li { list-style: none; }
.pager-center .pagination li a,
.pager-center .pagination li span {
  min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; color: #475569; transition: .2s;
}
.pager-center .pagination li a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.pager-center .pagination li.active span { background: var(--grad); color: #fff; border-color: transparent; }
.pager-center .pagination li.disabled span { color: #cbd5e1; background: #f8fafc; cursor: not-allowed; }

/* 新闻列表布局 */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.news-list-item {
  display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 16px; transition: .22s;
}
.news-list-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-list-item .nl-cover {
  width: 200px; height: 130px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(120deg, #ede9fe, #e0f2fe); display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.news-list-item .nl-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-list-item h3 { font-size: 17px; margin-bottom: 8px; }
.news-list-item h3 a:hover { color: var(--primary); }
.news-list-item p { color: var(--muted); font-size: 13.6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nl-meta { color: #94a3b8; font-size: 12.5px; margin-top: 12px; display: flex; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.side-card h4 { font-size: 15px; margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--primary); }
.side-card li { list-style: none; padding: 8px 0; border-bottom: 1px dashed #eef1f6; font-size: 13.6px; }
.side-card li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.side-card li a:hover { color: var(--primary); }
.side-card li a span:last-child { color: #94a3b8; font-size: 12px; flex-shrink: 0; }
/* 标题单行截断(新闻列表侧栏/详情页侧栏通用) */
.side-card li a .lw-clip,
.side-card li a span:first-child {
  flex: 1; min-width: 0; font-size: 13.6px; color: #334155;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 文章详情 */
.news-layout > * { min-width: 0; }
.article-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 40px 46px; max-width: 100%; overflow-wrap: break-word; }
.article-wrap h1 { font-size: 26px; line-height: 1.4; margin-bottom: 14px; overflow-wrap: break-word; }
.article-meta { color: #94a3b8; font-size: 13px; display: flex; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-content { font-size: 15.5px; line-height: 1.9; color: #1f2937; overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
.article-content p { margin: 12px 0; }
.article-content h2, .article-content h3 { margin: 22px 0 12px; overflow-wrap: break-word; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
.article-content table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.article-content pre { white-space: pre-wrap; overflow-x: auto; }
.article-content a { overflow-wrap: anywhere; }
.article-content ul, .article-content ol { padding-left: 26px; margin: 12px 0; }
.article-content li { margin: 6px 0; }
.article-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.article-nav a { display: flex; align-items: center; min-width: 0; max-width: 50%; color: #475569; }
.article-nav a .an-label { flex-shrink: 0; }
.article-nav a .an-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--primary); }
@media (max-width: 640px) {
  .article-nav { flex-direction: column; gap: 10px; }
  .article-nav a { max-width: 100%; }
}

/* 登录注册 */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 60px 20px;
  background: linear-gradient(135deg, #f3f0ff 0%, #fdf4ff 50%, #eef7ff 100%); }
.auth-card { width: 420px; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(80,70,200,.14); padding: 40px 38px; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; font-size: 13.5px; color: #475569; margin-bottom: 6px; }
.auth-field input {
  width: 100%; height: 46px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 14px;
  font-size: 14.5px; outline: none; transition: .2s;
}
.auth-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(109,93,246,.14); }
.auth-btn { width: 100%; height: 48px; border: none; border-radius: 12px; background: var(--grad); color: #fff;
  font-size: 15.5px; font-weight: 600; cursor: pointer; letter-spacing: 6px; transition: .25s; margin-top: 8px; }
.auth-btn:hover { box-shadow: 0 12px 26px rgba(109,93,246,.4); transform: translateY(-1px); }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.auth-msg { color: #ef4444; font-size: 13px; text-align: center; min-height: 20px; margin-bottom: 6px; }

/* 联系/留言条 */
.contact-strip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.contact-strip .cs-form { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.contact-strip input { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 14px; outline: none; }
.contact-strip input:focus { border-color: var(--primary); }

/* 响应式 */
@media (max-width: 1024px) {
  .feature-grid, .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .flow::before { display: none; }
  .plans, .case-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-slide .wrap { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 640px) {
  .feature-grid, .engine-grid, .plans, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .article-wrap { padding: 26px 20px; }
}

/* ================= 帮助文档页 ================= */
.help-layout{display:flex;gap:32px;align-items:flex-start}
.help-aside{flex:none;width:230px;position:sticky;top:86px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 14px;box-shadow:0 6px 24px rgba(60,40,140,.06)}
.help-aside-title{font-weight:700;font-size:14px;color:#3b2f70;padding:0 10px 10px;border-bottom:1px solid var(--line);margin-bottom:8px}
.help-toc{display:flex;flex-direction:column}
.help-toc a{padding:9px 10px;border-radius:10px;color:#444;font-size:14px;text-decoration:none;transition:.18s}
.help-toc a:hover{background:#f3efff;color:#6a3df5}
.help-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:26px}
.help-sec{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 32px;box-shadow:0 6px 24px rgba(60,40,140,.06);scroll-margin-top:86px}
.help-sec .sec-head{margin-bottom:14px}
.help-sec .sec-sub{color:#888;font-size:14px;margin-top:6px}
.help-content ul,.help-content ol{padding-left:22px}
.help-content li{margin:8px 0;line-height:1.8}
.help-content a{color:#6a3df5;font-weight:600}
@media (max-width:860px){
  .help-layout{flex-direction:column}
  .help-aside{position:static;width:100%}
  .help-toc{flex-direction:row;flex-wrap:wrap}
}

/* ================= 客户端下载专题页 ================= */
.dl-hero{background:linear-gradient(135deg,#2b1a66 0%,#4c2bb8 55%,#7a4df8 100%);color:#fff;padding:72px 0 84px;position:relative;overflow:hidden}
.dl-hero::after{content:'';position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.14),transparent 65%);top:-180px;right:-120px}
.dl-hero-inner{display:flex;align-items:center;gap:56px;position:relative;z-index:1}
.dl-hero-txt{flex:1;min-width:0}
.dl-badge{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);padding:5px 14px;border-radius:999px;font-size:13px;letter-spacing:.5px;margin-bottom:16px}
.dl-hero h1{font-size:42px;font-weight:800;margin:0 0 14px;letter-spacing:1px}
.dl-lead{font-size:16px;line-height:1.9;color:rgba(255,255,255,.88);margin:0 0 26px}
.dl-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.dl-btn-main{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#ffd76a,#ffb347);color:#5a3800;font-size:18px;font-weight:800;padding:15px 34px;border-radius:14px;text-decoration:none;box-shadow:0 10px 30px rgba(255,180,60,.4);transition:.2s}
.dl-btn-main:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(255,180,60,.55)}
.dl-meta{font-size:13px;color:rgba(255,255,255,.75)}
.dl-req{margin-top:16px;font-size:13px;color:rgba(255,255,255,.65)}
.dl-hero-art{flex:none;width:380px}
.dl-win-mock{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.35);transform:rotate(2deg)}
.dl-win-bar{display:flex;align-items:center;gap:6px;background:#eceaf5;padding:10px 14px}
.dl-win-bar i{width:10px;height:10px;border-radius:50%;background:#d9d4ee}
.dl-win-bar i:first-child{background:#ff6f6f}.dl-win-bar i:nth-child(2){background:#ffd76a}.dl-win-bar i:nth-child(3){background:#7ce38b}
.dl-win-bar span{font-size:12px;color:#666;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-win-body{padding:20px}
.dl-win-line{height:10px;border-radius:6px;background:linear-gradient(90deg,#e8e2ff,#f3efff);margin-bottom:12px}
.dl-win-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}
.dl-win-grid div{height:64px;border-radius:10px;background:linear-gradient(135deg,#c9b8ff,#9f7bff)}
.dl-win-grid div:nth-child(2){background:linear-gradient(135deg,#ffb7d9,#ff8ec7)}
.dl-win-grid div:nth-child(3){background:linear-gradient(135deg,#a7e6ff,#6fc9ff)}
.dl-win-grid div:nth-child(4){background:linear-gradient(135deg,#ffe1a8,#ffc36f)}
.dl-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.dl-feat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 24px;box-shadow:0 6px 24px rgba(60,40,140,.06);transition:.2s}
.dl-feat:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(60,40,140,.12)}
.dl-feat-ico{font-size:30px;margin-bottom:12px}
.dl-feat h3{font-size:17px;margin:0 0 8px;color:#2b1a66}
.dl-feat p{font-size:13.5px;color:#777;line-height:1.75;margin:0}
.dl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.dl-step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 26px;text-align:center;position:relative}
.dl-step-num{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6a3df5,#9f7bff);color:#fff;font-size:19px;font-weight:800;margin-bottom:14px}
.dl-step h3{font-size:16px;margin:0 0 8px;color:#2b1a66}
.dl-step p{font-size:13.5px;color:#777;line-height:1.8;margin:0}
.dl-note{margin-top:24px;background:#fff8e8;border:1px solid #f5e3b3;border-radius:12px;padding:14px 20px;font-size:13.5px;color:#8a6d1f;line-height:1.8}
.dl-changelog{display:flex;flex-direction:column;gap:14px}
.dl-log-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 26px}
.dl-log-ver{font-weight:800;font-size:16px;color:#2b1a66;margin-bottom:8px}
.dl-log-date{font-weight:400;font-size:12.5px;color:#999;margin-left:8px}
.dl-log-item ul{padding-left:20px;margin:0}
.dl-log-item li{font-size:13.5px;color:#666;line-height:1.9}
@media (max-width:960px){
  .dl-hero-inner{flex-direction:column;text-align:center}
  .dl-actions{justify-content:center}
  .dl-hero-art{display:none}
  .dl-feats,.dl-steps{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .dl-feats,.dl-steps{grid-template-columns:1fr}
  .dl-hero h1{font-size:30px}
}

/* 导航当前页高亮(蓝紫底白字, 与 hover 区分) */
