:root {
  --void: #03070d;
  --aisle: #07111f;
  --blade: #0c1829;
  --blade2: #122238;
  --steel: #1a2e4a;
  --line: rgba(94, 234, 212, 0.22);
  --line-warm: rgba(251, 191, 36, 0.28);
  --text: #e8f4ff;
  --muted: #8fa6c2;
  --teal: #5eead4;
  --amber: #fbbf24;
  --lime: #a3e635;
  --rose: #fb7185;
  --radius: 6px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --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: var(--void);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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(1200px, calc(100% - 2rem)); margin: 0 auto; }

.dc-floor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 40%, rgba(251, 191, 36, 0.06), transparent 50%),
    linear-gradient(180deg, #040a14 0%, #06101c 45%, #03070d 100%);
}

.dc-floor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.035) 1px, transparent 1px);
  background-size: 56px 28px;
  mask-image: linear-gradient(180deg, black 0%, transparent 75%);
}

.dc-floor::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      rgba(94, 234, 212, 0.03) 18px 19px
    );
  opacity: 0.7;
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 7, 13, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #041016;
  background:
    linear-gradient(180deg, #5eead4 0%, #14b8a6 55%, #fbbf24 55%, #d97706 100%);
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.35);
}

.logo-text { font-size: 1.08rem; }
.logo-text b { color: var(--teal); font-weight: 700; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(94, 234, 212, 0.08);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-warm);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(18, 34, 56, 0.8);
}

.lang-switch button {
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-family: var(--mono);
}

.lang-switch button.active {
  background: rgba(251, 191, 36, 0.16);
  color: var(--amber);
}

.hero { padding: 3.4rem 0 2.4rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--teal);
  background: rgba(94, 234, 212, 0.06);
  border-radius: 3px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.hero h1 .glow {
  color: var(--teal);
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.35);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.88rem 1.3rem;
  border-radius: 4px;
  font-weight: 650;
  transition: 0.18s ease;
}

.btn-primary {
  color: #041016;
  background: linear-gradient(90deg, #5eead4, #2dd4bf 60%, #fbbf24);
  box-shadow: 0 0 30px rgba(94, 234, 212, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-secondary {
  color: var(--text);
  background: rgba(12, 24, 41, 0.9);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.15);
}

.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 520px;
}

.trust-item {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(94, 234, 212, 0.14);
  border-radius: var(--radius);
  background: rgba(12, 24, 41, 0.65);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.blade-stack {
  display: grid;
  gap: 0.7rem;
}

.blade {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(94, 234, 212, 0.06), transparent 30%),
    linear-gradient(180deg, var(--blade2), var(--blade));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(94, 234, 212, 0.12);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(3, 7, 13, 0.55);
}

.ports {
  display: flex;
  gap: 0.3rem;
}

.port {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #334155;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.port.on {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(163, 230, 53, 0.7);
  animation: pulse 2s ease-in-out infinite;
}

.port.warn {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
  animation: pulse 1.6s ease-in-out infinite 0.3s;
}

.port.teal {
  background: var(--teal);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.7);
  animation: pulse 2.2s ease-in-out infinite 0.6s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.blade img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.blade.small img { aspect-ratio: 16/9; }

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid rgba(94, 234, 212, 0.12);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(3, 7, 13, 0.45);
}

.telemetry b { color: var(--teal); font-weight: 600; }

.section { padding: 3.3rem 0; }
.section-cold {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(12, 24, 41, 0.55));
  border-top: 1px solid rgba(94, 234, 212, 0.08);
  border-bottom: 1px solid rgba(94, 234, 212, 0.08);
}

.section-head { margin-bottom: 1.6rem; max-width: 64ch; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.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: 1rem;
}

.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: rgba(12, 24, 41, 0.88);
  border: 1px solid rgba(94, 234, 212, 0.16);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent 70%);
  opacity: 0.7;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(94, 234, 212, 0.08);
}

.card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.card p,
.card li { color: var(--muted); font-size: 0.94rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.status-ok { color: var(--lime); background: rgba(163, 230, 53, 0.1); }
.status-warn { color: var(--amber); background: rgba(251, 191, 36, 0.1); }

.meta-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.7rem 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.meta-list strong { color: var(--text); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.flow-list { display: grid; gap: 0.75rem; }

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid rgba(94, 234, 212, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.8);
}

.flow-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #041016;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border-radius: 3px;
}

.terminal {
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  background: #02060c;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  background: #0a1422;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.terminal pre {
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--lime);
  overflow-x: auto;
}

.terminal .cmt { color: #64748b; }
.terminal .k { color: var(--teal); }
.terminal .v { color: var(--amber); }

.how-shot {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.points {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.point {
  padding: 0.9rem;
  border: 1px dashed rgba(251, 191, 36, 0.28);
  border-radius: var(--radius);
  background: rgba(12, 24, 41, 0.55);
  color: var(--muted);
  font-size: 0.9rem;
}

.point strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.compat-item h3 { font-size: 0.98rem; }
.compat-item p { font-size: 0.88rem; }

.step-card { padding-left: 1.25rem; }
.step-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--amber));
}

.step-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.tips {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.07);
}

.tips h3 {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tips ul { display: grid; gap: 0.4rem; }
.tips li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 1rem;
  position: relative;
}

.tips li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-family: var(--mono);
  font-weight: 700;
}

.scene-card {
  min-height: 148px;
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.08), transparent 45%),
    rgba(12, 24, 41, 0.88);
}

.faq-item details {
  border: 1px solid rgba(94, 234, 212, 0.16);
  border-radius: var(--radius);
  background: rgba(12, 24, 41, 0.88);
  padding: 1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-family: var(--mono);
}

.faq-item details[open] summary::after { content: "-"; }
.faq-item details p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta { padding: 3.4rem 0; }

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(105deg, rgba(94, 234, 212, 0.12), transparent 40%),
    linear-gradient(280deg, rgba(251, 191, 36, 0.1), transparent 35%),
    linear-gradient(135deg, #0a1628, #06101c);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.4rem;
}

.cta-box p { color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.page-hero { padding: 2.5rem 0 1.2rem; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0.4rem 0 0.7rem;
}
.page-hero p { color: var(--muted); max-width: 62ch; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--teal); }

.content-block { display: grid; gap: 1rem; }
.content-block .card ol,
.content-block .card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
}
.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: var(--radius);
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #02060c;
  padding: 2.6rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col ul { display: grid; gap: 0.4rem; }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(94, 234, 212, 0.1);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
}

@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; }
  .trust-row { grid-template-columns: 1fr; max-width: none; }
}

@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 { grid-template-columns: 1fr; }
  .cta-box { padding: 1.4rem; }
}
