/* ============================================
   千遇测评 — 样式表
   超屹智能（济南）科技有限公司
   ============================================ */

:root {
  /* 配色：淡雅温柔 */
  --bg-cream: #FAF7F2;
  --bg-soft: #F5F0E8;
  --blue-mist: #E8F0F7;
  --blue-deep: #9EC4E0;
  --mint: #B8D8D0;
  --mint-deep: #8FBFB5;
  --lavender: #A89BC9;
  --lavender-deep: #8B7DB3;
  --peach: #F2C9A0;
  --ink: #2C3E50;
  --ink-soft: #4A5C6E;
  --muted: #6B7B8C;
  --muted-light: #9AA8B5;
  --line: rgba(44, 62, 80, 0.08);
  --line-strong: rgba(44, 62, 80, 0.14);
  --white: #FFFFFF;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 62, 80, 0.08);
  --shadow-lg: 0 20px 60px rgba(44, 62, 80, 0.12);
  --shadow-lavender: 0 12px 40px rgba(168, 155, 201, 0.25);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-full: 999px;

  /* 缓动 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   粒子背景画布
   ============================================ */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ============================================
   通用按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lavender);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mint) 0%, var(--lavender) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(168, 155, 201, 0.4);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--lavender);
}

/* ============================================
   导航栏
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(44, 62, 80, 0.04);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted-light);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--r-full);
  transition: all 0.3s var(--ease);
}
.nav-link:hover { color: var(--lavender-deep); background: rgba(168, 155, 201, 0.08); }
.nav-link.active { color: var(--lavender-deep); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lavender), var(--mint-deep));
}
.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--lavender), var(--lavender-deep));
  color: var(--white) !important;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lavender);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(168, 155, 201, 0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero 主视觉
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--lavender), transparent 70%);
  top: -120px; left: -80px;
}
.blob-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--mint), transparent 70%);
  bottom: -100px; right: -60px;
  animation-delay: -6s;
}
.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--blue-deep), transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -12s;
  opacity: 0.35;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--ink-soft);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 4px rgba(184, 216, 208, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 216, 208, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(184, 216, 208, 0.1); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--lavender), var(--mint-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.meta-item strong {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--lavender-deep), var(--mint-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-item span { font-size: 13px; color: var(--muted); }
.meta-divider { width: 1px; height: 36px; background: var(--line-strong); }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-light);
  letter-spacing: 2px;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--muted-light), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -20px; left: 0;
  width: 100%; height: 20px;
  background: var(--lavender);
  animation: scrollDown 2s infinite var(--ease);
}
@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 40px; }
}

/* ============================================
   通用 Section
   ============================================ */
.section {
  padding: 120px 32px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(232, 240, 247, 0.5) 20%, rgba(232, 240, 247, 0.5) 80%, transparent);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--lavender-deep);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================
   业务方向卡片
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.category-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--card-color) 18%, white);
  color: var(--card-color);
  margin-bottom: 24px;
  transition: all 0.5s var(--ease);
}
.cat-icon svg { width: 30px; height: 30px; }
.category-card:hover .cat-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--card-color);
  color: var(--white);
}
.category-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.category-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cat-count {
  display: inline-block;
  font-size: 12px;
  color: var(--card-color);
  padding: 4px 12px;
  background: color-mix(in srgb, var(--card-color) 12%, white);
  border-radius: var(--r-full);
  font-weight: 500;
}

/* ============================================
   产品服务卡片
   ============================================ */
