:root {
  --bg: #0b0e13;
  --bg2: #11161f;
  --panel: #161c27;
  --panel2: #1c2431;
  --line: #2a3342;
  --text: #e8edf5;
  --muted: #8b97a8;
  --blue: #3b82f6;
  --blue2: #60a5fa;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 12px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "Consolas", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #090c11 0%, var(--bg) 35%, #0d121a 100%);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, .btn { font: inherit; cursor: pointer; border: none; }

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 19, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.logo-text span { color: var(--blue2); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--panel);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
}

.lang-switch button {
  background: transparent;
  color: var(--muted);
  padding: 0.38rem 0.65rem;
  font-size: 0.8rem;
}

.lang-switch button.active {
  background: var(--panel2);
  color: var(--blue2);
}

.hero { padding: 3rem 0 2.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue2);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.hero h1 {
  font-size: clamp(1.95rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  font-weight: 750;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue2);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }

.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue2);
  color: var(--blue2);
}

.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  max-width: 520px;
}

.trust-item {
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 0.12rem;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

.hero-visual .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg2);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.hero-visual .sub {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.7rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
}

.hero-visual .sub img {
  aspect-ratio: 16/10;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.section { padding: 3rem 0; }
.section-alt {
  background: rgba(17, 22, 31, 0.7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { margin-bottom: 1.45rem; max-width: 62ch; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.section-head p { color: var(--muted); }

.platform-grid,
.feature-grid,
.compat-grid,
.reco-grid,
.scene-grid,
.faq-grid,
.step-grid,
.download-grid {
  display: grid;
  gap: 0.95rem;
}

.platform-grid { grid-template-columns: repeat(5, 1fr); }
.feature-grid,
.scene-grid,
.faq-grid { grid-template-columns: repeat(3, 1fr); }
.compat-grid { grid-template-columns: repeat(4, 1fr); }
.reco-grid,
.download-grid,
.step-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  transition: 0.15s ease;
}

.card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.card p,
.card li { color: var(--muted); font-size: 0.93rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  background: var(--bg2);
  border: 1px solid var(--line);
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-ok { color: var(--ok); }
.status-warn { color: var(--warn); }

.meta-list {
  display: grid;
  gap: 0.3rem;
  margin: 0.65rem 0 0.95rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.meta-list strong { color: var(--text); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.flow-list { display: grid; gap: 0.7rem; }

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--line);
}

.flow-num {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
}

.console {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080b10;
  overflow: hidden;
}

.console-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.console pre {
  padding: 0.95rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  color: #93c5fd;
  overflow-x: auto;
}

.console .cmt { color: #64748b; }
.console .k { color: #60a5fa; }
.console .v { color: #cbd5e1; }

.how-shot {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.points {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.point {
  padding: 0.9rem;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.point strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.compat-item h3 { font-size: 0.96rem; }
.compat-item p { font-size: 0.86rem; }

.step-index {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue2);
  margin-bottom: 0.4rem;
}

.tips {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.tips h3 {
  color: var(--warn);
  font-size: 0.98rem;
  margin-bottom: 0.45rem;
}

.tips ul { display: grid; gap: 0.35rem; }
.tips li {
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 0.95rem;
  position: relative;
}

.tips li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--warn);
}

.scene-card { min-height: 142px; }

.faq-item details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.95rem 1.05rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue2);
}

.faq-item details[open] summary::after { content: "−"; }
.faq-item details p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta { padding: 2.8rem 0; }

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.7rem 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), transparent 50%), var(--panel);
}

.cta-box h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 0.35rem;
}

.cta-box p { color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.page-hero { padding: 2.2rem 0 1rem; }
.page-hero .panel {
  padding: 1.3rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.page-hero h1 {
  font-size: clamp(1.65rem, 3.3vw, 2.4rem);
  margin: 0.35rem 0 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 60ch; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--blue2); }

.content-block { display: grid; gap: 0.95rem; }
.content-block .card ol,
.content-block .card ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.05rem;
}
.content-block .card ol { list-style: decimal; }
.content-block .card ul { list-style: disc; }
.content-block .card li { color: var(--muted); }

.inline-img {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080b10;
  padding: 2.3rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-col ul { display: grid; gap: 0.35rem; }
.footer-col a:hover { color: var(--blue2); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid,
  .scene-grid,
  .faq-grid,
  .reco-grid,
  .download-grid,
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .how-grid { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; }
  .platform-grid,
  .feature-grid,
  .scene-grid,
  .faq-grid,
  .reco-grid,
  .download-grid,
  .step-grid,
  .compat-grid,
  .footer-grid,
  .trust-row { grid-template-columns: 1fr; }
  .hero-visual .sub { grid-template-columns: 1fr; }
}
