/* ============================================================
   WebRPA 官网样式 — 现代深色 · 深蓝品牌辉光
   ============================================================ */
:root {
  --brand-300: #93b4fd;
  --brand-400: #6090fb;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --teal: #14b8a6;
  --sky: #38bdf8;

  --bg: #060a16;
  --bg-2: #0a1024;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-strong: rgba(255, 255, 255, 0.18);

  --text: #e8edf9;
  --text-2: #aab4cf;
  --text-3: #6b779a;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1160px;

  --font-sans: 'Inter', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  --font-display: 'Sora', 'Inter', 'Noto Sans SC', system-ui, sans-serif;

  --shadow-glow: 0 20px 60px -20px rgba(37, 99, 235, 0.55);
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(120deg, var(--brand-400), var(--cyan));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; }

::selection { background: rgba(59, 130, 246, 0.32); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== 背景层 ===== */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.bg-glow--1 { width: 620px; height: 620px; top: -220px; left: -120px; background: radial-gradient(circle, #2563eb, transparent 65%); }
.bg-glow--2 { width: 560px; height: 560px; top: 240px; right: -160px; background: radial-gradient(circle, #6d28d9, transparent 65%); opacity: 0.4; }
.bg-glow--3 { width: 680px; height: 680px; bottom: -300px; left: 40%; background: radial-gradient(circle, #0891b2, transparent 65%); opacity: 0.3; }
.bg-noise {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== 导航 ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .3s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav.scrolled {
  background: rgba(6, 10, 22, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.nav__logo { border-radius: 8px; }
.nav__links { display: flex; gap: 28px; margin-left: 8px; flex: 1; }
.nav__links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; position: relative; transition: color .2s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 0 24px;
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease);
  background: rgba(6, 10, 22, 0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--stroke);
}
.nav__mobile a { padding: 12px 0; color: var(--text-2); border-bottom: 1px solid var(--stroke); }
.nav__mobile.open { max-height: min(85vh, 680px); overflow-y: auto; padding: 8px 24px 20px; }
.nav__mobile .btn { margin-top: 12px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; line-height: 1; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { fill: currentColor; }
.btn--primary { background: linear-gradient(120deg, var(--brand-600), var(--brand-500)); color: #fff; box-shadow: 0 8px 24px -10px rgba(37,99,235,0.8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(37,99,235,0.95); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--stroke); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--stroke-strong); transform: translateY(-2px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Hero ===== */
.hero { padding: 148px 0 70px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--brand-300); background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.28);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; transition: .25s var(--ease);
}
.pill:hover { background: rgba(59,130,246,0.18); transform: translateY(-1px); }
.pill svg { fill: currentColor; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulse 2s infinite; }
.hero__title { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero__sub strong { color: var(--text); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__trust { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 13.5px; font-weight: 500; flex-wrap: wrap; }
.hero__trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); opacity: .6; }

/* 产品 Mock */
.hero__visual { position: relative; }
.mock {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(20,28,52,0.9), rgba(10,16,36,0.92));
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-glow);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
  transition: transform .5s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--stroke); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4566; }
.mock__dot:nth-child(1) { background: #ff5f57; }
.mock__dot:nth-child(2) { background: #febc2e; }
.mock__dot:nth-child(3) { background: #28c840; }
.mock__title { margin-left: 10px; font-size: 12.5px; color: var(--text-3); }
.mock__body { display: grid; grid-template-columns: 116px 1fr; min-height: 300px; }
.mock__rail { padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--stroke); background: rgba(0,0,0,0.15); }
.mock__chip { font-size: 11.5px; color: var(--text-2); background: var(--surface); border: 1px solid var(--stroke); border-radius: 8px; padding: 7px 9px; transition: .2s; }
.mock__chip:hover { background: var(--surface-2); color: var(--text); transform: translateX(2px); }
.mock__canvas { position: relative; padding: 14px;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 18px 18px; }
.mock__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock__wires path { fill: none; stroke: rgba(96,144,251,0.55); stroke-width: 2; stroke-dasharray: 5 4; animation: dash 1.2s linear infinite; }
.node {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #fff; padding: 9px 13px; border-radius: 10px;
  background: rgba(20,28,52,0.92); border: 1px solid var(--stroke-strong);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.7); backdrop-filter: blur(4px);
}
.node__io { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.node--blue { color: var(--brand-400); border-color: rgba(96,144,251,0.5); }
.node--indigo { color: var(--indigo); border-color: rgba(99,102,241,0.5); }
.node--cyan { color: var(--cyan); border-color: rgba(34,211,238,0.5); }
.node--violet { color: var(--violet); border-color: rgba(139,92,246,0.5); }
.node__cursor {
  position: absolute; width: 16px; height: 16px; left: 60px; top: 60px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='white' stroke='black' stroke-width='1' d='M5 2l14 9-6 1 4 7-3 1-4-7-5 4z'/%3E%3C/svg%3E") no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  animation: cursorMove 6s var(--ease) infinite;
}
.hero__float {
  position: absolute; font-size: 12.5px; font-weight: 600; color: var(--text);
  background: rgba(10,16,36,0.85); border: 1px solid var(--stroke-strong); border-radius: 999px;
  padding: 8px 14px; backdrop-filter: blur(8px); box-shadow: var(--shadow-card);
}
.hero__float::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.hero__float--a { top: 8%; left: -22px; animation: float 5s ease-in-out infinite; }
.hero__float--a::before { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.hero__float--b { bottom: 10%; right: -18px; animation: float 6s ease-in-out infinite reverse; }
.hero__float--b::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ===== 数据统计 ===== */
.stats { padding: 28px 0 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke); transition: .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.4); background: var(--surface-2); }
.stat__num { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 10px; color: var(--text-2); font-size: 14px; }

/* ===== 通用 section ===== */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-300); margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section__desc { margin-top: 16px; color: var(--text-2); font-size: 17px; }

/* ===== 核心特性卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(96,144,251,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff; transition: transform .3s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg, .card__icon .ic { width: 26px; height: 26px; }
.ic { display: inline-block; vertical-align: middle; }
svg.ic { fill: none; stroke: currentColor; }
.ic-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.ic-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.ic-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ic-emerald { background: linear-gradient(135deg, #059669, #10b981); }
.ic-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.ic-rose { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.ic-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.ic-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.ic-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.ic-orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.ic-fuchsia { background: linear-gradient(135deg, #a21caf, #e879f9); }
.ic-green { background: linear-gradient(135deg, #16a34a, #4ade80); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 14.5px; }

/* ===== AI 小助手 ===== */
.assistant__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.assistant .section__head { text-align: left; margin: 0; }
.assistant .section__title, .assistant .section__desc { text-align: left; }
.checklist { list-style: none; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; position: relative;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.45); }
.check::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px;
  border: solid var(--emerald); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 聊天演示 */
.chat {
  border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, rgba(20,28,52,0.9), rgba(10,16,36,0.94));
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-glow);
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,0.03); font-weight: 600; font-size: 14.5px; }
.chat__head img { border-radius: 7px; }
.chat__status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.chat__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.chat__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(8px); }
.msg.show { opacity: 1; transform: translateY(0); transition: .4s var(--ease); }
.msg code { background: rgba(255,255,255,0.1); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.msg--user { align-self: flex-end; background: linear-gradient(120deg, var(--brand-600), var(--brand-500)); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--text); border-bottom-left-radius: 4px; }
.msg--warn { border-color: rgba(245,158,11,0.4); color: #fcd9a3; }
.msg--ok { border-color: rgba(16,185,129,0.4); color: #b6f0d6; }
.chat__type { padding: 0 18px 18px; display: flex; gap: 5px; }
.chat__type span { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); animation: blink 1.4s infinite; }
.chat__type span:nth-child(2) { animation-delay: .2s; }
.chat__type span:nth-child(3) { animation-delay: .4s; }
.chat__type.hide { display: none; }

/* ===== 模块生态 ===== */
.marquee { position: relative; display: flex; gap: 12px; overflow: hidden; padding: 6px 0; margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; flex: none; animation: scrollX 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.tag { flex: none; font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--stroke); }
.modgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.modcat { padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; gap: 7px; transition: .3s var(--ease); }
.modcat:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.4); background: var(--surface-2); }
.modcat b { font-size: 16px; font-weight: 700; }
.modcat span { color: var(--text-3); font-size: 13px; }

