/* ============================================================
   测试通 TestTong 官网样式
   主题色 #2970C0 | 辅助色 #DFF8FC
   ============================================================ */

:root {
  --primary: #2970C0;
  --primary-dark: #1B4F8F;
  --primary-deep: #123A6B;
  --primary-light: #4A8AD4;
  --accent: #DFF8FC;
  --accent-deep: #BDEEF7;
  --ink: #16233A;
  --ink-2: #3D4C63;
  --ink-3: #7A8699;
  --line: #E6EBF2;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FC;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(18, 58, 107, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 58, 107, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 58, 107, 0.16);
  --grad: linear-gradient(135deg, #2970C0 0%, #1B4F8F 100%);
  --grad-soft: linear-gradient(180deg, #EAF6FE 0%, #F7FBFF 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: all .3s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  /*box-shadow: 0 8px 20px rgba(41, 112, 192, 0.35);*/
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(41, 112, 192, 0.45); }
.btn-outline {
  border: 1.5px solid var(--primary); color: var(--primary); background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { color: var(--primary-dark); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 20px rgba(18, 58, 107, 0.25); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

.btn-user {
  padding: 7px 16px 7px 7px; gap: 10px; font-size: 14px; font-weight: 600;
  color: var(--primary-dark); background: #fff;
  border: 1px solid var(--accent-deep); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(41, 112, 192, 0.08);
  transition: all .28s ease;
}
.btn-user:hover {
  background: var(--grad); color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(41, 112, 192, 0.38);
  transform: translateY(-1px);
}
.btn-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
  transition: background .28s ease, box-shadow .28s ease;
}
.btn-user:hover .btn-user-avatar {
  background: #fff; color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255,255,255,.45);
}

.btn-logout {
  padding: 7px 12px; font-size: 13px; font-weight: 500;
  color: var(--ink-3); border-radius: 8px;
  transition: all .25s ease;
}
.btn-logout:hover { color: #EF4444; background: rgba(239, 68, 68, 0.08); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 38px; height: 38px; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; }
.logo-text em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 6px; letter-spacing: 2px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  padding: 8px 16px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: all .25s ease; position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--accent); }
.nav-link.active { color: var(--primary); font-weight: 700; background: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ---------- Banner ---------- */
.banner {
  position: relative; margin-top: 72px; height: 480px; overflow: hidden;
}
.banner-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.banner-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; opacity: 0;
}
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: #fff; color: var(--primary); }
.banner-arrow.prev { left: 28px; }
.banner-arrow.next { right: 28px; }

.banner-dots {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.banner-dots .bdot {
  width: 10px; height: 10px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.45); transition: all .3s;
}
.banner-dots .bdot.active { width: 28px; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 90px;
  background: var(--grad-soft);
}
.hero-bg-decor { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.decor-1 { width: 480px; height: 480px; background: var(--accent); top: -160px; right: -120px; }
.decor-2 { width: 360px; height: 360px; background: rgba(41, 112, 192, 0.18); bottom: -180px; left: -100px; }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--accent-deep); color: var(--primary);
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2s infinite; }

.hero-text h1 { font-size: 52px; line-height: 1.2; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.hero-text h1 span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 520px; }

.hero-search {
  display: flex; margin-top: 34px; background: #fff; border-radius: 999px;
  padding: 6px; box-shadow: var(--shadow-md); max-width: 540px;
  border: 1px solid var(--line);
}
.hero-search input {
  flex: 1; border: none; outline: none; padding: 10px 20px; font-size: 15px;
  background: transparent; color: var(--ink); min-width: 0;
}
.hero-search .btn { padding: 12px 28px; }

.hero-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 13px; }
.tag-label { color: var(--ink-3); }
.hero-tag {
  color: var(--ink-2); background: rgba(255,255,255,.8); border: 1px solid var(--line);
  padding: 4px 14px; border-radius: 999px; transition: all .25s;
}
.hero-tag:hover { color: var(--primary); border-color: var(--primary); background: var(--accent); }

