:root {
  --bg-dark: #0a1018;
  --bg-card: #111a26;
  --bg-card-border: #1c2a3d;
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --grid-line: rgba(255, 255, 255, 0.06);
  --font-sans: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 16, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grid-line);
  height: 70px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.35);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
}

.nav-cta {
  background: var(--primary);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #041018;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover);
}

.hero-cover {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(14, 165, 233, 0.2) 0%, transparent 70%),
    linear-gradient(to bottom, #0a1018, #0f1a28);
  border-bottom: 1px solid var(--grid-line);
  overflow: hidden;
}

.grid-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #041018;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 32px rgba(14, 165, 233, 0.55);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #172333;
  border-color: #334155;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-intro {
  margin-top: 12px;
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.stats-section {
  border-bottom: 1px solid var(--grid-line);
  background: #0c1420;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grid-line);
  border: 1px solid var(--grid-line);
}

.stat-cell {
  background: var(--bg-dark);
  padding: 36px 24px;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 32px;
  border-radius: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #2b3f56;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-showcase {
  background: #0c1522;
  border-top: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
}

.product-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.product-preview {
  width: 100%;
  max-width: 860px;
  background: #0a1018;
  border: 1px solid var(--grid-line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.product-preview img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 860px;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.spec-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.spec-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-section {
  border-bottom: 1px solid var(--grid-line);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 24px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.news-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #e2e8f0;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-box {
  border-left: 2px solid var(--primary);
  background: var(--bg-card);
  padding: 24px;
}

.security-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.security-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 24px;
  border-radius: 8px;
}

.feedback-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feedback-user {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

.faq-download-section {
  border-top: 1px solid var(--grid-line);
  background: #0c1420;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto 60px;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
  padding-top: 12px;
}

.download-cta-panel {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(145deg, #111a26, #172636);
  border: 1px solid #2b3f56;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.download-cta-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.platforms {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--grid-line);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--primary);
}

.dl-hero {
  padding: 100px 24px 40px;
  text-align: center;
  border-bottom: 1px solid var(--grid-line);
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.14) 0%, transparent 60%),
    var(--bg-dark);
}

.dl-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dl-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.page-download .download-cta-panel {
  margin-top: 0;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .security-grid,
  .feedback-grid,
  .product-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero-cover {
    min-height: auto;
    padding: 72px 20px 64px;
  }
}