/* ===== 工作方式 ===== */
.steps { display: flex; align-items: stretch; gap: 18px; justify-content: center; }
.step { flex: 1; max-width: 320px; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke); transition: .3s var(--ease); }
.step:hover { transform: translateY(-5px); border-color: rgba(59,130,246,0.4); }
.step__no { font-size: 40px; font-weight: 900; line-height: 1; margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step__arrow { align-self: center; color: var(--brand-400); font-size: 28px; font-weight: 700; }

/* ===== 技术栈 ===== */
.tech .section__head { margin-bottom: 40px; }
.techrow { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.techbadge { display: flex; flex-direction: column; gap: 3px; align-items: center; padding: 18px 30px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); transition: .3s var(--ease); }
.techbadge:hover { transform: translateY(-4px) scale(1.03); border-color: rgba(59,130,246,0.4); background: var(--surface-2); }
.techbadge b { font-size: 17px; font-weight: 700; }
.techbadge span { font-size: 12.5px; color: var(--text-3); }

/* ===== 授权 ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--stroke); transition: .3s var(--ease); }
.plan .btn { margin-top: auto; }
.plan:hover { transform: translateY(-5px); border-color: var(--stroke-strong); }
.plan--featured { background: linear-gradient(180deg, rgba(37,99,235,0.14), rgba(255,255,255,0.04));
  border-color: rgba(59,130,246,0.5); box-shadow: var(--shadow-glow); }
.plan__ribbon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(120deg, var(--brand-600), var(--brand-500)); padding: 5px 12px; border-radius: 999px; }
.plan__name { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.plan__price { font-size: 38px; font-weight: 900; margin-bottom: 22px; }
.plan__price span { font-size: 15px; font-weight: 500; color: var(--text-3); }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.plan__list li { display: flex; align-items: center; gap: 11px; color: var(--text-2); font-size: 14.5px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; position: relative; width: 18px; height: 18px; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; background: var(--brand-400); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__plus::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.faq__item[open] summary { color: var(--brand-300); }

/* ===== CTA ===== */
.cta__box { position: relative; text-align: center; padding: 64px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(37,99,235,0.16), rgba(13,148,136,0.10));
  border: 1px solid rgba(59,130,246,0.32); overflow: hidden; }
