/* =====================================================
   麋鹿测试 - 电脑端官网样式
   www.zrcs.com
   ===================================================== */

:root {
  --brand:        #6C63FF;
  --brand-light:  #8B84FF;
  --brand-dark:   #5549E0;
  --pink:         #FF6B9D;
  --green:        #43C59E;
  --yellow:       #F59E0B;
  --bg:           #F0F0F8;
  --bg-light:     #F7F7FC;
  --white:        #FFFFFF;
  --text-title:   #12121F;
  --text-body:    #1E1E2E;
  --text-muted:   #5A5A72;
  --text-light:   #8E8EA8;
  --border:       #E8E8F0;
  --shadow-sm:    0 2px 8px rgba(108,99,255,.07);
  --shadow-md:    0 4px 20px rgba(108,99,255,.10);
  --shadow-lg:    0 8px 32px rgba(108,99,255,.14);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --max-w:        1200px;
  --nav-h:        72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
               'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── 布局容器 ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── 导航栏 ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(108,99,255,.08);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(108,99,255,.10); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -.02em;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(108,99,255,.18));
}
.nav-logo span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.btn-outline:hover {
  background: rgba(108,99,255,.06);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: white;
  box-shadow: 0 4px 14px rgba(108,99,255,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,99,255,.45);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn-xl {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

/* ── 页面主体留出导航高度 ── */
.page-body { padding-top: var(--nav-h); }

/* ── Section 通用 ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg { background: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(108,99,255,.08);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Hero ── */
.hero {
  background: linear-gradient(145deg, #f0f0f8 0%, #ebe8ff 40%, #fdf0f5 100%);
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,157,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  background: rgba(255,107,157,.10);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--brand), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -.02em;
}
.hero-stat-num span { color: var(--brand); }
.hero-stat-label { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* 手机展示 */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-frame {
  width: 280px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(108,99,255,.25),
    0 0 0 1px rgba(255,255,255,.1);
  position: relative;
}
.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 9/19.5;
  position: relative;
}
.phone-screen-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg,#6C63FF 0%,#8B5CF6 40%,#FF6B9D 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  color: white;
}
.phone-screen-inner .logo-sm {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.phone-screen-inner .logo-sm img { width: 36px; filter: brightness(0) invert(1); }
.phone-screen-inner h3 { font-size: 18px; font-weight: 800; }
.phone-screen-inner p { font-size: 12px; opacity: .8; text-align: center; }
.phone-card {
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 14px;
  width: 100%;
  backdrop-filter: blur(8px);
}
.phone-card-title { font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.phone-card-bar {
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  overflow: hidden;
}
.phone-card-bar-fill {
  height: 100%;
  background: white;
  border-radius: 2px;
}
.phone-deco {
  position: absolute;
}
.phone-deco-1 {
  top: -30px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.15), transparent);
}
.phone-deco-2 {
  bottom: 20px; left: -50px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,157,.12), transparent);
}
.float-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.float-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.float-badge-1 { top: 40px; right: -60px; color: var(--text-title); }
.float-badge-2 { bottom: 80px; left: -70px; color: var(--text-title); }
.float-badge-3 { bottom: 0; right: -50px; color: var(--text-title); }

/* ── 卡片 ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-p { padding: 32px; }

/* ── Feature 卡片 ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 统计栏 ── */
.stats-bar {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: 42px;
  font-weight: 900;
  color: white;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
}

/* ── 测评卡片网格 ── */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.test-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}
.test-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(108,99,255,.12);
  transform: translateY(-3px);
}
.test-card-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.test-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}
.test-card-count {
  font-size: 12px;
  color: var(--text-light);
}

/* ── 用户评价 ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #FBBF24; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--text-title); }
.review-tag { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ── CTA 横幅 ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, #8B5CF6 50%, var(--pink) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  position: relative;
}
.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  position: relative;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.btn-white {
  background: white;
  color: var(--brand);
  font-weight: 700;
}
.btn-white:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* ── Footer ── */
.footer {
  background: #12121F;
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .logo-wrap img {
  width: 32px; height: 32px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-brand .logo-name {
  font-size: 18px;
  font-weight: 800;
  color: white;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  color: rgba(255,255,255,.55);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-bottom a:hover { color: white; }

/* ── Page Hero (内页) ── */
.page-hero {
  background: linear-gradient(145deg, #e8e6ff 0%, #f0efff 50%, #f5e8f8 100%);
  padding: calc(var(--nav-h) + 60px) 0 72px;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── 功能详情 (features page) ── */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,99,255,.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.feature-detail-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.feature-detail-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.feature-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-point-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-point-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 2px;
}
.feature-point-text span {
  font-size: 13px;
  color: var(--text-light);
}

/* ── 价格 (pricing page) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 40px rgba(108,99,255,.20);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}
.pricing-hot {
  position: absolute;
  top: 20px; right: -26px;
  background: linear-gradient(135deg, var(--brand), var(--pink));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: .06em;
}
.pricing-name { font-size: 18px; font-weight: 700; color: var(--text-title); margin-bottom: 8px; }
.pricing-desc { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-title);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-price sup { font-size: 24px; vertical-align: super; }
.pricing-price sub { font-size: 16px; font-weight: 400; color: var(--text-light); vertical-align: baseline; }
.pricing-period { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.pricing-divider { height: 1px; background: var(--border); margin: 24px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-feature .icon-check { color: var(--green); font-weight: 700; }
.pricing-feature .icon-x { color: var(--text-light); }
.pricing-card.featured .pricing-name { color: var(--brand); }
.pricing-card.featured .pricing-price { color: var(--brand); }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: background .2s;
}
.faq-q:hover { background: var(--bg-light); }
.faq-q .arrow { font-size: 18px; color: var(--brand); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #6C63FF 0%, #8B5CF6 50%, #FF6B9D 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100px; filter: brightness(0) invert(1); opacity: .9; }
.about-visual h3 { font-size: 28px; font-weight: 800; color: white; }
.about-visual p { font-size: 16px; color: rgba(255,255,255,.8); text-align: center; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.value-icon { font-size: 36px; margin-bottom: 14px; }
.value-name { font-size: 17px; font-weight: 700; color: var(--text-title); margin-bottom: 8px; }
.value-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.contact-box {
  background: linear-gradient(135deg, rgba(108,99,255,.06), rgba(255,107,157,.06));
  border: 1px solid rgba(108,99,255,.12);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 16px;
}
.contact-info p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.contact-item i { color: var(--brand); width: 18px; text-align: center; }
.contact-qr {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.qr-placeholder {
  width: 140px; height: 140px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  border: 2px dashed var(--border);
}
.contact-qr p { font-size: 14px; color: var(--text-muted); }
.contact-qr strong { display: block; font-size: 16px; font-weight: 700; color: var(--text-title); margin-bottom: 4px; }

/* ── 动画 ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.anim-fade-up { animation: fadeUp .7s ease both; }
.phone-wrap .phone-frame { animation: float 4s ease-in-out infinite; }

/* ── Utilities ── */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── 响应式（平板适配） ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-wrap { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tests-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-detail { grid-template-columns: 1fr; gap: 40px; }
  .feature-detail.reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tests-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
