:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-soft-a: rgba(245, 247, 251, 0.35);
  --text: #0f172a;
  --text-soft: #55617a;
  --line: #e6eaf2;
  --brand: #2b5cff;
  --brand-2: #00c2b2;
  --brand-soft: #eef2ff;
  --radius: 16px;
  --shadow: 0 18px 50px -22px rgba(20, 40, 90, 0.35);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 4px;
  background: #fff;
}

.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(43, 92, 255, 0.8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(43, 92, 255, 0.9); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #c9d3e6; transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
  transition: 0.2s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(43, 92, 255, 0.22), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(0, 194, 178, 0.18), transparent 70%);
  z-index: -1;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(0, 194, 178, 0.18);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 800;
}
h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 20px;
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-stats .lbl { font-size: 0.88rem; color: var(--text-soft); }

/* Visual card */
.hero-visual {
  position: relative;
}
.glass-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.glass-top { display: flex; gap: 6px; margin-bottom: 18px; }
.glass-top i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f4; }
.glass-top i:nth-child(1) { background: #ff5f57; }
.glass-top i:nth-child(2) { background: #febc2e; }
.glass-top i:nth-child(3) { background: #28c840; }

.chart {
  height: 150px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(43, 92, 255, 0.10), transparent);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px;
}
.chart .bar {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--brand), #7aa0ff);
  animation: grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.chart .bar:nth-child(even) { background: linear-gradient(180deg, var(--brand-2), #6fe3d8); }
.chart .bar:nth-child(1) { height: 42%; animation-delay: 0.05s; }
.chart .bar:nth-child(2) { height: 66%; animation-delay: 0.1s; }
.chart .bar:nth-child(3) { height: 54%; animation-delay: 0.15s; }
.chart .bar:nth-child(4) { height: 82%; animation-delay: 0.2s; }
.chart .bar:nth-child(5) { height: 60%; animation-delay: 0.25s; }
.chart .bar:nth-child(6) { height: 92%; animation-delay: 0.3s; }
.chart .bar:nth-child(7) { height: 72%; animation-delay: 0.35s; }
@keyframes grow { from { transform: scaleY(0.05); transform-origin: bottom; opacity: 0; } }

.float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: floaty 4.5s ease-in-out infinite;
}
.float-badge.b1 { top: -18px; left: -20px; }
.float-badge.b2 { bottom: -20px; right: -14px; animation-delay: 1.4s; }
.float-badge .ic {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1rem;
}
.float-badge.b2 .ic { background: #e2fbf8; color: #0a9c90; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft-a); }

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .tag {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.6px;
  font-weight: 800;
  margin-top: 10px;
}
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.03rem; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #d8e1f4;
}
.card .ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.96rem; }

/* Product rows */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.product-row + .product-row { margin-top: 72px; }
.product-row.reverse .product-copy { order: 2; }
.product-copy .pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: #e2fbf8;
  color: #0a9c90;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-copy h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.product-copy p { color: var(--text-soft); margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); font-size: 0.95rem; }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid; place-items: center;
  margin-top: 3px;
}

.product-visual {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #f7f9ff, #eef2ff);
  padding: 36px;
  box-shadow: var(--shadow);
}
.mock {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.mock-line { height: 10px; border-radius: 6px; background: #eef2fa; }
.mock-line.w60 { width: 60%; }
.mock-line.w80 { width: 80%; }
.mock-line.w40 { width: 40%; }
.mock-line.brand { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tile { height: 54px; border-radius: 10px; background: #f2f5fc; }
.mock-tile:nth-child(2) { background: linear-gradient(135deg, var(--brand), #7aa0ff); }

/* ---------- Page hero ---------- */
.page-hero { padding: 74px 0 26px; background: var(--bg-soft-a); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero p { color: var(--text-soft); margin-top: 16px; max-width: 600px; font-size: 1.08rem; }
.breadcrumb { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #17233f, #22347a 60%, #1c4fd6);
  color: #fff;
  border-radius: 26px;
  padding: 64px 56px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 16px auto 30px; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.cta .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.cta .btn-white { background: #fff; color: #17233f; }
.cta .btn-white:hover { transform: translateY(-2px); }

/* ---------- Values / timeline / team ---------- */
.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  margin-bottom: 20px;
}

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.tl-item .year { font-weight: 800; color: var(--brand); font-size: 0.95rem; }
.tl-item h4 { font-size: 1.08rem; margin: 2px 0 4px; }
.tl-item p { color: var(--text-soft); font-size: 0.94rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  background: #fff;
  transition: transform 0.22s, box-shadow 0.22s;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.member h4 { font-size: 1.02rem; }
.member span { color: var(--text-soft); font-size: 0.86rem; }

/* Numbers */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 18px; }
.stat .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--text-soft); font-size: 0.92rem; }

/* ---------- Contact form (about) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  font-size: 1.1rem;
}
.info-item h4 { font-size: 1rem; }
.info-item p { color: var(--text-soft); font-size: 0.93rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: 0.95rem;
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(43, 92, 255, 0.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form button { width: 100%; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 34px;
  margin-top: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-brand p { color: var(--text-soft); font-size: 0.93rem; margin-top: 14px; max-width: 280px; }
.foot-col h5 { font-size: 0.9rem; margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-soft); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  color: var(--text-soft);
  font-size: 0.87rem;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom a { color: inherit; transition: color 0.2s; }
.foot-bottom a:hover { color: var(--brand); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: 0.2s;
}
.socials a:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }

/* ---------- Icons (inline SVG, Lucide) ---------- */
.ic svg,
.value-icon svg,
.info-item .ic svg,
.float-badge .ic svg,
.socials a svg {
  display: block;
  width: 24px;
  height: 24px;
}
.card .ic svg { width: 24px; height: 24px; }
.value-icon svg { width: 26px; height: 26px; }
.float-badge .ic svg { width: 16px; height: 16px; }
.info-item .ic svg { width: 20px; height: 20px; }
.socials a svg { width: 17px; height: 17px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Utility / Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: #fff; color: var(--text);
  padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow); font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 2px; }

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(43, 92, 255, 0.8);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; display: block; }

/* Legal page */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; letter-spacing: -0.2px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p { color: var(--text-soft); font-size: 1rem; margin: 0 0 12px; }
.legal ul,
.legal ol { margin: 8px 0 14px 1.3em; color: var(--text-soft); }
.legal li { margin: 5px 0; }
.legal li > ul { margin-top: 5px; margin-bottom: 0; }
.legal strong { color: var(--text); }
.legal a { color: var(--brand); }
.legal-updated { font-size: 0.9rem !important; margin-bottom: 6px; }

/* Error / 404 */
.error-page { padding: 96px 0; text-align: center; }
.error-code {
  font-size: clamp(4.5rem, 16vw, 8rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { margin-top: 10px; }
.error-page p { color: var(--text-soft); max-width: 460px; margin: 14px auto 30px; font-size: 1.05rem; }

/* ---------- Pricing ---------- */
.plan { display: flex; flex-direction: column; }
.plan .plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin: 8px 0 2px; }
.plan .plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--text-soft); letter-spacing: 0; }
.plan .plan-note { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 6px; }
.plan .plan-est { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 20px; }
.plan h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-off {
  display: inline-block;
  background: #fff1e6; color: #c2410c;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0;
}
.plan .plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .plan-orig {
  font-size: 1.05rem; font-weight: 500; color: var(--text-soft);
  text-decoration: line-through; letter-spacing: 0;
}
.plans { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: stretch; }
.plans > .plan { flex: 1 1 300px; max-width: 380px; }
.billing-wrap { text-align: center; margin-bottom: 38px; }
.billing-toggle {
  display: inline-flex; gap: 4px;
  background: var(--bg-soft); border-radius: 999px; padding: 4px;
}
.billing-toggle button {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  padding: 10px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  color: var(--text-soft); transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.billing-toggle button.active {
  background: #fff; color: var(--text);
  box-shadow: 0 6px 16px -10px rgba(20, 40, 90, 0.6);
}
.plan .check-list { margin-bottom: 26px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .plan-buy {
  background: #fff; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.plan .plan-buy:hover { border-color: #c9d3e6; transform: translateY(-2px); }
.plan-featured { position: relative; border-color: var(--brand); box-shadow: var(--shadow); }
.plan-featured .plan-buy {
  background: var(--brand); color: #fff; border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(43, 92, 255, 0.8);
}
.plan-featured .plan-buy:hover { transform: translateY(-2px); }
/* 已购买 / 内部账号：购买按钮置灰，点击只提示、不跳转 */
.plan .plan-buy.is-disabled,
.plan .plan-buy.is-disabled:hover {
  background: #eef1f7; color: var(--text-soft); border-color: var(--line);
  box-shadow: none; transform: none; cursor: not-allowed; opacity: 0.8;
}
[data-theme="dark"] .plan .plan-buy.is-disabled,
[data-theme="dark"] .plan .plan-buy.is-disabled:hover {
  background: #1a2233; color: var(--text-soft);
}

/* 轻量提示条（购买按钮置灰点击时使用） */
.yy-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 12px);
  background: #17233f; color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 0.9rem; box-shadow: 0 18px 40px -16px rgba(15, 30, 60, 0.7);
  opacity: 0; pointer-events: none; z-index: 9999;
  max-width: min(90vw, 460px); text-align: center;
  transition: opacity 0.25s, transform 0.25s;
}
.yy-toast.show { opacity: 1; transform: translate(-50%, 0); }
[data-theme="dark"] .yy-toast { background: #e8edf7; color: #17233f; }
.plan-featured::before {
  content: "最受欢迎";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Meta / list cards / logos ---------- */
.meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--text-soft); margin-bottom: 12px; }
.meta .meta-tag { color: var(--brand); font-weight: 700; }
.card h3 a:hover { color: var(--brand); }
.card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 0.9rem; margin-top: 14px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 16px 34px; align-items: center; justify-content: center; opacity: 0.72; }
.logo-row span { font-weight: 700; color: var(--text-soft); font-size: 1.08rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.06rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Jobs ---------- */
.job {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.job + .job { margin-top: 14px; }
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e1f4; }
.job h3 { font-size: 1.1rem; }
.job .job-meta { color: var(--text-soft); font-size: 0.88rem; margin-top: 4px; }
.job .job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job .pill { margin: 0; }

/* ---------- Detail (article / product) ---------- */
.detail-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 44px; align-items: start; }
.detail-body h2 { margin-top: 34px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--text-soft); margin: 12px 0; }
.detail-body ul, .detail-body ol { margin: 12px 0 12px 1.3em; color: var(--text-soft); }
.detail-body li { margin: 6px 0; }
.detail-aside { position: sticky; top: 88px; }
.detail-aside .card { padding: 26px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 0.8rem; font-weight: 600; }

/* ---------- Theme toggle / nav auth ---------- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: #fff; color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: #c9d3e6; color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.nav-auth { font-weight: 600; font-size: 0.95rem; color: var(--text-soft); white-space: nowrap; }
.nav-auth:hover { color: var(--brand); }
.nav-logout { color: var(--text-soft); }
.nav-logout:hover { color: #ef4444; }
.nav-user { position: relative; }
.nav-user-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  font-weight: 600; font-size: 0.95rem; color: var(--text-soft);
}
.nav-user-btn:hover { color: var(--brand); }
.nav-user-btn svg { width: 14px; height: 14px; }
.nav-menu {
  position: absolute; top: 100%; right: 0; min-width: 152px;
  padding-top: 14px; z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-menu-inner { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
.nav-user:hover .nav-menu,
.nav-user:focus-within .nav-menu,
.nav-user.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-soft); font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.nav-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-menu .nav-logout:hover { background: #fef2f2; color: #ef4444; }

/* ---------- Auth (login / register) ---------- */
.auth { padding: 72px 0 96px; }
.auth-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.auth-card {
  width: 100%; max-width: 440px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.tabs { display: flex; gap: 6px; background: var(--bg-soft); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.tab {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--text-soft);
  cursor: pointer; border: 0; background: transparent; font-family: inherit;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab.active { background: #fff; color: var(--text); box-shadow: 0 6px 16px -10px rgba(20, 40, 90, 0.6); }
.auth-alt { text-align: center; color: var(--text-soft); font-size: 0.92rem; margin-top: 18px; }
.auth-alt a { color: var(--brand); font-weight: 600; }
.invite { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.invite-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.invite-row { display: flex; gap: 10px; align-items: flex-start; }
.invite-row .field { flex: 1; margin-bottom: 0; }
.invite-msg { font-size: 0.86rem; margin-top: 10px; min-height: 18px; }
.invite-msg.ok { color: #16a34a; }
.invite-msg.err { color: #ef4444; }
.hidden { display: none !important; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.option-grid { display: grid; gap: 12px; }
.option {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; background: #fff; color: inherit; width: 100%; font-family: inherit; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.option:hover { border-color: #c9d3e6; }
.option.selected { border-color: var(--brand); background: var(--brand-soft); }
.option .opt-name { font-weight: 700; }
.option .opt-desc { color: var(--text-soft); font-size: 0.85rem; margin-top: 3px; }
.option .opt-price { font-weight: 800; white-space: nowrap; }
.option .opt-price s { color: var(--text-soft); font-weight: 500; font-size: 0.9rem; margin-right: 6px; }
.sum-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sum-line .name { font-weight: 700; font-size: 1.05rem; }
.sum-line .unit { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; }
.sum-line .desc { color: var(--text-soft); font-size: 0.85rem; margin-top: 4px; }
.sum-line .pr { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.sum-line .pr s { color: var(--text-soft); font-weight: 500; font-size: 0.9rem; margin-right: 8px; }
.sum-line .more { margin-top: 6px; }
.summary {
  position: sticky; top: 88px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text-soft); font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--text); font-weight: 800; font-size: 1.2rem; }
.section-label { font-weight: 700; font-size: 1.05rem; margin: 26px 0 12px; }
.coupon-list { display: grid; gap: 10px; }
.coupon {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px;
  cursor: pointer; background: transparent; color: inherit; width: 100%; font-family: inherit;
  text-align: left; transition: border-color 0.2s, background 0.2s;
}
.coupon:hover { border-color: #c9d3e6; }
.coupon.selected { border-color: var(--brand); background: var(--brand-soft); border-style: solid; }
.coupon .coupon-name { font-weight: 600; }
.coupon .coupon-cond { color: var(--text-soft); font-size: 0.82rem; margin-top: 2px; }
.coupon .coupon-amt { color: #c2410c; font-weight: 800; white-space: nowrap; }
.coupon.disabled { opacity: 0.45; cursor: not-allowed; }
.coupon-picker { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.coupon-summary {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 16px 18px; background: transparent; border: 0; cursor: pointer;
  font-family: inherit; color: inherit; text-align: left;
}
.coupon-summary .cs-name { font-weight: 600; }
.coupon-summary .cs-right { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 0.9rem; }
.coupon-summary .cs-count { color: var(--brand); font-weight: 600; }
.coupon-summary .cs-arrow { width: 18px; height: 18px; transition: transform 0.2s; }
.coupon-summary[aria-expanded="true"] .cs-arrow { transform: rotate(180deg); }
.coupon-picker .coupon-list { padding: 0 14px 14px; }

/* ---------- Cashier ---------- */
.pay-subject { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 6px; }
.pay-tabs { display: flex; justify-content: center; gap: 8px; margin: 16px 0 14px; }
.pay-tab {
  border: 1px solid var(--line); background: #fff; color: var(--text-soft);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pay-tab.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- Orders ---------- */
.orders-toolbar { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--text-soft);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.order-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px 24px; }
.order-card + .order-card { margin-top: 16px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.order-id { color: var(--text-soft); font-size: 0.85rem; }
.order-status { font-size: 0.85rem; font-weight: 700; }
.order-status.is-unpaid { color: #d97706; }
.order-status.is-paid { color: #16a34a; }
.order-status.is-cancelled { color: var(--text-soft); }
.order-body { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.order-name { font-weight: 700; font-size: 1.05rem; }
.order-name .unit { color: var(--text-soft); font-weight: 500; }
.order-meta { color: var(--text-soft); font-size: 0.85rem; margin-top: 4px; }
.order-price { font-weight: 800; font-size: 1.25rem; }
.order-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.order-actions .btn { padding: 9px 18px; }
.empty-state { text-align: center; color: var(--text-soft); padding: 60px 20px; }
.empty-state a { color: var(--brand); font-weight: 600; }

/* ---------- Pay ---------- */
.pay-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.pay-method {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  background: #fff; color: inherit; width: 100%; font-family: inherit; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.pay-method + .pay-method { margin-top: 12px; }
.pay-method:hover { border-color: #c9d3e6; }
.pay-method.selected { border-color: var(--brand); background: var(--brand-soft); }
.pay-method .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.pay-method .ic svg { width: 20px; height: 20px; }
.pay-method .pm-name { font-weight: 700; }
.pay-method .pm-desc { color: var(--text-soft); font-size: 0.82rem; }
.pay-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; }
.qr { width: 200px; height: 200px; margin: 6px auto 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.qr svg { width: 130px; height: 130px; color: var(--text); }
.pay-amount { font-size: 2rem; font-weight: 800; letter-spacing: -1px; }

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --bg: #0b1020;
  --bg-soft: #121a2e;
  --bg-soft-a: rgba(18, 26, 46, 0.35);
  --text: #e8ecf6;
  --text-soft: #97a3bd;
  --line: #26314b;
  --brand: #4f7bff;
  --brand-2: #22d3c5;
  --brand-soft: #1a2440;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] header { background: rgba(11, 16, 32, 0.82); }
[data-theme="dark"] .glass-card,
[data-theme="dark"] .card,
[data-theme="dark"] .mock,
[data-theme="dark"] .form,
[data-theme="dark"] .member,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .summary,
[data-theme="dark"] .pay-box { background: #131c30; }
[data-theme="dark"] .option:not(.selected),
[data-theme="dark"] .pay-method:not(.selected) { background: #131c30; }
[data-theme="dark"] .theme-toggle { background: #131c30; }
[data-theme="dark"] .tab.active { background: #1c2843; color: var(--text); }
[data-theme="dark"] .billing-toggle button.active { background: #1c2843; color: var(--text); }
[data-theme="dark"] .btn-ghost { background: transparent; }
[data-theme="dark"] .plan:not(.plan-featured) .plan-buy { background: #131c30; color: var(--text); }
[data-theme="dark"] .field input,
[data-theme="dark"] .field textarea { background: #0e1626; color: var(--text); }
[data-theme="dark"] .mock-line { background: #22304d; }
[data-theme="dark"] .mock-tile { background: #1a2540; }
[data-theme="dark"] .mock-tile:nth-child(2) { background: linear-gradient(135deg, var(--brand), #7aa0ff); }
[data-theme="dark"] .product-visual { background: linear-gradient(160deg, #141d33, #0f1830); }
[data-theme="dark"] .plan-off { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
[data-theme="dark"] .coupon .coupon-amt { color: #f59e0b; }
[data-theme="dark"] .coupon-picker { background: #131c30; }
[data-theme="dark"] .pay-tab:not(.active) { background: #131c30; }
[data-theme="dark"] .order-card,
[data-theme="dark"] .filter-btn:not(.active) { background: #131c30; }
[data-theme="dark"] .nav-menu-inner { background: #131c30; }
[data-theme="dark"] .nav-menu .nav-logout:hover { background: #3a1f22; }
[data-theme="dark"] .cta { background: linear-gradient(135deg, #0f1830, #1c2f6e 60%, #1c4fd6); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 64px 0; }
  .grid-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 1fr; gap: 30px; }
  .product-row.reverse .product-copy { order: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-aside { position: static; }
  .job { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 20px; }
  .auth-grid, .checkout-grid, .pay-grid { grid-template-columns: 1fr; gap: 34px; }
  .summary { position: static; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 6vw; }
  .nav-links a.active::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-2, .team-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 26px; }
  .card { padding: 24px; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 28px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  [data-theme="dark"] .nav-links { background: #131c30; }
}

/* ---------- Inline "more" link (outside .card) ---------- */
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 0.9rem; }
.more:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d8e1f4; }
.testi .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.testi p { color: var(--text-soft); font-size: 0.96rem; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi .who .ava {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.testi .who b { display: block; font-size: 0.92rem; }
.testi .who span { color: var(--text-soft); font-size: 0.82rem; }

/* ---------- Footer contact ---------- */
.foot-contact { margin-top: 16px; display: grid; gap: 6px; }
.foot-contact a,
.foot-contact span { color: var(--text-soft); font-size: 0.85rem; }
.foot-contact a:hover { color: var(--brand); }

/* ---------- Floating support ---------- */
.support { position: fixed; right: 24px; bottom: 78px; z-index: 61; }
.support-btn {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  border: none; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  box-shadow: 0 16px 32px -12px rgba(43, 92, 255, 0.9);
  transition: transform 0.2s;
}
.support-btn:hover { transform: translateY(-3px); }
.support-btn svg { width: 24px; height: 24px; }
.support-dot {
  position: absolute; top: 2px; right: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e; border: 2px solid var(--bg);
}
.support-panel {
  position: absolute; right: 0; bottom: 64px; width: 260px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); padding: 16px;
}
.support-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.support-head strong { font-size: 0.98rem; }
.support-close { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text-soft); }
.support-close:hover { color: var(--text); }
.support-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: background 0.2s; }
.support-item:hover { background: var(--brand-soft); }
.support-item .si-ic {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.support-item .si-ic svg { width: 18px; height: 18px; }
.support-item b { display: block; font-size: 0.9rem; color: var(--text); }
.support-item i { font-style: normal; font-size: 0.8rem; color: var(--text-soft); }
.support-qr { text-align: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.support-qr img { width: 150px; height: 150px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; }
.support-qr p { color: var(--text-soft); font-size: 0.82rem; margin-top: 8px; }

/* ---------- Dark theme: new components ---------- */
[data-theme="dark"] .testi,
[data-theme="dark"] .support-panel { background: #131c30; }
[data-theme="dark"] .support-dot { border-color: #131c30; }
[data-theme="dark"] .support-item:hover { background: #1a2440; }
[data-theme="dark"] .support-qr img { background: #fff; }

/* ---------- Responsive: new components ---------- */
@media (max-width: 980px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .testi-grid { grid-template-columns: 1fr; }
  .support { right: 14px; bottom: 72px; }
  .support-panel { width: calc(100vw - 28px); max-width: 300px; }
}

/* ============================================================
   动态背景 · Dynamic Background
   ------------------------------------------------------------
   方案记录（逐个尝试，当前启用：方案四）
     方案一  极光渐变流动  Aurora Flow
     方案二  漂浮粒子 / 光点  Floating Particles
     方案三  动态网格光线  Moving Grid Light
     方案四  极光 + 粒子组合  Aurora + Particles  ← 当前启用
   纯 CSS 实现，无 JS，随明暗主题适配，尊重 prefers-reduced-motion。
   应用范围：全站所有页面（作用于 body 伪元素，固定不随滚动移动）。
   ============================================================ */

/* 方案四：极光 + 粒子组合
   原理：body::before 是三块大面积径向渐变，缓慢漂移 + 缩放（GPU transform）；
   body::after 是两层点阵粒子，上移恰好一个平铺周期，首尾无缝。
   两层叠加：底层色块氛围 + 上层粒子点缀。 */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

/* 极光层：负 inset 留出漂移余量，避免露出边缘
   注意：百分比坐标相对的是放大后的元素，故取值需落在视口范围（约 0.2~0.8）内。 */
body::before {
  inset: -20vmax;
  background:
    radial-gradient(42vmax 42vmax at 28% 32%, rgba(43, 92, 255, 0.33), transparent 65%),
    radial-gradient(36vmax 36vmax at 76% 30%, rgba(0, 194, 178, 0.26), transparent 63%),
    radial-gradient(40vmax 40vmax at 74% 68%, rgba(124, 92, 255, 0.23), transparent 65%);
}

/* 粒子层：height 200% 预留上移空间 */
body::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-image:
    radial-gradient(circle, rgba(43, 92, 255, 0.44) 0, rgba(43, 92, 255, 0.44) 1.4px, transparent 1.9px),
    radial-gradient(circle, rgba(0, 194, 178, 0.40) 0, rgba(0, 194, 178, 0.40) 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(124, 92, 255, 0.36) 0, rgba(124, 92, 255, 0.36) 2.1px, transparent 2.9px);
  background-size: 200px 260px, 320px 260px, 460px 260px;
  background-position: 0 0, 90px 70px, 160px 140px;
  background-repeat: repeat;
}

@media (prefers-reduced-motion: no-preference) {
  body::before { animation: combo-aurora 26s ease-in-out infinite alternate; }
  body::after  { animation: combo-particles 28s linear infinite; }
}

/* 幅度加大到 ±12%，否则大色块的微小位移肉眼几乎不可见 */
@keyframes combo-aurora {
  0%   { transform: translate3d(-10%, -7%, 0) scale(1.00); }
  50%  { transform: translate3d(6%, 6%, 0) scale(1.14); }
  100% { transform: translate3d(12%, -5%, 0) scale(1.05); }
}

/* 上移量 = 粒子平铺高度 260px，确保无缝循环 */
@keyframes combo-particles {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -260px, 0); }
}

/* 暗色主题：极光与粒子更亮 */
[data-theme="dark"] body::before {
  background:
    radial-gradient(44vmax 44vmax at 28% 32%, rgba(79, 123, 255, 0.55), transparent 65%),
    radial-gradient(38vmax 38vmax at 76% 30%, rgba(34, 211, 197, 0.45), transparent 63%),
    radial-gradient(42vmax 42vmax at 60% 72%, rgba(124, 92, 255, 0.42), transparent 65%);
}

[data-theme="dark"] body::after {
  background-image:
    radial-gradient(circle, rgba(79, 123, 255, 0.66) 0, rgba(79, 123, 255, 0.66) 1.4px, transparent 1.9px),
    radial-gradient(circle, rgba(34, 211, 197, 0.58) 0, rgba(34, 211, 197, 0.58) 1.2px, transparent 1.7px),
    radial-gradient(circle, rgba(124, 92, 255, 0.54) 0, rgba(124, 92, 255, 0.54) 2.1px, transparent 2.9px);
}

/* ---------- 功能演示视频 ---------- */
.demo-video-body {
  max-width: 880px;
  margin: 0 auto;
}

.demo-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.demo-video-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}

.demo-video-player {
  width: 100%;
  max-height: 480px;
  border-radius: calc(var(--radius) - 6px);
  background: #000;
}

.demo-video-caption {
  font-size: 0.95rem;
  color: var(--text-soft);
  text-align: center;
}

.demo-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-soft);
}

.demo-video-placeholder__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.3rem;
}

[data-theme="dark"] .demo-video-item {
  background: #121a2e;
}

