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

:root {
  --bg: #0A0A0A;
  --surface: #121414;
  --surface-2: #1e2020;
  --surface-3: #282a2b;
  --text: #e2e2e2;
  --text-muted: #bac9cc;
  --text-dim: #86868B;
  --cyan: #00E5FF;
  --cyan-soft: #c3f5ff;
  --violet: #DAB9FF;
  --glass: rgba(255, 255, 255, 0.05);
  --outline: #3b494c;
  --shadow: 0 12px 40px rgba(0, 229, 255, 0.08);
  --radius: 24px;
  --header-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.88em;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
}

.logo-zh {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.header-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
  color: var(--cyan);
  background: var(--glass);
}

.header-nav a.active {
  color: #00363d;
  background: var(--cyan);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 24px 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(0, 229, 255, 0.18), transparent 48%),
    radial-gradient(ellipse at 82% 8%, rgba(218, 185, 255, 0.16), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 218, 243, 0.08), transparent 40%),
    linear-gradient(180deg, #0A0A0A 0%, #121414 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: var(--glass);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.highlight {
  color: var(--cyan);
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--cyan);
  color: #00363d;
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.28);
}

.btn-secondary {
  background: var(--glass);
  color: var(--cyan-soft);
  border: 1px solid rgba(0, 229, 255, 0.28);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.brand-orb {
  width: min(240px, 58vw);
  animation: float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(0, 229, 255, 0.28));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 320px;
}

.tool-chips span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--violet);
  background: rgba(218, 185, 255, 0.08);
  border: 1px solid rgba(218, 185, 255, 0.22);
  padding: 6px 10px;
  border-radius: 999px;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--glass);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--cyan-soft);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
}

.howto-steps {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.howto-steps li {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.18);
  color: var(--text-muted);
}

.howto-steps strong { color: var(--cyan); }

.download-card {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(218, 185, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.download-card img { width: 96px; flex-shrink: 0; }
.download-card h2 { font-size: 1.65rem; margin-bottom: 8px; }
.download-card p { color: var(--text-muted); margin-bottom: 18px; }
.download-note { font-size: 0.85rem !important; margin-top: 12px !important; margin-bottom: 0 !important; }

.site-footer {
  background: #0c0f0f;
  border-top: 1px solid var(--glass);
  color: rgba(226, 226, 226, 0.82);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-brand img { width: 32px; height: 32px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a { color: rgba(226, 226, 226, 0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }

.footer-contact { font-size: 0.88rem; margin-bottom: 14px; }
.footer-contact a { color: rgba(226, 226, 226, 0.6); }
.footer-copy { font-size: 0.8rem; color: rgba(226, 226, 226, 0.35); }

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .header-nav { display: none; }
}

body.subpage { background: var(--bg); }

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(0, 229, 255, 0.12), transparent 42%),
    radial-gradient(ellipse at 88% 0%, rgba(218, 185, 255, 0.1), transparent 38%),
    linear-gradient(180deg, #0A0A0A 0%, #121414 100%);
  z-index: 0;
  pointer-events: none;
}

.page-center {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 28px) 24px 48px;
}

.page-card {
  background: rgba(18, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--glass);
  overflow: hidden;
}

.page-card-head {
  text-align: center;
  padding: 36px 36px 28px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06), transparent);
  border-bottom: 1px dashed rgba(0, 229, 255, 0.15);
}

.page-card-head h1 {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 700;
  margin: 12px 0 8px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.page-body { padding: 32px 36px 40px; }

.page-body > p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-body > p + p:not(.page-meta) {
  margin-top: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  color: var(--text-dim);
  font-size: 0.93rem;
}

.page-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 32px 0 14px;
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent);
  border-radius: 0 8px 8px 0;
}

.page-body ul { padding-left: 1.1rem; margin: 8px 0 20px; }
.page-body li { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.page-body li strong { color: var(--cyan-soft); }
.page-body code {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 6px;
}

.page-meta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.page-meta em { font-style: normal; font-weight: 600; }

.contact-box {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(218, 185, 255, 0.08));
  border-radius: 14px;
  padding: 24px 26px;
  margin: 20px 0 8px;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.contact-box p { margin-bottom: 8px !important; padding-bottom: 0 !important; border-bottom: none !important; }
.contact-box a { font-weight: 700; color: var(--cyan); }

.doc-list { list-style: none; padding: 0; margin: 0 0 24px; }
.doc-list li { margin-bottom: 12px; }
.doc-list a {
  display: block;
  padding: 16px 18px;
  background: var(--glass);
  border-radius: 14px;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.doc-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--violet);
}

.faq-list { list-style: none; padding: 0; }
.faq-list li {
  padding: 18px 0;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.15);
  line-height: 1.75;
}
.faq-list li:last-child { border-bottom: none; }
.faq-list strong { color: var(--cyan-soft); }

.support-intro {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.15);
}

.support-intro p {
  border-bottom: none !important;
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

.support-logo {
  width: 88px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(0, 229, 255, 0.25));
}

.url-box {
  background: rgba(0, 229, 255, 0.05);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  border: 1px solid rgba(0, 229, 255, 0.12);
}

.url-box a { word-break: break-all; }

body.subpage .site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

@media (max-width: 768px) {
  .page-center { padding: calc(var(--header-h) + 16px) 14px 32px; }
  .page-card-head { padding: 28px 20px 22px; }
  .page-body { padding: 24px 20px 32px; }
  .support-intro { flex-direction: column; align-items: center; text-align: center; }
}
