:root {
  --primary: #2b7fd4;
  --primary-dark: #1f66b0;
  --text-1: #1c2733;
  --text-2: #5b6b7c;
  --border: #e3eaf2;
  --bg-soft: #f5f9fd;
  --radius: 12px;
  --max: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  color: var(--text-1);
  line-height: 1.75;
  background: #fff;
}
a { color: var(--primary); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hl { color: var(--primary); font-weight: 700; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--text-1); }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; color: var(--text-2); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--primary); }

/* ===== 首屏 ===== */
.hero {
  background: linear-gradient(165deg, #f0f7fe 0%, #f8fbff 55%, #fff 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 36px; align-items: start; }
.badge {
  display: inline-block; background: #e6f1fb; color: var(--primary-dark);
  font-size: 12.5px; font-weight: 600; padding: 5px 14px;
  border-radius: 999px; margin-bottom: 14px;
}
.hero h1 {
  font-size: 34px; line-height: 1.28; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 14px;
}
.hero .lead { font-size: 15.5px; color: var(--text-2); margin-bottom: 22px; max-width: 560px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
.stat b { display: block; font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.stat span { font-size: 13px; color: var(--text-2); }

/* 首屏左栏要点 */
.hero-points { display: grid; gap: 11px; max-width: 560px; }
.hp-item {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; color: var(--text-2); line-height: 1.6;
}
.hp-dot {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: #e6f1fb;
  display: flex; align-items: center; justify-content: center;
}
.hp-dot svg { width: 11px; height: 11px; stroke: var(--primary); stroke-width: 3; fill: none; }
.hp-item b { color: var(--text-1); font-weight: 700; }

/* ===== 首屏右列（横版功能名 + 下载区） ===== */
.hero-side {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%;
}

/* ===== 工具箱功能（横版，只保留蓝色功能名） ===== */
.hero-soft {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.hs-title {
  font-size: 15px; font-weight: 800; margin-bottom: 11px;
  padding-left: 10px; border-left: 3px solid var(--primary);
  line-height: 1.3;
}
.hs-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.hs-row li {
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  background: #eef6fd; border-radius: 999px;
  padding: 5px 13px; white-space: nowrap;
}

/* ===== 下载区（右侧，压缩版） ===== */
.download-box {
  background: #fff; border: 2px solid var(--primary);
  border-radius: 13px; padding: 17px 16px;
  box-shadow: 0 10px 26px rgba(43,127,212,.16);
  text-align: center;
}
.download-box h3 { font-size: 17px; font-weight: 800; }
.download-box .dl-sub { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.download-box .btn {
  display: block; width: 100%; margin-top: 10px;
  padding: 10px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 700; text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 5px 13px rgba(43,127,212,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: #f0f7fe; transform: translateY(-2px); }
.btn .mini {
  display: inline-block; font-size: 11.5px; font-weight: 500;
  color: var(--text-2); background: var(--bg-soft);
  border-radius: 4px; padding: 1px 6px; margin-left: 5px;
}
.dl-divider {
  display: flex; align-items: center; gap: 10px;
  color: #b3bec9; font-size: 12px; margin: 13px 0 0;
}
.dl-divider::before, .dl-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.dl-free {
  margin-top: 12px; font-size: 12px; color: var(--text-2);
  background: #f2f8ff; border-radius: 7px; padding: 7px;
}

/* ===== 通用区块 ===== */
.section { padding: 68px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; }
.sec-title p { font-size: 15.5px; color: var(--text-2); margin-top: 9px; }
.fact {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
}

/* ===== 电商干货（左）+ 业务板块（右） ===== */
.dry-grid { display: grid; grid-template-columns: 1fr 348px; gap: 42px; align-items: start; }
.dry-main { min-width: 0; }
.sec-title.left { text-align: left; margin-bottom: 30px; }
.sec-title.left h2 { font-size: 29px; font-weight: 800; letter-spacing: -.3px; }
.sec-title.left p { font-size: 15px; color: var(--text-2); margin-top: 8px; }

.qa-list { display: grid; gap: 18px; }
.qa {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.qa:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(43,127,212,.08); }
.qa h3 { font-size: 18px; font-weight: 800; margin-bottom: 9px; line-height: 1.45; }
.qa h3 a { color: var(--text-1); }
.qa h3 a:hover { color: var(--primary); }
.qa h3::before {
  content: "Q"; display: inline-block;
  width: 22px; height: 22px; margin-right: 8px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700;
  border-radius: 5px; text-align: center; line-height: 22px;
  vertical-align: 2px;
}
.qa p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.qa p b { color: var(--text-1); font-weight: 700; }

/* 干货标题目录 */
.dry-list { list-style: none; display: grid; gap: 12px; }
.dry-list a {
  display: block; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px 18px 46px; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.dry-list a:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(43,127,212,.09);
  transform: translateX(3px);
}
.dry-list a::before {
  content: "Q"; position: absolute; left: 18px; top: 19px;
  width: 20px; height: 20px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700;
  border-radius: 5px; text-align: center; line-height: 20px;
}
.dl-q { display: block; font-size: 17px; font-weight: 700; color: var(--text-1); line-height: 1.5; }
.dry-list a:hover .dl-q { color: var(--primary); }
.dl-d { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 4px; }

/* 右侧边栏 */
.dry-side { display: grid; gap: 16px; }
.side-block {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px;
}
.side-block h3 {
  font-size: 18px; font-weight: 800; margin-bottom: 16px;
  padding-left: 10px; border-left: 3px solid var(--primary); line-height: 1.3;
}
.side-block.accent { background: #fff; border-color: #cfe2f5; }
.sb-item { margin-bottom: 16px; }
.sb-item:last-child { margin-bottom: 0; }
.sb-t { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.sb-item p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.sb-stat { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.sb-stat b { font-size: 22px; font-weight: 800; color: var(--primary); min-width: 62px; }
.sb-stat span { font-size: 13.5px; color: var(--text-2); }

/* ===== 文章页 ===== */
.page-hero {
  background: linear-gradient(165deg, #f0f7fe 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 34px;
}
.crumb { font-size: 13.5px; color: var(--text-2); margin-bottom: 14px; }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--primary); }
.crumb span { margin: 0 6px; color: #b3bec9; }
.page-hero h1 {
  font-size: 31px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.3px; margin-bottom: 12px;
}
.page-hero .lead { font-size: 16px; color: var(--text-2); max-width: 760px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-tags span {
  font-size: 12.5px; color: var(--primary-dark);
  background: #e6f1fb; border-radius: 999px; padding: 4px 12px;
}

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; padding: 42px 24px 60px; }
.article { min-width: 0; }
.article h2 {
  font-size: 21px; font-weight: 800; margin: 32px 0 12px;
  padding-left: 12px; border-left: 4px solid var(--primary);
  line-height: 1.45;
}
.article h2:first-child { margin-top: 0; }
.article p { font-size: 15.5px; color: var(--text-2); line-height: 1.95; margin-bottom: 14px; }
.article ul { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.article li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 15px; color: var(--text-2); line-height: 1.85;
}
.article li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

.key-box {
  background: #f5f9fd; border: 1px solid #d7e8f8;
  border-radius: var(--radius); padding: 22px 24px; margin: 32px 0;
}
.key-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 13px; }
.key-box ul { list-style: none; padding: 0; margin: 0; }
.key-box li {
  padding-left: 22px; margin-bottom: 8px;
  font-size: 14.5px; color: var(--text-1); line-height: 1.75;
}
.key-box li::before {
  content: "✓"; left: 0; top: 0;
  background: none; color: var(--primary);
  font-size: 14px; font-weight: 700; width: auto; height: auto; border-radius: 0;
}

.faq-box { margin: 34px 0; }
.faq-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px; background: #fff;
}
.faq-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.faq-item h4::before {
  content: "Q"; display: inline-block;
  width: 20px; height: 20px; margin-right: 8px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700;
  border-radius: 5px; text-align: center; line-height: 20px;
  vertical-align: 2px;
}
.faq-item p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; margin: 0; }

.end-cta {
  background: linear-gradient(135deg, #f0f7fe, #f8fbff);
  border: 1px solid #d7e8f8; border-radius: var(--radius);
  padding: 26px 28px; text-align: center; margin-top: 34px;
}
.end-cta p { font-size: 15px; color: var(--text-2); margin-bottom: 16px; }
.end-cta .btn { display: inline-block; width: auto; margin: 0 6px 0 0; padding: 11px 26px; }

.side-cta { position: sticky; top: 82px; display: grid; gap: 16px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 10px; }
.side-list li:last-child { margin-bottom: 0; }
.side-list a { font-size: 14px; color: var(--text-2); line-height: 1.6; display: block; }
.side-list a:hover { color: var(--primary); }
.side-cta .btn { display: block; margin-top: 12px; }

/* 小二维码块（业务板块上方） */
.qr-mini { text-align: center; padding: 20px 18px; }
.qr-mini img {
  width: 140px; height: 140px;
  border-radius: 10px; border: 1px solid var(--border);
}
.qr-tip { font-size: 13.5px; color: var(--text-2); margin-top: 11px; line-height: 1.7; }

/* 业务板块里的课程按钮 */
.sb-cta { display: block; margin-top: 18px; text-align: center; }

/* ===== 页脚统计（与 xiaoyeniu.cn 一致） ===== */
.site-stats {
  margin: 0 0 4px; padding: 28px 24px 4px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: center; align-items: center;
  gap: 26px; flex-wrap: wrap;
  max-width: 1040px; margin-left: auto; margin-right: auto;
}
.site-stats .stat { min-width: 96px; }
.site-stats .stat b {
  display: block; font-size: 24px; font-weight: 800; color: #fff;
  letter-spacing: .5px; font-variant-numeric: tabular-nums;
}
.site-stats .stat span { display: block; font-size: 12.5px; color: #8b98a9; margin-top: 2px; }
.stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.12); }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; }
.contact-card {
  background: #fff; border: 2px solid var(--primary);
  border-radius: 16px; padding: 26px; text-align: center;
}
.contact-card img { width: 150px; height: 150px; border-radius: 10px; margin-bottom: 12px; }
.contact-card .tip { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.contact-card .tip b { color: var(--primary); }
.info-list { display: grid; gap: 14px; }
.info-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.info-item .k {
  flex-shrink: 0; width: 74px; font-size: 14px; color: var(--text-2); font-weight: 600;
}
.info-item .v { font-size: 15px; }
.info-item .v small { display: block; color: var(--text-2); font-size: 13.5px; margin-top: 2px; }

/* ===== 页脚 ===== */
footer { background: #16222e; color: #9fb0c0; padding: 40px 0; font-size: 13.5px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { color: #9fb0c0; }
.foot-nav a:hover { color: #fff; }
footer b { color: #fff; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { width: 100%; max-width: 420px; }
  .dry-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-layout { grid-template-columns: 1fr; gap: 30px; }
  .side-cta { position: static; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 34px 0 32px; }
  .hero h1 { font-size: 25px; }
  .hero .lead { font-size: 14.5px; }
  .section { padding: 44px 0; }
  .sec-title h2, .sec-title.left h2 { font-size: 23px; }
  .shots, .facts { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .stat b { font-size: 20px; }
  .qa { padding: 18px; }
  .qa h3 { font-size: 16.5px; }
  .qa p { font-size: 14px; }
  .contact-card img { width: 140px; height: 140px; }
  .page-hero { padding: 30px 0 26px; }
  .page-hero h1 { font-size: 23px; }
  .page-hero .lead { font-size: 14.5px; }
  .article h2 { font-size: 18px; }
  .article p, .article li { font-size: 15px; }
  .dl-q { font-size: 15.5px; }
  .dry-list a { padding: 16px 18px 16px 42px; }
  .dry-list a::before { left: 14px; top: 17px; }
  .end-cta .btn { display: block; margin: 0 0 10px; }
}
