/* =========================================================
   柒选科技 QIXUAN TECH - 官网主样式
   纯静态站点，无任何外部依赖
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #2b5cff;
  --brand-dark: #1b3fd1;
  --brand-deep: #0f2a7a;
  --brand-soft: #eaf0ff;
  --violet: #7b5cff;
  --accent: #ff8a3d;
  --accent-soft: #fff2e8;

  --ink: #0d1730;
  --ink-2: #22304d;
  --muted: #5c6b87;
  --line: #e5eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-dark: #0a1330;

  --grad-brand: linear-gradient(120deg, #2b5cff 0%, #7b5cff 100%);
  --grad-accent: linear-gradient(120deg, #ff8a3d 0%, #ff5f6d 100%);
  --grad-dark: linear-gradient(140deg, #0a1330 0%, #10265f 60%, #1b3fd1 100%);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(13, 23, 48, .06);
  --shadow: 0 12px 32px rgba(13, 23, 48, .08);
  --shadow-lg: 0 26px 60px rgba(13, 23, 48, .14);
  --shadow-brand: 0 18px 38px rgba(43, 92, 255, .28);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; letter-spacing: .2px; }
strong { font-weight: 700; }

::selection { background: var(--brand); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef2f9; }
::-webkit-scrollbar-thumb { background: #c3cee2; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #a6b5cf; }

/* ---------- 3. 布局工具类 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad-dark); color: #fff; }
.section--tight { padding: 64px 0; }
.text-center { text-align: center; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section--dark .eyebrow { color: #b9ccff; background: rgba(255, 255, 255, .1); }
.section--dark .eyebrow::before { background: #7ea2ff; }

.section-title { font-size: clamp(26px, 3.4vw, 40px); color: var(--ink); }
.section--dark .section-title { color: #fff; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.section--dark .section-sub { color: rgba(255, 255, 255, .74); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 100px; font-weight: 600; font-size: 15.5px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
    background .28s var(--ease), color .28s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 44px rgba(43, 92, 255, .36); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 18px 38px rgba(255, 110, 90, .3); }
.btn-accent:hover { transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-3px); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .42); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-more { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "→"; transition: transform .25s var(--ease); }
.link-more:hover::after { transform: translateX(5px); }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; flex: none; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(43, 92, 255, .28); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; letter-spacing: 1px; }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: 2.4px; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: 100px; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; }
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand); font-weight: 700; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--grad-brand);
}
.nav .nav-cta { margin-left: 10px; background: var(--grad-brand); color: #fff; padding: 11px 22px; box-shadow: 0 12px 24px rgba(43, 92, 255, .26); }
.nav .nav-cta:hover { color: #fff; background: var(--grad-brand); transform: translateY(-2px); }
.nav .nav-cta.is-active::after { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. 首页主视觉 ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 76px) 0 96px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(123, 92, 255, .18), transparent 62%),
    radial-gradient(760px 460px at -5% 8%, rgba(43, 92, 255, .16), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 78%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(43, 92, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 92, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 62% 34%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 62% 34%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }

.hero h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.5px; }
.hero h1 .grad-text { display: block; }
.hero-desc { margin-top: 24px; font-size: 17.5px; color: var(--muted); max-width: 560px; }
.hero .btn-row { margin-top: 36px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 40px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.hero-points svg { width: 20px; height: 20px; flex: none; }

/* 主视觉右侧插画卡片 */
.hero-visual { position: relative; }
.hero-panel {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-panel-head { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.hero-panel-head i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hero-panel-head i:nth-child(1) { background: #ff6b6b; }
.hero-panel-head i:nth-child(2) { background: #ffc93c; }
.hero-panel-head i:nth-child(3) { background: #3ddc84; }
.hero-panel-head span { margin-left: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: .5px; }

.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.hero-metric { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; }
.hero-metric strong { display: block; font-size: 26px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-metric span { font-size: 13px; color: var(--muted); }

.hero-bars { margin-top: 20px; display: grid; gap: 14px; }
.hero-bar span { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; margin-bottom: 7px; }
.hero-bar i { display: block; height: 8px; border-radius: 8px; background: #eef2fb; overflow: hidden; position: relative; }
.hero-bar i::after {
  content: ""; position: absolute; inset: 0; width: var(--w, 60%);
  border-radius: 8px; background: var(--grad-brand);
  animation: barGrow 1.4s var(--ease) both;
}
@keyframes barGrow { from { width: 0; } }

.hero-float {
  position: absolute; right: -18px; bottom: -26px; background: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); display: flex; align-items: center; gap: 12px;
  animation: floatY 5s ease-in-out infinite;
}
.hero-float .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.hero-float .dot svg { width: 20px; height: 20px; }
.hero-float b { display: block; font-size: 15px; }
.hero-float small { color: var(--muted); font-size: 12.5px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 数据条 */
.stat-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -1px; }
.stat-item span { color: var(--muted); font-size: 14.5px; }

/* ---------- 7. 通用网格与卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.icon-box svg { width: 26px; height: 26px; }
.card:hover .icon-box { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.icon-box.alt { background: var(--accent-soft); color: #e2691c; }
.card h3 { font-size: 19.5px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card .link-more { margin-top: 20px; display: inline-flex; font-size: 14.5px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag-list li {
  font-size: 12.5px; color: var(--brand); background: var(--brand-soft);
  padding: 5px 12px; border-radius: 100px; font-weight: 500;
}

/* ---------- 8. 为什么选择我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.why-item:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.why-item .num {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 17px;
}
.why-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- 9. 服务流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .dot {
  width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--line);
  color: var(--brand); font-weight: 800; font-size: 18px;
  transition: all .35s var(--ease);
}
.process-step:hover .dot { background: var(--grad-brand); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: var(--shadow-brand); }
.process-step h3 { font-size: 17px; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 14.5px; }
.section--dark .process-step .dot { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.section--dark .process-step:hover .dot { background: var(--grad-brand); }
.section--dark .process-step h3 { color: #fff; }
.section--dark .process-step p { color: rgba(255, 255, 255, .7); }

/* ---------- 10. 案例 ---------- */
.case-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 190px; position: relative; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; overflow: hidden;
}
.case-thumb.v2 { background: linear-gradient(120deg, #ff8a3d, #ff5f6d); }
.case-thumb.v3 { background: linear-gradient(120deg, #12b28a, #0d8bb0); }
.case-thumb.v4 { background: linear-gradient(120deg, #7b5cff, #2b5cff); }
.case-thumb.v5 { background: linear-gradient(120deg, #0f2a7a, #2b5cff); }
.case-thumb.v6 { background: linear-gradient(120deg, #f5576c, #f093fb); }
.case-thumb::after {
  content: ""; position: absolute; top: -40%; right: -10%; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, .14);
}
.case-thumb span { font-size: 34px; font-weight: 800; letter-spacing: 3px; position: relative; z-index: 1; }
.case-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.case-body .cat { font-size: 12.5px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.case-body h3 { font-size: 19px; margin: 10px 0 12px; }
.case-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.case-meta { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.case-meta b { color: var(--brand); font-size: 15px; }

/* ---------- 11. 评价 / 合作伙伴 ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; height: 100%; }
.quote-card .stars { color: #ffb020; letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.quote-card p { color: var(--ink-2); font-size: 15px; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 15px;
}
.quote-author b { display: block; font-size: 15px; }
.quote-author small { color: var(--muted); font-size: 13px; }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-wall div {
  height: 78px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-weight: 700; letter-spacing: 1px;
  font-size: 14px; transition: all .3s var(--ease);
}
.logo-wall div:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* ---------- 12. 新闻资讯 ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.news-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 160px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: 2px; }
.news-thumb.v2 { background: linear-gradient(120deg, #12b28a, #0d8bb0); }
.news-thumb.v3 { background: linear-gradient(120deg, #ff8a3d, #ff5f6d); }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-body .date { font-size: 13px; color: var(--muted); }
.news-body h3 { font-size: 17.5px; margin: 10px 0; }
.news-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.news-body .link-more { margin-top: 18px; font-size: 14.5px; }

.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 24px; align-items: center; padding: 22px 8px; transition: background .25s var(--ease), padding .25s var(--ease); }
.news-list a:hover { background: var(--bg-soft); padding-left: 18px; }
.news-list .date { flex: none; width: 118px; color: var(--brand); font-weight: 700; font-size: 14px; }
.news-list .title { flex: 1; font-weight: 600; font-size: 16.5px; }
.news-list .cat { flex: none; font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border-radius: 100px; padding: 4px 12px; }

/* ---------- 13. 内页顶部横幅 ---------- */
.page-hero {
  padding: calc(var(--header-h) + 76px) 0 72px;
  background:
    radial-gradient(760px 420px at 82% -20%, rgba(123, 92, 255, .2), transparent 60%),
    radial-gradient(620px 380px at 5% 10%, rgba(43, 92, 255, .16), transparent 58%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 3.8vw, 44px); }
.page-hero p { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }

.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-top: 22px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--brand); font-weight: 600; }

/* ---------- 14. 左文右图（分栏） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-body h2 { font-size: clamp(24px, 3vw, 36px); }
.split-body p { margin-top: 20px; color: var(--muted); }
.split-list { margin-top: 26px; display: grid; gap: 14px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.split-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.split-body .btn-row { margin-top: 32px; }

.split-media { position: relative; }
.media-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; overflow: hidden;
}
.media-frame.plain { padding: 0; background: none; border: 0; box-shadow: none; }
.media-badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--grad-brand); color: #fff;
  border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-brand);
}
.media-badge strong { display: block; font-size: 26px; }
.media-badge span { font-size: 13px; opacity: .85; }

/* 价值卡 */
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .icon-box { margin-bottom: 18px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.value-card p { color: var(--muted); font-size: 14.5px; }
/* 深色区块内的白底卡片需恢复深色文字 */
.section--dark .value-card,
.section--dark .card { color: var(--ink); }
.section--dark .value-card h3,
.section--dark .card h3 { color: var(--ink); }

/* 时间线 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 4px rgba(43, 92, 255, .12);
}
.timeline-item time { font-size: 13.5px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.timeline-item h3 { font-size: 17.5px; margin: 8px 0 8px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- 15. 团队 ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 22px; transition: all .3s var(--ease); }
.team-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.team-card .avatar-lg {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 2px;
}
.team-card.v2 .avatar-lg { background: linear-gradient(120deg, #ff8a3d, #ff5f6d); }
.team-card.v3 .avatar-lg { background: linear-gradient(120deg, #12b28a, #0d8bb0); }
.team-card.v4 .avatar-lg { background: linear-gradient(120deg, #7b5cff, #2b5cff); }
.team-card h3 { font-size: 18px; }
.team-card .role { color: var(--brand); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.team-card p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ---------- 16. 行动号召 / 联系条 ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--grad-dark); color: #fff; padding: 64px 56px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .55), transparent 68%);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .76); margin-top: 14px; position: relative; z-index: 1; }
.cta-band .btn-row { position: relative; z-index: 1; }

.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-strip .item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 16px; transition: all .3s var(--ease); }
.contact-strip .item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-strip b { display: block; font-size: 16px; margin-bottom: 4px; }
.contact-strip span { color: var(--muted); font-size: 14.5px; word-break: break-all; }

/* ---------- 17. 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label i { color: #ff4d4f; font-style: normal; margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  font-size: 15px; outline: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(43, 92, 255, .12);
}
.field.has-error input, .field.has-error textarea { border-color: #ff4d4f; background: #fff6f6; }
.field .error { font-size: 12.5px; color: #ff4d4f; display: none; }
.field.has-error .error { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form-alert {
  grid-column: 1 / -1; display: none; align-items: center; gap: 10px;
  background: #eafaf1; color: #128a4f; border: 1px solid #b6ebcd;
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14.5px; font-weight: 600;
}
.form-alert.show { display: flex; }

/* ---------- 18. 常见问题（手风琴） ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s var(--ease); }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-size: 16.5px; font-weight: 600; }
.faq-q::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
  font-weight: 700; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .36s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- 19. 筛选标签 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: #fff;
  transition: all .28s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.is-hidden { display: none !important; }

/* ---------- 20. 页脚 ---------- */
.site-footer { background: #071026; color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255, 255, 255, .5); }
.footer-about { margin-top: 22px; font-size: 14.5px; max-width: 320px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 22px; }
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a { transition: all .25s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #7ea2ff; }
.footer-contact strong { color: #fff; display: block; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding: 24px 0 28px; font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom nav a:hover { color: #fff; }

/* 备案信息链接 */
.icp-link { color: var(--brand); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.icp-link:hover { color: var(--brand-dark); }
.footer-bottom .icp-link { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.footer-bottom .icp-link:hover { color: var(--accent); border-bottom-color: currentColor; }

/* 内容提示条 */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-soft); border: 1px solid rgba(43, 92, 255, .18);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--brand); }
.notice p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.notice b { color: var(--brand-dark); }

/* ---------- 21. 返回顶部 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 800;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 22. 滚动进入动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1120px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .28s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 16px; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--brand-soft); }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }

  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 52px) 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-desc { max-width: none; }
  .hero-float { right: 12px; bottom: -20px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .process::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .cta-band { grid-template-columns: 1fr; padding: 46px 32px; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .contact-strip { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .media-badge { left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-points { gap: 12px 18px; }
  .btn { padding: 13px 24px; font-size: 15px; }
  .btn-row .btn { flex: 1 1 auto; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .cta-band { padding: 38px 22px; border-radius: var(--radius); }
  .news-list a { flex-direction: column; align-items: flex-start; gap: 8px; }
  .news-list .date { width: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .back-top { right: 16px; bottom: 18px; width: 44px; height: 44px; }
  .page-hero { padding: calc(var(--header-h) + 46px) 0 52px; }
  .timeline { padding-left: 28px; }
  .timeline-item::before { left: -30px; }
}

@media print {
  .site-header, .back-top, .cta-band { display: none !important; }
  body { color: #000; }
}
