/* ============================================================
   PaperGuide · Dashboard CSS — 全面改版
   ============================================================ */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --sidebar: #0f1219;
  --sidebar-hover: #1a1f2e;
  --sidebar-muted: #9ca3af;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #eef2ff;
  --danger: #dc2626;
  --success: #059669;
  --warning: #f59e0b;
  --radius: 12px;
  --font: "Inter", ui-sans-serif, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 4px 12px -4px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 12px 32px -8px rgba(15,23,42,0.10);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.12), 0 24px 48px -12px rgba(15,23,42,0.14);
  --shadow-xl: 0 16px 48px rgba(15,23,42,0.16), 0 32px 64px -16px rgba(15,23,42,0.18);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: grid; place-items: center; color: #fff; font-size: 0.75rem; font-weight: 800;
}

/* ---- Landing Nav ---- */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
.landing-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.5rem;
}
.landing-nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-nav-ghost {
  padding: 0.45rem 1rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; color: var(--text); transition: all 0.15s;
}
.btn-nav-ghost:hover { background: var(--bg); border-color: #c7cad1; }
.btn-nav-primary {
  padding: 0.45rem 1rem; border-radius: 8px; border: none;
  background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.btn-nav-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden; padding: 8rem 1.5rem 4rem; text-align: center;
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 40%, #e8f0fe 100%);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79,70,229,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124,58,237,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(59,130,246,0.05) 0%, transparent 50%);
}
.hero-content { position: relative; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 999px;
  background: rgba(79,70,229,0.08); color: var(--accent);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
  border: 1px solid rgba(79,70,229,0.12);
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1.25rem; color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 50%, #3b82f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7;
  color: var(--muted); margin: 0 0 2rem; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-hero-primary {
  padding: 0.85rem 2rem; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(79,70,229,0.35);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.4); }
.btn-hero-secondary {
  padding: 0.85rem 2rem; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.btn-hero-secondary:hover { border-color: #c7cad1; background: var(--bg); }
.hero-stats { display: flex; justify-content: center; align-items: center; gap: 2rem; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); }
.hero-stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero Mockup */
.hero-visual { position: relative; max-width: 900px; margin: 3rem auto 0; }
.mockup-browser {
  background: var(--surface); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
  transform: rotateX(4deg) scale(0.95); transition: transform 0.4s ease;
  max-width: 800px; margin: 0 auto;
}
.mockup-browser:hover { transform: rotateX(0deg) scale(1); }
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0.75rem 1rem; background: #f1f5f9; border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot--red { background: #f87171; }
.mockup-dot--yellow { background: #fbbf24; }
.mockup-dot--green { background: #4ade80; }
.mockup-url {
  flex: 1; text-align: center; font-size: 0.7rem; color: var(--muted);
  background: var(--surface); padding: 0.3rem 0.75rem; border-radius: 6px; margin-left: 0.5rem;
}
.mockup-body { display: flex; min-height: 280px; }
.mockup-sidebar {
  width: 160px; background: var(--sidebar); padding: 0.75rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.mockup-sidebar-item { height: 10px; border-radius: 4px; background: #1f2937; }
.mockup-sidebar-item.mockup-active { background: var(--accent); }
.mockup-content { flex: 1; padding: 1rem; background: var(--bg); display: flex; flex-direction: column; gap: 0.75rem; }
.mockup-card { background: var(--surface); border-radius: 8px; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mockup-line { height: 8px; border-radius: 4px; background: #e2e8f0; }
.mockup-line--short { width: 60%; }
.mockup-line--medium { width: 80%; }
.mockup-compare { display: flex; gap: 0.5rem; }
.mockup-col { flex: 1; background: var(--surface); border-radius: 8px; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mockup-bar-chart { height: 16px; border-radius: 4px; }
.mockup-bar-1 { background: linear-gradient(90deg, var(--accent), #7c3aed); width: 80%; }
.mockup-bar-2 { background: linear-gradient(90deg, #3b82f6, #06b6d4); width: 55%; }
.mockup-bar-3 { background: linear-gradient(90deg, #f59e0b, #ef4444); width: 65%; }
.mockup-bar-4 { background: linear-gradient(90deg, #10b981, #3b82f6); width: 45%; }

/* ---- Sections ---- */
.section { padding: 5rem 1.5rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--text);
}
.section-desc { font-size: 1rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Features */
.features { background: var(--surface); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  padding: 1.75rem; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); transition: all 0.25s; cursor: default;
}
.feature-card:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem;
}
.feature-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text); }
.feature-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* How it works */
.how-it-works { background: linear-gradient(180deg, var(--bg) 0%, #f0f4ff 100%); }
.steps { display: flex; align-items: center; justify-content: center; max-width: 900px; margin: 0 auto; gap: 0; flex-wrap: wrap; }
.step { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border-radius: 16px; flex: 1; min-width: 220px; max-width: 280px; }
.step-num {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-size: 1.1rem; font-weight: 800; display: grid; place-items: center;
}
.step-title { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--text); }
.step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin: 0; }
.step-connector { color: var(--accent); opacity: 0.4; flex-shrink: 0; }
@media (max-width: 768px) {
  .steps { flex-direction: column; align-items: stretch; }
  .step-connector { transform: rotate(90deg); align-self: center; }
}

/* Pricing */
.pricing { background: var(--surface); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 960px; margin: 0 auto; align-items: start;
}
.pricing-card {
  position: relative; padding: 2rem 1.5rem; border-radius: 16px;
  border: 2px solid var(--border); background: var(--surface);
  text-align: center; transition: all 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--surface) 40%);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(79,70,229,0.1);
}
.pricing-card--featured:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(79,70,229,0.15); }
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.pricing-credits { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 0.35rem 0; }
.pricing-unit { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  text-align: left; display: flex; flex-direction: column; gap: 0.5rem;
}
.pricing-features li { font-size: 0.85rem; color: var(--text); }
.btn-pricing {
  width: 100%; padding: 0.7rem 1.25rem; border-radius: 10px; border: 2px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.btn-pricing:hover { border-color: var(--accent); color: var(--accent); }
.btn-pricing--featured { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-pricing--featured:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

/* Footer */
.landing-footer { padding: 2rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg); }
.landing-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.landing-footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; }
.landing-footer-copy { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ============================================================
   工作台 · App Shell（已有，保持不变）
   ============================================================ */

.app-header {
  height: 52px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: space-between; padding: 0 1rem 0 0.75rem;
  background: var(--surface); border-bottom: 1px solid var(--border); z-index: 20;
}
.user-area { display: flex; align-items: center; gap: 0.5rem; position: relative; }
.credit-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.credit-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
.user-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.35rem 0.35rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  cursor: pointer; font-size: 0.85rem;
}
.user-chip:hover { border-color: #c7cad1; }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-weight: 700; font-size: 0.8rem;
  display: grid; place-items: center;
}
.user-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 160px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  padding: 0.35rem; z-index: 50;
}
.user-menu.open { display: block; }
.user-menu button {
  width: 100%; text-align: left; border: none; background: none;
  padding: 0.5rem 0.65rem; border-radius: 6px;
  font-size: 0.85rem; cursor: pointer; color: var(--text);
}
.user-menu button:hover { background: var(--bg); }

.app-shell {
  flex: 1; display: grid;
  grid-template-columns: 268px minmax(0, 1fr) minmax(380px, 42vw);
  min-height: 0;
}
@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: 1fr 42vh;
  }
  .preview-column { grid-column: 1 / -1; border-left: none !important; border-top: 1px solid var(--border); }
}

/* 侧边栏 */
.sidebar {
  background: var(--sidebar); color: #e5e7eb;
  display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #1f2937;
}
.sidebar-head { padding: 0.85rem; border-bottom: 1px solid #1f2937; }
.btn-new {
  width: 100%; padding: 0.55rem 0.75rem; border-radius: 10px; border: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.875rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn-new:hover { background: var(--accent-hover); }
.session-list { flex: 1; overflow: auto; padding: 0.5rem; }
.session-item {
  padding: 0.65rem 0.7rem; border-radius: 10px; cursor: pointer;
  margin-bottom: 4px; font-size: 0.82rem; line-height: 1.35;
  color: var(--sidebar-muted);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.35rem;
}
.session-item:hover { background: var(--sidebar-hover); color: #e5e7eb; }
.session-item.active { background: var(--sidebar-hover); color: #fff; box-shadow: inset 0 0 0 1px #374151; }
.session-title { flex: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.session-del { opacity: 0; border: none; background: none; color: #9ca3af; cursor: pointer; padding: 2px; font-size: 1rem; line-height: 1; }
.session-item:hover .session-del { opacity: 1; }
.session-del:hover { color: #fca5a5; }

.sidebar-foot { padding: 0.5rem 0.85rem 0.85rem; border-top: 1px solid #1f2937; display: flex; flex-direction: column; gap: 0.25rem; }
.btn-sidebar-action {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.75rem; border-radius: 8px; border: none;
  background: transparent; color: var(--sidebar-muted);
  font-size: 0.82rem; cursor: pointer; transition: all 0.15s; width: 100%; text-align: left;
}
.btn-sidebar-action:hover { background: var(--sidebar-hover); color: #e5e7eb; }

/* 工作台中间栏 */
.workspace-column {
  display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%);
  border-right: 1px solid var(--border);
}
.workspace-head {
  flex-shrink: 0; display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1rem 1.15rem 1rem; border-bottom: 1px solid rgba(148,163,184,0.35);
  background: rgba(255,255,255,0.72); backdrop-filter: blur(8px);
}
.workspace-head-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 4px 12px rgba(79,70,229,0.12);
}
.workspace-head-text { min-width: 0; }
.workspace-head-title { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.workspace-head-desc { margin: 0.35rem 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.panel-body-workspace {
  flex: 1; overflow: auto; padding: 1rem 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 0;
}

/* 工作流卡片 */
.workflow-card {
  background: var(--surface); border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-sm); overflow: hidden; flex-shrink: 0;
}
.workflow-card--form { flex-shrink: 0; }
.workflow-card--log { flex: 1; min-height: 160px; display: flex; flex-direction: column; }
.workflow-card--terminal { max-height: 300px; display: flex; flex-direction: column; flex-shrink: 0; }
.workflow-card-head {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9; background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.step-badge {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff; font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
}
.step-badge--soft { background: linear-gradient(135deg, #94a3b8, #64748b); }
.workflow-card-title { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text); }
.workflow-card-sub { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
.workflow-card-body { padding: 1rem; }
.workflow-card-foot { padding: 0 1rem 1rem; border-top: 1px dashed #e2e8f0; margin-top: 0; padding-top: 1rem; }

.field-block { margin-bottom: 1rem; }
.field-block:last-of-type { margin-bottom: 0; }
.field-label { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: #475569; margin-bottom: 0.45rem; }
.field-optional { font-weight: 500; color: #94a3b8; font-size: 0.72rem; }

.file-drop {
  display: block; cursor: pointer; position: relative; border-radius: 12px;
  border: 2px dashed #cbd5e1; background: #f8fafc;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.file-drop:hover, .file-drop:focus-within {
  border-color: #a5b4fc; background: #f5f7ff; box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.file-drop--active { border-color: var(--accent); background: #eef2ff; box-shadow: 0 0 0 3px rgba(79,70,229,0.18); }
.file-drop-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.file-drop-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.35rem 1rem; gap: 0.35rem;
}
.file-drop-icon { color: #818cf8; opacity: 0.9; }
.file-drop-title { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.file-drop-name {
  font-size: 0.78rem; color: var(--muted); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 0.5rem;
}

.field-textarea {
  width: 100%; padding: 0.65rem 0.75rem; border-radius: 10px; border: 1px solid #e2e8f0;
  font-family: inherit; font-size: 0.875rem; line-height: 1.55; resize: vertical;
  min-height: 88px; background: #fafafa; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field-textarea:hover { border-color: #cbd5e1; background: #fff; }
.field-textarea:focus { outline: none; border-color: #818cf8; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.field-textarea::placeholder { color: #94a3b8; }

.btn-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem; border-radius: 11px; border: none;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #7c3aed 100%);
  color: #fff; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
  transition: transform 0.12s, filter 0.12s, box-shadow 0.12s;
}
.btn-submit:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 6px 20px rgba(79,70,229,0.4), 0 1px 0 rgba(255,255,255,0.2) inset; }
.btn-submit:active:not(:disabled) { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn-submit-icon { flex-shrink: 0; opacity: 0.95; }

/* 阶段进度列表 */
.log-shell {
  flex: 1; overflow: auto; padding: 0.75rem 0.85rem 0.9rem; min-height: 120px; max-height: 220px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.log-line {
  position: relative; padding: 0.5rem 0.65rem 0.5rem 2.15rem; margin-bottom: 0.35rem;
  border-radius: 8px; font-size: 0.8125rem; line-height: 1.45; color: #64748b;
  background: #f8fafc; border: 1px solid transparent;
}
.log-line::before {
  content: ""; position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1;
}
.log-line.progress { color: #1e293b; background: #f0f4ff; border-color: rgba(129,140,248,0.35); }
.log-line.progress::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.log-line.error { color: #b91c1c; background: #fef2f2; border-color: rgba(248,113,113,0.4); }
.log-line.error::before { background: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }

/* 终端风格输出 */
.terminal-chrome {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); border-bottom: 1px solid #334155;
}
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 9px; height: 9px; border-radius: 50%; background: #475569; }
.terminal-dots i:nth-child(1) { background: #f87171; }
.terminal-dots i:nth-child(2) { background: #fbbf24; }
.terminal-dots i:nth-child(3) { background: #4ade80; }
.terminal-title { flex: 1; font-size: 0.72rem; font-weight: 600; color: #94a3b8; letter-spacing: 0.02em; }
.terminal-badge {
  font-size: 0.62rem; font-weight: 700; font-family: var(--mono); color: #a5b4fc;
  background: rgba(99,102,241,0.2); padding: 0.2rem 0.45rem; border-radius: 4px;
  border: 1px solid rgba(129,140,248,0.35);
}
.terminal-body {
  margin: 0; padding: 0.85rem 1rem; font-family: var(--mono); font-size: 0.75rem; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word; overflow: auto; flex: 1; min-height: 120px; max-height: 220px;
  color: #cbd5e1; background: #0c1222;
  background-image: linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 100% 1.5em; background-attachment: local;
}

.column-header {
  padding: 0.65rem 1rem; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}

.btn-primary {
  padding: 0.55rem 1rem; border-radius: 10px; border: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.875rem; cursor: pointer;
}
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ghost {
  padding: 0.45rem 0.75rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); font-size: 0.82rem; cursor: pointer;
}
.btn-ghost:hover { background: var(--bg); }

.preview-column { display: flex; flex-direction: column; min-height: 0; background: #eceef2; }
.preview-frame-wrap { flex: 1; min-height: 0; padding: 0.75rem; position: relative; }
#preview {
  width: 100%; height: 100%; min-height: 360px; border: none; border-radius: var(--radius);
  background: #fff; box-shadow: 0 4px 24px rgba(15,23,42,0.08);
}
.empty-preview-hint {
  height: 100%; min-height: 200px; display: grid; place-items: center;
  color: var(--muted); font-size: 0.9rem; text-align: center; padding: 1rem;
}

/* ============================================================
   登录弹窗 · Modal（已有 + 微调）
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,0.45); z-index: 100;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 14px; padding: 1.25rem;
  width: 100%; max-width: 360px; box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.modal h3 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.modal input {
  width: 100%; padding: 0.55rem 0.65rem; border-radius: 8px;
  border: 1px solid var(--border); margin-bottom: 0.75rem; font-size: 0.9rem;
}
.modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

.modal--auth { padding: 0; }
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); }
.modal-tab {
  flex: 1; padding: 0.75rem; border: none; background: none;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.modal-tab:hover { background: var(--bg); }
.modal-tab.active { color: var(--accent); background: var(--surface); border-bottom: 2px solid var(--accent); margin-bottom: -1px; }
.modal-form { padding: 1.25rem; }
.modal-form .field-block { margin-bottom: 0.85rem; }
.modal-form .field-label { display: block; font-size: 0.78rem; font-weight: 600; color: #475569; margin-bottom: 0.35rem; }
.modal-form .field-input {
  width: 100%; padding: 0.55rem 0.75rem; border-radius: 10px;
  border: 1px solid #e2e8f0; font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-form .field-input:hover { border-color: #cbd5e1; }
.modal-form .field-input:focus {
  outline: none; border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.modal-form .field-hint { display: block; font-size: 0.72rem; color: #94a3b8; margin-top: 0.25rem; }
.modal-form .modal-actions { margin-top: 1rem; display: flex; gap: 0.5rem; justify-content: flex-end; }

/* ============================================================
   个人中心 & 支付面板 · Panel Drawer
   ============================================================ */
.panel-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,0.35);
  display: flex; justify-content: flex-end;
  backdrop-filter: blur(2px);
}
.panel-drawer {
  width: 480px; max-width: 95vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  animation: slideInRight 0.3s ease;
  overflow: hidden;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.panel-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.panel-drawer-head h2 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.btn-panel-close {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: var(--bg); font-size: 1.25rem; cursor: pointer;
  display: grid; place-items: center; color: var(--muted);
  transition: all 0.15s;
}
.btn-panel-close:hover { background: #e5e7eb; color: var(--text); }
.panel-drawer-body { flex: 1; overflow: auto; padding: 1.25rem; }

/* 个人中心内容 */
.profile-section { margin-bottom: 1.5rem; }
.profile-section-title {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); margin: 0 0 0.75rem;
}
.profile-credit-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
  border-radius: 16px; padding: 1.5rem; text-align: center;
  box-shadow: 0 4px 16px rgba(245,158,11,0.2);
}
.profile-credit-label { font-size: 0.85rem; color: #92400e; font-weight: 600; }
.profile-credit-value { font-size: 3rem; font-weight: 900; color: #78350f; line-height: 1.2; }
.profile-credit-hint { font-size: 0.75rem; color: #a16207; }
.btn-recharge-big {
  margin-top: 1rem; padding: 0.65rem 1.5rem; border-radius: 10px; border: none;
  background: #92400e; color: #fff; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-recharge-big:hover { background: #78350f; transform: translateY(-1px); }

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.profile-stat-card {
  background: var(--bg); border-radius: 12px; padding: 1rem; text-align: center;
}
.profile-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.profile-stat-label { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; }

.profile-info { display: flex; flex-direction: column; gap: 0.5rem; }
.profile-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.profile-info-row:last-child { border-bottom: none; }
.profile-info-label { font-size: 0.85rem; color: var(--muted); }
.profile-info-value { font-size: 0.85rem; font-weight: 600; color: var(--text); }

.btn-logout {
  width: 100%; padding: 0.7rem; border-radius: 10px; border: 1px solid #fecaca;
  background: #fef2f2; color: var(--danger); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-logout:hover { background: #fee2e2; border-color: #fca5a5; }

/* 订单表格 */
.order-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.order-table th {
  text-align: left; padding: 0.6rem 0.5rem; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid var(--border); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.order-table td { padding: 0.6rem 0.5rem; border-bottom: 1px solid #f3f4f6; color: var(--text); }
.order-status {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
}
.order-status--paid { background: #ecfdf5; color: #059669; }
.order-status--pending { background: #fef3c7; color: #d97706; }
.order-status--failed { background: #fef2f2; color: #dc2626; }
.empty-state { text-align: center; padding: 2rem; color: var(--muted); font-size: 0.9rem; }

/* 支付面板内容 */
.payment-credit-summary {
  background: var(--bg); border-radius: 12px; padding: 1rem; text-align: center; margin-bottom: 1.25rem;
}
.payment-credit-label { font-size: 0.8rem; color: var(--muted); }
.payment-credit-value { font-size: 1.5rem; font-weight: 800; color: var(--text); }

.payment-packages { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.payment-package {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-radius: 12px; border: 2px solid var(--border);
  cursor: pointer; transition: all 0.2s; background: var(--surface);
}
.payment-package:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.payment-package.selected { border-color: var(--accent); background: var(--accent-light); }
.payment-package--featured { border-color: var(--accent); background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.05)); }
.payment-package-info { display: flex; flex-direction: column; }
.payment-package-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.payment-package-credits { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.payment-package-price { font-size: 1.25rem; font-weight: 800; color: var(--text); }

.payment-methods { margin-bottom: 1.25rem; }
.payment-methods-title { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.payment-method-options { display: flex; gap: 0.75rem; }
.payment-method {
  flex: 1; padding: 0.75rem; border-radius: 10px; border: 2px solid var(--border);
  background: var(--surface); cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9rem;
}
.payment-method:hover { border-color: rgba(79,70,229,0.3); }
.payment-method.selected { border-color: var(--accent); background: var(--accent-light); }
.payment-method-alipay { color: #1677ff; }
.payment-method-wechat { color: #07c160; }

.btn-pay {
  width: 100%; padding: 0.8rem; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(79,70,229,0.3); transition: all 0.2s;
}
.btn-pay:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,0.4); }
.btn-pay:disabled { opacity: 0.5; cursor: not-allowed; }

/* 个人中心补充样式 */
.profile-account { text-align: center; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-size: 1.5rem; font-weight: 700;
  display: grid; place-items: center;
}
.profile-name { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.profile-email { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }
.profile-stat-card--accent {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fbbf24;
}
.profile-stat-card--accent .profile-stat-value { color: #92400e; }
.profile-orders { margin-top: 0.5rem; }
.profile-orders-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.profile-orders-table th {
  text-align: left; padding: 0.5rem 0.4rem; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid var(--border); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.profile-orders-table td { padding: 0.5rem 0.4rem; border-bottom: 1px solid #f3f4f6; }
.profile-orders-table .order-no { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.order-status { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.status-paid, .order-status--paid { background: #ecfdf5; color: #059669; }
.status-pending, .order-status--pending { background: #fef3c7; color: #d97706; }

/* 支付面板补充样式 */
.payment-current {
  text-align: center; padding: 1rem; background: var(--bg); border-radius: 12px; margin-bottom: 1.25rem;
}
.payment-current-label { display: block; font-size: 0.8rem; color: var(--muted); }
.payment-current-value { display: block; font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1.3; }
.payment-current-hint { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; }
.payment-packages { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.payment-package {
  border: 2px solid var(--border); border-radius: 14px; padding: 1.25rem; cursor: pointer;
  transition: all 0.2s; position: relative;
}
.payment-package:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.payment-package--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.05));
}
.payment-popular-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff;
  font-size: 0.68rem; padding: 2px 12px; border-radius: 10px; font-weight: 600;
}
.payment-package-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.payment-package-credits { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.payment-package-price { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.payment-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.payment-section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 0.75rem; }

/* 着陆页 Hero */
.hero {
  position: relative; padding: 8rem 1.5rem 4rem;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 30%, #e0e7ff 60%, #dbeafe 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(79,70,229,0.1); color: var(--accent);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.15; margin: 0 0 1.25rem; letter-spacing: -0.03em; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: var(--muted); line-height: 1.6; max-width: 560px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-hero-primary {
  padding: 0.85rem 2rem; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(79,70,229,0.3); transition: all 0.2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.4); }
.btn-hero-secondary {
  padding: 0.85rem 2rem; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-hero-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats { display: flex; justify-content: center; align-items: center; gap: 2rem; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); }
.hero-stat-divider { width: 1px; height: 32px; background: var(--border); }

/* 通用 Section */
.section { padding: 4rem 1.5rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px;
  background: rgba(79,70,229,0.08); color: var(--accent);
  font-size: 0.78rem; font-weight: 600; margin-bottom: 0.75rem;
}
.section-title { font-size: 2rem; font-weight: 800; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.section-desc { font-size: 1rem; color: var(--muted); margin: 0; }

/* 功能卡片 */
.features { background: var(--surface); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--bg); border-radius: 16px; padding: 2rem 1.5rem;
  border: 1px solid var(--border); transition: all 0.25s;
}
.feature-card:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.25rem;
  display: grid; place-items: center;
}
.feature-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text); }
.feature-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* 使用流程 */
.how-it-works { background: var(--bg); }
.steps {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  max-width: 900px; margin: 0 auto; flex-wrap: wrap;
}
.step {
  display: flex; align-items: flex-start; gap: 1rem; flex: 1; min-width: 220px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-weight: 800; font-size: 1rem;
  display: grid; place-items: center;
}
.step-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--text); }
.step-desc { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.step-connector { color: var(--muted); opacity: 0.4; }

/* 定价 */
.pricing { background: var(--surface); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 960px; margin: 0 auto; align-items: start;
}
.pricing-card {
  background: var(--bg); border-radius: 16px; padding: 2rem 1.5rem;
  border: 2px solid var(--border); text-align: center; transition: all 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(79,70,229,0.03), var(--bg));
  box-shadow: 0 8px 32px rgba(79,70,229,0.12);
}
.pricing-card--featured:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(79,70,229,0.15); }
.pricing-popular {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff; font-size: 0.72rem; font-weight: 700; margin-bottom: 1rem;
}
.pricing-name { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.pricing-credits { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 0.35rem 0; }
.pricing-unit { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.pricing-features li { font-size: 0.85rem; color: var(--text); padding: 0.35rem 0; }
.btn-pricing {
  width: 100%; padding: 0.75rem; border-radius: 10px; border: 2px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-pricing:hover { border-color: var(--accent); color: var(--accent); }
.btn-pricing--featured {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.btn-pricing--featured:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* 页脚 */
.landing-footer { background: var(--sidebar); color: #e5e7eb; padding: 2rem 1.5rem; }
.landing-footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.landing-footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; font-weight: 700; }
.landing-footer-copy { font-size: 0.82rem; color: #9ca3af; margin: 0; }

/* 着陆页导航 */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.landing-nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-nav-ghost {
  padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); font-size: 0.875rem; cursor: pointer; transition: all 0.15s;
}
.btn-nav-ghost:hover { background: var(--bg); }
.btn-nav-primary {
  padding: 0.5rem 1rem; border-radius: 8px; border: none;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.875rem;
  cursor: pointer; transition: all 0.15s;
}
.btn-nav-primary:hover { background: var(--accent-hover); }

/* Hero 视觉效果 */
.hero-visual { position: relative; max-width: 900px; margin: 3rem auto 0; }
.hero-mockup {
  background: var(--surface); border-radius: 20px; padding: 1rem;
  box-shadow: 0 24px 64px rgba(15,23,42,0.12), 0 0 0 1px rgba(15,23,42,0.05);
}
.mockup-browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.mockup-bar {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.85rem;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot--red { background: #f87171; }
.mockup-dot--yellow { background: #fbbf24; }
.mockup-dot--green { background: #4ade80; }
.mockup-url {
  flex: 1; margin-left: 0.5rem; padding: 0.3rem 0.6rem; border-radius: 6px;
  background: var(--surface); font-size: 0.72rem; color: var(--muted);
  font-family: var(--mono);
}
.mockup-body { display: grid; grid-template-columns: 160px 1fr; min-height: 280px; }
.mockup-sidebar { padding: 0.75rem; border-right: 1px solid var(--border); background: var(--bg); }
.mockup-sidebar-item {
  height: 12px; border-radius: 6px; background: #e5e7eb; margin-bottom: 0.5rem;
}
.mockup-sidebar-item.mockup-active { background: var(--accent); opacity: 0.6; }
.mockup-content { padding: 1rem; }
.mockup-card {
  background: var(--bg); border-radius: 8px; padding: 0.75rem; margin-bottom: 0.75rem;
}
.mockup-line { height: 8px; border-radius: 4px; background: #e5e7eb; margin-bottom: 0.4rem; }
.mockup-line--short { width: 60%; }
.mockup-line--medium { width: 80%; }
.mockup-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mockup-col .mockup-line { width: 50%; }
.mockup-bar-chart { height: 24px; border-radius: 6px; margin-top: 0.5rem; }
.mockup-bar-1 { background: linear-gradient(90deg, #6366f1, #8b5cf6); width: 75%; }
.mockup-bar-2 { background: linear-gradient(90deg, #6366f1, #8b5cf6); width: 50%; }
.mockup-bar-3 { background: linear-gradient(90deg, #94a3b8, #cbd5e1); width: 60%; }
.mockup-bar-4 { background: linear-gradient(90deg, #94a3b8, #cbd5e1); width: 40%; }

/* 动画 */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.fade-in { animation: fadeIn 0.4s ease; }
.slide-up { animation: slideUp 0.5s ease; }

/* 响应式 */
@media (max-width: 768px) {
  .hero { padding: 7rem 1rem 3rem; }
  .hero-visual { display: none; }
  .section { padding: 3rem 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .hero-stats { gap: 1rem; }
  .hero-stat-num { font-size: 1rem; }
  .landing-nav-inner { padding: 0.6rem 1rem; }
  .steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); align-self: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions button { width: 100%; }
  .profile-stats { grid-template-columns: 1fr; }
}
