/* ============================================================
   Proton VPN 中文信息站 · 全站样式（手写原生 CSS，无框架依赖）
   断点：1200 / 992 / 768 / 480
   ============================================================ */
:root {
  --primary: #6d4aff;
  --primary-deep: #5a35e6;
  --accent: #00f0c3;
  --dark: #1b1340;
  --ink: #241c4d;
  --muted: #6b6787;
  --bg: #ffffff;
  --bg-soft: #f5f4ff;
  --line: #e7e5f4;
  --radius: 14px;
  --container: 1200px;
  --shadow: 0 10px 30px rgba(27, 19, 64, 0.08);
  --shadow-lg: 0 18px 44px rgba(27, 19, 64, 0.14);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
ul, ol { padding-left: 1.4em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #efeefe; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.3; }
.section-head p { color: var(--muted); margin-top: 12px; }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: #b9b4dd; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn i { font-size: 14px; }
.btn--primary {
  background: linear-gradient(120deg, var(--primary), #8f6bff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 74, 255, 0.35);
}
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(109, 74, 255, 0.45); }
.btn--ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--ghost:hover { background: rgba(109, 74, 255, 0.08); color: var(--primary-deep); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { color: var(--primary-deep); transform: translateY(-3px); }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---------------- 顶部声明位（可选公告条） ---------------- */
.notice-bar {
  background: linear-gradient(90deg, rgba(109, 74, 255, 0.12), rgba(0, 240, 195, 0.14));
  color: var(--ink);
  font-size: 13.5px;
  text-align: center;
  padding: 8px 16px;
}
.notice-bar a { font-weight: 700; }

/* ---------------- 头部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27, 19, 64, 0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand .brand-mark { height: 32px; width: 32px; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--primary); }
.main-nav a.active { color: var(--primary); background: rgba(109, 74, 255, 0.1); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; }

/* 汉堡菜单（纯 CSS 可用，JS 增强） */
.nav-toggle-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-btn span { top: 50%; margin-top: -1px; }
.nav-toggle-btn span::before { transform: translateX(-50%) translateY(-6px); }
.nav-toggle-btn span::after { transform: translateX(-50%) translateY(6px); }

@media (max-width: 992px) {
  .header-cta { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle-btn { display: block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(27, 19, 64, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul { flex-direction: column; padding: 10px 18px 16px; gap: 2px; }
  .nav-toggle:checked ~ .main-nav { max-height: 480px; }
  .nav-toggle:checked ~ .nav-toggle-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-btn span::before { transform: translateX(-50%) translateY(0) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-btn span::after { transform: translateX(-50%) translateY(0) rotate(-45deg); }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #2a1e63 0%, #4a2fb8 25%, #6d4aff 55%, #00c8a5 100%);
  background-size: 220% 220%;
  animation: heroFlow 16s ease-in-out infinite;
  color: #fff;
}
.hero--sub { animation-duration: 22s; }
@keyframes heroFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(0, 240, 195, 0.5);
  top: -140px;
  left: -120px;
  animation: orbDriftA 22s ease-in-out infinite;
}
.hero::after {
  width: 480px;
  height: 480px;
  background: rgba(142, 120, 255, 0.55);
  bottom: -200px;
  right: -120px;
  animation: orbDriftB 26s ease-in-out infinite;
}
@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(70px, 50px); }
}
@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-70px, -40px); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 96px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #f2f0ff;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.22; letter-spacing: 0.5px; }
.hero .hero-sub {
  margin-top: 18px;
  font-size: 16.5px;
  color: rgba(240, 238, 255, 0.88);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  max-width: 560px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.hero-stat b { display: block; font-size: 20px; color: #fff; }
.hero-stat span { font-size: 12.5px; color: rgba(240, 238, 255, 0.8); }

/* 手机样机 */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: 292px;
  border-radius: 38px;
  background: #0f0a2e;
  border: 6px solid #241c4d;
  box-shadow: 0 30px 60px rgba(10, 5, 40, 0.45);
  padding: 18px 16px 22px;
  position: relative;
  overflow: hidden;
}
.phone::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: scanLight 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLight {
  0% { transform: translateX(-70%); }
  60%, 100% { transform: translateX(70%); }
}
.phone-top { display: flex; justify-content: space-between; font-size: 10.5px; color: #8f8ac0; padding: 0 4px 12px; }
.phone-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; }
.phone-brand img { height: 20px; width: auto; }
.phone-status {
  margin-top: 16px;
  border-radius: 12px;
  background: rgba(0, 240, 195, 0.12);
  border: 1px solid rgba(0, 240, 195, 0.4);
  color: var(--accent);
  font-size: 12.5px;
  text-align: center;
  padding: 8px;
  font-weight: 700;
}
.phone-btn {
  margin: 18px auto 6px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #8f6bff, var(--primary) 60%, #4a2fb8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  box-shadow: 0 0 0 10px rgba(109, 74, 255, 0.18), 0 16px 34px rgba(109, 74, 255, 0.5);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(109, 74, 255, 0.18), 0 16px 34px rgba(109, 74, 255, 0.5); }
  50% { box-shadow: 0 0 0 16px rgba(109, 74, 255, 0.1), 0 16px 34px rgba(109, 74, 255, 0.55); }
}
.phone-btn i { font-size: 26px; }
.phone-btn small { font-size: 12px; font-weight: 700; }
.phone-server {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #cfcbf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-server b { color: #fff; font-size: 12.5px; }

/* ---------------- 卡片网格 ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(109, 74, 255, 0.4); }
.card .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.14), rgba(0, 240, 195, 0.18));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.8px; }

/* 优势 */
.adv-item { display: flex; gap: 18px; align-items: flex-start; }
.adv-item .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: var(--shadow);
}
.adv-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.adv-item p { color: var(--muted); font-size: 14.6px; }
.adv-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-item { transition: transform 0.25s ease, box-shadow 0.25s ease; }

/* 场景 */
.scene-card { position: relative; overflow: hidden; }
.scene-card .ico { background: linear-gradient(135deg, var(--primary), #00c8a5); color: #fff; }
.scene-card .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(109, 74, 255, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #00c8a5);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(109, 74, 255, 0.4);
}
.step .ico { color: var(--primary); font-size: 24px; margin: 12px 0 12px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.4px; }

/* 平台卡 */
.platform-card { text-align: center; position: relative; }
.platform-card .ico { margin: 0 auto 14px; font-size: 26px; }
.platform-card .badge-hot {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(120deg, var(--primary), #00c8a5);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.platform-card p { min-height: 66px; }
.platform-card .btn { margin-top: 14px; }

/* 关键词收录模块 */
.kw-module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.kw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.kw-col h3 { font-size: 16.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.kw-col h3 i { color: var(--primary); font-size: 14px; }
.kw-col ul { list-style: none; padding: 0; }
.kw-col li { border-bottom: 1px dashed var(--line); }
.kw-col li:last-child { border-bottom: none; }
.kw-col a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 2px;
  color: var(--ink);
  font-size: 14.4px;
}
.kw-col a:hover { color: var(--primary); }
.kw-col .stars { color: #f5a623; font-size: 11px; letter-spacing: 1px; }
.kw-col .star-off { color: #d8d6ea; }

/* 关键词云（深色） */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d9d5f7;
  font-size: 13.6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag-cloud a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.tag-cloud a.hot { border-color: rgba(0, 240, 195, 0.55); color: var(--accent); }

/* FAQ 手风琴（details/summary 原生可用） */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-lg); border-color: rgba(109, 74, 255, 0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  font-size: 15.8px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 13px;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* CTA 横幅 */
.cta-band {
  background: linear-gradient(120deg, var(--primary), #8f6bff 55%, var(--accent));
  border-radius: 22px;
  color: #fff;
  text-align: center;
  padding: 58px 30px;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(4px);
}
.cta-band::before { width: 220px; height: 220px; top: -110px; left: -60px; }
.cta-band::after { width: 300px; height: 300px; bottom: -170px; right: -80px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); position: relative; z-index: 2; }
.cta-band p { margin: 12px auto 26px; max-width: 560px; color: rgba(255, 255, 255, 0.92); position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------------- 博客 ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(109, 74, 255, 0.4); }
.blog-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.blog-meta .cat {
  background: rgba(109, 74, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
}
.blog-card h3 { font-size: 17px; line-height: 1.45; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: 14.2px; flex: 1; }
.blog-card .more { font-weight: 700; font-size: 14px; }

.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 10px; }
.blog-list-item a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
  color: #d9d5f7;
  font-size: 14.6px;
}
.blog-list-item a:hover { color: #fff; }
.blog-list-item .d { color: #8f8ac0; font-size: 12.5px; flex: none; }

/* 浅色面板内的文章列表（博客分类页用） */
.kw-module .blog-list-item a { color: var(--ink); border-bottom-color: var(--line); }
.kw-module .blog-list-item a:hover { color: var(--primary); }
.kw-module .blog-list-item .d { color: var(--muted); }
.kw-module h3 i { color: var(--primary); }

/* 文章页 */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 46px;
}
.article .article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.article .article-meta .cat { background: rgba(109, 74, 255, 0.1); color: var(--primary); font-weight: 700; border-radius: 999px; padding: 3px 12px; font-size: 12.5px; }
.article h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.article .lead { color: var(--muted); font-size: 16.5px; border-left: 4px solid var(--primary); padding-left: 16px; margin: 18px 0 26px; }
.article h2 { font-size: 21px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article p { color: #3d3763; margin: 10px 0; font-size: 15.6px; }
.article .points { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 18px 40px; margin: 20px 0; }
.article .points li { margin: 7px 0; color: #3d3763; font-size: 15px; }
.article .faq-mini { margin-top: 30px; }
.article .faq-mini h2 { border: none; padding-left: 0; }
.article-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.article-links a {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.article-links a:hover { color: var(--primary); border-color: rgba(109, 74, 255, 0.4); }
.article-side { margin-top: 34px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.pager a { font-weight: 700; font-size: 14.5px; }

/* 面包屑 */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { margin: 0 8px; color: #c9c6e2; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--dark); color: #b9b4dd; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; }
.footer-brand img.footer-logo { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13.8px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: #b9b4dd; font-size: 13.8px; }
.footer-col a:hover { color: var(--accent); }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 24px;
  font-size: 12.8px;
  color: #8f8ac0;
  line-height: 1.9;
}
.footer-note a { color: #b9b4dd; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0 22px;
  font-size: 12.8px;
  color: #8f8ac0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(109, 74, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 80;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* 进场动画（仅在启用 JS 时生效） */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
  .hero-inner { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  .section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; text-align: center; }
  .hero .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-stats { max-width: 620px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .kw-cols { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { padding: 34px 28px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .kw-cols { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .article { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .phone { width: 262px; }
  .footer-bottom { flex-direction: column; }
}

/* 动画偏好：全部关掉 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