.cta__glow { position: absolute; width: 500px; height: 500px; top: -250px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59,130,246,0.5), transparent 60%); filter: blur(40px); }
.cta__box h2 { position: relative; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta__box > p { position: relative; color: var(--text-2); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta__actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__box > p.cta__hint { position: relative; margin: 40px auto 0; text-align: center; color: var(--text-3); font-size: 14px; letter-spacing: 0.04em; }
.cta__link { color: var(--brand-300); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.cta__link:hover { color: var(--cyan); }
.cta__notice { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 26px auto 0;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; color: var(--text-2);
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.28); transition: .25s var(--ease); }
.cta__notice:hover { background: rgba(34,211,238,0.14); border-color: rgba(34,211,238,0.5); transform: translateY(-2px); }
.cta__notice strong { color: var(--cyan); font-weight: 600; }
.cta__notice .ic:first-child { flex: none; color: var(--cyan); }
.cta__notice .ic:last-child { flex: none; opacity: .7; }

/* ===== QQ 交流群 ===== */
.community__box { position: relative; overflow: hidden; padding: 56px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(37,99,235,0.14), rgba(34,211,238,0.08));
  border: 1px solid rgba(59,130,246,0.30); text-align: center; }
.community__glow { position: absolute; width: 460px; height: 460px; top: -240px; right: -80px;
  background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 60%); filter: blur(40px); }
