:root {
  --bg-page: #f5f6f7;
  --bg-page-deep: #eaebed;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #edeeef;
  --surface-accent: #e8f0fe;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-deep: rgba(255, 255, 255, 0.88);
  --ink: #1d1e1f;
  --ink-soft: #2f3133;
  --text-secondary: #5c5e62;
  --text-tertiary: #7a7c80;
  --line: #d6d7d9;
  --line-strong: #b4b6b9;
  --line-accent: rgba(64, 158, 255, 0.18);
  --accent: #409eff;
  --accent-strong: #2b7acc;
  --accent-soft: rgba(64, 158, 255, 0.08);
  --accent-soft-strong: rgba(64, 158, 255, 0.16);
  --accent-glow: rgba(64, 158, 255, 0.35);
  --accent-shine: rgba(64, 158, 255, 0.06);
  --accent-gradient-start: #409eff;
  --accent-gradient-end: #00d4ff;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 20px 44px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.09);
  --shadow-glow: 0 0 40px rgba(64, 158, 255, 0.12);
  --shadow-card: 0 24px 56px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1340px;
  --container-wide: 1520px;
  --font-sans: "Inter", "MiSans", "Alibaba PuHuiTi 3.0", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "SFMono-Regular", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(64, 158, 255, 0.06), transparent 24%),
    radial-gradient(circle at 86% 6%, rgba(64, 158, 255, 0.04), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.02), transparent 40%),
    linear-gradient(180deg, #fafbfc 0%, var(--bg-page) 40%, var(--bg-page-deep) 100%);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(64, 158, 255, 0.04) 1px, transparent 0),
    radial-gradient(circle at 4px 4px, rgba(0, 0, 0, 0.012) 1px, transparent 0);
  background-size: 40px 40px, 28px 28px;
  mix-blend-mode: overlay;
}

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

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

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

[data-reveal] {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(250, 251, 252, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-secondary);
  font-family: var(--font-display);
  transition: none;
}

.brand-mark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-family: var(--font-display);
  transition: color 0.25s ease;
}

.brand:hover .brand-mark {
  color: var(--accent);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: 10px;
}

.nav-links,
.nav-actions {
  gap: 4px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    top 0.22s ease,
    transform 0.22s ease,
    opacity 0.18s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.header-shell.is-nav-open .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.header-shell.is-nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.header-shell.is-nav-open .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-link:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid rgba(64, 158, 255, 0.4);
  outline-offset: 3px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
  transform: none;
}

.btn.is-disabled::before,
.btn[aria-disabled="true"]::before {
  display: none;
}

.btn.is-disabled:hover,
.btn[aria-disabled="true"]:hover {
  box-shadow: none;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
  color: #fff;
  box-shadow: 
    0 12px 28px rgba(64, 158, 255, 0.2),
    0 0 0 1px rgba(64, 158, 255, 0.15) inset;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 
    0 16px 40px rgba(64, 158, 255, 0.28),
    0 0 20px rgba(64, 158, 255, 0.15),
    0 0 0 1px rgba(64, 158, 255, 0.2) inset;
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: 
    0 12px 28px rgba(64, 158, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  min-height: 40px;
  padding: 0 14px;
  box-shadow: none;
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.btn-inline {
  min-height: 40px;
  padding: 0 16px;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-large {
  min-height: 52px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}

/* ===== Section Shell ===== */

.section {
  padding: 96px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading--tight {
  max-width: 600px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-summary {
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.section-boundary {
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-tertiary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  border-left: 3px solid var(--accent);
}

.eyebrow,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* ===== Hero ===== */

.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.08em;
  text-wrap: balance;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  color: var(--text-secondary);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-title span:nth-child(2) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.1em;
}

.hero-title span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.hero-summary {
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

/* ---- Hero Stage ---- */

.hero-stage {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 28px 64px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.94));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-stage::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: 20px;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.1), transparent 72%);
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64, 158, 255, 0.2), transparent);
  pointer-events: none;
}

.hero-stage__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-stage__top h2 {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Hero Board ---- */

.hero-board {
  display: grid;
  grid-template-columns: 1fr 70px 1.2fr;
  gap: 16px;
  align-items: stretch;
}

.hero-surface {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-surface:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.06),
    0 0 20px rgba(64, 158, 255, 0.08);
}

