:root {
  --bg: #e6ebf2;
  --bg2: #dfe6ef;
  --surface: #eef2f7;
  --text: #243044;
  --muted: #667891;
  --accent: #3b82f6;
  --accent2: #2563eb;
  --ok: #16a34a;
  --warn: #d97706;
  --shadow: 10px 10px 22px #c8d0dc, -8px -8px 18px #ffffff;
  --shadow-sm: 6px 6px 14px #c8d0dc, -5px -5px 12px #ffffff;
  --inset: inset 6px 6px 12px #c8d0dc, inset -5px -5px 12px #ffffff;
  --inset-sm: inset 3px 3px 7px #c8d0dc, inset -3px -3px 7px #ffffff;
  --radius: 18px;
  --radius-sm: 14px;
  --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:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.08), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(22, 163, 74, 0.06), transparent 28%),
    linear-gradient(180deg, #edf1f7 0%, var(--bg) 40%, #e2e8f0 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(1140px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(230, 235, 242, 0.88);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 5px 5px 12px #c5cede, -4px -4px 10px #ffffff, inset 0 1px 0 rgba(255,255,255,0.35);
}

.logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent2);
  background: var(--bg);
  box-shadow: var(--inset-sm);
}

.lang-switch {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--inset-sm);
}

.lang-switch button {
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.lang-switch button.active {
  color: #fff;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 3px 3px 8px #c5cede;
}

.hero { padding: 2.8rem 0 2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: center;
}

.hero-panel,
.soft-panel {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: var(--bg);
  box-shadow: var(--inset-sm);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent2);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 52ch;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  font-weight: 700;
  transition: 0.16s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 8px 8px 16px #c5cede, -6px -6px 14px #ffffff, inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: var(--inset-sm);
}

.btn-secondary {
  color: var(--text);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover { color: var(--accent2); }
.btn-secondary:active { box-shadow: var(--inset-sm); }

.btn-sm { padding: 0.6rem 1rem; font-size: 0.88rem; border-radius: 14px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.trust-item {
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--inset-sm);
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 0.1rem;
}

.soft-device {
  padding: 1rem;
  border-radius: 26px;
  background: var(--bg2);
  box-shadow: var(--inset);
}

.soft-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.dots { display: flex; gap: 0.35rem; }
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 1px 1px 2px #aeb8c6, inset -1px -1px 2px #fff;
}

.dots i.on { background: #60a5fa; }
.dots i.ok { background: #4ade80; }

.soft-device img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.soft-device .mini {
  margin-top: 0.8rem;
  aspect-ratio: 16/9;
}

.section { padding: 3rem 0; }

.section-soft {
  background: rgba(255, 255, 255, 0.28);
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent2);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.7rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.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: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.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;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  background: var(--bg);
  box-shadow: var(--inset-sm);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-ok { color: var(--ok); }
.status-warn { color: var(--warn); }

.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.1rem;
}

.flow-list { display: grid; gap: 0.75rem; }

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--inset-sm);
}

.flow-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 4px 4px 10px #c5cede;
}

.console {
  border-radius: 20px;
  background: #1e293b;
  color: #dbeafe;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.95rem;
  background: #273449;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #94a3b8;
}

.console pre {
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: #86efac;
  overflow-x: auto;
}

.console .cmt { color: #64748b; }
.console .k { color: #93c5fd; }
.console .v { color: #fcd34d; }

.how-shot {
  margin-top: 0.85rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.points {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.point {
  padding: 0.95rem;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  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-index {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent2);
  background: var(--bg);
  box-shadow: var(--inset-sm);
}

.tips {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tips h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--warn);
}

.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(--warn);
  font-weight: 700;
}

.scene-card { min-height: 148px; }

.faq-item details {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
}

.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(--accent);
  font-weight: 800;
}

.faq-item details[open] summary::after { content: "−"; }
.faq-item details p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta { padding: 2.8rem 0 3.2rem; }

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.8rem 2rem;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.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.7rem; }

.page-hero { padding: 2.2rem 0 1rem; }
.page-hero .soft-panel { padding: 1.4rem 1.6rem; }
.page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0.35rem 0 0.55rem;
}
.page-hero p { color: var(--muted); max-width: 60ch; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.breadcrumb a { color: var(--accent2); }

.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-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.site-footer {
  padding: 2.4rem 0 1.3rem;
}

.footer-shell {
  padding: 1.6rem;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.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(--accent2); }

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
}

@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; }
  .cta-box { padding: 1.3rem; }
}
