:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.container-narrow {
  max-width: 860px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo-icon {
  display: flex;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(37, 99, 235, 0.14), transparent 60%),
    linear-gradient(180deg, #eff6ff 0%, var(--bg) 100%);
  padding: 96px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.grad-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.dot-row {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.dot.online {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.05); }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.metric b {
  display: block;
  font-size: 24px;
  color: var(--primary);
}

.metric span {
  font-size: 12px;
  color: var(--text-muted);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.bar-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), rgba(124, 58, 237, 0.5));
  border-radius: 6px 6px 0 0;
  animation: grow 1.2s ease both;
}

.bar-chart i:nth-child(2) { animation-delay: 0.1s; }
.bar-chart i:nth-child(3) { animation-delay: 0.2s; }
.bar-chart i:nth-child(4) { animation-delay: 0.3s; }
.bar-chart i:nth-child(5) { animation-delay: 0.4s; }
.bar-chart i:nth-child(6) { animation-delay: 0.5s; }
.bar-chart i:nth-child(7) { animation-delay: 0.6s; }

@keyframes grow {
  from { height: 0; }
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--primary);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

.card-plain h3 {
  font-size: 16px;
}

.card-plain p {
  font-size: 14px;
}

.scene-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scene-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.scene-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.scene-card p {
  color: var(--text-muted);
  font-size: 13px;
}

.download-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 22px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.dl-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  flex-shrink: 0;
}

.dl-icon-ios {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.dl-icon svg {
  width: 28px;
  height: 28px;
}

.dl-text {
  flex: 1;
  min-width: 0;
}

.dl-text h3 {
  font-size: 16px;
}

.dl-text p {
  color: var(--text-muted);
  font-size: 12px;
}

.dl-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 26px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.page-hero {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 14px;
}

.block-title {
  font-size: 22px;
  margin: 48px 0 20px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.block-title:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 14px;
  color: #334155;
  font-size: 15px;
}

.prose h2 {
  font-size: 19px;
  margin: 34px 0 14px;
  color: var(--text);
}

.prose h3 {
  font-size: 16px;
  margin: 22px 0 10px;
  color: var(--text);
}

.prose ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.prose li {
  color: #334155;
  font-size: 15px;
  margin-bottom: 8px;
}

.info-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.info-row {
  display: flex;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  width: 110px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.info-row b {
  font-weight: 500;
}

.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  margin-top: 0;
}

.footer .container {
  display: grid;
  gap: 24px;
  text-align: center;
}

.footer-brand .logo-text {
  font-size: 22px;
}

.footer-brand p {
  font-size: 13px;
  margin-top: 6px;
  color: #64748b;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-info p {
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-info a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-info a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 56px 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .info-row {
    flex-direction: column;
    gap: 2px;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
  }
}
