```css
/* ============================================
   嫩草影院 fpsycum.cn — 完整样式表
   包含：设计系统、布局、组件、动画、响应式
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #f5f7fa;
  --bg-gradient: radial-gradient(ellipse at top left, rgba(245, 158, 11, 0.08), transparent 50%),
                 radial-gradient(ellipse at bottom right, rgba(31, 41, 55, 0.06), transparent 50%);
  --surface: rgba(255, 255, 255, 0.85);
  --surface-solid: #ffffff;
  --card: rgba(255, 255, 255, 0.75);
  --text: #1e293b;
  --text-soft: #475569;
  --text-mute: #64748b;
  --heading: #0f172a;
  --primary: #1f2937;
  --accent: #f59e0b;
  --accent-soft: #fbbf24;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 48px rgba(15, 23, 42, 0.14);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --footer-heading: #f8fafc;
  --tag-bg: rgba(245, 158, 11, 0.1);
  --tag-text: #92400e;
  --glass: blur(16px) saturate(180%);
  --radius: 24px;
  --radius-sm: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-gradient: radial-gradient(ellipse at top left, rgba(245, 158, 11, 0.12), transparent 60%),
                 radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.08), transparent 60%);
  --surface: rgba(30, 41, 59, 0.8);
  --surface-solid: #1e293b;
  --card: rgba(30, 41, 59, 0.7);
  --text: #e2e8f0;
  --text-soft: #cbd5e1;
  --text-mute: #94a3b8;
  --heading: #f1f5f9;
  --primary: #f59e0b;
  --accent: #f59e0b;
  --accent-soft: #fbbf24;
  --border: rgba(148, 163, 184, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(15, 23, 42, 0.75);
  --footer-bg: #0b1120;
  --footer-text: #94a3b8;
  --footer-heading: #e2e8f0;
  --tag-bg: rgba(245, 158, 11, 0.15);
  --tag-text: #fcd34d;
}

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

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

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-soft);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--heading) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 3rem 0 1.5rem;
  padding-left: 1.2rem;
  border-left: 6px solid var(--accent);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 1.8rem 0 0.8rem;
  color: var(--text-soft);
}

h4 {
  font-size: 1.15rem;
  margin: 1.2rem 0 0.5rem;
  color: var(--text);
}

p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.text-muted { color: var(--text-mute); }
.text-small { font-size: 0.9rem; color: var(--text-mute); }

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.logo span {
  background: linear-gradient(135deg, var(--heading) 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  text-decoration: none;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.search-box input {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  width: 140px;
  transition: width 0.3s ease;
}

.search-box input:focus {
  width: 180px;
}

.search-box input::placeholder {
  color: var(--text-mute);
}

.search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  background: var(--accent);
  transform: scale(1.02);
}

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(10deg);
}

.mobile-menu {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-menu:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Hero 区域 ---------- */
.hero {
  padding: clamp(2rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-soft);
  max-width: 850px;
  line-height: 1.8;
}

.hero .lead strong {
  color: var(--accent);
  font-weight: 700;
}

/* Banner 滑动区 */
.banner-swiper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 2rem 0;
  margin: 2rem -1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.banner-swiper::-webkit-scrollbar {
  display: none;
}

.banner-item {
  min-width: 85%;
  scroll-snap-align: start;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.banner-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent, rgba(245, 158, 11, 0.1));
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.banner-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.banner-item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--heading), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-item p {
  color: var(--text-soft);
  max-width: 600px;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--heading);
}

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card a::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card a:hover::after {
  transform: translateX(5px);
}

/* ---------- 表格 ---------- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

th, td {
  padding: 1rem 1.5rem;
  text-align: left;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(245, 158, 11, 0.08);
  font-weight: 700;
  color: var(--heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  font-size: 0.95rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.2rem 1.8rem;
  cursor: pointer;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(245, 158, 11, 0.05);
}

.faq-question span {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question.active span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.8rem 1.5rem;
  color: var(--text-soft);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin: 0 1.8rem;
  padding-top: 1.2rem;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer h4 {
  color: var(--footer-heading);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer p {
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer .col-title {
  font-weight: 700;
  color: var(--footer-heading);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer .col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer a {
  color: var(--footer-text);
  display: inline-block;
  padding: 0.3rem 0;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.copyright {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.9rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn:hover::before {
  left: 100%;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 999;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.2rem;
}

/* ---------- 区块背景 ---------- */
.section-bg {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2rem 0;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

/* ---------- 间距工具 ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* ---------- 动画关键帧 ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ---------- 搜索框增强 ---------- */
.search-box input:focus + button {
  background: var(--accent);
}

/* ---------- 链接下划线动画 ---------- */
.nav-links a, .footer a {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1200px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .search-box {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .search-box input {
    width: 60%;
  }
  
  .search-box input:focus {
    width: 70%;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: var(--glass);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .theme-toggle {
    order: 2;
  }
  
  .search-box {
    order: 3;
  }
  
  .banner-item {
    min-width: 90%;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .footer .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .nav-container {
    padding: 0.5rem 1rem;
    min-height: 60px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo svg {
    width: 36px;
    height: 36px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .lead {
    font-size: 1.05rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .banner-item {
    min-width: 95%;
    padding: 1.5rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }
  
  .faq-answer {
    padding: 0 1.2rem 1.2rem;
    margin: 0 1.2rem;
  }
  
  .back-to-top {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .search-box input {
    width: 100px;
  }
  
  .search-box input:focus {
    width: 120px;
  }
  
  .theme-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section-bg {
    padding: 1.5rem;
  }
  
  table {
    display: block;
    overflow-x: auto;
  }
  
  th, td {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .logo span {
    display: none;
  }
  
  .search-box {
    display: none;
  }
}

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

/* ---------- 打印样式 ---------- */
@media print {
  .navbar, .footer, .back-to-top, .theme-toggle, .mobile-menu, .search-box {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .card, .faq-item, .banner-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- 选择颜色 ---------- */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- 焦点可见性 ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 网格布局辅助 ---------- */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.flex > * {
  flex: 1;
  min-width: 260px;
}

/* ---------- 评测卡片特殊样式 ---------- */
.testimonial-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
}

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

/* ---------- 文章卡片 ---------- */
.article-card {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.3);
}

.article-card .meta {
  font-size: 0.85rem;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-card h4 {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.article-card a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- 图片悬停效果 ---------- */
.hover-zoom {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.hover-zoom img {
  transition: transform 0.5s ease;
}

.hover-zoom:hover img {
  transform: scale(1.08);
}

/* ---------- 渐变边框卡片 ---------- */
.gradient-border {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- 品牌区域增强 ---------- */
.brand-section {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.05) 0%, 
    rgba(245, 158, 11, 0.02) 50%, 
    transparent 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 4rem);
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.03), transparent 60%);
  animation: float 12s ease-in-out infinite;
}

/* ---------- 步骤条 ---------- */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 1rem 0 1rem 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--border);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.steps-list li:last-child {
  border-bottom: none;
}

/* ---------- 高亮文本 ---------- */
.highlight {
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-weight: 600;
  color: var(--heading);
}

/* ---------- 链接卡片 ---------- */
.link-card {
  display: block;
  padding: 1.2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: var(--transition);
  margin-bottom: 0.8rem;
}

.link-card:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateX(8px);
  color: var(--heading);
  text-decoration: none;
}

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-accent { color: var(--accent); }

.bg-surface { background: var(--surface); }

.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }

.shadow { box-shadow: var(--shadow); }
.shadow-hover:hover { box-shadow: var(--shadow-hover); }

.blur-bg {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- 分隔线 ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
  border: none;
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ---------- 联系信息样式 ---------- */
.contact-info {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info .icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- 响应式字体大小 ---------- */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* ---------- 打印样式修正 ---------- */
@media print {
  a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  .card, .faq-item, .banner-item, .section-bg {
    break-inside: avoid;
  }
}

/* ---------- 最终优化：性能提升 ---------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1600px;
  }
}

/* ---------- 适配 iPhone 安全区 ---------- */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  
  .back-to-top {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: max(1.5rem, env(safe-area-inset-right));
  }
}
```