.hero-surface--desktop {
  background: #1d1e1f;
}

.hero-surface--wechat {
  background: #f6f6f6;
}

/* ---- Terminal Window ---- */

.desktop-window {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1d1e1f;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #2f3133;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot--red { background: #ff5f56; }
.dot--yellow { background: #ffbd2e; }
.dot--green { background: #27c93f; }

.window-title {
  font-size: 11px;
  color: #8b8d90;
  font-family: var(--font-mono);
}

.window-content {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}

.terminal-line {
  display: flex;
  gap: 8px;
}

.terminal-prompt {
  color: #8b8d90;
}

.terminal-input {
  color: #e7e9ea;
}

.terminal-output {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
}

.output-label {
  color: #8b8d90;
}

.output-chip {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.chip--codex {
  background: rgba(64, 158, 255, 0.2);
  color: #409eff;
}

.chip--claude {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

.output-action {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(64, 158, 255, 0.1);
  color: #8b8d90;
  font-size: 11px;
}

.loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #409eff;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cursor {
  color: #409eff;
  animation: blink 1s ease-in-out infinite;
}

/* ---- WeChat Phone Frame ---- */

.phone-frame {
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #1d1e1f;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 8px;
  background: #07c160;
}

.status-time {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-mono);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-icons svg {
  width: 18px;
  height: 18px;
}

.wechat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #07c160;
}

.back-icon,
.more-icon {
  width: 22px;
  height: 22px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.contact-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.contact-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  flex: 1;
  background: #e5eaf0;
}

.chat-date {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 4px 0;
}

.message {
  display: flex;
  gap: 8px;
}

.message--user {
  flex-direction: row-reverse;
}

.avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.avatar svg {
  width: 100%;
  height: 100%;
}

.message-content {
  max-width: 70%;
}

.message-bubble {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-all;
}

.message--user .message-bubble {
  background: #07c160;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message--bot .message-bubble {
  background: #fff;
  color: #1d1e1f;
  border-bottom-left-radius: 4px;
}

.typing-indicator {
  width: 48px;
  height: 20px;
}

.wechat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f6f6f6;
  border-top: 1px solid #e5e5e5;
}

.input-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.send-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.input-box {
  flex: 1;
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.input-box .input-placeholder {
  font-size: 14px;
  color: #999;
}




.hero-surface__stack {
  display: grid;
  gap: 10px;
}

.surface-row {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.surface-row--quiet {
  background: rgba(255, 255, 255, 0.55);
}

.surface-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.surface-chips,
.surface-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.surface-chips span,
.surface-actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.surface-chips span:first-child {
  background: rgba(64, 158, 255, 0.12);
  color: var(--accent-strong);
}

.surface-row--quiet p {
  max-width: 30ch;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---- Hero Bridge ---- */

.hero-bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.hero-bridge::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(64, 158, 255, 0.15), var(--accent), rgba(64, 158, 255, 0.15));
}

.bridge-arrow {
  width: 20px;
  height: 20px;
  z-index: 1;
  animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---- Wechat ---- */

.wechat-thread {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.wechat-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px 16px 16px 6px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.wechat-bubble--reply {
  justify-self: end;
  border-radius: 16px 16px 6px 16px;
  background: rgba(64, 158, 255, 0.12);
  color: var(--accent-strong);
}

.wechat-note {
  font-size: 13px;
  color: var(--text-secondary);
}

.reply-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- Hero Footer ---- */

.hero-stage__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stage-download {
  display: grid;
  gap: 6px;
  flex: 1;
}

.stage-download strong {
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.stage-download p {
  color: var(--text-secondary);
  font-size: 14px;
}

.stage-package {
  display: grid;
  gap: 10px;
  flex-shrink: 0;
  max-width: 300px;
}

.stage-package--inline {
  align-items: end;
}

.hero-file {
  overflow-wrap: anywhere;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}

/* ===== Comparison ===== */

.section-comparison {
  padding-top: 32px;
}

.comparison-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  background: var(--surface-strong);
  align-items: stretch;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.comparison-card--plain {
  background: #f8f9fa;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-card--active {
  background: linear-gradient(135deg, rgba(64, 158, 255, 0.08), rgba(99, 102, 241, 0.04));
  border-left: 1px solid rgba(64, 158, 255, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.card-icon--plain {
  background: #e9ecef;
}

.card-icon--plain svg {
  width: 32px;
  height: 32px;
}

.card-icon--active {
  background: linear-gradient(135deg, rgba(64, 158, 255, 0.15), rgba(99, 102, 241, 0.1));
}

.card-icon--active svg {
  width: 36px;
  height: 36px;
}

.comparison-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  background: rgba(64, 158, 255, 0.04);
  border-left: 1px solid rgba(64, 158, 255, 0.1);
  border-right: 1px solid rgba(64, 158, 255, 0.1);
}

.comparison-divider svg {
  width: 24px;
  height: 24px;
}

.comparison-divider span {
  font-size: 10px;
  font-weight: 700;
  color: #409eff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
}

.card-status--limited {
  background: #f0f0f0;
  color: #8b8d90;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8b8d90;
}

.card-status--complete {
  background: linear-gradient(135deg, #409eff, #6366f1);
  color: white;
}

.card-status--complete svg {
  width: 14px;
  height: 14px;
}

.comparison-card h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.comparison-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.comparison-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-soft);
}

.list-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== Scenarios ===== */

.section-scenarios {
  padding-top: 88px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.scenario-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface-muted);
  flex-shrink: 0;
}

.scenario-icon svg {
  width: 36px;
  height: 36px;
}

.scenario-card--primary .scenario-icon {
  background: linear-gradient(135deg, rgba(64, 158, 255, 0.1), rgba(99, 102, 241, 0.1));
}

.scenario-card--wechat .scenario-icon {
  background: rgba(7, 193, 96, 0.08);
}

.scenario-card--config .scenario-icon {
  background: #f8f9fa;
}

.scenario-card--routing .scenario-icon {
  background: #f8f9fa;
}

.scenario-card h3 {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.scenario-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.scenario-card--primary {
  grid-column: 1 / span 6;
  grid-row: 1;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(64, 158, 255, 0.08), var(--surface-strong));
}

.scenario-card--config {
  grid-column: 7 / -1;
  grid-row: 1;
}

.scenario-card--wechat {
  grid-column: 1 / span 6;
  grid-row: 2;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(64, 158, 255, 0.06), var(--surface-strong));
}

.scenario-card--routing {
  grid-column: 7 / -1;
  grid-row: 2;
  background: var(--surface-muted);
}

.scenario-trail,
.routing-values,
.wechat-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-trail span,
.routing-values span,
.wechat-lines span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ===== Workflow ===== */

.section-workflow {
  padding-top: 96px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.workflow-rail {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 28px;
}

.workflow-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(64, 158, 255, 0.06));
}

.workflow-step {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.workflow-step h3 {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.workflow-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.workflow-step:nth-child(2) {
  background: linear-gradient(180deg, rgba(64, 158, 255, 0.06), var(--surface-strong));
}

.workflow-step:nth-child(3) {
  background: rgba(240, 243, 248, 0.92);
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 24px;
  width: 13px;
  height: 13px;
  border: 4px solid var(--accent);
  border-radius: 999px;
  background: var(--surface-strong);
}

/* ===== Downloads ===== */

.section-downloads {
  padding-top: 88px;
}

.download-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.download-copy {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.download-callout {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(64, 158, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 16px 40px rgba(64, 158, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(64, 158, 255, 0.08), rgba(255, 255, 255, 0.98));
  position: relative;
  overflow: hidden;
}

.download-callout::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.download-callout strong {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.download-note {
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-row {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.download-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-gradient-end));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.download-row:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 16px 40px rgba(64, 158, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(64, 158, 255, 0.15);
}

.download-row:hover::before {
  opacity: 1;
}

.download-row.is-recommended {
  border-color: rgba(64, 158, 255, 0.2);
  box-shadow: 0 16px 36px rgba(64, 158, 255, 0.08);
}

.download-row.is-unavailable {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

.download-row.is-unavailable::before {
  background: rgba(0, 0, 0, 0.22);
  opacity: 1;
}

.download-row.is-unavailable:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.download-row.is-unavailable .download-row__icon {
  filter: grayscale(1);
  opacity: 0.72;
}

.download-row.is-unavailable .download-row__tag {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
}

.download-row.is-unavailable .download-row__facts li::before {
  background: rgba(0, 0, 0, 0.28);
}

.download-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.download-row__identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.download-row__identity-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.download-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface-muted);
}

.download-row__icon svg {
  width: 28px;
  height: 28px;
}

.download-row--primary {
  border-color: rgba(64, 158, 255, 0.2);
  box-shadow: 0 16px 36px rgba(64, 158, 255, 0.08);
}

.download-row--primary::before {
  opacity: 1;
}

.download-row__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(64, 158, 255, 0.08);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-row__name {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.download-row__desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.download-row__meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px;
}

.download-row__facts {
  display: grid;
  gap: 6px;
}

.download-row__facts li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.download-row__facts code {
  overflow-wrap: anywhere;
}

.download-row__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.download-row__file {
  overflow-wrap: anywhere;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  max-width: 260px;
}

.download-row__button {
  flex-shrink: 0;
  width: auto !important;
  min-width: 130px;
  max-width: 160px;
  padding: 0 18px;
  flex: none;
  display: inline-flex;
}

/* ===== CTA ===== */

.section-cta {
  padding-top: 88px;
  padding-bottom: 104px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(64, 158, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 24px 64px rgba(64, 158, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(64, 158, 255, 0.1), rgba(255, 255, 255, 0.96));
  position: relative;
  overflow: hidden;
}

.cta-shell::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.cta-shell::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64, 158, 255, 0.3), transparent);
  pointer-events: none;
}

.cta-copy {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: center;
  flex-shrink: 0;
}

/* ===== Footer ===== */

.footer {
  padding: 0 0 34px;
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
}

/* ===== Decorative & Animation ===== */

/* -- Dot-grid pattern on hero background -- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(64, 158, 255, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

/* -- Floating blobs -- */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.35;
}

.hero-blob--1 {
  width: 580px;
  height: 580px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.14), rgba(0, 212, 255, 0.06), transparent 70%);
  animation: blob-drift 24s ease-in-out infinite;
}

.hero-blob--2 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.08), transparent 70%);
  animation: blob-drift 28s ease-in-out infinite reverse;
}

