:root {
  --bg-dark: #070D14;
  --bg-card: #101923;
  --bg-card-border: #1E2C3A;
  --primary: #34D399;
  --primary-hover: #6EE7B7;
  --primary-soft: rgba(52, 211, 153, 0.16);
  --primary-ink: #042F2E;
  --text-main: #E8F3F0;
  --text-muted: #8BA3B5;
  --grid-line: rgba(120, 190, 210, 0.08);
  --font-display: "Space Grotesk", "DM Sans", sans-serif;
  --font-sans: "DM Sans", "Segoe UI", "PingFang SC", "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; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grid-line);
  height: 68px;
  display: flex;
  align-items: center;
}
.header-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
}
.brand img { height: 34px; width: auto; display: block; border-radius: 8px; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--text-main); }
.nav-cta {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-hover); }

.hero-cover {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 76px 22px;
  background:
    radial-gradient(circle at 50% 28%, var(--primary-soft) 0%, transparent 68%),
    linear-gradient(to bottom, #070D14, #0D1620);
  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: 42px 42px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 78%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 10; max-width: 880px; }
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #F0FFFB 0%, #B7E8D8 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 30px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.32);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.45);
}
.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: #152231;
  border-color: #2B4054;
}

.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 22px;
}
.section-header { margin-bottom: 44px; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.stats-section {
  border-bottom: 1px solid var(--grid-line);
  background: #0B131C;
}
.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: 34px 20px;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: ui-monospace, "DM Sans", monospace;
}
.stat-label { color: var(--text-muted); font-size: 0.92rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #2F4A5E;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 11px;
  color: #fff;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.product-showcase {
  background: #0B131C;
  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: 28px;
}
.product-preview {
  width: 100%;
  max-width: 840px;
  background: #070D14;
  border: 1px solid var(--grid-line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}
.product-preview img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 840px;
}
.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}
.spec-title { font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; }
.spec-desc { font-size: 0.84rem; color: var(--text-muted); }

.news-section { border-bottom: 1px solid var(--grid-line); }
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.news-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 22px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.news-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: #D7EBE4;
}
.news-date {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.security-box {
  border-left: 3px solid var(--primary);
  background: var(--bg-card);
  padding: 22px;
  border-radius: 0 8px 8px 0;
}
.security-box h3 { font-size: 1.1rem; 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: 22px;
}
.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 22px;
  border-radius: 10px;
}
.feedback-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.feedback-user {
  font-size: 0.88rem;
  font-weight: 600;
  color: #C5E4D8;
}

.faq-download-section {
  border-top: 1px solid var(--grid-line);
  background: #0B131C;
}
.faq-wrapper { max-width: 780px; margin: 0 auto 56px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
summary {
  padding: 16px 22px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
}
details[open] summary::after { content: "−"; }
details p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.93rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
  padding-top: 12px;
}
.download-cta-panel {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(145deg, #101923, #152636);
  border: 1px solid #2A4052;
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}
.download-cta-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.platforms {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.platforms a {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.platforms a:hover { background: var(--primary-hover); }

.site-footer {
  border-top: 1px solid var(--grid-line);
  padding: 36px 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dl-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 22px 52px;
  background:
    radial-gradient(circle at 50% 30%, var(--primary-soft) 0%, transparent 68%),
    linear-gradient(to bottom, #070D14, #0D1620);
  border-bottom: 1px solid var(--grid-line);
  overflow: hidden;
}
.dl-hero .hero-content { max-width: 760px; }
.dl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #F0FFFB 0%, #B7E8D8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dl-hero p { color: var(--text-muted); font-size: 1.02rem; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto 56px;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: #2F4A5E;
}
.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.platform-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.platform-card a {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}
.platform-card a:hover { background: var(--primary-hover); }
.download-cta-panel .cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.32);
}
.download-cta-panel .cta-btn:hover { background: var(--primary-hover); }
.download-cta-panel > p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

@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 { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .platforms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
