/* ============================================================
   商龙云 · SaaS 官网高级感设计系统
   ============================================================ */
:root {
  --ink: #0b1220;          /* 深色标题 */
  --body: #4b5468;         /* 正文 */
  --muted: #8b93a7;        /* 弱化文字 */
  --primary: #4f46e5;      /* 主色-靛蓝 */
  --primary-2: #7c3aed;    /* 副色-紫 */
  --accent: #22d3ee;       /* 点缀-青 */
  --gold: #f59e0b;
  --bg: #f7f8fc;           /* 浅灰背景 */
  --card: #ffffff;
  --line: #e9ecf5;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 60px rgba(79, 70, 229, .18);
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer; border: 0; transition: all .25s ease;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(99, 91, 229, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 91, 229, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline {
  background: #fff; color: var(--primary); border: 1px solid #d9dcf0;
}
.btn-outline:hover { border-color: var(--primary); background: #f5f5ff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s ease;
  background: rgba(11, 18, 32, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 24px rgba(15, 23, 42, .08);
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 38px; width: auto; }
.logo .logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.logo .logo-text em { font-style: normal; font-size: 12px; font-weight: 400; display: block; letter-spacing: 2px; opacity: .6; line-height: 1.2; }
.site-header.scrolled .logo .logo-text { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.main-nav a {
  color: rgba(255, 255, 255, .82); font-size: 15px; padding: 8px 14px;
  border-radius: 8px; font-weight: 500; white-space: nowrap;
}
.main-nav a:hover, .site-header.scrolled .main-nav a:hover { color: var(--primary); background: rgba(79, 70, 229, .08); }
.site-header.scrolled .main-nav a { color: #3c4457; }
.header-cta { flex: none; display: flex; align-items: center; gap: 10px; }
.header-cta .btn { height: 40px; padding: 0 22px; font-size: 14px; }
.site-header:not(.scrolled) .header-cta .btn-outline {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45);
}
.site-header:not(.scrolled) .header-cta .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, .45), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(34, 211, 238, .25), transparent 60%),
              linear-gradient(160deg, #0b1220 0%, #101a33 55%, #16123a 100%);
  padding: 172px 0 104px; color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 1px;
  color: #c7d2fe; background: rgba(99, 102, 241, .16);
  border: 1px solid rgba(129, 140, 248, .4);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 {
  margin: 26px 0 20px; font-size: 52px; line-height: 1.22; font-weight: 800; color: #fff;
  letter-spacing: 1px;
}
.hero h1 .grad-text {
  background: linear-gradient(92deg, #818cf8, #22d3ee 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: rgba(226, 232, 240, .82); max-width: 640px; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-tags span {
  font-size: 13px; color: rgba(226, 232, 240, .75);
  padding: 5px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 4px;
  color: var(--primary); text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; background: rgba(79, 70, 229, .08);
}
.section-head h2 { margin: 16px 0 12px; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: .5px; line-height: 1.35; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- 产品矩阵 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .3s ease; position: relative; overflow: hidden;
}
.product-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad); transition: width .35s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dcd9f7; }
.product-card:hover::after { width: 100%; }
.product-card .p-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-card .p-icon {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef0ff, #f3e8ff);
}
.product-card .p-icon img { width: 30px; height: 30px; }
.product-card h3 { font-size: 19px; color: var(--ink); font-weight: 700; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card .tags span {
  font-size: 12.5px; color: #5a6172; padding: 4px 12px; border-radius: 8px;
  background: #f5f6fb; border: 1px solid #eef0f7;
}
.product-card .more { display: inline-block; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.product-card .more:hover { letter-spacing: .5px; }

/* ---------- 解决方案 ---------- */
.solution-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all .3s ease; height: 100%;
}
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.solution-card .s-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef0ff, #fdf3e3); margin-bottom: 18px;
}
.solution-card .s-icon img { width: 32px; height: 32px; }
.solution-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.solution-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 微信对接(商龙助手) ---------- */
.wx-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column;
}
.wx-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wx-card .wx-media {
  height: 230px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #101a33, #241b4d);
}
.wx-card .wx-media img { max-height: 206px; width: auto; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.wx-card .wx-media .icon-only { width: 84px; height: 84px; opacity: .95; }
.wx-card .wx-body { padding: 26px 28px 30px; flex: 1; }
.wx-card h3 { font-size: 18px; color: var(--ink); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.wx-card h3 .chip {
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: rgba(79,70,229,.09); padding: 3px 10px; border-radius: 999px; letter-spacing: 1px;
}
.wx-card li { position: relative; padding-left: 22px; font-size: 14px; color: #5a6172; line-height: 2; }
.wx-card li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--grad);
}

/* ---------- 交易平台(深色板块) ---------- */
.trade {
  position: relative; overflow: hidden; color: #fff; padding: 100px 0;
  background: radial-gradient(1000px 500px at 15% 0%, rgba(79, 70, 229, .4), transparent 55%),
              radial-gradient(800px 420px at 95% 100%, rgba(34, 211, 238, .18), transparent 55%),
              linear-gradient(160deg, #0b1220, #141233 60%, #0d1730);
}
.trade .section-head h2 { color: #fff; }
.trade .section-head p { color: rgba(226, 232, 240, .65); }
.trade .section-head .eyebrow { background: rgba(129, 140, 248, .15); color: #a5b4fc; }
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trade-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.trade-card {
  border-radius: var(--radius); padding: 30px 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px); transition: all .3s ease;
}
.trade-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-5px); border-color: rgba(129, 140, 248, .5); }
.trade-card .t-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #a5b4fc; padding: 4px 12px; border-radius: 8px;
  background: rgba(99, 102, 241, .18); border: 1px solid rgba(129, 140, 248, .35);
  margin-bottom: 16px;
}
.trade-card h3 { font-size: 18px; color: #fff; font-weight: 700; margin-bottom: 10px; }
.trade-card p { font-size: 13.5px; color: rgba(226, 232, 240, .62); line-height: 1.75; }
.trade-note {
  margin-top: 40px; padding: 22px 28px; border-radius: 14px; font-size: 13.5px;
  color: rgba(226, 232, 240, .72); line-height: 1.9;
  background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .22);
}
.trade-note strong { color: #c7d2fe; }

/* 门户网站(信息服务)面板 */
.portal-wrap {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px;
}
.portal-main {
  border-radius: var(--radius); padding: 30px 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px); transition: all .3s ease;
}
.portal-main:hover { background: rgba(255, 255, 255, .09); border-color: rgba(129, 140, 248, .5); }
.portal-main .t-badge { margin-bottom: 16px; }
.portal-main h3 { font-size: 18px; color: #fff; font-weight: 700; margin-bottom: 10px; }
.portal-main p { font-size: 13.5px; color: rgba(226, 232, 240, .62); line-height: 1.85; }
.portal-points {
  border-radius: var(--radius); padding: 30px 28px;
  background: rgba(99, 102, 241, .10);
  border: 1px dashed rgba(129, 140, 248, .45);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.portal-points li {
  position: relative; padding-left: 28px; font-size: 14px;
  color: rgba(226, 232, 240, .85); line-height: 1.6;
}
.portal-points li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border-radius: 50%; font-size: 11px; font-weight: 800; color: #c7d2fe;
  background: rgba(129, 140, 248, .22);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 订阅收费 ---------- */
.pricing-tip { text-align: center; margin-bottom: 44px; }
.pricing-tip span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #6d7690;
  padding: 8px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.price-subhead {
  display: flex; align-items: center; gap: 20px;
  margin: 64px 0 36px; font-size: 17px; font-weight: 800;
  color: var(--ink); letter-spacing: 1px; text-align: center;
}
.price-subhead span { flex: none; }
.price-subhead::before, .price-subhead::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 28px 30px;
  display: flex; flex-direction: column; transition: all .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card .plan-tag { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }
.price-card h3 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 6px 0 4px; }
.price-card .plan-desc { font-size: 13px; color: var(--muted); min-height: 40px; }
.price-card .price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price-card .price .num { font-size: 38px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card .price .unit { font-size: 13px; color: var(--muted); }
.price-card .price .currency { font-size: 16px; font-weight: 700; color: var(--ink); }
.price-card ul { margin: 18px 0 24px; flex: 1; }
.price-card li { position: relative; padding: 6px 0 6px 28px; font-size: 13.5px; color: #525b70; }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; font-size: 11px; font-weight: 800; color: var(--primary);
  background: rgba(79, 70, 229, .1); display: flex; align-items: center; justify-content: center;
}
.price-card .btn { width: 100%; }
.price-card.featured {
  background: linear-gradient(180deg, #141233, #0b1220);
  border: 1px solid rgba(129, 140, 248, .55);
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3, .price-card.featured .price .num, .price-card.featured .price .currency { color: #fff; }
.price-card.featured .plan-tag { color: #a5b4fc; }
.price-card.featured .plan-desc, .price-card.featured .price .unit { color: rgba(226, 232, 240, .6); }
.price-card.featured li { color: rgba(226, 232, 240, .85); }
.price-card.featured li::before { color: #c7d2fe; background: rgba(129, 140, 248, .22); }
.price-card .hot-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #fff;
  background: var(--grad); padding: 5px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .45);
}
.price-foot { margin-top: 36px; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.9; }
.price-foot a { color: var(--primary); border-bottom: 1px dashed rgba(79, 70, 229, .5); }
.price-foot a:hover { border-bottom-style: solid; }

/* ---------- 服务保障 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-item {
  text-align: center; padding: 36px 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: all .3s ease;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-item em {
  display: block; font-style: normal; font-size: 24px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.service-item p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- 合规与安全 ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .3s ease;
}
.comp-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.comp-card .c-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef0ff, #e6fbff); font-size: 22px;
}
.comp-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.comp-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.comp-card p a { color: var(--primary); }
.qual-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .5px; color: #92600a;
  background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35);
}
.qual-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, .8);
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; padding: 80px 0; color: #fff;
  background: radial-gradient(800px 400px at 85% 20%, rgba(34, 211, 238, .3), transparent 60%),
              linear-gradient(120deg, #3730a3, #6d28d9 70%, #7c3aed);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); }

/* ---------- 页脚 ---------- */
.footer { background: #0b1220; color: rgba(226, 232, 240, .65); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo img { height: 34px; }
.footer .f-logo span { font-size: 19px; font-weight: 800; color: #fff; }
.footer .f-about { font-size: 13.5px; line-height: 1.9; max-width: 340px; }
.footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: 2px; }
.footer li { margin-bottom: 11px; font-size: 13.5px; }
.footer li a:hover { color: #a5b4fc; }
.footer .f-contact li { display: flex; gap: 8px; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 12.5px; line-height: 2; color: rgba(226, 232, 240, .45); }
.footer-bottom a { color: rgba(226, 232, 240, .55); }
.footer-bottom a:hover { color: #a5b4fc; }
.footer-bottom .sep { margin: 0 10px; opacity: .4; }
.footer-bottom .ga-beian { display: inline-flex; align-items: center; gap: 5px; }
.footer-bottom .ga-icon { width: 14px; height: 14px; flex: none; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- 协议文档页 ---------- */
.doc-hero {
  background: linear-gradient(160deg, #0b1220, #16123a);
  color: #fff; padding: 130px 0 56px;
}
.doc-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: 1px; }
.doc-hero p { margin-top: 10px; color: rgba(226, 232, 240, .65); font-size: 14px; }
.doc-nav {
  position: sticky; top: 72px; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.doc-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.doc-nav a {
  padding: 14px 20px; font-size: 14.5px; font-weight: 600; color: var(--body);
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.doc-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.doc-section { padding: 56px 0 8px; }
.doc-section h2 {
  font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 20px;
  padding-left: 14px; border-left: 4px solid var(--primary); line-height: 1.4;
}
.doc-section h3 { font-size: 16px; color: var(--ink); margin: 22px 0 8px; font-weight: 700; }
.doc-section p { font-size: 14.5px; line-height: 1.95; color: #525b70; margin-bottom: 10px; }
.doc-section ol, .doc-section ul { padding-left: 22px; margin-bottom: 12px; }
.doc-section li { font-size: 14.5px; line-height: 1.95; color: #525b70; list-style: decimal; }
.doc-section ul li { list-style: disc; }
.doc-updated { font-size: 13px; color: var(--muted); }

/* ---------- 提示弹窗 ---------- */
.toast {
  position: fixed; top: 50%; left: 50%; z-index: 1000;
  transform: translate(-50%, -46%);
  max-width: 90vw; padding: 14px 24px 14px 20px; border-radius: 12px;
  background: rgba(15, 20, 36, .92); color: #fff; font-size: 15px; line-height: 1.6;
  box-shadow: 0 12px 36px rgba(8, 12, 24, .3);
  display: flex; align-items: center; gap: 9px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.toast::before {
  content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.toast.show {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%);
}

/* ---------- 微信二维码浮层 ---------- */
.wx-qr-wrap { position: relative; display: inline-block; }
.wx-qr-pop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 202px; padding: 14px 14px 12px; border-radius: 14px;
  background: #fff; box-shadow: 0 18px 50px rgba(8, 12, 24, .35);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 30; cursor: default;
}
.wx-qr-pop.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.wx-qr-pop::after {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 8px solid transparent; border-bottom-color: #fff;
}
.wx-qr-pop img { width: 160px; height: 160px; border-radius: 8px; display: block; }
.wx-qr-pop b { font-size: 12.5px; color: var(--ink); font-weight: 600; white-space: nowrap; letter-spacing: .5px; }

/* ---------- 订阅弹窗 ---------- */
body.modal-open { overflow: hidden; }
.modal-mask {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(8, 12, 24, .55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.modal-mask.open { opacity: 1; visibility: visible; }
.modal-dialog {
  position: relative; width: 440px; max-width: 100%;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: var(--radius);
  padding: 36px 32px 32px; box-shadow: 0 24px 80px rgba(8, 12, 24, .28);
  transform: translateY(18px) scale(.97); transition: transform .25s ease;
}
.modal-mask.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: #f2f4f9; color: var(--body); font-size: 20px; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s;
}
.modal-close:hover { background: #e8ebf3; color: var(--ink); }
.modal-plan {
  padding: 22px 24px; border-radius: 14px; margin-bottom: 24px;
  background: linear-gradient(135deg, #eef0ff, #f5f0ff); border: 1px solid #e3e6fb;
}
.modal-plan .m-tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px;
  font-weight: 700; letter-spacing: 1px; color: #fff; background: var(--grad);
}
.modal-plan h3 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 10px 0 4px; }
.modal-plan .m-price { font-size: 14px; color: var(--muted); }
.modal-plan .m-price b { font-size: 24px; color: var(--primary); font-weight: 800; }
.modal-choice { display: flex; flex-direction: column; gap: 12px; }
.modal-choice[hidden] { display: none; }
.modal-choice .choice-btn {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 12px; font-family: inherit;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.modal-choice .choice-btn:hover {
  border-color: var(--primary); background: #fafaff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, .12);
}
.modal-choice .choice-btn b {
  display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.modal-choice .choice-btn span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.modal-back {
  display: inline-block; font-size: 12.5px; color: var(--muted); margin-bottom: 12px;
}
.modal-back:hover { color: var(--primary); }
.modal-form label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px;
}
.modal-form input, .modal-form textarea, .modal-form select {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  font-size: 14px; color: var(--ink); background: #f7f8fc;
  border: 1px solid var(--line); border-radius: 10px; outline: none;
  font-family: inherit; transition: border-color .2s, background .2s;
}
.modal-form input:focus, .modal-form textarea:focus, .modal-form select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.modal-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d7690' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.modal-form select:disabled { color: #a3abc0; cursor: not-allowed; }
.modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-form textarea { resize: vertical; min-height: 64px; }
.modal-form .btn { width: 100%; margin-top: 4px; justify-content: center; }
.modal-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.modal-success { text-align: center; padding: 16px 0 4px; }
.modal-success .s-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 28px rgba(79, 70, 229, .35);
}
.modal-success h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 22px; }
@media (max-width: 520px) {
  .modal-mask { padding: 12px; }
  .modal-dialog { padding: 30px 20px 24px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .header-inner { gap: 20px; }
}
@media (max-width: 992px) {
  .hero h1 { font-size: 40px; }
  .grid-3, .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .trade-grid, .trade-grid.cols-3, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-wrap { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .price-subhead { font-size: 15px; gap: 12px; }
  .grid-3, .comp-grid, .trade-grid, .trade-grid.cols-3, .price-grid, .service-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