.hero-visual { position: relative; }
.hero-img-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.float-card {
  position: absolute; background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 14px 20px;
  animation: floaty 4s ease-in-out infinite;
}
.fc-1 { left: -26px; bottom: 44px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; max-width: 150px; }
.fc-1 .fc-num { font-size: 34px; font-weight: 800; color: var(--primary); }
.fc-1 .fc-unit { font-size: 20px; font-weight: 800; color: var(--primary); }
.fc-1 .fc-label { width: 100%; font-size: 13px; color: var(--ink-3); margin-top: -4px; }
.fc-2 { right: -18px; top: 36px; display: flex; align-items: center; gap: 12px; animation-delay: 1.2s; }
.fc-2 strong { display: block; font-size: 15px; color: var(--ink); }
.fc-2 small { font-size: 12px; color: var(--ink-3); }
.fc-shield {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--primary);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 数据带 ---------- */
.stats-strip {
  position: relative; overflow: hidden; padding: 56px 0;
  background:
    radial-gradient(ellipse 55% 110% at 88% -30%, rgba(41, 112, 192, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at 8% 130%, rgba(41, 112, 192, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #DFF8FC 0%, #F4F8FC 55%, #EAF6FE 100%);
}
.stats-strip::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(41, 112, 192, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.stats-decor { position: absolute; border-radius: 50%; pointer-events: none; }
.decor-a {
  width: 320px; height: 320px; right: -80px; top: -180px;
  border: 1.5px solid rgba(41, 112, 192, 0.14);
  box-shadow: 0 0 0 44px rgba(41, 112, 192, 0.04);
}
.decor-b {
  width: 220px; height: 220px; left: -110px; bottom: -120px;
  border: 1.5px solid rgba(41, 112, 192, 0.12);
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat-item {
  text-align: center; color: var(--ink); position: relative;
  padding: 18px 12px; border-radius: var(--radius);
  transition: all .35s ease;
}
.stat-item:hover {
  background: rgba(41, 112, 192, .06);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 58, 107, 0.10);
}
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: -12px; top: 22%; height: 56%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(41, 112, 192, .22), transparent);
}
.stat-icon {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(41, 112, 192, 0.08);
  border: 1px solid rgba(41, 112, 192, 0.16);
  color: var(--primary);
  transition: all .35s ease;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-item:hover .stat-icon {
  background: var(--grad); color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(41, 112, 192, 0.35);
}
.stat-num { font-size: 42px; font-weight: 800; letter-spacing: 1px; line-height: 1.15; color: var(--primary-dark); }
.stat-num i { font-style: normal; font-size: 22px; margin-left: 2px;
  background: linear-gradient(135deg, #2970C0, #4A8AD4);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item p { font-size: 14px; color: var(--ink-2); margin-top: 6px; letter-spacing: .5px; }

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head .center-block { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head.light h2, .section-head.light .section-desc { color: #fff; }
.section-head.light .section-desc { color: rgba(255,255,255,.8); }

.section-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: linear-gradient(135deg, rgba(41, 112, 192, 0.10), rgba(223, 248, 252, 0.85));
  padding: 8px 20px; border-radius: 999px; margin-bottom: 18px;
  letter-spacing: 3px;
  border: 1px solid rgba(41, 112, 192, 0.18);
  box-shadow: 0 2px 12px rgba(41, 112, 192, 0.10);
  transition: all .3s ease;
}
.section-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(41, 112, 192, 0.55);
}
.section-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(41, 112, 192, 0.20);
  border-color: rgba(41, 112, 192, 0.35);
}
.section-tag.light { background: rgba(255,255,255,.12); color: var(--accent); border-color: rgba(223,248,252,.25); }
.section-tag.light::before { background: var(--accent); box-shadow: 0 0 8px rgba(223, 248, 252, 0.6); }

.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: 1px; }
.section-desc { margin-top: 12px; color: var(--ink-3); font-size: 15px; max-width: 640px; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-weight: 600; font-size: 15px; flex-shrink: 0; transition: gap .25s;
}
.link-more:hover { gap: 10px; }

/* ---------- 项目测试 ---------- */
.he-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.he-tab {
  padding: 11px 32px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: all .3s;
}
.he-tab:hover { color: var(--primary); border-color: var(--primary-light); }
.he-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(41,112,192,.3); }

.he-panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.he-panel.active { display: grid; animation: fadeUp .5s ease; }

.he-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: all .35s ease; position: relative; overflow: hidden;
}
.he-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.he-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.he-card:hover::before { transform: scaleX(1); }
.he-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.he-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; min-height: 66px; }
.he-price { display: inline-block; margin-top: 14px; font-size: 17px; font-weight: 800; color: var(--primary); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 知识干货 ---------- */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.know-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s ease;
  display: flex; flex-direction: column;
}
.know-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-deep); }
.know-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.know-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.know-card:hover .know-thumb img { transform: scale(1.06); }
.know-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(41, 112, 192, 0.9); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.know-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.know-body h3 {
  font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .25s;
}
.know-card:hover .know-body h3 { color: var(--primary); }
.know-body p {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.7; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.know-meta {
  margin-top: auto; display: flex; gap: 18px;
  font-size: 12.5px; color: var(--ink-3);
}
.know-meta span { display: inline-flex; align-items: center; gap: 5px; }
.know-meta svg { color: var(--primary-light); }
.know-loading { display: contents; }
.know-loading-skeleton {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.know-loading-skeleton::before {
  content: ''; display: block; aspect-ratio: 16/10;
  background: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
  background-size: 200% 100%; animation: know-skeleton-anim 1.4s ease infinite;
}
.know-loading-skeleton::after {
  content: ''; display: block; height: 120px; margin: 22px 24px 26px;
  background: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
  background-size: 200% 100%; animation: know-skeleton-anim 1.4s ease infinite; border-radius: 8px;
}
@keyframes know-skeleton-anim {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- 文献求助 ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strength-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all .35s ease; box-shadow: var(--shadow-sm);
}
.strength-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-deep); }
.strength-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--primary); margin-bottom: 20px;
}
.strength-icon svg { width: 28px; height: 28px; }
.strength-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.strength-card li {
  font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; margin-bottom: 8px;
}
.strength-card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary);
}

