:root {
  --bg: #0b0c0f;
  --bg-elev: #14161b;
  --bg-card: #1a1d24;
  --bg-soft: #22262f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(232, 184, 74, 0.35);
  --text: #f3f0e8;
  --muted: #a8a396;
  --gold: #e8b84a;
  --gold-deep: #c9922a;
  --gold-soft: rgba(232, 184, 74, 0.12);
  --ok: #6fcf97;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 184, 74, 0.12), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(90, 120, 255, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  font-weight: 650;
  cursor: pointer;
  transition: 0.18s ease;
  font: inherit;
}

.btn-primary {
  background: linear-gradient(180deg, #f0c868, var(--gold-deep));
  color: #1a1205;
  box-shadow: 0 8px 24px rgba(201, 146, 42, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 4.2rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.hero-visual {
  position: relative;
}

.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #000;
  display: block;
}

.demo-card .video-frame {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.demo-card .video-frame video {
  aspect-ratio: 16 / 9;
}

.demo-card.port .video-frame video {
  aspect-ratio: 9 / 16;
}

.video-hint.is-ready {
  display: none;
}

.video-hint {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
}

.shot-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  pointer-events: none;
}

/* Sections */
section {
  padding: 3.4rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.kicker {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .thumb {
  border-bottom: 1px solid var(--line);
  background: #000;
}

.product-card .thumb .video-frame {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.product-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.92rem;
}

.feature-list li + li {
  margin-top: 0.28rem;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Demos */
.demo-block + .demo-block {
  margin-top: 1.5rem;
}

.demo-label {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.demo-grid {
  display: grid;
  gap: 1rem;
}

.demo-grid.land {
  grid-template-columns: repeat(2, 1fr);
}

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

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.demo-card video,
.demo-card .placeholder {
  width: 100%;
  background: #000;
  display: block;
}

.demo-card.land > video,
.demo-card.land .placeholder {
  aspect-ratio: 16 / 9;
}

.demo-card.port {
  max-width: 220px;
  width: 100%;
  justify-self: center;
}

.demo-card.port video,
.demo-card.port .placeholder {
  aspect-ratio: 9 / 16;
}

.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  min-height: 180px;
}

.demo-card .meta {
  padding: 0.9rem 1rem 1.05rem;
}

.demo-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Tutorials */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.tab {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  font: inherit;
}

.tab.active,
.tab:hover {
  color: #1a1205;
  background: linear-gradient(180deg, #f0c868, var(--gold-deep));
  border-color: transparent;
}

.panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.panel.active {
  display: block;
}

.panel h3 {
  margin: 0 0 0.35rem;
}

.panel .hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--gold);
  font-weight: 700;
  min-width: 2rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Trial */
.trial-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.trial-qr {
  width: 210px;
  min-height: 210px;
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem;
  border: 1px solid rgba(232, 184, 74, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.trial-qr img.trial-qr-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  display: block;
}

.trial-qr img.trial-qr-image.is-missing {
  display: none !important;
}

.trial-qr-fallback,
.trial-qr-placeholder {
  display: none !important; /* 有群码时不显示占位说明 */
}
.trial-qr-fallback-UNUSED {
  width: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
}

.trial-qr-placeholder {
  background: #f5f5f5;
  color: #666;
  text-align: center;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 1rem;
  line-height: 1.5;
}

.trial-qr-placeholder small {
  font-weight: 500;
  color: #888;
}

.trial-copy h3 {
  margin: 0 0 0.5rem;
}

.trial-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.94rem;
}

th {
  color: var(--gold);
  font-weight: 650;
  background: rgba(232, 184, 74, 0.06);
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Pricing — per product */
.price-products {
  display: grid;
  gap: 1.25rem;
}

.price-product {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.35rem;
}

.price-product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.price-product-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.oem-tag {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.oem-tag.on {
  color: var(--gold);
  border-color: var(--line-strong);
  background: var(--gold-soft);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}

.price-card.featured {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.15) inset;
}

.price-card.muted-card {
  opacity: 0.85;
}

.price-card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.price {
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.price small {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}

.price-card li + li {
  margin-top: 0.28rem;
}

.price-card .btn {
  margin-top: 0.35rem;
}

.fineprint {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* FAQ + contact */
.faq-grid {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 650;
}

details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 184, 74, 0.1), transparent 45%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.contact h2 {
  margin: 0 0 0.5rem;
}

.contact p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.wechat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 650;
  color: var(--gold);
  margin-bottom: 0.9rem;
  font: inherit;
}

.wechat-btn {
  cursor: pointer;
}

.wechat-btn:hover {
  filter: brightness(1.08);
}

.qr-box {
  justify-self: end;
  width: min(200px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.qr-box img {
  width: 100%;
  border-radius: 4px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 90;
  max-width: min(92vw, 420px);
  background: #14161b;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast .toast-gold {
  color: var(--gold);
}

@media (max-width: 960px) {
  .hero-grid,
  .contact,
  .product-grid,
  .price-row,
  .trial-box {
    grid-template-columns: 1fr;
  }

  .demo-grid.port {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 12, 15, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }

  .nav.open a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topbar-inner {
    position: relative;
  }

  .qr-box,
  .trial-qr {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .demo-grid.land,
  .demo-grid.port {
    grid-template-columns: 1fr;
  }

  .demo-card.port {
    max-width: none;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .price-row {
    grid-template-columns: 1fr;
  }
}


/* trial-qr no placeholder */
.trial-qr-fallback,
.trial-qr-placeholder {
  display: none !important;
}
