/* =========================================================
   爱情岛论坛 - 全站样式
   温暖、真实、包容的青年情感交流社区
   ========================================================= */

:root {
  --primary: #e5566d;
  --primary-dark: #c73e56;
  --primary-soft: #fdecef;
  --accent: #ff9d6f;
  --accent-soft: #fff3ea;
  --gold: #f5b942;
  --ink: #39222b;
  --ink-soft: #5c414c;
  --muted: #93717d;
  --line: #f3e2e6;
  --bg: #fffaf8;
  --surface: #ffffff;
  --gradient: linear-gradient(120deg, #ff8a5c 0%, #e5566d 55%, #c9457e 100%);
  --gradient-soft: linear-gradient(135deg, #fff1ec 0%, #fde8ee 100%);
  --shadow-sm: 0 2px 10px rgba(229, 86, 109, .08);
  --shadow-md: 0 10px 30px rgba(229, 86, 109, .14);
  --shadow-lg: 0 24px 60px rgba(120, 40, 70, .18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

body {
  font-family: var(--font);
  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; transition: color .25s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--ink); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

::selection { background: var(--primary); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 248, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(120, 40, 70, .08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .5px;
}

.brand:hover { color: var(--ink); }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.brand-logo svg { width: 22px; height: 22px; }

.brand em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
  transition: background .25s ease, color .25s ease;
}

.nav-links a:hover { background: var(--primary-soft); color: var(--primary); }

.nav-links a.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s 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); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  font-family: var(--font);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(229, 86, 109, .35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(229, 86, 109, .45);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-light:hover { background: rgba(255, 255, 255, .28); color: #fff; transform: translateY(-3px); }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 157, 111, .22), transparent 60%),
    radial-gradient(760px 520px at -10% 20%, rgba(229, 86, 109, .16), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 86, 109, .5); }
  50% { box-shadow: 0 0 0 7px rgba(229, 86, 109, 0); }
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--muted);
  font-size: .92rem;
}

.hero-proof strong {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 900;
}

.hero-proof strong span { color: var(--primary); }

.hero-media { position: relative; }

.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px auto auto -22px;
  width: 130px; height: 130px;
  border-radius: 34px;
  background: var(--gradient-soft);
  z-index: 0;
}

.hero-media img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}

.hero-card {
  position: absolute;
  right: -14px;
  bottom: 30px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
  max-width: 250px;
}

.hero-card .avatar-row { display: flex; }
.hero-card .avatar-row img {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: none;
  aspect-ratio: 1;
}
.hero-card .avatar-row img + img { margin-left: -10px; }
.hero-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }
.hero-card strong { color: var(--primary); }

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

/* 内页 Hero */
.page-hero {
  position: relative;
  padding: 76px 0 70px;
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% -30%, rgba(229, 86, 109, .18), transparent 65%),
    var(--bg);
  overflow: hidden;
}

.page-hero .hero-badge { margin-bottom: 18px; }

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero .hero-lead { margin: 0 auto; max-width: 640px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-top: 20px;
  font-size: .9rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li[aria-current] { color: var(--primary); font-weight: 600; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--gradient-soft); }
.section.white { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.section-head p { color: var(--ink-soft); }

.section-head.left { text-align: left; margin-inline: 0; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: #f6cdd6;
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 26px; height: 26px; stroke: var(--primary); }

.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: .92rem;
}
.card .more::after { content: "→"; transition: transform .25s ease; }
.card .more:hover::after { transform: translateX(5px); }

/* 图片卡片 */
.media-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.media-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s ease;
}

.media-card:hover img { transform: scale(1.05); }

