/* 北京维极信安智能科技 - 官网样式 (支持夜间深色调与白昼浅色调自适应) */

/* 夜间深色调主题变量 (默认 18:00 ~ 次日 06:00) */
:root, [data-theme="dark"] {
  --bg-main: #060a14;
  --bg-card: #0d1424;
  --bg-card-hover: #131c33;
  --bg-header: rgba(6, 10, 20, 0.85);
  --bg-section-alt: rgba(13, 20, 36, 0.45);
  --text-main: #f8fafc;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --cyan-glow: #00f0ff;
  --blue-brand: #2563eb;
  --purple-brand: #7c3aed;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.35);
  --card-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --gradient-title: linear-gradient(135deg, #ffffff 20%, #00f0ff 60%, #93c5fd 100%);
  --badge-bg: rgba(0, 240, 255, 0.08);
  --badge-border: rgba(0, 240, 255, 0.3);
  --input-bg: rgba(6, 10, 20, 0.7);
  --modal-bg: #0b1120;
  --footer-bg: #03060d;
  --theme-btn-bg: rgba(255, 255, 255, 0.06);
  --theme-btn-color: #00f0ff;
}

/* 白天浅色调主题变量 (06:00 ~ 18:00) */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.9);
  --bg-section-alt: #f1f5f9;
  --text-main: #1e293b;
  --text-heading: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --cyan-glow: #0284c7;
  --blue-brand: #2563eb;
  --purple-brand: #6d28d9;
  --border-color: #e2e8f0;
  --border-glow: rgba(37, 99, 235, 0.35);
  --card-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  --gradient-title: linear-gradient(135deg, #0f172a 20%, #0284c7 65%, #2563eb 100%);
  --badge-bg: rgba(2, 132, 199, 0.08);
  --badge-border: rgba(2, 132, 199, 0.25);
  --input-bg: #ffffff;
  --modal-bg: #ffffff;
  --footer-bg: #0b1120;
  --theme-btn-bg: #e2e8f0;
  --theme-btn-color: #0284c7;
}

:root {
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-width: 1200px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-glow), var(--blue-brand));
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 纯图标圆钮 - 昼夜自适应切换 */
.theme-icon-btn,
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--theme-btn-bg);
  border: 1px solid var(--border-color);
  color: var(--theme-btn-color);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  user-select: none;
  flex-shrink: 0;
}

.theme-icon-btn:hover,
.theme-toggle-btn:hover {
  border-color: var(--cyan-glow);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.3);
}

.theme-icon-btn:active,
.theme-toggle-btn:active {
  transform: scale(0.92);
}

.theme-icon-btn span,
.theme-toggle-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.theme-icon-btn:hover span,
.theme-toggle-btn:hover span {
  transform: rotate(15deg);
}

.theme-text {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--blue-brand) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--cyan-glow);
  color: var(--cyan-glow);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-heading);
  font-size: 24px;
  cursor: pointer;
}

/* 首页 Hero 首屏 */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 90px;
  overflow: hidden;
  text-align: center;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 9999px;
  color: var(--cyan-glow);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 10px var(--cyan-glow);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-color);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--cyan-glow);
  font-family: var(--font-base);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* 通用板块头部 */
.section {
  padding: 90px 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.section-alt {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-glow);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 产品矩阵板块 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
  font-size: 26px;
  margin-bottom: 22px;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}

[data-theme="light"] .product-tag {
  background: #f1f5f9;
}

/* 解决方案板块 */
.solution-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sol-tab-btn {
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sol-tab-btn.active, .sol-tab-btn:hover {
  background: var(--blue-brand);
  color: #ffffff;
  border-color: var(--blue-brand);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.solution-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.sol-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.sol-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.sol-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.sol-feature-icon {
  color: var(--cyan-glow);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sol-metric-box {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metric-item {
  border-left: 3px solid var(--cyan-glow);
  padding-left: 16px;
}

.metric-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: var(--text-light);
}

/* 技术壁垒板块 */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.tech-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.tech-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-card h4 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
}

.tech-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 新闻中心板块 */
.news-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.news-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 7px 18px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn.active, .cat-btn:hover {
  background: var(--cyan-glow);
  color: #ffffff;
  border-color: var(--cyan-glow);
}

.news-search-input {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--text-heading);
  font-size: 13px;
  width: 220px;
  outline: none;
  transition: border-color 0.2s ease;
}

.news-search-input:focus {
  border-color: var(--cyan-glow);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.news-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #0b1120;
  border-bottom: 1px solid var(--border-color);
}

.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;
  font-size: 12px;
}

.news-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--badge-bg);
  color: var(--cyan-glow);
  font-weight: 600;
}

.news-badge.top-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  margin-right: 6px;
}

.news-date {
  color: var(--text-light);
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.read-more-link {
  color: var(--cyan-glow);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.page-btn.active, .page-btn:hover {
  background: var(--blue-brand);
  color: #ffffff;
  border-color: var(--blue-brand);
}

/* 关于我们板块 */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-heading);
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan-glow);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.about-honors {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.honor-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.honor-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.honor-icon {
  font-size: 28px;
  color: #f59e0b;
}

.honor-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.honor-sub {
  font-size: 12px;
  color: var(--text-light);
}

/* 预约演示与联系方式 */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
}

.contact-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.contact-form-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.contact-form-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

.form-label .req {
  color: #ef4444;
}

.form-control {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-heading);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

select.form-control {
  background-color: var(--input-bg);
  color: var(--text-heading);
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-heading);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* 页脚 */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00f0ff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-admin-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.footer-admin-link:hover {
  color: #00f0ff;
  border-color: #00f0ff;
}

/* 详情模态弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--modal-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  line-height: 1.8;
  color: var(--text-main);
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  color: var(--text-heading);
  margin: 24px 0 12px;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul, .modal-body ol {
  margin: 16px 0 16px 24px;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-body strong {
  color: var(--text-heading);
}

.modal-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--border-color);
}

/* 提示通知 Toast */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--cyan-glow);
  color: var(--text-heading);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 移动端响应式 */
@media (max-width: 992px) {
  .hero-title { font-size: 38px; }
  .product-grid { grid-template-columns: 1fr; }
  .solution-content { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 30px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item:not(:last-child)::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .theme-text { display: none; }
}


/* 品牌 Logo 昼夜自适应显示 */
.logo-light {
  display: none !important;
}

.logo-dark {
  display: block !important;
}
[data-theme="light"] .logo-light {
  display: block !important;
}
[data-theme="light"] .logo-dark {
  display: none !important;
}

@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;
  }
}
