/* ============================================================
   SANESSYS® — 成都三逸科技企业官网 全站样式
   NVIDIA 绿黑科技风格 | #76b900 强调色
   WordPress 7.0 Classic Theme
   ============================================================ */

/* ----- CSS 变量 ----- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --border-default: #222222;
  --border-hover: #76b900;
  --border-light: rgba(118, 185, 0, 0.3);
  --accent: #76b900;
  --accent-dark: #5a8f00;
  --accent-glow: rgba(118, 185, 0, 0.15);
  --accent-glow-strong: rgba(118, 185, 0, 0.35);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --text-dim: #666666;
  --danger: #e53935;
  --success: #4caf50;
  --warning: #ff9800;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --nav-height: 72px;
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* WordPress Admin Bar 适配 */
body.admin-bar .navbar {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
  body.admin-bar .nav-links {
    top: 46px;
  }
}

/* 径向光晕避免死黑 */
body::before {
  content: '';
  position: fixed;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 1200px;
  background: radial-gradient(ellipse at center, rgba(118, 185, 0, 0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* 六边形装饰水印 */
.hex-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.03;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpolygon points='30,0 60,15 60,37 30,52 0,37 0,15' fill='none' stroke='%2376b900' stroke-width='1'/%3E%3C/svg%3E");
}

/* ----- 导航栏 ----- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.6;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: flex; align-items: center; gap: 0;
}
.brand-logo { height: 40px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links li { list-style: none; }
.nav-links a,
.nav-links li a {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after,
.nav-links li a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after { transform: scaleX(1); }

/* 子菜单 */
.nav-links .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 8px 0; min-width: 160px;
  z-index: 1001;
}
.nav-links li.menu-item-has-children { position: relative; }
.nav-links li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
.nav-links .sub-menu li a {
  display: block; padding: 8px 20px; white-space: nowrap;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- Hero ----- */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; opacity: 0.7;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 860px; padding: 120px 24px 60px;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--border-light);
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; color: var(--text-primary);
  line-height: 1.2; letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow-strong);
}
.hero-subtitle {
  font-size: 17px; color: var(--text-muted);
  max-width: 620px; margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ----- 按钮 ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
  letter-spacing: 0.3px; border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent; color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow), inset 0 0 30px var(--accent-glow);
}
.btn-outline {
  background: transparent; color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent); color: #000;
  box-shadow: 0 0 30px var(--accent-glow-strong);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ----- Section 通用 ----- */
.section {
  position: relative; z-index: 1;
  padding: 100px 0;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 48px;
}
.text-center { text-align: center; }

/* ----- 卡片 ----- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px var(--accent-glow), 0 0 60px rgba(118, 185, 0, 0.06);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 36px; margin-bottom: 16px;
  display: block; color: var(--accent);
}
.card h3 {
  font-size: 18px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 10px;
}
.card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

/* ----- 网格系统 ----- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ----- 品牌入口卡片 ----- */
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 40px 24px; text-align: center;
  transition: all 0.35s ease;
  cursor: pointer; position: relative; overflow: hidden;
  display: block; color: var(--text-secondary);
}
.brand-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.brand-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px var(--accent-glow);
  color: var(--text-secondary);
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card .brand-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  background: rgba(118, 185, 0, 0.1);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 28px; color: var(--accent);
}
.brand-card h3 { color: var(--text-primary); font-size: 18px; margin-bottom: 6px; }
.brand-card p { color: var(--text-muted); font-size: 13px; }

/* ----- 合作伙伴墙 ----- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px 16px; text-align: center;
  transition: all 0.35s ease;
}
.partner-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.partner-item .partner-logo {
  font-size: 15px; font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ----- 数据亮点 ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center; padding: 32px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
}
.stat-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 30px var(--accent-glow);
}
.stat-number {
  font-family: var(--font-mono);
  font-size: 42px; font-weight: 800;
  color: var(--accent);
  display: block; margin-bottom: 8px;
}
.stat-label {
  font-size: 14px; color: var(--text-muted);
}

/* ----- 新闻卡片 ----- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  transition: all 0.35s ease;
}
.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.news-card-img {
  height: 180px; background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--accent);
  overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.news-card-body { padding: 20px; }
.news-card-body .news-date {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent); margin-bottom: 8px;
}
.news-card-body h3 {
  font-size: 16px; color: var(--text-primary); margin-bottom: 8px;
  line-height: 1.4;
}
.news-card-body p {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}

/* ----- 时间线 ----- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-glow) 100%);
}
.timeline-item {
  position: relative; padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow-strong);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 700; color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item h4 { color: var(--text-primary); font-size: 16px; margin-bottom: 4px; }
.timeline-item p { color: var(--text-muted); font-size: 14px; }

/* ----- Tab 切换 ----- */
.tab-nav {
  display: flex; gap: 8px; margin-bottom: 32px;
  flex-wrap: wrap; justify-content: center;
}
.tab-btn {
  padding: 10px 24px; font-size: 14px; font-weight: 500;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.3s ease;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
  background: var(--accent); color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 产品卡片 */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px 20px; text-align: center;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px var(--accent-glow);
}
.product-card:hover::before { transform: scaleX(1); }
.product-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: rgba(118, 185, 0, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--accent);
}
.product-card h4 { color: var(--text-primary); font-size: 16px; margin-bottom: 4px; }
.product-card .product-model {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent); margin-bottom: 8px;
}
.product-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.product-tag {
  font-size: 11px; padding: 3px 10px;
  border: 1px solid var(--border-default);
  border-radius: 12px; color: var(--text-dim);
}

