/* ============================================================
   爱漫站 A站 - 二次元弹幕社区
   主样式文件 style.css
   设计语言：深色霓虹 + 渐变光晕 + 微动效
   ============================================================ */

:root {
  --bg-deep: #0d1020;
  --bg-dark: #141830;
  --bg-card: #1a1f3a;
  --bg-card-2: #21264a;
  --line: rgba(139, 150, 255, 0.16);
  --line-strong: rgba(139, 150, 255, 0.32);
  --text-main: #eef0ff;
  --text-sub: #a6aed6;
  --text-mute: #7a82ab;
  --primary: #7b6bff;
  --primary-2: #5f8bff;
  --accent: #ff5c8a;
  --accent-2: #ffb35c;
  --cyan: #4fd6c8;
  --grad-main: linear-gradient(120deg, #7b6bff 0%, #5f8bff 50%, #4fd6c8 100%);
  --grad-hot: linear-gradient(120deg, #ff5c8a 0%, #ff8a5c 100%);
  --shadow-card: 0 14px 40px rgba(6, 8, 22, 0.45);
  --shadow-glow: 0 0 24px rgba(123, 107, 255, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1200px;
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-code: "JetBrains Mono", "Consolas", monospace;
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 背景装饰 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(42% 38% at 12% 8%, rgba(123, 107, 255, 0.22), transparent 62%),
    radial-gradient(36% 32% at 88% 16%, rgba(95, 139, 255, 0.18), transparent 60%),
    radial-gradient(46% 42% at 50% 100%, rgba(255, 92, 138, 0.12), transparent 62%),
    var(--bg-deep);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(139, 150, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 150, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 22px rgba(95, 139, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(95, 139, 255, 0.48);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* ---------- 导航栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 16, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--grad-main);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: var(--shadow-glow);
}

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

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(123, 107, 255, 0.16);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.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);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(123, 107, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 26px;
  animation: fadeDown 0.8s ease both;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  margin-bottom: 18px;
  animation: fadeDown 0.8s 0.1s ease both;
}

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

.hero-sub {
  max-width: 680px;
  margin: 0 auto 38px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-sub);
  animation: fadeDown 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeDown 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 54px;
  animation: fadeDown 0.8s 0.4s ease both;
}

.hero-stat {
  min-width: 150px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.hero-stat b {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.hero-stat span {
  font-size: 13px;
  color: var(--text-mute);
}

.hero-danmaku {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-danmaku i {
  position: absolute;
  white-space: nowrap;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.28);
  animation: danmaku linear infinite;
}

.hero-danmaku i:nth-child(1) { top: 12%; animation-duration: 16s; color: rgba(255, 92, 138, 0.5); }
.hero-danmaku i:nth-child(2) { top: 22%; animation-duration: 22s; animation-delay: -6s; color: rgba(79, 214, 200, 0.45); }
.hero-danmaku i:nth-child(3) { top: 34%; animation-duration: 18s; animation-delay: -12s; color: rgba(255, 255, 255, 0.35); }
.hero-danmaku i:nth-child(4) { top: 8%; animation-duration: 26s; animation-delay: -3s; }
.hero-danmaku i:nth-child(5) { top: 30%; animation-duration: 20s; animation-delay: -16s; color: rgba(123, 107, 255, 0.55); }

/* ---------- Section 通用 ---------- */
.section {
  padding: 90px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 16px;
}

/* ---------- 特性区 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 26px;
  margin-bottom: 18px;
  background: rgba(123, 107, 255, 0.14);
}

.feature-card:nth-child(2) .feature-icon { background: rgba(255, 92, 138, 0.14); }
.feature-card:nth-child(3) .feature-icon { background: rgba(79, 214, 200, 0.14); }
.feature-card:nth-child(4) .feature-icon { background: rgba(255, 179, 92, 0.14); }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 14.5px;
}

/* ---------- 内容区（服务/介绍） ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  gap: 22px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.service-card:nth-child(2) { animation-delay: 0.08s; }
.service-card:nth-child(3) { animation-delay: 0.16s; }
.service-card:nth-child(4) { animation-delay: 0.24s; }

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

.service-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-sub);
  font-size: 14.5px;
}

.service-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-meta span {
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-sub);
  border: 1px solid var(--line);
}

/* ---------- 作品 / 内容卡片 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.content-card:nth-child(2) { animation-delay: 0.08s; }
.content-card:nth-child(3) { animation-delay: 0.16s; }
.content-card:nth-child(4) { animation-delay: 0.24s; }
.content-card:nth-child(5) { animation-delay: 0.32s; }
.content-card:nth-child(6) { animation-delay: 0.4s; }

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

.content-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.content-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-card:hover .thumb img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--grad-hot);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 92, 138, 0.4);
}

.badge.badge-free {
  background: rgba(79, 214, 200, 0.92);
  box-shadow: 0 4px 12px rgba(79, 214, 200, 0.3);
}

.content-card .body {
  padding: 20px 20px 24px;
}

.content-card .body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.content-card .body p {
  color: var(--text-sub);
  font-size: 14px;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-mute);
}

.tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(123, 107, 255, 0.14);
  color: var(--cyan);
  font-size: 12px;
}

/* ---------- 资讯列表 ---------- */
.news-list {
  display: grid;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: fadeUp 0.6s ease both;
}

.news-item:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
}

.news-item img {
  flex: 0 0 190px;
  width: 190px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-item .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.news-item h3 {
  font-size: 18px;
}

.news-item h3:hover {
  color: var(--cyan);
}

.news-item p {
  color: var(--text-sub);
  font-size: 14px;
}

.news-item .meta {
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ---------- 文章详情 ---------- */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-header .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 92, 138, 0.14);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.article-header h1,
.article-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 16px;
}

.article-header .meta {
  color: var(--text-mute);
  font-size: 13.5px;
}

.article-cover {
  border-radius: var(--radius);
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.article-body {
  font-size: 16px;
  color: var(--text-sub);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-size: 24px;
  color: var(--text-main);
  margin: 34px 0 14px;
}

.article-body h3 {
  font-size: 19px;
  color: var(--text-main);
  margin: 26px 0 12px;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(123, 107, 255, 0.08);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
  color: var(--text-main);
}

.article-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 20px;
}

.article-body ul li {
  margin-bottom: 8px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 80px 0;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 64px 40px;
  border-radius: 24px;
  background:
    radial-gradient(60% 90% at 20% 0%, rgba(123, 107, 255, 0.3), transparent 60%),
    radial-gradient(50% 80% at 90% 20%, rgba(255, 92, 138, 0.22), transparent 60%),
    linear-gradient(140deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.cta-box::after {
  content: "≫";
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-size: 180px;
  font-weight: 900;
  color: rgba(123, 107, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 15.5px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item .answer {
  padding: 0 22px 20px;
  color: var(--text-sub);
  font-size: 14.5px;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 12, 26, 0.7);
  padding: 60px 0 26px;
  margin-top: 40px;
}

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

.footer-brand {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-col h3 {
  font-size: 15px;
  margin-bottom: 14px;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--text-mute);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-about {
  color: var(--text-mute);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-bottom a {
  color: var(--text-mute);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.25s ease;
}

.pagination a:hover,
.pagination .current {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-mute);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

/* ---------- 联系信息 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.contact-card:nth-child(2) { animation-delay: 0.1s; }

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card ul li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-sub);
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.contact-card ul li b {
  color: var(--text-main);
}

.contact-card ul li:last-child {
  border-bottom: none;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 22px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

thead {
  background: rgba(123, 107, 255, 0.14);
}

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--text-sub);
}

th {
  color: #fff;
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--cyan), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 26px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 0 4px rgba(123, 107, 255, 0.18);
}

.timeline-item time {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(79, 214, 200, 0.1);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-sub);
  font-size: 14.5px;
}

/* ---------- 团队成员 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.team-card:nth-child(2) { animation-delay: 0.08s; }
.team-card:nth-child(3) { animation-delay: 0.16s; }
.team-card:nth-child(4) { animation-delay: 0.24s; }

.team-card:hover {
  transform: translateY(-6px);
}

.team-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line-strong);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 16px;
}

.team-card .role {
  font-size: 13px;
  color: var(--cyan);
  margin: 4px 0 10px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ---------- 价格套餐 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.7s ease both;
}

.price-card:nth-child(2) { animation-delay: 0.1s; }
.price-card:nth-child(3) { animation-delay: 0.2s; }

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

.price-card.hot {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(123, 107, 255, 0.14), var(--bg-card) 55%);
}

.price-card.hot::before {
  content: "推荐";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-hot);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 92, 138, 0.4);
}

.price-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.price-card .price {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 4px;
}

.price-card .price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mute);
}

.price-card .desc {
  color: var(--text-sub);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.price-card ul {
  text-align: left;
  margin-bottom: 22px;
}

.price-card ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--text-sub);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 900;
}

.price-card ul li:last-child {
  border-bottom: none;
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes danmaku {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-120%);
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 84px 0 90px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(300px, 84vw);
    height: calc(100vh - 72px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px;
    background: rgba(13, 16, 32, 0.96);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 13px 16px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item img {
    width: 100%;
    flex: none;
    height: 170px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat {
    min-width: 120px;
    padding: 14px 18px;
  }
}

@media (max-width: 560px) {
  .features-grid,
  .cards-grid,
  .team-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-box {
    padding: 46px 22px;
  }

  .service-card {
    flex-direction: column;
  }

  .table-wrap {
    font-size: 13px;
  }
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
