```css
/* ============================================================
   在线天堂中文 | lrzx.net.cn
   主题：高清影视 · 中文字幕 · 影院级体验
   设计：渐变Banner / 圆角卡片 / 毛玻璃 / 响应式 / 暗色模式
   ============================================================ */

/* ---------- CSS变量 & 主题体系 ---------- */
:root {
  --bg-page: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-header: rgba(15, 23, 42, 0.85);
  --bg-footer: #0b1120;
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-hover: rgba(255, 255, 255, 0.12);
  --bg-hero-start: #0f172a;
  --bg-hero-mid: #1e3a5f;
  --bg-hero-end: #3b6ea5;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #f8fafc;
  --text-link: #7dd3fc;
  --text-button: #ffffff;
  --text-nav: #cbd5e1;
  --text-card-title: #f1f5f9;
  --text-card-body: #cbd5e1;
  --text-faq-q: #f1f5f9;
  --text-faq-a: #cbd5e1;
  --text-footer-main: #94a3b8;
  --text-footer-title: #f8fafc;
  --border-light: rgba(148, 163, 184, 0.2);
  --brand-main: #3b6ea5;
  --brand-deep: #1e3a5f;
  --accent: #7dd3fc;
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.4);
  --radius: 20px;
  --radius-sm: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-blur: blur(20px) saturate(180%);
  --gradient-text: linear-gradient(135deg, #7dd3fc, #60a5fa, #93c5fd);
  --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #3b6ea5 100%);
  --gradient-card: linear-gradient(145deg, rgba(59, 110, 165, 0.15), rgba(30, 58, 95, 0.05));
  --gradient-border: linear-gradient(135deg, rgba(125, 211, 252, 0.5), rgba(59, 110, 165, 0.1));
}

/* 亮色主题覆盖 */
[data-theme="light"] {
  --bg-page: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-header: rgba(255, 255, 255, 0.9);
  --bg-footer: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.04);
  --bg-glass-hover: rgba(15, 23, 42, 0.08);
  --bg-hero-start: #1e3a5f;
  --bg-hero-mid: #2d5a8e;
  --bg-hero-end: #4a8ab5;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-heading: #0f172a;
  --text-link: #1d4ed8;
  --text-button: #ffffff;
  --text-nav: #334155;
  --text-card-title: #1e293b;
  --text-card-body: #334155;
  --text-faq-q: #1e293b;
  --text-faq-a: #334155;
  --text-footer-main: #cbd5e1;
  --text-footer-title: #ffffff;
  --border-light: rgba(100, 116, 139, 0.2);
  --brand-main: #1e3a5f;
  --brand-deep: #14273e;
  --accent: #2563eb;
  --shadow-sm: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.12);
  --gradient-text: linear-gradient(135deg, #1e3a5f, #2d5a8e, #3b6ea5);
  --gradient-bg: linear-gradient(135deg, #e0eaff 0%, #c7d8f0 50%, #a8c5e0 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 58, 95, 0.08), rgba(59, 110, 165, 0.04));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.5s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-main);
  border-radius: 10px;
  border: 2px solid var(--bg-page);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* 选中文本 */
::selection {
  background: var(--accent);
  color: var(--text-button);
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ---------- 布局容器 ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 4px;
}

/* ---------- 毛玻璃效果工具类 ---------- */
.glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.glass:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- 头部导航 ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.brand-icon {
  font-size: 1.8rem;
  margin-right: 8px;
}

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

.nav-links a {
  color: var(--text-nav);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border-radius: 50px;
  padding: 4px 4px 4px 16px;
  border: 1px solid var(--border-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.2);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 4px;
  color: var(--text-primary);
  outline: none;
  width: 140px;
  font-size: 0.9rem;
}

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

.search-btn {
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(59, 110, 165, 0.4);
}

.icon-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
}

/* 移动端导航 */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px;
  background: var(--bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

.mobile-nav a {
  padding: 14px 0;
  color: var(--text-nav);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--accent);
  padding-left: 8px;
}

/* ---------- Hero区域 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  background: var(--gradient-bg);
  overflow: hidden;
}

/* 动态背景效果 */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.3), transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 110, 165, 0.4), transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #7dd3fc, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #0f172a;
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Hero右侧卡片 */
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 32px;
  color: #ffffff;
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending-list {
  list-style: none;
}

.trending-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

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

.trending-list li:hover {
  padding-left: 8px;
}

.trending-list .rank {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.trending-list .rank.top {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0f172a;
}

/* ---------- 网格布局 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ---------- 卡片样式 ---------- */
.card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bg);
  opacity: 0;
  transition: var(--transition);
}

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

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3, .card h4 {
  color: var(--text-card-title);
  margin-bottom: 12px;
  font-weight: 600;
}

.card p {
  color: var(--text-card-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 16px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 12px;
}

/* 内容卡片 */
.content-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

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

.content-card h4 {
  color: var(--text-card-title);
  margin-bottom: 8px;
}

.content-card .meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.content-card p {
  color: var(--text-card-body);
  font-size: 0.95rem;
}

/* ---------- 品牌介绍区 ---------- */
.brand-section {
  padding: 80px 0;
  position: relative;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.brand-card {
  text-align: center;
  padding: 40px 30px;
}

.brand-card .card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

/* 关于我们 */
.about-block {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent);
  border-radius: 50%;
}

.about-block h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ---------- 影视库区域 ---------- */
.products-section {
  padding: 80px 0;
}

.category-tag {
  display: inline-block;
  background: var(--bg-glass);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

/* ---------- 文章区域 ---------- */
.articles-section {
  padding: 80px 0;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card .card-link {
  margin-top: auto;
}

/* ---------- FAQ区域 ---------- */
.faq-section {
  padding: 80px 0;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--text-faq-q);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  transition: var(--transition);
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-glass);
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.faq-item.open .toggle-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--text-faq-a);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ---------- CTA区块 ---------- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--gradient-bg);
  border-radius: 30px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-footer);
  color: var(--text-footer-main);
  padding: 60px 0 0;
  margin-top: 80px;
  border-top: 1px solid var(--border-light);
}

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

.footer h4 {
  color: var(--text-footer-title);
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.footer p, .footer a {
  color: var(--text-footer-main);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-bg);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- 动画效果 ---------- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---------- 响应式设计 ---------- */
@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-card {
    max-width: 600px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .search-box input {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .nav-links, .search-box {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  
  .brand {
    font-size: 1.3rem;
  }
  
  .brand-icon {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .grid-3, .grid-4 {
    gap: 16px;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
    padding: 16px;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-item.open .faq-answer {
    padding: 0 16px 16px;
  }
  
  .about-block {
    padding: 24px;
  }
}

/* ---------- 无障碍与可访问性 ---------- */
@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;
  }
}

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

/* 按钮通用样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-bg);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 110, 165, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 110, 165, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-glass);
}

/* 链接卡片 */
.link-card {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
}

.link-card:hover {
  text-decoration: none;
}

/* 徽章 */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
}

.badge-primary {
  background: linear-gradient(135deg, #3b6ea5, #1e3a5f);
  color: #ffffff;
  border: none;
}

/* 分隔线 */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}

/* 文本渐变 */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 毛玻璃卡片容器 */
.glass-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.glass-panel:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
}

/* 滚动条美化 */
.scroll-container {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.scroll-container::-webkit-scrollbar {
  width: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 6px;
}

/* 打印样式 */
@media print {
  .header, .footer, .to-top, .hero-cta, .search-box {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .card, .glass, .content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: none;
  }
  
  .hero {
    padding: 20px 0;
    min-height: auto;
  }
  
  .hero-title {
    color: #0f172a;
    text-shadow: none;
  }
}

/* 暗色模式微调 */
[data-theme="dark"] .hero-card {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .brand {
  -webkit-text-fill-color: transparent;
}

/* 确保所有文字对比度达标 */
.text-muted {
  color: var(--text-secondary);
}

.text-small {
  font-size: 0.85rem;
}

/* 卡片hover动效增强 */
.card-hover-effect {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 渐变边框 */
.gradient-border {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--gradient-border) border-box;
}

/* 背景图案 */
.pattern-dots {
  background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 深度感 */
.depth-shadow {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 确保footer链接可读 */
.footer a {
  color: var(--text-footer-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 移动端底部安全区 */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
```