.hero-blob--3 {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
  animation: blob-drift 22s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(50px, -40px) scale(1.1) rotate(2deg); }
  50% { transform: translate(-30px, 30px) scale(0.9) rotate(-2deg); }
  75% { transform: translate(40px, 50px) scale(1.05) rotate(1deg); }
}

/* -- Subtle background texture on sections -- */
.section {
  position: relative;
  z-index: 0;
}

.section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.025) 1px, transparent 0);
  background-size: 28px 28px;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* -- Stagger reveal for workflow steps -- */
.workflow-rail[data-reveal] > .workflow-step {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-rail[data-reveal].is-visible > .workflow-step {
  opacity: 1;
  transform: translateY(0);
}

.workflow-rail[data-reveal].is-visible > .workflow-step:nth-child(1) { transition-delay: 0s; }
.workflow-rail[data-reveal].is-visible > .workflow-step:nth-child(2) { transition-delay: 0.1s; }
.workflow-rail[data-reveal].is-visible > .workflow-step:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .workflow-rail[data-reveal] > .workflow-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -- Card lift + glow on hover -- */
.scenario-card {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: 
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.scenario-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(64, 158, 255, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(64, 158, 255, 0.1) inset;
  border-color: rgba(64, 158, 255, 0.2);
}

.scenario-card--primary:hover {
  box-shadow:
    0 24px 64px rgba(64, 158, 255, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(64, 158, 255, 0.15) inset;
  border-color: rgba(64, 158, 255, 0.28);
}

/* -- Bridge tag pulse -- */
.hero-bridge span {
  animation: bridge-pulse 3s ease-in-out infinite;
}

.hero-bridge span:nth-child(1) { animation-delay: 0s; }
.hero-bridge span:nth-child(2) { animation-delay: 0.7s; }
.hero-bridge span:nth-child(3) { animation-delay: 1.4s; }

@keyframes bridge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64, 158, 255, 0); }
  50% { box-shadow: 0 0 0 5px rgba(64, 158, 255, 0.06); }
}