.community__main { position: relative; }
.community .section__desc { margin-bottom: 22px; }
.community__hint { display: inline-flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 28px;
  padding: 13px 20px; border-radius: 999px; font-size: 14.5px; color: var(--text-2);
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.28); text-align: left; }
.community__hint .ic { flex: none; color: var(--cyan); }
.community__hint strong { color: var(--text); font-weight: 600; }
.community__actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.community__dev { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--stroke); }
.community__dev-label { font-size: 13.5px; color: var(--text-3); }
.community__dev-qq { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--text); letter-spacing: 0.04em;
  -webkit-user-select: all; user-select: all; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--stroke); padding: 60px 0 30px; margin-top: 40px; background: rgba(0,0,0,0.2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { color: var(--text-3); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer__col a, .footer__muted { display: block; color: var(--text-3); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--brand-300); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--stroke); }
.footer__bottom p { color: var(--text-3); font-size: 13px; }
.footer__disclaimer { flex-basis: 100%; max-width: 760px; margin: 0 auto; text-align: center; opacity: .8; }

/* ===== 回到顶部 ===== */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; cursor: pointer; border: 1px solid var(--stroke-strong);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); box-shadow: 0 8px 24px -8px rgba(37,99,235,0.8);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: .3s var(--ease); }
.totop.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
.totop svg { fill: currentColor; }

/* ===== 滚动揭示 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== 关键帧 ===== */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6); } 70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes scrollX { to { transform: translateX(calc(-100% - 12px)); } }
@keyframes blink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes cursorMove {
  0% { left: 60px; top: 60px; } 20% { left: 120px; top: 120px; }
  40% { left: 120px; top: 120px; } 60% { left: 60px; top: 220px; }
  80% { left: 210px; top: 220px; } 100% { left: 60px; top: 60px; }
}

/* ===== 界面预览（截图展示） ===== */
.showcase .section__head { margin-bottom: 44px; }
.shot { max-width: 1000px; margin: 0 auto; }
.shot__frame {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(20,28,52,0.92), rgba(10,16,36,0.95));
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-glow);
}
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--stroke); }
.shot__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4566; }
.shot__dot:nth-child(1) { background: #ff5f57; }
.shot__dot:nth-child(2) { background: #febc2e; }
.shot__dot:nth-child(3) { background: #28c840; }
.shot__url { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto; font-size: 12.5px; color: var(--text-3);
  background: rgba(0,0,0,0.25); border: 1px solid var(--stroke); border-radius: 999px; padding: 5px 16px; }
.shot__url .ic { color: var(--emerald); }
.shot__stage { position: relative; aspect-ratio: 2229 / 1202; background: #060a16; }
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.shot__img.is-active { opacity: 1; transform: scale(1); }
.shot__thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 18px; }
.shot__thumb { padding: 0; cursor: pointer; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10;
  background: var(--surface); border: 2px solid var(--stroke); transition: .25s var(--ease); }
.shot__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: .55; transition: opacity .25s; }
.shot__thumb:hover { transform: translateY(-3px); border-color: var(--stroke-strong); }
.shot__thumb:hover img { opacity: .85; }
.shot__thumb.is-active { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.shot__thumb.is-active img { opacity: 1; }

/* ===== 排版精修 ===== */
.hero__title { line-height: 1.08; }
.hero__sub { line-height: 1.75; }
.section__desc { line-height: 1.7; max-width: 600px; margin-left: auto; margin-right: auto; }
.card h3, .modcat b, .step h3 { font-family: var(--font-display); }
.card p, .modcat span { line-height: 1.65; }
.eyebrow { letter-spacing: 0.14em; }

/* Hero 高亮文字流光 */
.grad-text--anim {
  background: linear-gradient(110deg, var(--brand-400), var(--cyan), var(--brand-400));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* 页脚 ICP */
.footer__icp a { color: var(--text-3); font-size: 13px; transition: color .2s; }
.footer__icp a:hover { color: var(--brand-300); }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; }
  .assistant__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .modgrid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step__arrow { transform: rotate(90deg); }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 50px; }
  .footer__bottom { flex-direction: column; }
  .shot__thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .modgrid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 18px; }
  .hero__float { display: none; }
}

/* ===== 减少动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .mock { transform: none; }
}
