```css
/* ===== 蚂蚁影院 主样式系统 ===== */
/* 风格：深海蓝渐变 + 毛玻璃 + 圆角卡片 + 暗色模式 */

:root {
  --bg: #eef4fb;
  --bg-gradient: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 40%),
    linear-gradient(145deg, #e0ecf7 0%, #f4f8fd 100%);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.55);
  --text-primary: #1a2b3c;
  --text-secondary: #2d4a5e;
  --text-heading: #0e2a3a;
  --text-strong: #0b1f2a;
  --accent: #1a5a8a;
  --accent-light: #2b7ab8;
  --accent-dark: #0d3b5c;
  --accent-glow: rgba(26, 90, 138, 0.25);
  --accent-text: #f0f8ff;
  --border: rgba(26, 90, 138, 0.15);
  --border-strong: rgba(26, 90, 138, 0.3);
  --shadow-sm: 0 2px 8px rgba(13, 59, 92, 0.06);
  --shadow-md: 0 8px 30px rgba(13, 59, 92, 0.1);
  --shadow-lg: 0 20px 60px rgba(13, 59, 92, 0.15);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --footer-bg: #0b1f2a;
  --footer-text: #d1e3f0;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-hover: rgba(255, 255, 255, 0.9);
  --code-bg: #f0f4f8;
  --table-header: #0d3b5c;
  --table-text: #1a2b3c;
  --faq-bg: rgba(255, 255, 255, 0.5);
  --input-bg: rgba(255, 255, 255, 0.8);
  --placeholder: #5a7a8c;
  --hover-accent: #0d3b5c;
  --gradient-hero: linear-gradient(135deg, #0b1f2a 0%, #1a5a8a 60%, #2b7ab8 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
  --glass-blur: 16px;
  --transition-base: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0a1622;
  --bg-gradient: radial-gradient(circle at 70% 20%, rgba(43, 122, 184, 0.08) 0%, transparent 50%),
    linear-gradient(145deg, #0d1f2d 0%, #0a1622 100%);
  --surface: rgba(26, 42, 58, 0.72);
  --surface-solid: #152b3a;
  --surface-glass: rgba(20, 35, 48, 0.6);
  --text-primary: #dce8f0;
  --text-secondary: #b0c4d4;
  --text-heading: #e8f0f6;
  --text-strong: #f0f6fa;
  --accent: #3d8cc4;
  --accent-light: #5aa8dd;
  --accent-dark: #1e5f8f;
  --accent-glow: rgba(61, 140, 196, 0.3);
  --accent-text: #f0f8ff;
  --border: rgba(100, 160, 200, 0.15);
  --border-strong: rgba(100, 160, 200, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(15, 30, 42, 0.85);
  --footer-bg: #060e16;
  --footer-text: #a0b8c8;
  --card-bg: rgba(20, 35, 48, 0.7);
  --card-hover: rgba(28, 48, 65, 0.9);
  --code-bg: #1a2f40;
  --table-header: #1e5f8f;
  --table-text: #dce8f0;
  --faq-bg: rgba(20, 35, 48, 0.5);
  --input-bg: rgba(20, 35, 48, 0.8);
  --placeholder: #7a9ab0;
  --hover-accent: #5aa8dd;
  --gradient-hero: linear-gradient(135deg, #060e16 0%, #1e5f8f 60%, #3d8cc4 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 50, 65, 0.9), rgba(20, 35, 48, 0.6));
  --glass-blur: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 10%, var(--accent-glow), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(43, 122, 184, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.8em 0 0.4em;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  border-left: 5px solid var(--accent);
  padding-left: 0.9rem;
  margin-top: 2.2rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-light);
  border-radius: 4px;
  margin-top: 6px;
  opacity: 0.5;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin: 0.8rem 0;
  color: var(--text-primary);
  line-height: 1.8;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: var(--transition-base);
}

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

ul,
ol {
  padding-left: 1.6rem;
  margin: 0.8rem 0;
}

li {
  margin: 0.5rem 0;
}

strong {
  color: var(--text-strong);
  font-weight: 700;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

/* 容器 */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 文本辅助 */
.text-secondary {
  color: var(--text-secondary);
}

/* 按钮 */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  box-shadow: 0 4px 15px var(--accent-glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--hover-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 8px 25px var(--accent-glow);
}

/* 卡片 - 毛玻璃效果 */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition-base);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  background: var(--card-hover);
  border-color: var(--border-strong);
}

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

.card h3,
.card h4 {
  margin-top: 0.2rem;
}

/* 徽章 */
.badge {
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* 网格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 导航栏 */
.navbar {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
  transition: var(--transition-base);
}

.navbar .logo svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  filter: drop-shadow(0 2px 8px var(--accent-glow));
}

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

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

.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);
  border-bottom: none;
}

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

/* 搜索框 */
.search-box {
  display: flex;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

.search-box button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
}

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

/* Hero 区域 */
.hero {
  background: var(--gradient-hero);
  padding: 4rem 0;
  color: #fff;
  border-radius: 0 0 40px 40px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 59, 92, 0.3);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(43, 122, 184, 0.2) 0%, transparent 70%);
  animation: floatReverse 10s ease-in-out infinite;
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(20px) scale(1.05); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.8s ease;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.8s ease 0.1s both;
}

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

.hero .badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  animation: slideUp 0.8s ease both;
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* 主题切换按钮 */
.theme-toggle {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--accent-text);
  transform: scale(1.05);
}

/* 页脚 */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.footer a {
  color: #8ab8d8;
  transition: var(--transition-base);
}

.footer a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.footer h4 {
  color: #f8fafc;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th {
  background: var(--table-header);
  color: #f1f5f9;
  padding: 14px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--table-text);
}

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

tr:hover td {
  background: var(--faq-bg);
}

/* FAQ 样式 */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--faq-bg);
  margin: 1rem 0;
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

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

.faq-question {
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  font-size: 1rem;
  transition: var(--transition-base);
}

.faq-question span {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 0 1rem 0;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

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

/* 文章卡片 */
.article-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

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

.article-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  opacity: 0.8;
}

/* 联系信息 */
.contact-info {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.grid-2-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* 图标 */
.svg-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 6px;
}

/* 返回顶部 */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px var(--accent-glow);
  z-index: 999;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-top:hover {
  background: var(--hover-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* 移动菜单 */
.mobile-menu {
  display: none;
  background: var(--accent);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-base);
  align-items: center;
  justify-content: center;
}

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

/* 动画与可访问性 */
.reveal {
  opacity: 1;
  transform: none;
  transition: all 0.4s ease;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* 品牌区域特殊样式 */
#brand .card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#brand ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition-base);
}

#brand ul li:last-child {
  border-bottom: none;
}

#brand ul li:hover {
  padding-left: 0.5rem;
  color: var(--accent);
}

/* 场景区域 */
#scenario h3 {
  position: relative;
  padding-left: 1.2rem;
  margin-top: 1.5rem;
}

#scenario h3::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

/* 用户评价卡片 */
#cases .card {
  text-align: center;
  position: relative;
  padding-top: 2.5rem;
}

#cases .card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}

#cases .card strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

/* 文章网格 */
#articles .article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#articles .article-card p {
  flex-grow: 1;
}

#articles .article-card a {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent);
}

#articles .article-card a:hover {
  color: var(--hover-accent);
}

/* 指南卡片 */
#howto .card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
}

#howto ol li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition-base);
}

#howto ol li:last-child {
  border-bottom: none;
}

#howto ol li:hover {
  padding-left: 0.5rem;
  color: var(--accent);
}

/* 友情链接 */
#contact a {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.4rem 1rem;
  background: var(--faq-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

#contact a:hover {
  background: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    padding: 3rem 0;
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .grid-2-contact {
    grid-template-columns: 1fr;
  }
  
  .search-box {
    display: none;
  }
  
  .navbar .container {
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .theme-toggle {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.2rem;
  }
  
  .footer .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
  
  .faq-item {
    padding: 0.5rem 1rem;
  }
  
  #articles .article-card {
    padding: 1.2rem;
  }
}

@media (max-width: 400px) {
  .navbar .logo {
    font-size: 1.3rem;
  }
  
  .navbar .logo svg {
    width: 28px;
    height: 28px;
  }
  
  .hero {
    border-radius: 0 0 30px 30px;
  }
}

/* 打印样式 */
@media print {
  .navbar,
  .footer,
  .hero,
  .scroll-top,
  .mobile-menu {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .card,
  .faq-item,
  .contact-info {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
    background: #fff;
  }
}

/* 动画增强 */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 20px 5px var(--accent-glow); }
}

.badge {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* 滚动动画优化 */
.card,
.faq-item,
section h2 {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 暗色模式滚动条 */
[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-color: var(--bg);
}

/* 移动端触摸优化 */
@media (hover: none) {
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .faq-question {
    padding: 0.6rem 0;
  }
}

/* 辅助文本 */
.help-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

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

/* 标签组 */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--faq-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tag:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* 统计数字 */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0.5rem 0;
}

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

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 图片圆角 */
.rounded-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 卡片内边距微调 */
.card p:last-child {
  margin-bottom: 0;
}

/* 链接下划线动画 */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* 内容区域间距 */
main > .container > section {
  margin-bottom: 3rem;
}

/* 品牌故事首段 */
#brand .grid-2 > div:first-child p:first-of-type::first-letter {
  font-size: 3em;
  float: left;
  margin-right: 0.2em;
  line-height: 1;
  color: var(--accent);
  font-weight: 800;
}

/* 移动端导航展开动画 */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links.active {
  animation: navSlideDown 0.3s ease;
}

/* 深色模式微调 */
[data-theme="dark"] .card {
  background: var(--card-bg);
}

[data-theme="dark"] .navbar {
  border-bottom-color: var(--border);
}

[data-theme="dark"] .hero {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .footer {
  background: var(--footer-bg);
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --accent: #0055aa;
    --border: #333333;
  }
  
  [data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #dddddd;
    --accent: #66ccff;
    --border: #666666;
  }
}

/* 减少动画偏好 */
@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;
  }
  
  .hero::before,
  .hero::after {
    animation: none;
  }
  
  .badge {
    animation: none;
  }
}
```