/* ============================================================
   魔思云 - 深色云服务风格样式
   基于 E:\AI\test 项目界面风格复刻
   ============================================================ */
:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --blue: #3b82f6;
  --purple: #a855f7;
  --pink: #ec4899;
  --green: #22c55e;
  --yellow: #eab308;
  --indigo: #6366f1;
  --red: #ef4444;
  --gradient-main: linear-gradient(90deg, #60a5fa, #a855f7, #ec4899);
  --gradient-cta: linear-gradient(90deg, #2563eb, #7c3aed);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1280px;
  --hero-overlay: rgba(0, 0, 0, 0.55);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --code-bg: #0d1117;
  --nav-bg: rgba(0, 0, 0, 0.6);
}

/* 浅色主题（日间模式） */
[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --surface: rgba(15, 23, 42, 0.04);
  --surface-hover: rgba(15, 23, 42, 0.08);
  --border: rgba(15, 23, 42, 0.12);
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --blue: #2563eb;
  --purple: #7c3aed;
  --pink: #db2777;
  --green: #16a34a;
  --yellow: #d97706;
  --indigo: #4f46e5;
  --red: #dc2626;
  --gradient-main: linear-gradient(90deg, #2563eb, #7c3aed, #db2777);
  --gradient-cta: linear-gradient(90deg, #2563eb, #7c3aed);
  --hero-overlay: rgba(255, 255, 255, 0.75);
  --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --code-bg: #f1f5f9;
  --nav-bg: rgba(255, 255, 255, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover { background: #2563eb; box-shadow: 0 0 30px rgba(59, 130, 246, 0.5); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.btn-white:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); }

.btn-sm { padding: 10px 24px; font-size: 14px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.btn-submit:hover { background: #2563eb; box-shadow: 0 0 30px rgba(59, 130, 246, 0.5); }

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}
.nav-cta { background: var(--blue); }

/* 主题切换按钮 */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--blue);
}
.theme-icon { flex-shrink: 0; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
/* 浅色模式下显示太阳图标，隐藏月亮 */
[data-theme="light"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: none; }
.theme-toggle-mobile {
  margin: 8px 0;
  width: fit-content;
  background: var(--surface);
  color: var(--text);
}
.theme-toggle-text { font-size: 15px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  z-index: 200;
  transition: right 0.3s ease;
  padding: 24px;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.menu-close { background: none; border: none; color: #fff; padding: 8px; }
.nav-mobile { display: flex; flex-direction: column; gap: 24px; }
.nav-mobile .nav-link { font-size: 18px; }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 4s ease-in-out infinite;
}
.blob-blue { top: 25%; left: -80px; background: rgba(59, 130, 246, 0.2); }
.blob-purple { bottom: 25%; right: -80px; background: rgba(168, 85, 247, 0.2); animation-delay: 2s; }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--blue);
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 999px;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .hero-title { font-size: 72px; } }
@media (min-width: 1024px) { .hero-title { font-size: 88px; } }
.hero-title-gradient {
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 0.5em;
  margin-top: 16px;
}
.hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-desc { font-size: 20px; } }

.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.hero-video {
  max-width: 896px;
  margin: 80px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.hero-video-inner {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 16px;
}
.hero-video-icon { color: rgba(59, 130, 246, 0.5); }
.hero-bottom-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 128px;
  background: linear-gradient(to top, #000, transparent);
  z-index: 1;
}

/* ============ 通用区块 ============ */
.section { padding: 96px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .section-title { font-size: 48px; } }
.section-subtitle {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
}
.section-divider { width: 80px; height: 6px; background: var(--blue); border-radius: 999px; margin: 0 auto; }

/* ============ 卡片 ============ */
.card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.card:hover { background: var(--surface-hover); border-color: rgba(255, 255, 255, 0.2); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 24px;
  transition: transform 0.3s;
}
.card:hover .card-icon { transform: scale(1.1); }
.card-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.card-desc { color: var(--text-secondary); line-height: 1.7; }

.icon-blue svg { color: var(--blue); }
.icon-purple svg { color: var(--purple); }
.icon-pink svg { color: var(--pink); }
.icon-green svg { color: var(--green); }
.icon-yellow svg { color: var(--yellow); }
.icon-indigo svg { color: var(--indigo); }
.icon-red svg { color: var(--red); }

/* ============ 服务网格 ============ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); }

/* ============ 首页关于区 ============ */
.about-section { background: linear-gradient(to bottom, #000, rgba(37, 99, 235, 0.2)); }
.about-inner { display: flex; flex-direction: column; align-items: center; gap: 64px; }
@media (min-width: 768px) { .about-inner { flex-direction: row; } }
.about-text { flex: 1; }
.about-text .section-subtitle { margin: 0 0 24px; text-align: left; }
.about-features { display: flex; flex-direction: column; gap: 16px; }
.about-features li { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-blue { background: var(--blue); }
.dot-purple { background: var(--purple); }
.dot-pink { background: var(--pink); }
.about-code { flex: 1; position: relative; }
.code-block {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  color: var(--blue);
  font-family: 'Fira Code', 'Inter', monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow: auto;
  white-space: pre;
}

/* ============ 联系区 ============ */
.contact-section { background: var(--bg); overflow: hidden; }
.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
@media (min-width: 1024px) { .contact-inner { flex-direction: row; } }
.contact-info { flex: 1; }
.contact-info .section-subtitle { text-align: left; margin: 0 0 48px; }
.contact-items { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 24px; }
.contact-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  flex-shrink: 0;
}
.contact-icon.icon-purple { background: rgba(168, 85, 247, 0.1); }
.contact-icon.icon-pink { background: rgba(236, 72, 153, 0.1); }
.contact-icon.icon-green { background: rgba(34, 197, 94, 0.1); }
.contact-label { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-value { color: var(--text-secondary); }
.contact-qrcode-img { width: 120px; height: 120px; margin-top: 8px; border-radius: 8px; object-fit: cover; }

.contact-form-card {
  flex: 1;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .contact-form-card { padding: 48px; } }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-alert {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-alert.success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.2); color: var(--green); }
.form-alert.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: var(--red); }

/* ============ 页面 Hero ============ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--bg);
}
.page-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .page-title { font-size: 60px; } }
.page-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ 产品页 ============ */
.product-section { padding-top: 48px; }
.product-list { display: flex; flex-direction: column; gap: 96px; }
.product-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media (min-width: 768px) { .product-row { flex-direction: row; } }
.product-row.reverse { flex-direction: column; }
@media (min-width: 768px) { .product-row.reverse { flex-direction: row-reverse; } }
.product-text { flex: 1; }
.product-icon {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 24px;
}
.product-name { font-size: 32px; font-weight: 700; margin-bottom: 24px; }
.product-desc { font-size: 18px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.product-features { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .product-features { grid-template-columns: repeat(2, 1fr); } }
.product-features span { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.product-features span svg { color: var(--green); }

.product-visual { flex: 1; width: 100%; }
.product-cta { margin-top: 8px; }
.mock-link {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}
.mock-link:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}
.mock-window {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.mock-bar { display: flex; gap: 8px; padding: 16px; }
.mock-bar span { width: 12px; height: 12px; border-radius: 50%; }
.mock-bar span:nth-child(1) { background: rgba(239, 68, 68, 0.5); }
.mock-bar span:nth-child(2) { background: rgba(234, 179, 8, 0.5); }
.mock-bar span:nth-child(3) { background: rgba(34, 197, 94, 0.5); }
.mock-body {
  flex: 1;
  margin: 0 16px 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-line { height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.mock-block { flex: 1; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.05); }
.mock-cols { display: flex; gap: 16px; }
.mock-col { height: 48px; flex: 1; border-radius: var(--radius-sm); }
.mock-col.blue { background: rgba(59, 130, 246, 0.2); }
.mock-col.purple { background: rgba(168, 85, 247, 0.2); }
.mock-col.pink { background: rgba(236, 72, 153, 0.2); }
.mock-col.green { background: rgba(34, 197, 94, 0.2); }
.mock-col.yellow { background: rgba(234, 179, 8, 0.2); }

/* ============ 解决方案页 ============ */
.solutions-section { padding-top: 0; }
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
.solution-card { display: flex; flex-direction: column; }
.card-more {
  margin-top: 32px;
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.solution-card:hover .card-more { gap: 16px; }

.cta-banner {
  margin-top: 96px;
  padding: 48px;
  border-radius: 48px;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { flex-direction: row; justify-content: space-between; text-align: left; } }
.cta-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.cta-desc { color: rgba(255, 255, 255, 0.9); font-size: 18px; }
.cta-glow {
  position: absolute;
  top: -50%; right: -10%;
  width: 256px; height: 256px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

/* ============ 关于页 ============ */
.about-hero { padding-bottom: 120px; }
.about-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}
@media (min-width: 1024px) { .about-hero-inner { flex-direction: row; } }
.about-hero-text { flex: 1; }
.about-hero-text .page-title { text-align: left; }
.about-desc { font-size: 18px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}
.stat-card {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-card.blue { background: rgba(59, 130, 246, 0.2); }
.stat-card.purple { background: rgba(168, 85, 247, 0.2); }
.stat-card.pink { background: rgba(236, 72, 153, 0.2); }
.stat-card.green { background: rgba(34, 197, 94, 0.2); }
.stat-number { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.stat-card.blue .stat-number { color: var(--blue); }
.stat-card.purple .stat-number { color: var(--purple); }
.stat-card.pink .stat-number { color: var(--pink); }
.stat-card.green .stat-number { color: var(--green); }
.stat-label { color: var(--text-secondary); }

.about-values { padding-top: 0; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ 办公区（联系页） ============ */
.offices-section { padding-top: 0; border-top: 1px solid var(--border); }
.offices-grid { display: grid; grid-template-columns: 1fr; gap: 48px; text-align: center; }
@media (min-width: 768px) { .offices-grid { grid-template-columns: repeat(3, 1fr); } }
.office-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.office-desc { color: var(--text-secondary); }

/* ============ 404 ============ */
.notfound-section { min-height: 70vh; display: flex; align-items: center; }
.notfound-inner { text-align: center; margin: 0 auto; }
.notfound-code {
  font-size: 120px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.notfound-desc { font-size: 20px; color: var(--text-secondary); margin-bottom: 32px; }

/* ============ 页脚 ============ */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-desc { margin-top: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 320px; }
.footer-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 15px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 15px; }
.footer-contact svg { flex-shrink: 0; color: var(--text-muted); }
.footer-contact .footer-qrcode { flex-direction: column; align-items: flex-start; }
.footer-contact .footer-qrcode-label { font-size: 14px; color: var(--text-muted); }
.footer-qrcode-img { width: 110px; height: 110px; border-radius: 8px; object-fit: cover; margin-top: 4px; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

/* ============ 返回顶部 ============ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--surface-hover); }

/* ============ 资讯列表 ============ */
.news-section { padding-top: 0; }
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}
.filter-chip {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.filter-chip:hover { color: var(--text); background: var(--surface-hover); }
.filter-chip.active {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
}
.news-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}
.news-card:hover { transform: translateY(-8px); }
.news-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.news-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.news-category { font-size: 13px; font-weight: 600; color: var(--blue); }
.news-date { font-size: 13px; color: var(--text-muted); }
.news-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.news-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-read-more {
  margin-top: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-card:hover .news-read-more svg { transform: translateX(4px); }
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.page-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s;
}
.page-btn:hover { background: var(--surface-hover); }
.page-info { color: var(--text-secondary); font-size: 14px; }
.empty-state { text-align: center; padding: 80px 0; color: var(--text-muted); font-size: 18px; }
.empty-state .btn { margin-top: 24px; }

/* ============ 文章详情 ============ */
.article-detail { padding-top: 120px; padding-bottom: 96px; }
.article-detail-container { max-width: 860px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--text-muted); font-size: 14px; }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.article-title { font-size: 36px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
@media (min-width: 768px) { .article-title { font-size: 42px; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 24px; color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }
.article-category { color: var(--blue); font-weight: 600; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.article-cover img { width: 100%; display: block; }
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 48px;
}
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-size: 26px; font-weight: 700; color: var(--text); margin: 32px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 24px 0 12px; }
.article-content img { max-width: 100%; border-radius: var(--radius-md); }
.article-content a { color: var(--blue); text-decoration: underline; }
.article-footer { border-top: 1px solid var(--border); padding-top: 32px; }

/* ============ FAQ ============ */
.faq-section { padding-top: 0; }
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--blue); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq-icon { color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* ============ 关于页 ============ */
.about-intro-section { padding-top: 0; }
.about-intro-grid { display: flex; flex-direction: column; align-items: center; gap: 64px; }
@media (min-width: 768px) { .about-intro-grid { flex-direction: row; } }
.about-intro-text { flex: 1; }
.section-title-left { font-size: 36px; font-weight: 700; margin-bottom: 24px; }
@media (min-width: 768px) { .section-title-left { font-size: 42px; } }
.about-intro-text p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-intro-text .btn { margin-top: 16px; }
.about-intro-visual { flex: 1; width: 100%; }
.about-visual-box {
  padding: 48px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.about-visual-icon { margin-bottom: 16px; color: var(--blue); }
.about-visual-box h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.about-visual-box p { color: var(--text-secondary); }

.about-milestones { padding-top: 0; }
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple), var(--pink));
}
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #000;
  box-shadow: 0 0 0 2px var(--blue);
}
.timeline-item:nth-child(even)::before { background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.timeline-item:nth-child(odd)::before { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.timeline-year {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.timeline-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.timeline-desc { color: var(--text-secondary); line-height: 1.7; }

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .hero-title { font-size: 44px; }
  .hero-title-gradient { font-size: 0.45em; }
  .page-title { font-size: 40px; }
  .contact-form-card { padding: 24px; }
  .cta-banner { padding: 32px; }
  .article-title { font-size: 30px; }
}
