/* 智聘投官网 - 主样式：结构、动效、与插件模板一致 */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #8b5cf6;
  --bg: #0f0f14;
  --bg-card: #18181f;
  --bg-elevated: #1f1f28;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --gradient-cta: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px -8px rgba(99,102,241,0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 40%;
}

/* 非首页：整站 subtle 鼠标跟随光晕（水墨感） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at var(--mouse-x) var(--mouse-y), rgba(99,102,241,0.06), transparent 55%);
  transition: background 0.5s ease-out;
}
body.hero-page::before { display: none; }

/* 保证主内容在光晕之上 */
.nav, .hero, .section, main, .about-page, .guide-page, footer { position: relative; z-index: 1; }

/* ----- 导航 ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,15,20,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease, background 0.3s;
}

.nav.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s var(--ease-spring);
}
.nav-logo:hover { transform: scale(1.03); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-sep {
  width: 1px;
  height: 1rem;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 0.15rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}
.nav-cta .btn { white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s, filter 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(99,102,241,0.5);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: rgba(99,102,241,0.12); }

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

/* 水墨风格：默认中心光晕，JS 会写入 --mouse-x, --mouse-y 使光晕随鼠标移动 */
.hero {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 35% at var(--mouse-x) var(--mouse-y), rgba(99,102,241,0.22), transparent 50%),
    radial-gradient(ellipse 70% 50% at var(--mouse-x) var(--mouse-y), rgba(139,92,246,0.08), transparent 55%),
    radial-gradient(ellipse 85% 55% at 50% -15%, rgba(99,102,241,0.2), transparent 55%),
    radial-gradient(ellipse 65% 45% at 85% 45%, rgba(139,92,246,0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 15% 70%, rgba(99,102,241,0.08), transparent 45%);
  pointer-events: none;
  transition: background 0.4s ease-out;
  animation: heroBgPulse 8s ease-in-out infinite;
}

@keyframes heroBgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s var(--ease-out-expo) both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #c7d2fe 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.7s 0.1s var(--ease-out-expo) both, titleShine 6s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.7s 0.2s var(--ease-out-expo) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.7s 0.35s var(--ease-out-expo) both;
}
.hero-cta .btn {
  min-width: 168px;
  animation: ctaFloat 3.5s ease-in-out infinite;
}
.hero-cta .btn:last-child { animation-delay: 0.5s; }

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ----- 动效基础 ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----- Sections 通用 ----- */
.section {
  padding: 5rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* 分区视觉区分 */
.section-features { padding-top: 5.5rem; }
.section-cases { background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.04) 50%, transparent 100%); padding: 5rem 1.5rem; }
.section-templates { padding: 5rem 1.5rem; }
.section-pricing { padding: 5rem 1.5rem; }
.section-docs { padding: 4rem 1.5rem; }

.link-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-decoration 0.2s;
}
.link-more:hover { color: #a5b4fc; text-decoration: underline; }

/* ----- 功能卡片（6 个）----- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.features-six {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.35);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.feature-card.reveal.visible {
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.feature-card[data-delay="0"].reveal.visible { transition-delay: 0s; }
.feature-card[data-delay="1"].reveal.visible { transition-delay: 0.06s; }
.feature-card[data-delay="2"].reveal.visible { transition-delay: 0.12s; }
.feature-card[data-delay="3"].reveal.visible { transition-delay: 0.18s; }
.feature-card[data-delay="4"].reveal.visible { transition-delay: 0.24s; }
.feature-card[data-delay="5"].reveal.visible { transition-delay: 0.3s; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

.feature-icon .icon-emoji { font-size: 1.6rem; }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----- 用户反馈（案例）----- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out-expo), transform 0.3s;
}

.case-card:hover {
  border-color: rgba(99,102,241,0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case-card .quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: normal;
}

.case-card .author {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.case-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.case-card.reveal.visible {
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.cases .case-card:nth-child(1).reveal.visible { transition-delay: 0.05s; }
.cases .case-card:nth-child(2).reveal.visible { transition-delay: 0.15s; }
.cases .case-card:nth-child(3).reveal.visible { transition-delay: 0.25s; }

/* ----- 简历模板展示 ----- */
.templates-showcase-wrap {
  position: relative;
  margin-bottom: 0;
}
/* 首页只显示两行，底部渐变 + 查看更多 */
.section-templates .templates-showcase--home {
  max-height: 520px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
}
.templates-more-cta {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.templates-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(99,102,241,0.14) 100%);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.templates-more-link:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.templates-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.4s var(--ease-out-expo);
}

.template-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.45), 0 0 0 1px rgba(99,102,241,0.15);
}

.template-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 迷你简历纸片预览 */
.template-preview {
  height: 160px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  align-items: stretch;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.3s;
  position: relative;
}

.template-preview--paper {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  margin: 12px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
  min-height: 132px;
}

/* 配置中的模板图片预览：保证桌面端可见，图片加载失败时由 JS 回退为 mockup */
.template-preview--image {
  background-color: #f1f5f9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.template-preview--image .template-preview-img {
  display: none;
}

.template-card:hover .template-preview--paper {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.7) inset;
  transform: translateY(-2px);
}

/* 模拟简历块 */
.mockup-bar {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: var(--mockup-accent, #0d9488);
  flex-shrink: 0;
}

.mockup-title {
  width: 70%;
  height: 12px;
  border-radius: 5px;
}

.mockup-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e2e8f0 0%, #e2e8f0 85%, transparent 85%);
  width: 100%;
}

.mockup-line--short {
  width: 60%;
}

