:root {
  --primary: #4f7cff;
  --primary-dark: #3a63d6;
  --accent: #22c3a6;
  --ink: #1f2533;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-soft-2: #eef6f3;
  --border: #e6eaf2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 37, 51, 0.08);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-img { width: 34px; height: 34px; }
.logo-text { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-soft); }
.nav-link.active { color: #fff; background: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  margin: 0 0 18px;
}
.hero .subtitle { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { width: 100%; display: block; object-fit: contain; background: transparent; }

/* ---------- Section ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { font-size: 38px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- Video ---------- */
.video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.video-wrap video { width: 100%; display: block; }
/* ---------- 多视频列表（2026-09-21：首页可放多条视频并逐条转发） ---------- */
.video-list { display: grid; gap: 26px; }
.video-item { background: #fff; border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.video-head h3 { margin: 0; font-size: 17px; color: #1f2937; }
.video-item .video-wrap { margin: 0; }
.share-btn { flex: none; border: 1px solid #d9dee5; background: #fff; color: #2f6fed;
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.share-btn:hover { background: #f2f6ff; border-color: #2f6fed; }
.video-desc { margin: 12px 0 0; color: #6b7280; font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) { .video-head h3 { font-size: 15px; } }
.video-actions { text-align: center; margin-top: 18px; }

/* ---------- Stats ---------- */
.grid-4.stats { gap: 16px; }
.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--primary); }
.stat .label { color: var(--muted); margin-top: 4px; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}
.cta-box h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.cta-box p { margin: 0 0 24px; opacity: .92; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ---------- Page header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%);
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { margin: 0 0 10px; font-size: clamp(26px, 3.5vw, 38px); }
.page-header p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-grid img { border-radius: 20px; box-shadow: var(--shadow); }
.about-intro { font-size: 17px; color: var(--ink); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.mv .box { background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; font-weight: 600; }
.tech-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.tech-list li { position: relative; padding: 12px 16px 12px 38px; background: #fff; border: 1px solid #f0e6e0; border-radius: 12px; font-weight: 600; color: var(--ink); }
.tech-list li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 800; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.member h4 { margin: 0 0 2px; }
.member span { color: var(--muted); font-size: 14px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .15s, box-shadow .15s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .icon { font-size: 36px; }
.svc h3 { margin: 12px 0 8px; }
.svc p { color: var(--muted); margin: 0 0 16px; }
.svc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li {
  background: var(--bg-soft); color: var(--primary);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-list .k { color: var(--muted); font-size: 13px; display: block; }
.info-list .v { font-weight: 600; font-size: 16px; }
.form-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-box label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 14px; }
.form-box input, .form-box textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: inherit; resize: vertical;
}
.form-box input:focus, .form-box textarea:focus { outline: none; border-color: var(--primary); }
.form-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #e8f8f1; color: #1d8a6e; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; }
.social-list { list-style: none; padding: 0; margin: 18px 0 0; }
.social-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.social-list .k { color: var(--muted); }
.social-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.social-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #11161f; color: #c9d1df; padding: 40px 0 28px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer .desc { max-width: 360px; }
.site-footer .meta { color: #8a93a3; font-size: 13px; text-align: right; }

/* ---------- Services accordion (同页面展开) ---------- */
.svc-accordion { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.svc-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s; }
.svc-item[open] { box-shadow: var(--shadow); }
.svc-summary {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px;
  cursor: pointer; list-style: none; font-weight: 700; font-size: 17px;
}
.svc-summary::-webkit-details-marker { display: none; }
.svc-summary .icon { font-size: 26px; }
.svc-summary .svc-title { flex: 1; }
.svc-arrow { color: var(--muted); transition: transform .2s; font-size: 18px; }
.svc-item[open] .svc-arrow { transform: rotate(180deg); }
.svc-panel { padding: 0 24px 22px; }
.svc-panel p { color: var(--muted); margin: 0 0 14px; }
.svc-panel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-panel li { background: var(--bg-soft); color: var(--primary); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.svc-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 26px; }

/* ---------- Testimonials (客户见证) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.testi .quote { font-size: 15px; color: var(--ink); margin: 0; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testi .name { font-weight: 700; display: block; }
.testi .role { color: var(--muted); font-size: 13px; }

/* ---------- Articles (文章阅读板块) ---------- */
.article-list { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.article-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.article-summary {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; list-style: none;
}
.article-summary::-webkit-details-marker { display: none; }
.article-summary h3 { margin: 6px 0 4px; font-size: 17px; }
.article-cat { display: inline-block; background: var(--bg-soft); color: var(--primary); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.article-date { color: var(--muted); font-size: 13px; }
.article-arrow { margin-left: auto; color: var(--muted); font-size: 18px; transition: transform .2s; }
.article-item[open] .article-arrow { transform: rotate(180deg); }
.article-body { padding: 0 24px 24px; color: var(--muted); }
.article-body .lead { color: var(--ink); font-weight: 600; margin: 0 0 10px; }
.article-teaser { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.article-teaser h3 { margin: 8px 0 6px; font-size: 16px; }
.article-teaser p { color: var(--muted); margin: 0; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .grid-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-link { text-align: center; }
  .grid-4, .team-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .cta-box { padding: 36px 22px; }
  .site-footer .meta { text-align: left; }
}

/* ---------- WeChat customer service widget ---------- */
.wx-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  font-family: inherit;
}
.wx-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #07c160;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(7, 193, 96, 0.35);
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 193, 96, 0.45); }
.wx-btn::before {
  content: "";
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8.5 13a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm6.5-1.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3ZM12 2C6.48 2 2 5.9 2 10.8c0 2.5 1.2 4.8 3.2 6.4-.2 1.6-.8 3.3-1 3.8-.1.2 0 .5.3.5.8 0 3.2-1.9 4.4-3.1.9.3 1.9.4 3.1.4 5.52 0 10-3.9 10-8.8S17.52 2 12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wx-card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 260px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(31, 37, 51, 0.18);
  padding: 18px;
  display: none;
  text-align: center;
  border: 1px solid var(--border);
}
.wx-card.open { display: block; }
.wx-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 10px;
  border-radius: 8px;
}
.wx-card p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .wx-widget { right: 14px; bottom: 14px; }
  .wx-card { width: 220px; padding: 14px; right: -8px; }
  .wx-card img { width: 150px; height: 150px; }
}

/* ===== 2026-09-04 新增：课后报告弹层 / 企业文化 / 品牌配图 / 案例关键点 ===== */
.report-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.report-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 20, 34, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  max-width: min(760px, 92vw);
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lightbox-inner img { width: 100%; height: auto; border-radius: 8px; }
.lightbox-caption { margin: 12px 4px 2px; text-align: center; color: var(--muted); font-size: 14px; }
.lightbox-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.culture-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.culture-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.culture-item strong { flex: 0 0 auto; color: var(--primary-dark); }
.culture-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; }

.svc-img { margin: 14px 0 4px; border-radius: 12px; box-shadow: var(--shadow); }
.svc-img:not([src]) { display: none; }

.key-point {
  display: inline-block;
  margin: 4px 0 12px;
  padding: 4px 12px;
  background: var(--bg-soft-2);
  color: #148a74;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.key-point:empty { display: none; }