/* ---------- 质量体系 ---------- */
.quality { background: linear-gradient(160deg, var(--primary-deep) 0%, var(--primary-dark) 55%, var(--primary) 100%); }

.tae-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.tae-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px 26px; color: #fff;
  backdrop-filter: blur(6px); transition: all .35s ease;
}
.tae-card:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); }
.tae-level {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary-dark); background: var(--accent); border-radius: 8px; padding: 3px 10px; margin-bottom: 16px;
}
.tae-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.tae-card p { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.7; }

.quality-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qp {
  display: flex; flex-direction: column; gap: 8px; padding: 26px;
  border-radius: var(--radius); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.qp svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
.qp h4 { color: #fff; font-size: 17px; font-weight: 700; }
.qp p { color: rgba(255,255,255,.72); font-size: 13.5px; }
.tae-note { text-align: center; margin-top: 40px; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- 社区交流 ---------- */
.carousel-ctrl { display: flex; gap: 12px; flex-shrink: 0; }
.ctrl-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  transition: all .3s; box-shadow: var(--shadow-sm);
}
.ctrl-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.carousel { overflow: hidden; margin: 0 -12px; }
.carousel-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.thanks-card {
  flex: 0 0 calc((100% - 48px) / 3); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: all .35s;
}
.thanks-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent-deep); }
.thanks-journal { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.thanks-journal span { font-size: 15px; font-weight: 800; color: var(--primary-dark); font-style: italic; }
.thanks-journal em {
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--accent); padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
}
.thanks-author { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.thanks-title {
  font-size: 14px; color: var(--ink); line-height: 1.7; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 71px;
}
.thanks-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.thanks-services span {
  font-size: 12px; color: var(--primary); border: 1px solid var(--accent-deep);
  background: var(--accent); padding: 3px 12px; border-radius: 999px;
}
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel-dots .dot-item {
  width: 8px; height: 8px; border-radius: 999px; background: var(--line);
  transition: all .3s; cursor: pointer;
}
.carousel-dots .dot-item.active { width: 24px; background: var(--primary); }

/* ---------- 为什么选择我们 ---------- */
.why { background: var(--grad-soft); }
.why-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.why-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 18px; }
.why-text p { color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 520px; }
.why-actions { display: flex; gap: 16px; margin-top: 32px; }
.why-actions .btn-light { color: var(--primary); box-shadow: var(--shadow-md); }

