:root {
  --bg: #070b14;
  --bg-deep: #05080f;
  --text: #e8eefc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --cyan: #67e8f9;
  --violet: #a78bfa;
  --card: rgba(255, 255, 255, 0.04);
  --radius: 16px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #071018;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: none;
  gap: 22px;
  color: #cbd5e1;
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 280px;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  background: rgba(34, 211, 238, 0.18);
}

.hero::after {
  width: 240px;
  height: 240px;
  right: 0;
  top: 120px;
  background: rgba(124, 58, 237, 0.18);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.1);
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.gradient {
  background: linear-gradient(90deg, #67e8f9, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 17px;
}

.hint {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  font-family: inherit;
}

.btn-primary {
  color: #082f3b;
  background: var(--cyan);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-outline:hover,
.btn-compact:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-compact {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: #082f3b;
  background: var(--cyan);
  font-size: 14px;
}

.btn-download-desktop {
  display: none;
}

.btn-download-mobile {
  display: inline-flex;
}

.status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.status-card h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
}

.status-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.status-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
  font-size: 14px;
}

.ping {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
}

.section .sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.feature-grid,
.plan-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 22px;
}

.icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(103, 232, 249, 0.12);
  color: var(--cyan);
  font-size: 18px;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.card p,
.faq dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plan.featured {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.08);
}

.badge {
  margin: 0 0 10px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 12px 0 16px;
}

.price b {
  font-size: 40px;
  line-height: 1;
}

.price span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.plan ul {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.faq .wrap {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-top: 14px;
}

.faq dt {
  font-weight: 650;
}

.faq dd {
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 28px 0;
  color: #64748b;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.62);
}

.dialog[hidden] {
  display: none !important;
}

.dialog-card {
  width: min(420px, 100%);
  border-radius: 16px;
  background: #152033;
  color: var(--text);
  padding: 20px 20px 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.dialog-card h2 {
  margin: 12px 0 8px;
  font-size: 18px;
}

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

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (min-width: 768px) {
  .faq h2 {
    text-align: center;
  }

  .nav {
    display: flex;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }

  .btn-download-desktop {
    display: inline-flex;
  }

  .btn-download-mobile {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

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