/* -- Workflow step hover -- */
.workflow-step {
  transition: 
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.workflow-step:hover {
  transform: translateX(6px);
  box-shadow: 
    0 12px 32px rgba(64, 158, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(64, 158, 255, 0.15);
}

/* -- Comparison card hover -- */
.comparison-card {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.comparison-card--active:hover {
  box-shadow: 
    0 16px 48px rgba(64, 158, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
}

/* -- Shimmer on surface action tags -- */
.surface-actions span {
  position: relative;
  overflow: hidden;
}

.surface-actions span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  60% { background-position: 200% center; }
  100% { background-position: 200% center; }
}

/* -- Download callout subtle pulse -- */
.download-callout.is-recommended .download-row__tag {
  animation: tag-pulse 2.5s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ===== Scrollbar Styling ===== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(64, 158, 255, 0.3);
  border-radius: 999px;
  transition: background 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(64, 158, 255, 0.5);
}

/* ===== Selection Styling ===== */

::selection {
  background: rgba(64, 158, 255, 0.2);
  color: var(--ink);
}

/* ===== Focus Visible Enhancements ===== */

.nav-link:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid rgba(64, 158, 255, 0.5);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(64, 158, 255, 0.1);
}

/* ===== Decorative Corners ===== */

.hero-stage,
.download-callout,
.cta-shell {
  position: relative;
}

.hero-stage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64, 158, 255, 0.2), transparent);
  pointer-events: none;
}