.why-stats {
  background: var(--grad); border-radius: var(--radius-lg); padding: 44px 40px;
  display: grid; gap: 28px; box-shadow: var(--shadow-lg);
}
.why-stat { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 20px; }
.why-stat:last-child { border-bottom: none; padding-bottom: 0; }
.why-stat strong { font-size: 38px; font-weight: 800; color: #fff; }
.why-stat p { color: rgba(255,255,255,.8); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep); color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1.2fr; gap: 48px; padding: 64px 0 48px; }
.footer-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.footer-services h4 { grid-column: 1 / -1; margin-bottom: 12px; }
.footer-services a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0; border-radius: 10px; transition: all .3s; }
.footer-services a svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .7; transition: all .25s; }
.footer-services a:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(4px); }
.footer-services a:hover svg { opacity: 1; color: var(--accent); }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text em { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 12px; transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-contact .hotline { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.4); text-align: center; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 28px; bottom: 32px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s ease; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 项目测试分类卡片 ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: all .35s ease; overflow: hidden;
}
.proj-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.proj-card:hover::before { transform: scaleX(1); }

.proj-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px rgba(41, 112, 192, 0.28);
  transition: transform .35s ease;
}
.proj-icon svg { width: 26px; height: 26px; }
.proj-card:hover .proj-icon { transform: scale(1.08) rotate(-4deg); }
.proj-icon.g2 { background: linear-gradient(135deg, #38BDF8, #2970C0); box-shadow: 0 8px 18px rgba(56, 189, 248, 0.30); }
.proj-icon.g3 { background: linear-gradient(135deg, #34D399, #0E9F6E); box-shadow: 0 8px 18px rgba(16, 185, 129, 0.30); }
.proj-icon.g4 { background: linear-gradient(135deg, #818CF8, #4F46E5); box-shadow: 0 8px 18px rgba(99, 102, 241, 0.30); }
.proj-icon.g5 { background: linear-gradient(135deg, #FB923C, #EA580C); box-shadow: 0 8px 18px rgba(249, 115, 22, 0.30); }
.proj-icon.g6 { background: linear-gradient(135deg, #22D3EE, #0891B2); box-shadow: 0 8px 18px rgba(6, 182, 212, 0.30); }

.proj-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); transition: color .25s; }
.proj-card:hover h3 { color: var(--primary); }
.proj-card p {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.proj-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.proj-count {
  font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: var(--accent); padding: 4px 12px; border-radius: 999px;
}
.proj-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3); transition: all .3s ease;
}
.proj-card:hover .proj-arrow {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: translateX(4px);
}
.proj-more { text-align: center; margin-top: 44px; }
.proj-more .btn svg { transition: transform .25s; }
.proj-more .btn:hover svg { transform: translateX(3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .banner { height: 400px; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-text h1 { font-size: 42px; }
  .he-panel, .strength-grid, .tae-grid, .know-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .thanks-card { flex-basis: calc((100% - 24px) / 2); }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 16px 4%; gap: 4px;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s ease;
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-actions { display: none; }
  .header-inner { gap: 16px; }

  .hero { padding: 56px 0 64px; }
  .hero-text h1 { font-size: 34px; }
  .hero-search { flex-direction: column; border-radius: var(--radius); gap: 8px; padding: 12px; }
  .hero-search .btn { width: 100%; }
  .fc-1 { left: 10px; bottom: 16px; }
  .fc-2 { right: 10px; top: 16px; }

  .banner { height: 280px; }
  .banner-arrow { width: 38px; height: 38px; opacity: 1; }
  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }
  .banner-dots { bottom: 14px; }

  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .section-head .center-block { align-items: center; text-align: center; }
  .section-head .link-more { align-self: center; }
  .section-head h2 { font-size: 28px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-num { font-size: 32px; }

  .he-panel, .strength-grid, .tae-grid, .quality-points, .know-grid, .proj-grid { grid-template-columns: 1fr; }
  .thanks-card { flex-basis: 100%; }
  .why-text h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
}