.test-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.test-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.test-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.test-cover {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-cover svg { width: 56px; height: 56px; color: rgba(255,255,255,0.9); z-index: 1; }
.test-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 60%);
}
.cover-1 { background: linear-gradient(135deg, #A89BC9, #8B7DB3); }
.cover-2 { background: linear-gradient(135deg, #B8D8D0, #8FBFB5); }
.cover-3 { background: linear-gradient(135deg, #F2C9A0, #E8A87C); }
.cover-4 { background: linear-gradient(135deg, #9EC4E0, #6FA3CC); }
.test-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.test-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--blue-mist);
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-weight: 500;
}
.test-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.test-card .test-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-features {
  list-style: none;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  flex: 1;
}
.product-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 2;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--mint-deep));
}
.product-scene {
  font-size: 12px;
  color: var(--muted-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.test-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.test-action .go {
  font-size: 14px;
  color: var(--lavender-deep);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
}
.test-card:hover .go { gap: 12px; }

/* ============================================
   数据统计
   ============================================ */
.stats-section { text-align: center; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 48px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.stat-card::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--mint));
  opacity: 0.08;
  transition: all 0.5s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-card:hover::after { opacity: 0.18; transform: scale(1.2); }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--lavender-deep), var(--mint-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ============================================
   品牌故事
   ============================================ */
.about-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.logo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--white), var(--blue-mist));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.logo-card img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: var(--r-md);
}
.logo-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  animation: shine 6s infinite;
}
@keyframes shine {
  0% { transform: translate(-30%, -30%) rotate(0deg); }
  100% { transform: translate(30%, 30%) rotate(360deg); }
}
.about-badge {
  position: absolute;
  bottom: -24px; right: -8px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.badge-label {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.badge-sub {
  font-size: 11px;
  color: var(--lavender-deep);
  letter-spacing: 1px;
  margin-top: 2px;
}

.about-content .section-title { text-align: left; }
.about-content .section-kicker { margin-bottom: 12px; }
.about-text {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.value-item {
  padding: 24px 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.4s var(--ease);
}
.value-item:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--lavender-deep);
  letter-spacing: 2px;
}
.value-item h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 6px;
}
.value-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================
   联系我们
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.contact-card {
  position: relative;
  padding: 44px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.5s var(--ease);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(168,155,201,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.contact-card:hover::before { opacity: 1; }
.contact-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mist), rgba(184, 216, 208, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender-deep);
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.contact-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 2px; }
.contact-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--lavender-deep);
  text-decoration: none;
  margin-top: 6px;
  transition: all 0.3s var(--ease);
}
.contact-link:hover { letter-spacing: 1px; }

/* ============================================
   页脚
   ============================================ */
.footer {
  background: linear-gradient(180deg, transparent, var(--blue-mist));
  padding: 64px 32px 28px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.footer-name { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.footer-company { font-size: 12px; color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--lavender-deep); }
.footer-info p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.footer-bottom {
  max-width: 1240px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted-light);
}

/* ============================================
   通用关闭按钮（微信弹层复用）
   ============================================ */
.quiz-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  z-index: 5;
}
.quiz-close:hover { background: var(--white); color: var(--ink); transform: rotate(90deg); }
.quiz-close svg { width: 18px; height: 18px; }

/* ============================================
   微信弹层
   ============================================ */
.wechat-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(44, 62, 80, 0.5);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.wechat-overlay.active { opacity: 1; visibility: visible; }
.wechat-modal {
  position: relative;
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease);
  max-width: 320px;
  width: 100%;
}
.wechat-overlay.active .wechat-modal { transform: scale(1); }
.wechat-qr {
  width: 200px; height: 200px;
  margin: 0 auto 20px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.wechat-qr svg { width: 100%; height: 100%; }
.wechat-modal h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.wechat-modal p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.wechat-modal strong { color: var(--lavender-deep); font-size: 18px; }
.wechat-tip { font-size: 12px !important; color: var(--muted-light) !important; margin-top: 8px !important; }

/* ============================================
   回到顶部
   ============================================ */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 50;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--lavender); color: var(--white); transform: translateY(-4px); }
.back-top svg { width: 22px; height: 22px; }

/* ============================================
   滚动渐入动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 360px; margin: 0 auto; }
  .about-content .section-title { text-align: center; }
  .about-content .section-kicker { display: block; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--bg-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 28px 28px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: 14px 18px; font-size: 16px; border-radius: var(--r-md); }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero { padding: 120px 24px 80px; min-height: auto; }
  .hero-meta { gap: 18px; }
  .meta-divider { display: none; }

  .section { padding: 80px 24px; }
  .section-head { margin-bottom: 48px; }

  .category-grid, .stats-grid, .contact-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .test-grid { grid-template-columns: 1fr; padding: 0 24px; }

  .value-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { justify-content: center; }

  .back-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 14px; }
  .meta-item strong { font-size: 24px; }
  .brand-sub { display: none; }
}

/* 滚动条美化 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 5px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--lavender-deep); }

::selection { background: var(--lavender); color: var(--white); }