/* ===== Numbered List Enhancements ===== */

.comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gradient-end));
  box-shadow: 0 0 8px rgba(64, 158, 255, 0.3);
}

.download-row__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gradient-end));
  box-shadow: 0 0 8px rgba(64, 158, 255, 0.3);
}

/* ===== Responsive ===== */

@media (max-width: 1180px) {
  .hero-grid,
  .workflow-layout,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .workflow-copy,
  .download-copy {
    position: static;
  }

  .hero-board {
    grid-template-columns: 1fr;
  }

  .hero-bridge {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
  }

  .hero-bridge::before {
    display: none;
  }

}

@media (max-width: 960px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    background: rgba(252, 252, 252, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .header-shell.is-nav-open .site-nav {
    display: grid;
    gap: 12px;
  }

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .nav-actions .btn {
    justify-content: center;
  }

  .comparison-band {
    grid-template-columns: 1fr;
  }

  .comparison-divider {
    display: none;
  }

  .comparison-card--plain {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .comparison-card--active {
    border-left: 0;
  }

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

  .scenario-card--primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .scenario-card--config {
    grid-column: 1 / span 3;
    grid-row: auto;
  }

  .scenario-card--wechat {
    grid-column: 4 / span 3;
    grid-row: auto;
  }

  .scenario-card--routing {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .cta-shell {
    flex-direction: column;
    text-align: center;
  }

  .cta-copy {
    align-items: center;
  }

  .download-row__top,
  .download-row__meta,
  .footer-shell {
    flex-direction: column;
  }

  .download-row__button {
    width: 100%;
  }

  .hero-stage__footer {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero-summary,
  .section-summary {
    font-size: 15px;
  }

  .hero-stage,
  .scenario-card,
  .workflow-step,
  .routing-shell,
  .download-callout,
  .download-row,
  .cta-shell {
    padding: 20px;
    border-radius: 20px;
  }

  .hero-stage__top {
    flex-direction: column;
  }

  .hero-stage__top h2,
  .hero-surface__head strong,
  .wechat-title {
    font-size: 20px;
  }

  .wechat-icon {
    width: 22px;
    height: 22px;
  }

  .lobster-icon {
    width: 16px;
    height: 16px;
  }

  .hero-surface {
    padding: 16px;
    border-radius: 16px;
  }

  .stage-download strong {
    font-size: 18px;
  }

  .stage-package--inline .hero-file {
    display: none;
  }

  .comparison-list {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    padding: 22px;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .scenario-card--config,
  .scenario-card--wechat,
  .scenario-card--routing {
    grid-column: auto;
  }

  .scenario-card {
    min-height: auto;
  }

  .scenario-card--primary {
    min-height: 220px;
  }

  .workflow-rail {
    padding-left: 22px;
  }

  .workflow-step::before {
    left: -21px;
  }

  .routing-values,
  .scenario-trail,
  .wechat-lines {
    gap: 6px;
  }

  .cta-shell {
    padding: 24px;
  }

  .footer-nav {
    gap: 14px;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-shell {
    min-height: 60px;
  }

  .brand-mark {
    font-size: 18px;
  }

  .hero-board {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .stage-package--inline,
  .btn-inline {
    width: 100%;
  }

  .download-row__file {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