/* 双栏：左侧色条 */
.mockup-sidebar {
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 28%;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 6px 0 0 6px;
  z-index: 0;
}

.template-preview--sidebar .mockup-bar,
.template-preview--sidebar .mockup-line {
  margin-left: 32%;
}

.template-preview--sidebar .mockup-title { width: 55%; }

/* 各模板配色 */
.template-preview--tech .mockup-bar,
.template-preview--tech .mockup-title { background: #2563eb; }
.template-preview--minimal .mockup-bar,
.template-preview--minimal .mockup-title { background: #1e293b; }
.template-preview--minimal .mockup-line { background: linear-gradient(90deg, #cbd5e1 0%, #cbd5e1 85%, transparent 85%); }
.template-preview--modern .mockup-bar,
.template-preview--modern .mockup-title { background: #6366f1; }
.template-preview--creative .mockup-bar,
.template-preview--creative .mockup-title { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
.template-preview--sidebar .mockup-title { background: #1e40af; }

.template-preview--universal .mockup-bar,
.template-preview--universal .mockup-title { background: #0d9488; }
.template-preview--executive .mockup-bar,
.template-preview--executive .mockup-title { background: #b45309; }
.template-preview--entry .mockup-bar,
.template-preview--entry .mockup-title { background: #059669; }
.template-preview--academic .mockup-bar,
.template-preview--academic .mockup-title { background: #475569; }
.template-preview--sales .mockup-bar,
.template-preview--sales .mockup-title { background: #ea580c; }
.template-preview--compact .mockup-bar,
.template-preview--compact .mockup-title { background: #64748b; }

.template-card .name {
  padding: 1rem 1rem 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.template-card .cta {
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
  color: var(--primary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-arrow {
  font-size: 1rem;
  transition: transform 0.25s var(--ease-out-expo);
}

.template-card:hover .cta { color: #a5b4fc; }
.template-card:hover .cta-arrow { transform: translateX(3px); }

.section-more { margin-top: 1.5rem; }
.link-more--block {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  font-weight: 600;
}

.template-card.reveal.visible {
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.templates-showcase .template-card:nth-child(1).reveal.visible { transition-delay: 0.02s; }
.templates-showcase .template-card:nth-child(2).reveal.visible { transition-delay: 0.06s; }
.templates-showcase .template-card:nth-child(3).reveal.visible { transition-delay: 0.1s; }
.templates-showcase .template-card:nth-child(4).reveal.visible { transition-delay: 0.14s; }
.templates-showcase .template-card:nth-child(5).reveal.visible { transition-delay: 0.18s; }
.templates-showcase .template-card:nth-child(6).reveal.visible { transition-delay: 0.22s; }
.templates-showcase .template-card:nth-child(7).reveal.visible { transition-delay: 0.26s; }
.templates-showcase .template-card:nth-child(8).reveal.visible { transition-delay: 0.3s; }
.templates-showcase .template-card:nth-child(9).reveal.visible { transition-delay: 0.34s; }
.templates-showcase .template-card:nth-child(10).reveal.visible { transition-delay: 0.38s; }
.templates-showcase .template-card:nth-child(11).reveal.visible { transition-delay: 0.42s; }

/* ----- 定价 ----- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.4s var(--ease-out-expo), box-shadow 0.3s;
}

.price-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow), var(--shadow-glow);
  transform: translateY(-4px) scale(1.02);
}

.price-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.price-card .amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

.price-card ul { list-style: none; margin: 1.5rem 0; text-align: left; }

.price-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-card li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
}

.price-card .btn { width: 100%; margin-top: 0.5rem; padding: 0.85rem; }

.price-card.reveal.visible { transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); }
.pricing .price-card:nth-child(1).reveal.visible { transition-delay: 0.08s; }
.pricing .price-card:nth-child(2).reveal.visible { transition-delay: 0.18s; }

/* ----- 文档与下载 ----- */
.docs-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.docs-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.docs-cta a:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,0.08);
  transform: translateY(-2px);
}

/* ----- 滚动触发动画 ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- 页脚 ----- */
.footer {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-addr { margin-top: 0.4rem; font-size: 0.85rem; }
.footer-addr a { color: var(--primary); text-decoration: none; }
.footer-links {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-beian { margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.8; }

/* ----- 微信联系客服（页脚紧凑横排） ----- */
.wechat-contact {
  margin-top: 1rem;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}

.wechat-contact-card {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.wechat-contact-card:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 0 16px -4px rgba(99,102,241,0.15);
}

.wechat-contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.wechat-contact-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.02em;
}

.wechat-contact-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.wechat-contact-qr {
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.wechat-contact-qr img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 4px;
}

.wechat-contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

@media (max-width: 768px) {
  .wechat-contact { margin-top: 1.25rem; }
  .wechat-contact-card { padding: 0.6rem 1rem; gap: 0.75rem; }
  .wechat-contact-qr img { width: 72px; height: 72px; }
  .wechat-contact-title { font-size: 0.9rem; }
  .wechat-contact-desc { font-size: 0.75rem; }
}

/* ----- 全站点击涟漪（开源风格 Material Ripple） ----- */
.ripple {
  position: fixed;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, rgba(139,92,246,0.2) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: scale(0);
  opacity: 1;
}
.ripple.ripple--animate {
  animation: rippleExpand 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ----- 移动端 ----- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 5rem 1rem 3rem; }
  .section { padding: 3.5rem 1rem; }
  .section-cases { padding: 3.5rem 1rem; }
  .section-features { padding-top: 3.5rem; }
  .features-six { grid-template-columns: 1fr; }
  .templates-showcase { grid-template-columns: repeat(2, 1fr); }
}
