:root {
  --bg: #f5efe6;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 252, 248, 0.78);
  --surface-strong: rgba(255, 249, 242, 0.92);
  --ink: #173133;
  --ink-soft: #4e6667;
  --line: rgba(23, 76, 79, 0.12);
  --teal: #174c4f;
  --teal-soft: #1f6d71;
  --mint: #81c9bc;
  --coral: #f26f45;
  --amber: #f5a84b;
  --shadow: 0 24px 70px rgba(23, 76, 79, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 111, 69, 0.18), transparent 32%),
    radial-gradient(circle at 78% 12%, rgba(129, 201, 188, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f1e7 0%, #f3ece3 36%, #f8f5ef 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(23, 76, 79, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 76, 79, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  opacity: 0.6;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(circle at 1px 1px, #173133 0.9px, transparent 0);
  background-size: 22px 22px;
  mix-blend-mode: multiply;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.95em;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(252, 247, 240, 0.72);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(23, 76, 79, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: 0 12px 24px rgba(23, 76, 79, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a:focus-visible,
.footer-links a:focus-visible {
  color: var(--ink);
}

.beian-meta {
  margin: 10px 0 0;
}

.beian-link {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

.beian-link:hover,
.beian-link:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 12px 18px;
  background: var(--teal);
  color: #f7f1e8;
  box-shadow: 0 12px 24px rgba(23, 76, 79, 0.2);
}

.header-cta:hover,
.button:hover,
.header-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
}

.section {
  position: relative;
  padding: 96px 0;
}

.hero {
  margin-top: 28px;
  isolation: isolate;
  overflow: hidden;
  padding-left: clamp(18px, 3vw, 34px);
  padding-right: clamp(18px, 3vw, 34px);
  padding-top: 78px;
  padding-bottom: 104px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.64), rgba(247, 240, 231, 0.42));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  top: 56px;
  left: -30px;
  background: rgba(242, 111, 69, 0.14);
}

.hero::after {
  width: 280px;
  height: 280px;
  right: -50px;
  bottom: 10px;
  background: rgba(129, 201, 188, 0.16);
}

.hero-canvas {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  z-index: 0;
  pointer-events: none;
  border-radius: 34px;
  opacity: 0.82;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 8px 0;
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(23, 76, 79, 0.12);
  background: rgba(255, 249, 242, 0.86);
  color: var(--teal-soft);
  box-shadow: 0 10px 24px rgba(23, 76, 79, 0.08);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next Condensed", "Avenir Next", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 6.1vw, 5.4rem);
  line-height: 0.95;
}

.hero-text,
.section-head p,
.product-card p,
.feature-card p,
.download-card p,
.roadmap p,
.site-footer a,
.config-tip p,
.stage-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  margin: 22px 0 0;
  font-size: 1.06rem;
  max-width: 33rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, var(--coral), #ff915e);
  color: #f7f1e8;
  box-shadow: 0 16px 30px rgba(242, 111, 69, 0.28);
}

.button-secondary {
  background: rgba(255, 252, 247, 0.72);
  border-color: rgba(23, 76, 79, 0.14);
  color: var(--ink);
}

.button-block {
  width: 100%;
  margin-top: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 76, 79, 0.1);
  background: rgba(255, 252, 247, 0.72);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.glass-card {
  height: 100%;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-preview {
  display: grid;
  gap: 16px;
  background: linear-gradient(145deg, rgba(255, 251, 246, 0.9), rgba(246, 238, 227, 0.84));
}

.hero-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-preview__copy strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.18;
}

.hero-preview__copy p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.stage-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 76, 79, 0.07);
  color: var(--teal-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill,
.product-tag,
.download-tag,
.stage-card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  color: var(--teal-soft);
  background: rgba(129, 201, 188, 0.22);
}

.canvas-shell {
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(23, 76, 79, 0.08);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(244, 238, 230, 0.82));
}

.demo-canvas {
  width: 100%;
  height: 284px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(247, 240, 231, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-preview__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-preview__footer span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  border: 1px solid rgba(23, 76, 79, 0.08);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.02;
}

.section-soft {
  padding-top: 56px;
  padding-bottom: 56px;
}

.product-grid,
.feature-grid,
.download-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.feature-card,
.download-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.product-card h3,
.feature-card h3,
.download-card h3,
.roadmap h3 {
  display: block;
  margin-top: 12px;
  font-size: 1.2rem;
}
.feature-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.roadmap article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.roadmap span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(242, 111, 69, 0.14), rgba(245, 168, 75, 0.22));
  color: var(--coral);
  font-weight: 800;
}

.download-section {
  padding-bottom: 120px;
}

.download-status {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
}

.download-note {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.config-tip {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
}

.site-footer {
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  text-align: right;
}

.footer-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  min-width: min(90vw, 460px);
  max-width: min(90vw, 460px);
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(23, 76, 79, 0.94);
  color: #f7f3ec;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 18px 40px rgba(23, 76, 79, 0.3);
  z-index: 30;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-preview__top {
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .hero {
    margin-top: 18px;
  }

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero,
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 34px;
  }

  .hero-inner,
  .product-grid,
  .feature-grid,
  .download-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: stretch;
  }

 

  .hero-preview__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    margin-top: 12px;
  }

  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 14px;
  }

  .hero {
  margin-top: 28px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 28px;
  }

  .hero-canvas {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 22px;
  }

  .brand-copy small,
  .site-nav {
    font-size: 0.8rem;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .button,
  .header-cta {
    min-height: 50px;
  }

  .glass-card,
  .product-card,
  .feature-card,
  .download-card,
  .roadmap article {
    padding: 20px;
  }

  .hero-points li,
  .hero-preview__footer span {
    width: 100%;
    justify-content: center;
  }

  .demo-canvas {
    height: 224px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 小程序二维码弹出 */
.mini-qr-wrap {
  position: relative;
}
.mini-qr-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(23, 76, 79, 0.12);
  box-shadow: 0 20px 50px rgba(23, 76, 79, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 20;
}
.mini-qr-popup::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--surface-strong);
  border-right: 1px solid rgba(23, 76, 79, 0.12);
  border-bottom: 1px solid rgba(23, 76, 79, 0.12);
}
.mini-qr-wrap:hover .mini-qr-popup,
.mini-qr-wrap.show .mini-qr-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mini-qr-img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  object-fit: contain;
}
@media (min-width: 821px) {
  .mini-qr-popup {
    padding: 24px;
    min-width: 260px;
  }
  .mini-qr-img {
    width: 220px;
    height: 220px;
  }
}
.mini-qr-tip {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
