:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --sub: #64748b;
  --primary: #2f6fed;
  --primary-2: #285fd0;
  --soft: #eef4ff;
  --danger: #dc2626;
  --success: #059669;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(47,111,237,.08), transparent 20%), linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.topbar-inner { display:flex; align-items:center; justify-content:space-between; height: 72px; gap: 18px; }

.brand { display:flex; align-items:center; gap: 12px; }
.brand-icon { width: 44px; height: 44px; border-radius: 14px; background:#fff; box-shadow: 0 10px 24px rgba(47,111,237,.12); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.brand-icon img { width: 44px; height: 44px; }
.brand-title { font-weight: 700; font-size: 16px; }
.brand-sub { color: var(--sub); font-size: 12px; }

.nav { display:flex; gap: 24px; color: var(--sub); font-size: 14px; }
.nav a:hover { color: var(--text); }

.header-actions { display:flex; gap: 12px; align-items:center; }
.btn { display:inline-flex; align-items:center; justify-content:center; height: 44px; padding: 0 18px; border-radius: 14px; border:1px solid var(--line); background:#fff; color: var(--text); cursor:pointer; transition:.2s ease; }
.btn:hover { background:#f8fafc; }
.btn-primary { background: var(--primary); border-color: var(--primary); color:#fff; box-shadow: 0 14px 24px rgba(47,111,237,.22); }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: transparent; }

.hero { display:grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 56px 0 24px; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .nav { display:none; } }

.badge { display:inline-flex; padding: 6px 12px; border-radius:999px; border:1px solid #bfdbfe; background: rgba(255,255,255,.8); color:#1d4ed8; font-size:12px; font-weight:600; }
.hero h1 { margin: 20px 0 0; font-size: clamp(34px, 5vw, 62px); line-height:1.08; letter-spacing:-.03em; }
.hero p { margin: 22px 0 0; color: var(--sub); font-size: 18px; line-height: 1.8; max-width: 760px; }

.hero-card, .card { background: var(--card); border:1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); }
.hero-card { padding: 28px; }

.section { padding: 20px 0 24px; }
.section-head { margin-bottom: 24px; }
.section-kicker { color:#2563eb; font-size:14px; font-weight:600; }
.section-head h2 { margin: 10px 0 0; font-size: 34px; letter-spacing:-.03em; }
.section-head p { margin: 12px 0 0; color: var(--sub); line-height: 1.8; }

.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { padding: 26px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 12px 0 0; color: var(--sub); line-height: 1.8; }

.steps { display:grid; gap: 16px; }
.step { display:flex; gap:16px; padding: 16px; border:1px solid var(--line); border-radius: 24px; background:#f8fafc; }
.step-index { width:40px; height:40px; border-radius:999px; background:#eff6ff; color:#1d4ed8; display:flex; align-items:center; justify-content:center; font-weight:700; }

.workspace { display:grid; gap: 20px; padding: 28px 0 36px; }
.panel { background:#fff; border:1px solid var(--line); border-radius:28px; box-shadow:var(--shadow); padding:24px; }
.panel-head { display:flex; justify-content:space-between; gap:16px; align-items:end; margin-bottom:18px; }
.panel-title { font-size:22px; font-weight:700; }
.panel-desc { color: var(--sub); font-size: 14px; line-height: 1.7; margin-top:8px; }

.form-grid { display:grid; gap:18px; }
.form-row { display:grid; gap:18px; grid-template-columns: repeat(2, 1fr); }
.form-row-3 { display:grid; gap:18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

.field label { display:block; margin-bottom:8px; font-size:14px; font-weight:600; color:#334155; }
.field input, .field textarea, .field select { width:100%; border:1px solid var(--line); border-radius:18px; padding: 14px 16px; background:#fff; color:var(--text); outline:none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47,111,237,.10); }

.soft-box { background: var(--soft); border:1px solid #dbeafe; border-radius: 24px; padding: 16px 18px; }
.soft-title { font-weight:700; color:#1e3a8a; font-size:14px; }
.soft-desc { margin-top:6px; color:#1e40af; font-size:14px; line-height:1.7; }

.dropzone { border:1px dashed #cbd5e1; background:#f8fafc; border-radius:28px; padding: 18px; }
.helper { color: var(--sub); font-size: 14px; line-height: 1.7; }

.status-box { border:1px solid var(--line); background:#f8fafc; border-radius: 24px; padding: 18px; }
.status-pill { display:inline-flex; padding: 6px 12px; border-radius:999px; font-size:12px; font-weight:700; }
.status-processing { background:#fef3c7; color:#a16207; }
.status-success { background:#dcfce7; color:#166534; }
.status-failure { background:#fee2e2; color:#991b1b; }

.result-pre { background:#0f172a; color:#f8fafc; border-radius: 22px; padding: 16px; white-space: pre-wrap; overflow:auto; line-height:1.8; }
.notice-danger { background:#fef2f2; color:#b91c1c; border-radius: 18px; padding: 14px 16px; }
.notice-success { background:#ecfdf5; color:#047857; border-radius: 18px; padding: 14px 16px; }

.history-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 980px) { .history-grid { grid-template-columns: 1fr; } }
.history-card { border:1px solid var(--line); border-radius: 26px; background:#fff; padding: 18px; }
.history-meta { color: var(--sub); font-size: 13px; margin-top: 6px; }