:root {
  --bg: #f4f8ff;
  --bg-deep: #eaf2ff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #0b1b3a;
  --ink-soft: #3f5375;
  --ink-muted: #7184a6;
  --line: rgba(37, 99, 235, 0.12);
  --line-strong: rgba(37, 99, 235, 0.2);
  --blue: #2563eb;
  --blue-deep: #1746c7;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --shadow-sm: 0 8px 24px rgba(31, 64, 128, 0.06);
  --shadow-md: 0 22px 60px rgba(31, 64, 128, 0.1);
  --shadow-lg: 0 36px 100px rgba(31, 64, 128, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(1000px 620px at 92% 0%, rgba(124, 58, 237, 0.11), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, var(--bg) 42%, #f7faff 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}
.ambient-a { width: 420px; height: 420px; left: -160px; top: 260px; background: rgba(34, 211, 238, 0.24); }
.ambient-b { width: 520px; height: 520px; right: -220px; top: 820px; background: rgba(124, 58, 237, 0.16); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(247, 250, 255, 0.78);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 55%, #7c3aed);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.26);
}
.brand-mark svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.96); }
.brand-mark.small { width: 28px; height: 28px; border-radius: 9px; }
.brand-mark.small svg { width: 18px; height: 18px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand-tag { font-size: 12px; color: var(--ink-muted); padding-left: 10px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.site-nav { display: flex; gap: 30px; font-size: 14px; color: var(--ink-soft); }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(11, 27, 58, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(11, 27, 58, 0.2); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 44px;
  padding-top: 78px;
  padding-bottom: 58px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 5.3vw, 70px);
  line-height: 1.06;
  font-weight: 860;
}
.gradient-text {
  background: linear-gradient(100deg, #0891b2 0%, #2563eb 46%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  border: 1px solid transparent;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 54%, #4f46e5);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(37, 99, 235, 0.34); }
.button-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  border-color: var(--line-strong);
}
.button-ghost:hover { background: #fff; transform: translateY(-1px); }
.button-ghost:disabled, .button-disabled {
  opacity: 0.58;
  cursor: not-allowed;
  background: rgba(255,255,255,0.55);
  border-color: var(--line);
  box-shadow: none;
}
.hero-note { margin-top: 13px; color: var(--ink-muted); font-size: 13px; }
.hero-facts {
  display: flex;
  gap: 28px;
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; flex-direction: column; gap: 4px; }
.hero-facts dt { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.hero-facts dd { margin: 0; font-size: 12px; color: var(--ink-muted); }

.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.visual-glow {
  position: absolute;
  width: 470px; height: 470px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(34,211,238,0.26), rgba(37,99,235,0.18), rgba(124,58,237,0.24), rgba(34,211,238,0.26));
  filter: blur(42px);
  opacity: 0.85;
}
.phone-shell {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 606px;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #18233b, #050b18);
  box-shadow: 0 44px 90px rgba(15, 35, 70, 0.34), inset 0 0 0 1px rgba(255,255,255,0.12);
  transform: rotate(-2.5deg);
}
.phone-shell::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  pointer-events: none;
}
.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 23px;
  border-radius: 0 0 14px 14px;
  background: #050b18;
  z-index: 4;
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  padding: 48px 18px 20px;
  background:
    radial-gradient(260px 180px at 90% 2%, rgba(34,211,238,0.18), transparent 58%),
    linear-gradient(180deg, #f8fbff, #edf4ff);
  color: var(--ink);
}
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-logo { font-size: 17px; font-weight: 850; }
.app-chip { font-size: 10px; padding: 5px 9px; border-radius: 999px; color: var(--blue-deep); background: rgba(37,99,235,0.08); }
.app-greeting { margin-top: 20px; color: var(--ink-muted); font-size: 12px; }
.app-hero-card {
  position: relative;
  margin-top: 9px;
  padding: 17px;
  min-height: 132px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(160px 100px at 90% 12%, rgba(255,255,255,0.22), transparent 62%),
    linear-gradient(135deg, #0e7490, #2563eb 56%, #6d28d9);
  box-shadow: 0 16px 26px rgba(37,99,235,0.24);
  overflow: hidden;
}
.app-hero-card::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  right: -30px; bottom: -44px;
  border: 18px solid rgba(255,255,255,0.12);
}
.mini-label { font-size: 10px; opacity: 0.82; }
.app-hero-copy { display: flex; flex-direction: column; gap: 7px; position: relative; z-index: 2; }
.app-hero-copy strong { font-size: 15px; letter-spacing: -0.02em; }
.app-hero-meta { font-size: 10px; opacity: 0.78; }
.app-play {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(8px);
}
.app-play svg { width: 17px; height: 17px; fill: #fff; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.app-tile { padding: 12px 11px; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(37,99,235,0.08); }
.app-tile span { font-size: 12px; font-weight: 750; }
.app-tile small { font-size: 9px; color: var(--ink-muted); }
.tint-blue { background: #eaf2ff; }
.tint-cyan { background: #e9fbff; }
.tint-violet { background: #f1ecff; }
.tint-amber { background: #fff7e8; }
.app-task { margin-top: 12px; padding: 12px; border-radius: 15px; background: #fff; border: 1px solid rgba(37,99,235,0.08); box-shadow: 0 8px 20px rgba(31,64,128,0.05); }
.app-task-head { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--ink-muted); }
.app-task-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); }
.app-task-line { height: 6px; margin-top: 9px; border-radius: 999px; background: #edf3ff; overflow: hidden; }
.app-task-line span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.app-task-line.short span { width: 38%; }
.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 12px; }
.float-card small { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 10px; }
.float-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--blue-deep); background: #eaf2ff; }
.float-card-a { left: 6px; bottom: 118px; }
.float-card-b { right: -10px; top: 126px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.48);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 18px 0;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  animation: marquee 26s linear infinite;
}
.marquee-track i { width: 4px; height: 4px; border-radius: 50%; background: rgba(37,99,235,0.34); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-top: 104px; padding-bottom: 104px; }
.section-tinted {
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(34,211,238,0.09), transparent 60%),
    linear-gradient(180deg, rgba(234,242,255,0.7), rgba(247,250,255,0.2));
  border-top: 1px solid rgba(37,99,235,0.06);
  border-bottom: 1px solid rgba(37,99,235,0.06);
}
.section-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; margin-bottom: 42px; }
.kicker { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.section-head h2 { margin-top: 14px; font-size: clamp(31px, 4vw, 47px); line-height: 1.12; font-weight: 840; }
.section-head > p { color: var(--ink-soft); font-size: 15px; line-height: 1.9; max-width: 460px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature-card {
  position: relative;
  padding: 24px 22px 21px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(37,99,235,0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  right: -64px; bottom: -70px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 68%);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.2); box-shadow: var(--shadow-md); }
.feature-card:hover::after { opacity: 1; }
.feature-wide { grid-column: span 2; }
.feature-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { color: #1d4ed8; background: #eaf2ff; }
.icon-cyan { color: #0e7490; background: #e9fbff; }
.icon-violet { color: #6d28d9; background: #f1ecff; }
.icon-amber { color: #b45309; background: #fff7e8; }
.feature-card h3 { font-size: 17px; font-weight: 800; }
.feature-card p { margin-top: 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.feature-tag { display: inline-block; margin-top: 18px; color: var(--ink-muted); font-size: 10px; letter-spacing: 0.1em; }

.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.workflow-step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(37,99,235,0.1);
  box-shadow: var(--shadow-sm);
}
.step-no { font-size: 11px; font-weight: 850; letter-spacing: 0.16em; color: var(--blue); }
.workflow-step h3 { margin-top: 14px; font-size: 22px; font-weight: 830; }
.workflow-step p { margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; min-height: 72px; }
.step-visual { margin-top: 18px; padding: 15px; border-radius: 16px; background: rgba(244,248,255,0.9); border: 1px solid rgba(37,99,235,0.08); min-height: 112px; }
.step-visual-a { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.chip { padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: var(--ink-soft); box-shadow: 0 4px 10px rgba(31,64,128,0.04); }
.quote-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 11px; color: var(--ink-muted); }
.quote-line:last-child { border-bottom: 0; }
.quote-line b { color: var(--ink); font-weight: 750; }
.progress { height: 8px; border-radius: 999px; background: #e6eeff; overflow: hidden; margin-top: 24px; }
.progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); }
.progress-label { margin-top: 12px; color: var(--ink-muted); font-size: 11px; }

.download-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(480px 260px at 85% 8%, rgba(34,211,238,0.16), transparent 62%),
    radial-gradient(500px 300px at 5% 100%, rgba(124,58,237,0.12), transparent 64%),
    #fff;
  border: 1px solid rgba(37,99,235,0.12);
  box-shadow: var(--shadow-lg);
}
.download-copy h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.download-copy > p { max-width: 520px; margin-top: 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.download-hint { color: var(--ink-muted) !important; font-size: 12px !important; margin-top: 12px !important; }
.download-points { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-muted); font-size: 12px; }
.download-points li { position: relative; padding-left: 14px; }
.download-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.download-card {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #f7faff, #eef5ff);
  border: 1px solid rgba(37,99,235,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.download-card-top { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.download-badge { font-size: 11px; font-weight: 750; color: var(--blue-deep); background: #e5efff; padding: 6px 10px; border-radius: 999px; }
.download-status { font-size: 11px; color: var(--ink-muted); }
.download-icon { margin-top: 18px; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.download-icon svg { width: 23px; height: 23px; fill: none; stroke: var(--blue); stroke-width: 1.7; }
.download-card strong { margin-top: 14px; font-size: 18px; }
.download-version { margin-top: 4px; color: var(--ink-muted); font-size: 11px; }
.download-qr { margin-top: 18px; width: 124px; height: 124px; border-radius: 16px; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #fff, #fff 8px, #f2f7ff 8px, #f2f7ff 16px); border: 1px dashed rgba(37,99,235,0.22); color: var(--ink-muted); font-size: 10px; line-height: 1.6; }
.download-note { margin-top: auto; padding-top: 18px; color: var(--ink-muted); font-size: 10px; line-height: 1.7; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; font-size: 16px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #eaf2ff; font-size: 18px; font-weight: 500; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 2px 22px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }

.site-footer { margin-top: 40px; padding: 52px 0 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.56); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; color: var(--ink-muted); font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--ink-soft); }
.footer-links strong { color: var(--ink); font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.footer-muted { color: var(--ink-muted); font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 11px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(11, 27, 58, 0.94);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(11,27,58,0.24);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 1060px) {
  .site-nav { gap: 20px; }
  .hero { gap: 24px; }
  .hero-visual { min-height: 560px; transform: scale(0.92); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.2fr 0.7fr 0.7fr; }
  .footer-links:last-child { grid-column: span 3; flex-flow: row wrap; align-items: center; gap: 14px; }
}

@media (max-width: 860px) {
  .shell { width: min(var(--shell), calc(100% - 34px)); }
  .brand-tag, .site-nav { display: none; }
  .header-inner { height: 66px; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 28px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(38px, 9vw, 58px); }
  .hero-visual { min-height: 560px; margin-top: 16px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head > p { max-width: 620px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step p { min-height: 0; }
  .download-panel { grid-template-columns: 1fr; padding: 28px; }
  .download-card { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-links:last-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .header-cta { padding: 9px 14px; font-size: 12px; }
  .hero h1 { font-size: 37px; }
  .hero-lead { font-size: 14px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-facts { gap: 18px; }
  .hero-visual { min-height: 510px; transform: scale(0.82); transform-origin: center top; margin-bottom: -80px; }
  .float-card-a { left: -6px; bottom: 90px; }
  .float-card-b { right: -10px; top: 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .download-panel { border-radius: 24px; padding: 22px; }
  .download-card { max-width: 100%; }
  .site-footer { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand, .footer-links:last-child { grid-column: span 1; }
  .footer-links:last-child { flex-flow: column; align-items: flex-start; }
  .faq-list summary { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}


/* Legal pages */
.legal-page { min-height: 100vh; padding-bottom: 70px; }
.legal-header { padding: 26px 0; border-bottom: 1px solid var(--line); background: rgba(247,250,255,0.8); }
.legal-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.legal-back { font-size: 13px; color: var(--ink-soft); padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,0.72); }
.legal-back:hover { color: var(--blue); border-color: rgba(37,99,235,0.32); }
.legal-wrap { max-width: 820px; margin: 54px auto 0; padding: 46px 48px 52px; border-radius: 28px; background: rgba(255,255,255,0.9); border: 1px solid rgba(37,99,235,0.1); box-shadow: var(--shadow-md); }
.legal-kicker { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
.legal-wrap h1 { margin-top: 12px; font-size: clamp(30px, 4vw, 42px); line-height: 1.18; }
.legal-meta { margin-top: 12px; color: var(--ink-muted); font-size: 12px; line-height: 1.8; }
.legal-content { margin-top: 32px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.legal-content h2 { margin: 30px 0 10px; color: var(--ink); font-size: 18px; font-weight: 800; }
.legal-content h3 { margin: 22px 0 8px; color: var(--ink); font-size: 15px; font-weight: 750; }
.legal-content p { margin: 9px 0; }
.legal-content ul { margin: 8px 0 8px; padding-left: 22px; }
.legal-content li { margin: 6px 0; }
.legal-content strong { color: var(--ink); }
.legal-content .legal-note { margin-top: 26px; padding: 15px 17px; border-radius: 14px; background: #f4f8ff; border: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { max-width: 820px; margin: 22px auto 0; padding: 0 10px; color: var(--ink-muted); font-size: 11px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .legal-wrap { margin-top: 28px; padding: 28px 22px 34px; border-radius: 20px; }
  .legal-header { padding: 18px 0; }
  .legal-content { font-size: 13px; line-height: 1.9; }
  .legal-footer { flex-direction: column; }
}


/* Final mobile overflow guards */
@media (max-width: 860px) {
  .hero, .hero-copy, .hero-visual, .section-head, .download-panel { min-width: 0; }
  .hero-copy, .hero-visual { width: 100%; max-width: 100%; }
  .hero-lead { width: 100%; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
  .hero h1 { overflow-wrap: anywhere; }
  .hero-visual {
    min-height: 540px;
    margin: 0;
    padding: 20px 0 40px;
    transform: none;
    justify-items: center;
    overflow: visible;
  }
  .phone-shell { width: 280px; height: 566px; transform: rotate(-2deg); }
  .float-card-a { left: 0; bottom: 58px; }
  .float-card-b { right: 0; top: 64px; }
  .site-header .header-cta { display: inline-flex; }
}

@media (max-width: 600px) {
  .hero-visual { min-height: 500px; padding-top: 12px; overflow: hidden; }
  .phone-shell { width: 258px; height: 522px; }
  .float-card { display: none; }
  .hero-facts { flex-wrap: wrap; gap: 16px 22px; }
  .header-inner { gap: 10px; }
  .header-cta { padding: 9px 13px; font-size: 12px; }
  .section-head h2 { font-size: 30px; }
}


/* Minimal landing: no feature/workflow sections */
.header-cta { border: 0; font-family: inherit; cursor: pointer; }
.footer-grid { grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-links:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-links:last-child { grid-column: span 1; }
}


/* WeChat contact QR */
.footer-contact { align-items: flex-start; }
.wechat-qr {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  padding: 6px;
  margin: 4px 0 2px;
  box-shadow: 0 8px 20px rgba(31, 64, 128, 0.06);
}


/* WeChat in-app browser guide */
[hidden] { display: none !important; }
.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.wechat-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 38, 0.58);
  backdrop-filter: blur(8px);
}
.wechat-guide-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 40px 100px rgba(5, 15, 35, 0.34);
  animation: guideIn 0.24s ease both;
}
@keyframes guideIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.wechat-guide-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f6f9ff;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  z-index: 2;
}
.wechat-guide-kicker { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: 0.16em; }
.wechat-guide-card h2 { margin-top: 10px; padding-right: 30px; font-size: clamp(24px, 4vw, 32px); line-height: 1.2; }
.wechat-guide-lead { margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.wechat-guide-body { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: center; margin-top: 22px; }
.guide-phone {
  position: relative;
  width: 220px;
  height: 300px;
  margin-inline: auto;
  padding: 12px 10px;
  border-radius: 28px;
  background: #0b1324;
  box-shadow: 0 24px 50px rgba(10, 25, 50, 0.26);
}
.guide-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.guide-dots {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  letter-spacing: 1px;
  font-size: 12px;
}
.guide-menu {
  position: absolute;
  right: 14px;
  top: 42px;
  z-index: 2;
  width: 128px;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(5, 15, 35, 0.24);
  color: var(--ink-soft);
  font-size: 9px;
}
.guide-menu span { display: block; padding: 7px 8px; border-radius: 6px; white-space: nowrap; }
.guide-menu .active { position: relative; margin-top: 2px; background: #eaf2ff; color: var(--blue-deep); font-weight: 750; }
.guide-menu .active::after { content: "✓"; float: right; }
.guide-phone-content {
  height: calc(100% - 26px);
  margin-top: 8px;
  border-radius: 18px;
  padding: 16px 12px;
  background: linear-gradient(180deg, #f7faff, #eaf2ff);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-chip { align-self: flex-start; padding: 4px 7px; border-radius: 999px; background: #e2eeff; color: var(--blue-deep); font-size: 8px; font-weight: 700; }
.guide-line { display: block; width: 100%; height: 7px; border-radius: 999px; background: #dbe8ff; }
.guide-line.short { width: 65%; }
.guide-download { margin-top: auto; display: grid; place-items: center; min-height: 30px; border-radius: 8px; color: #fff; background: var(--blue); font-size: 8px; font-weight: 700; }
.guide-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide-steps li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.guide-steps b { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #eaf2ff; color: var(--blue-deep); font-size: 10px; }
.guide-steps strong { color: var(--ink); }
.wechat-guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wechat-guide-note { margin-top: 12px; color: var(--ink-muted); font-size: 10px; line-height: 1.7; }
body.modal-open { overflow: hidden; }
.toast { z-index: 120 !important; }

@media (max-width: 640px) {
  .wechat-guide { padding: 12px; }
  .wechat-guide-card { padding: 22px 18px 20px; border-radius: 22px; }
  .wechat-guide-body { grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
  .guide-phone { width: 198px; height: 270px; }
  .guide-steps { gap: 9px; }
  .wechat-guide-actions .button { flex: 1 1 100%; }
}