/* ----- 模态框 ----- */
.modal-overlay {
  display: none; position: fixed; z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px; max-width: 600px; width: 90%;
  max-height: 80vh; overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; background: none; border: none;
  cursor: pointer; color: var(--text-muted); font-size: 22px;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--accent); }
.modal h3 { color: var(--text-primary); font-size: 22px; margin-bottom: 12px; }
.modal .modal-date {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent); margin-bottom: 16px;
}
.modal p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

/* ----- 联系表单 ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h3 { color: var(--text-primary); font-size: 24px; margin-bottom: 16px; }
.contact-info .info-item {
  display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start;
}
.contact-info .info-icon {
  width: 40px; height: 40px;
  background: rgba(118, 185, 0, 0.1);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; color: var(--accent);
}
.contact-info .info-text h4 { color: var(--text-primary); font-size: 15px; margin-bottom: 2px; }
.contact-info .info-text p { color: var(--text-muted); font-size: 14px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; color: var(--text-secondary);
  font-size: 13px; font-weight: 500; margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .error-msg { color: var(--danger); font-size: 12px; margin-top: 4px; display: none; }

/* ----- Toast ----- */
.toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px;
  z-index: 3000; animation: toastIn 0.4s ease;
  box-shadow: 0 8px 30px var(--accent-glow-strong);
}
.toast.error {
  background: var(--danger); color: #fff;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ----- Footer ----- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
  padding: 56px 0 24px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand h3,
.footer-widget h3 {
  font-size: 20px; color: var(--text-primary); margin-bottom: 8px;
}
.footer-brand p,
.footer-widget p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-links h4,
.footer-contact h4,
.footer-widget h4 {
  font-size: 14px; color: var(--text-primary); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-links a,
.footer-links .menu li a {
  display: block; color: var(--text-muted); font-size: 13px;
  padding: 4px 0; transition: color 0.3s;
}
.footer-links a:hover,
.footer-links .menu li a:hover { color: var(--accent); }
.footer-contact p,
.footer-widget p { color: var(--text-muted); font-size: 13px; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: 20px; text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 12px; }

/* ----- 页面头部通用 ----- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative; z-index: 1;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: var(--text-primary);
  margin-bottom: 12px;
}
.page-hero .page-subtitle {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
}

/* ----- 关于页面 ----- */
.vision-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ----- 新闻页 - 模态框中内容 ----- */
.news-full-content { display: none; }

/* ----- WordPress 内容区样式 ----- */
.entry-content {
  color: var(--text-secondary);
  font-size: 16px; line-height: 2;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: var(--text-primary);
  margin: 1.5em 0 0.75em;
}
.entry-content p { margin-bottom: 1.2em; }
.entry-content img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
}
.entry-content a { color: var(--accent); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px; margin: 20px 0;
  color: var(--text-muted);
}

/* WordPress 分页 */
.nav-links,
.page-numbers {
  display: inline-flex; gap: 8px;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-secondary); font-size: 14px;
  transition: all 0.3s;
}
.page-numbers.current {
  background: var(--accent); color: #000;
  border-color: var(--accent);
}
.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.dots { border: none; }

/* WordPress 小工具 */
.footer-widget { margin-bottom: 24px; }
.footer-widget .menu {
  display: flex; flex-direction: column;
}
.footer-widget ul,
.footer-widget .menu { list-style: none; padding: 0; }
.footer-widget li { margin-bottom: 4px; }
.footer-widget li a {
  color: var(--text-muted); font-size: 13px;
  transition: color 0.3s;
}
.footer-widget li a:hover { color: var(--accent); }

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

/* 关键：默认可见，JS加载后才隐藏 */
.reveal { opacity: 1; }
.js-ready .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .reveal.visible {
  opacity: 1; transform: translateY(0);
  animation: fadeInUp 0.7s ease forwards;
}

/* ----- 404 页面 ----- */
.error404 .page-hero h1 { font-size: 72px; color: var(--accent); }

/* ----- 搜索结果 ----- */
.search-form {
  display: flex; gap: 8px;
}
.search-form input[type="search"] {
  flex: 1; padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 14px;
  outline: none;
}
.search-form input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.search-form button {
  padding: 10px 20px;
  background: var(--accent); color: #000;
  border: none; border-radius: var(--radius-md);
  font-weight: 600; cursor: pointer;
}

/* ----- 响应式 ----- */
@media (max-width: 1024px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .news-grid, .vision-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 260px; height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    gap: 24px; transition: right 0.4s ease;
    z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4, .stats-grid,
  .news-grid, .vision-cards, .partners-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .hero-content { padding: 100px 16px 40px; }
  .page-hero { padding: 100px 0 40px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .brand-logo { height: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
（内容由AI生成，仅供参考）
