/* 深色科技风格主色调 */
:root {
  --primary: #0A347F;
  --secondary: #6F8CBE;
  --bg-dark: #10141a;
  --bg-card: rgba(24, 26, 32, 0.7);
  --glass-blur: blur(8px);
  --text: #eaf1fa;
  --text-light: #b3c2d6;
  --border: #23262f;
  --glow: 0 0 12px #6F8CBE, 0 0 24px #0A347F;
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Orbitron', 'Segoe UI', 'PingFang SC', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  /* position: sticky; 使头部在滚动时始终固定在页面顶部，直到其父元素滚动出视口。 */
  background: rgba(10,26,47,0.95);
  border-bottom: 1px solid var(--border);
  position: sticky; /* 使头部在滚动时固定在顶部 */
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px #0a347f33;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 36px;
  margin-right: 12px;
  filter: drop-shadow(0 0 8px #6F8CBE);
}
.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary);
  letter-spacing: 2px;
}
.nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 32px;
  font-size: 1rem;
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
  letter-spacing: 1px;
}
.nav a.active,
.nav a:hover {
  color: #fff;
}

.banner {
  background: #10141a;
  color: #fff;
  padding: 120px 0 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banner-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}
.banner-content p {
  font-size: 1.3rem;
  margin-bottom: 32px;
  color: var(--secondary);
  text-shadow: 0 0 8px #0A347F;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 16px #0A347F55;
}
.btn-primary {
  background: linear-gradient(90deg, #0A347F, #6F8CBE);
  color: #fff;
  box-shadow: 0 0 16px #6F8CBE99;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #6F8CBE, #0A347F);
  box-shadow: 0 0 24px #6F8CBE;
}
.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: 0 0 8px #6F8CBE55;
}
.btn-secondary:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 0 16px #6F8CBE;
}

.section {
  padding: 64px 0;
}
.bg-light, #advantage, #contact {
  background: #10141a !important;
  backdrop-filter: none;
}
.section h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 32px;
  text-align: left;
}
.product-list, .advantage-list, .solution-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.product-item, .advantage-item, .solution-item {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 4px 32px #0A347F33, 0 0 0 1.5px #6F8CBE55;
  padding: 32px 24px;
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  transition: box-shadow 0.2s, border 0.2s;
  border: 1.5px solid #1e2a3a;
  backdrop-filter: var(--glass-blur);
}
.product-item:hover, .advantage-item:hover, .solution-item:hover {
  box-shadow: 0 0 32px #6F8CBE, 0 0 0 2px #6F8CBE;
  border: 1.5px solid #6F8CBE;
}
.product-item img, .product-detail img {
  height: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px #6F8CBE);
}
.product-item h3, .solution-item h3, .advantage-item h4 {
  color: var(--secondary);
  margin-bottom: 12px;
  text-shadow: none;
}
.product-detail {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}
.product-detail img {
  height: 80px;
}
.product-detail ul {
  margin: 12px 0 0 0;
  padding-left: 20px;
  color: var(--text-light);
}
.advantage-list {
  gap: 24px;
}
.advantage-item {
  min-width: 220px;
}

.support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.faq, .docs, .contact-support {
  flex: 1 1 260px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 2px 12px #0A347F33, 0 0 0 1.5px #6F8CBE55;
  padding: 24px 18px;
  margin-bottom: 24px;
  border: 1.5px solid #1e2a3a;
  backdrop-filter: var(--glass-blur);
}
.faq ul, .docs ul {
  padding-left: 20px;
  color: var(--text-light);
}

.contact-info {
  margin-bottom: 32px;
  color: var(--text-light);
}
.contact-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.contact-form {
  margin-bottom: 0;
}
.contact-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 2px 12px #0A347F33, 0 0 0 1.5px #6F8CBE55;
  padding: 32px 28px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 280px;
  margin-bottom: 24px;
}
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: var(--secondary);
}
.contact-form h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: var(--secondary);
}
.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #23304a;
  border-radius: 6px;
  font-size: 1rem;
  background: rgba(20,34,56,0.7);
  color: var(--text);
  backdrop-filter: var(--glass-blur);
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form button {
  width: 100%;
}

.footer {
  background: rgba(10,26,47,0.95);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  box-shadow: 0 -2px 16px #0a347f33;
  flex-shrink: 0;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-light);
  margin-left: 24px;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
.footer-links a:hover {
  color: #fff;
}

/* 公安备案号样式 */
.police-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  color: #2E83FF;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.police-badge:hover {
  color: #4a9eff;
}

.police-badge svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  fill: currentColor;
}

.main-content {
  flex: 1 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.form-group label {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 1px;
}
.form-group:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .product-list, .advantage-list, .solution-list, .support-content {
    flex-direction: column;
    align-items: center;
  }
  .product-detail {
    flex-direction: column;
    align-items: center;
  }
  .contact-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form, .contact-card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .header-flex {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
  }
  .nav a {
    margin-left: 16px;
    font-size: 0.98rem;
  }
  .banner-content h1 {
    font-size: 2rem;
  }
  .section {
    padding: 36px 0;
  }
}

.contact-main {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 900px;
  flex-wrap: wrap;
}
.contact-card {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 4px 32px #0A347F33, 0 0 0 1.5px #6F8CBE55;
  padding: 40px 32px 32px 32px;
  min-width: 300px;
  max-width: 400px;
  flex: 1 1 340px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-form-card h2, .contact-info-card h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--secondary);
  text-align: left;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form input, .contact-form textarea {
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255,255,255,0.07);
  color: var(--text);
  outline: none;
  transition: box-shadow 0.2s, border 0.2s;
  box-shadow: 0 1px 4px #0A347F22 inset;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 0 8px #6F8CBE55;
  background: rgba(255,255,255,0.12);
}
.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}
.contact-form button {
  margin-top: 8px;
}
.contact-info-card {
  justify-content: flex-start;
}
.info-item {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  margin-bottom: 18px;
  color: var(--text-light);
  word-break: break-all;
}
.info-item:last-child {
  margin-bottom: 0;
}
.icon-email, .icon-phone, .icon-location {
  font-size: 1.3em;
  margin-right: 12px;
  color: var(--secondary);
}
@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    align-items: stretch;
    max-width: 98vw;
  }
  .contact-card {
    max-width: 100%;
    min-width: 0;
  }
} 