.media-card .media-body { padding: 24px; }
.media-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.media-card p { color: var(--ink-soft); font-size: .93rem; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d96b2f;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.tag.pink { background: var(--primary-soft); color: var(--primary); }
.tag.gold { background: #fdf4e0; color: #b07d10; }
.tag.green { background: #e9f7ef; color: #2e8b57; }

/* ---------- 数据带 ---------- */
.stats-band {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 54px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.stats-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.stat-num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; }
.stat-num em { font-style: normal; font-size: 1.2rem; }
.stat-label { opacity: .92; font-size: .95rem; margin-top: 4px; }

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.split .section-kicker { margin-bottom: 12px; }
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }

.check-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: .8rem;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ---------- 评价 ---------- */
.testimonial {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 22px;
  font-size: 4.2rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: .25;
  line-height: 1;
}

.testimonial p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; position: relative; }

.testimonial-user { display: flex; align-items: center; gap: 12px; }
.testimonial-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-user strong { display: block; font-size: .95rem; }
.testimonial-user span { font-size: .82rem; color: var(--muted); }

.stars { color: var(--gold); letter-spacing: 3px; font-size: .85rem; margin-bottom: 12px; }

/* ---------- 新闻卡片 ---------- */
.news-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.news-card .thumb { overflow: hidden; }
.news-card .thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .thumb img { transform: scale(1.06); }

.news-card .news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.news-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.news-card .more { margin-top: 16px; font-weight: 600; font-size: .9rem; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; }
.step-item { position: relative; padding-top: 14px; }
.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-item p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- 价格/会员 ---------- */
.price-card { text-align: center; position: relative; }
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.price-card .ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-card .price { font-size: 2.2rem; font-weight: 900; color: var(--primary); margin: 10px 0 4px; }
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; text-align: left; }
.price-card ul li { display: flex; gap: 10px; color: var(--ink-soft); font-size: .93rem; }
.price-card ul li::before { content: "♥"; color: var(--primary); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--primary));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.timeline-item .year { color: var(--primary); font-weight: 900; font-size: 1.05rem; }
.timeline-item h3 { font-size: 1.12rem; margin: 4px 0 8px; }
.timeline-item p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- 团队 ---------- */
.team-card { text-align: center; }
.team-card img {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 5px solid var(--primary-soft);
  transition: transform .3s ease, border-color .3s ease;
}
.team-card:hover img { transform: scale(1.06); border-color: var(--primary); }
.team-card h3 { font-size: 1.08rem; }
.team-card span { color: var(--muted); font-size: .88rem; }
.team-card p { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #f6cdd6; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.faq-q .ico {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform .3s ease;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .94rem; }
.form-group label i { color: var(--primary); font-style: normal; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .96rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(229, 86, 109, .12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-tip { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 16px; font-weight: 600; color: #2e8b57; display: none; }

/* ---------- 联系信息卡 ---------- */
.contact-card { text-align: center; }
.contact-card .card-icon { margin-inline: auto; }
.contact-card a { font-weight: 600; word-break: break-all; }

/* ---------- 文章详情 ---------- */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; }
.article-body > img { border-radius: var(--radius); margin-bottom: 30px; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.article-body h2 { font-size: 1.5rem; margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article-body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.article-body p { color: var(--ink-soft); margin-bottom: 16px; }
.article-body blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  background: var(--gradient-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-style: italic;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line); }

.sidebar { display: grid; gap: 26px; position: sticky; top: 96px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-soft); }
.side-link { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-link:last-child { border-bottom: none; }
.side-link img { width: 76px; height: 58px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.side-link h4 { font-size: .9rem; font-weight: 600; line-height: 1.5; }
.side-link h4 a { color: var(--ink); }
.side-link h4 a:hover { color: var(--primary); }
.side-link span { font-size: .78rem; color: var(--muted); }

.pager { display: flex; justify-content: center; gap: 10px; margin-top: 52px; }
.pager a, .pager span {
  min-width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0 14px;
  transition: all .25s ease;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { background: var(--gradient); color: #fff; border-color: transparent; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.article-nav a {
  display: block;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s ease;
}
.article-nav a:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.article-nav span { font-size: .82rem; color: var(--muted); display: block; margin-bottom: 6px; }
.article-nav strong { color: var(--ink); font-size: .98rem; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.cta-band::before { width: 260px; height: 260px; left: -80px; bottom: -110px; }
.cta-band::after { width: 190px; height: 190px; right: -50px; top: -70px; }

.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-band p { opacity: .94; max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-band .btn-white {
  background: #fff;
  color: var(--primary);
  position: relative;
}
.cta-band .btn-white:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(0,0,0,.2); color: var(--primary-dark); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #2c1820;
  color: #d9b9c3;
  padding: 68px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}

.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand em { background: linear-gradient(120deg, #ffb08a, #ff7ba0); -webkit-background-clip: text; background-clip: text; }

.site-footer p { font-size: .92rem; color: #b28f9b; }

.footer-title { color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-weight: 700; }

.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #b28f9b; font-size: .92rem; }
.footer-links a:hover { color: #ffb08a; }

.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; color: #b28f9b; list-style: none; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; stroke: #ff8aa5; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .86rem;
  color: #9a7482;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .35s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- 滚动渐入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 60px 0 70px; }
  .hero-card { right: 10px; bottom: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .article-body { padding: 28px 22px; }
  .sidebar { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 26px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-proof { gap: 18px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
