/* ==========================================================================
   Vorbyn 官网 · 设计系统
   简约 / 大气 / 克制。颜色、间距、圆角、阴影全部走变量，方便二次换肤。
   ========================================================================== */

:root {
  --ink: #0d1526;
  --ink-2: #1a2740;
  --body: #44506a;
  --muted: #7c879f;
  --line: #e7eaf1;
  --line-soft: #f0f2f7;
  --paper: #ffffff;
  --paper-2: #f7f8fb;
  --paper-3: #fbfcfe;
  --brand: #1f55ff;
  --brand-dark: #1440d0;
  --brand-soft: #eaf0ff;
  --cyan: #17c9b0;
  --navy: #071229;
  --navy-2: #0d1e3d;
  --danger: #d5484b;
  --ok: #14946f;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 2px 10px rgba(16, 32, 66, .05);
  --shadow: 0 12px 34px rgba(16, 32, 66, .08);
  --shadow-l: 0 26px 70px rgba(12, 28, 62, .14);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --max: 1200px;
  --header-h: 76px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.wrap-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 76px 0; }
.section-tint { background: var(--paper-2); }
.section-line { border-top: 1px solid var(--line-soft); }
.center { text-align: center; }

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--brand); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: #8fb0ff; }
.h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.14; font-weight: 750; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.24; font-weight: 730; letter-spacing: -.03em; }
.h3 { font-size: 21px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: 17px; color: var(--body); line-height: 1.85; }
.sub { color: var(--muted); font-size: 15px; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; }
.sec-head .h2 { margin-top: 16px; }
.sec-head p { margin-top: 18px; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }
.gradient-text {
  background: linear-gradient(100deg, #7aa2ff 0%, #fff 48%, #8ee8dd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: 12px;
  font-size: 14px; font-weight: 650; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(31, 85, 255, .24); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 14px 30px rgba(31, 85, 255, .32); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #c9d2e6; box-shadow: var(--shadow-s); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: var(--shadow-l); }
.btn-outline-light { border-color: rgba(255,255,255,.34); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .arrow { font-size: 17px; line-height: 1; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(231, 234, 241, .9);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 26px rgba(13, 21, 38, .07); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-size: 21px; font-weight: 780; letter-spacing: -.045em; line-height: 1; }
.brand-name small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .28em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 9px 16px; font-size: 14px; font-weight: 550; color: var(--body);
  border-radius: 9px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.active { color: var(--brand); font-weight: 680; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--brand); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
  font-size: 13px; font-weight: 700; overflow: hidden; flex: none;
}
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 620px at 76% 12%, #1c3f92 0%, transparent 62%),
              radial-gradient(760px 480px at 8% 92%, #0a3f6b 0%, transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -230px;
  background: radial-gradient(circle, rgba(46, 122, 255, .32), transparent 68%);
  border-radius: 50%; pointer-events: none; filter: blur(10px);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; padding: 108px 0 116px; }
.hero-inner > * { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 9px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 100px; font-size: 12.5px;
  color: #c9d8ff; background: rgba(255,255,255,.06); letter-spacing: .02em;
}
.hero-badge b { background: var(--brand); color: #fff; padding: 2px 9px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.hero .h1 { margin-top: 28px; }
.hero-desc { margin-top: 26px; max-width: 540px; font-size: 17px; line-height: 1.9; color: #b7c5e0; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 62px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.13); flex-wrap: wrap; }
.hero-meta strong { display: block; font-size: 28px; font-weight: 720; letter-spacing: -.03em; }
.hero-meta span { font-size: 12.5px; color: #94a7c9; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.3)); }

/* ---------- 通用卡片 / 网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d9e1f2; }
.card-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: 14px; line-height: 1.85; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--brand); font-size: 13.5px; font-weight: 650; }
.card-link:hover { gap: 11px; }
.card-num { font-size: 13px; font-weight: 700; color: #c3cee3; letter-spacing: .08em; }
.card-plain { background: var(--paper-3); }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-s); }
.stat { padding: 36px 30px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 38px; line-height: 1.1; font-weight: 740; letter-spacing: -.04em; }
.stat strong em { font-style: normal; font-size: 18px; margin-left: 3px; color: var(--brand); }
.stat span { display: block; margin-top: 9px; font-size: 13px; color: var(--muted); }

/* 特色列表 */
.feature-list { display: grid; gap: 0; }
.feature-row { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px dashed var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row .idx { font-size: 13px; font-weight: 700; color: var(--brand); padding-top: 3px; letter-spacing: .08em; }
.feature-row h4 { font-size: 16px; font-weight: 680; margin-bottom: 6px; }
.feature-row p { font-size: 14px; color: var(--body); line-height: 1.8; }

/* 标签 */
.tag { display: inline-block; padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand); }
.tag-soft { background: var(--paper-2); color: var(--body); }
.tag-ok { background: #e5f7f0; color: var(--ok); }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* 产品卡 */
.product-card { position: relative; overflow: hidden; padding: 34px; }
.product-card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(31,85,255,.07), transparent 70%);
  transition: transform .5s var(--ease);
}
.product-card:hover::after { transform: scale(1.5); }
.product-card .num { position: absolute; right: 28px; top: 22px; font-size: 42px; font-weight: 780; color: #f0f3fa; letter-spacing: -.05em; }
.product-card ul { margin-top: 20px; display: grid; gap: 9px; }
.product-card li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--body); }
.product-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.product-card .card-icon { margin-bottom: 20px; }

/* 图片 / 展示块 */
.showcase { border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(135deg, #eef3ff, #f6f9ff); border: 1px solid var(--line); }
.showcase svg { width: 100%; height: auto; }
.visual-box { border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--paper-2); padding: 30px; }

/* 合作 logo 墙 */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-cell { height: 84px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #8994ad; background: #fff; letter-spacing: .02em; transition: .3s; }
.logo-cell:hover { color: var(--brand); border-color: #cfdcff; box-shadow: var(--shadow-s); }

/* CTA 区 */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 66px 60px;
  color: #fff; background: linear-gradient(120deg, #123dbd 0%, #1f55ff 55%, #2b7ae8 100%);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 730; letter-spacing: -.03em; line-height: 1.3; }
.cta p { margin-top: 12px; color: #d7e3ff; font-size: 15px; }

/* ---------- 页头（内页） ---------- */
.page-hero { position: relative; overflow: hidden; padding: 78px 0 82px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(31,85,255,.09), transparent 68%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 18px; font-size: clamp(32px, 4vw, 50px); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; }
.page-hero p { margin-top: 18px; max-width: 660px; }
.crumb { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 26px; }
.crumb a:hover { color: var(--brand); }

/* 时间线 */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 12px; padding-left: 34px; }
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -43px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline-item .year { font-size: 13px; font-weight: 750; color: var(--brand); letter-spacing: .06em; }
.timeline-item h4 { margin-top: 7px; font-size: 17px; font-weight: 700; }
.timeline-item p { margin-top: 7px; font-size: 14px; color: var(--body); }

/* 价值观 */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-cell { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-cell strong { display: block; font-size: 17px; font-weight: 700; }
.value-cell span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow-step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.flow-step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 13px; font-weight: 750; color: var(--brand); letter-spacing: .1em; margin-bottom: 16px; }
.flow-step h4 { font-size: 16px; font-weight: 700; }
.flow-step p { font-size: 13.5px; color: var(--body); margin-top: 8px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field label .req { color: var(--danger); margin-left: 3px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; font-size: 14px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,85,255,.1); }
.input::placeholder, .textarea::placeholder { color: #aab3c5; }
.textarea { min-height: 132px; resize: vertical; line-height: 1.75; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c879f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-msg { margin-top: 14px; font-size: 13.5px; padding: 11px 14px; border-radius: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #fdeeee; color: #a83235; }
.form-msg.ok { background: #e8f7f1; color: #0e7857; }

/* 文件上传 */
.uploader { border: 1.5px dashed #cdd7ea; border-radius: 13px; padding: 22px; text-align: center; background: var(--paper-3); transition: .25s; cursor: pointer; }
.uploader:hover, .uploader.drag { border-color: var(--brand); background: var(--brand-soft); }
.uploader svg { margin: 0 auto 10px; width: 26px; height: 26px; color: var(--brand); }
.uploader strong { display: block; font-size: 13.5px; font-weight: 650; }
.uploader span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; font-size: 13px; background: #fff; }
.file-chip .x { margin-left: auto; color: var(--muted); font-size: 17px; line-height: 1; }
.file-chip .x:hover { color: var(--danger); }

/* 登录框 */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-aside { position: relative; overflow: hidden; color: #fff; padding: 70px 60px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(700px 500px at 20% 15%, #1b479f 0%, transparent 65%), linear-gradient(150deg, var(--navy), #102a55); }
.auth-aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; opacity: .6; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { font-size: 38px; font-weight: 740; letter-spacing: -.035em; line-height: 1.3; }
.auth-aside p { margin-top: 18px; color: #b8c8e8; max-width: 380px; }
.auth-quote { border-left: 2px solid rgba(255,255,255,.3); padding-left: 20px; color: #cdd9f1; font-size: 14px; line-height: 1.9; }
.auth-main { display: grid; place-items: center; padding: 60px 30px; background: #fff; }
.auth-box { width: min(420px, 100%); }
.auth-tabs { display: flex; gap: 6px; padding: 5px; background: var(--paper-2); border-radius: 12px; margin-bottom: 32px; }
.auth-tabs button { flex: 1; height: 40px; border-radius: 9px; font-size: 14px; font-weight: 650; color: var(--muted); transition: .2s; }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.auth-box .h2 { font-size: 28px; }
.auth-box .sub { margin-top: 8px; margin-bottom: 28px; }
.auth-box .field { margin-bottom: 17px; }
.auth-alt { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-top: 16px; }
.auth-alt a { color: var(--brand); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }
.auth-tip { margin-top: 22px; padding: 13px 15px; border-radius: 11px; background: var(--paper-2); font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* 用户中心 */
.account-head { display: flex; align-items: center; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.account-head .avatar { width: 62px; height: 62px; font-size: 22px; }
.account-head h2 { font-size: 22px; font-weight: 720; }
.account-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.account-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 34px 0 26px; overflow-x: auto; }
.account-tabs button { padding: 12px 18px; font-size: 14px; font-weight: 620; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.account-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.panel { display: none; }
.panel.on { display: block; animation: fadeUp .35s var(--ease) both; }
.list-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.list-item:last-child { border-bottom: 0; }
.list-item .body { flex: 1; min-width: 0; }
.list-item h4 { font-size: 15px; font-weight: 680; }
.list-item p { font-size: 13.5px; color: var(--body); margin-top: 5px; word-break: break-word; }
.list-item .meta { font-size: 12px; color: var(--muted); margin-top: 8px; }
.file-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.file-card { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff; }
.file-thumb { height: 116px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb span { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.file-card .cap { padding: 11px 12px; font-size: 12px; }
.file-card .cap b { display: block; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card .cap small { color: var(--muted); }
.empty { padding: 54px 20px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty svg { width: 34px; height: 34px; margin: 0 auto 12px; color: #c3cde0; }

/* 联系信息卡 */
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-card h4 { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-card p { font-size: 16px; font-weight: 650; margin-top: 5px; word-break: break-all; }
.contact-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.contact-panel { border-radius: var(--radius-l); padding: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 15.5px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; color: var(--body); font-size: 14px; line-height: 1.9; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a1426; color: #b6c2d9; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #7185a8; }
.footer-brand p { margin-top: 20px; font-size: 13.5px; line-height: 1.9; color: #8d9dbb; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 680; margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: #8595b4; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7384a4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 反馈 / 动效 ---------- */
#toast-root { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: grid; gap: 10px; }
.toast { min-width: 240px; max-width: 360px; padding: 13px 17px; border-radius: 12px; background: #12203a; color: #fff; font-size: 13.5px; box-shadow: var(--shadow-l); animation: toastIn .3s var(--ease) both; }
.toast.ok { background: #0f7a5c; }
.toast.err { background: #b93b40; }
.toast.out { animation: toastOut .3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
/* 默认可见；只有 JS 正常运行才加 armed 隐藏，避免脚本失效时整页空白 */
.reveal.armed { opacity: 0; }
.reveal.in { opacity: 1; animation: fadeUp .7s var(--ease) both; }
.reveal[data-delay="1"].in { animation-delay: .08s; }
.reveal[data-delay="2"].in { animation-delay: .16s; }
.reveal[data-delay="3"].in { animation-delay: .24s; }
.reveal[data-delay="4"].in { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal.armed { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* 后端未连接提示 */
#backend-notice { display: none; position: fixed; left: 24px; bottom: 24px; z-index: 9000; max-width: 330px; padding: 14px 16px; border-radius: 12px; background: #fff8e8; border: 1px solid #f0d79a; color: #7a5a13; font-size: 12.5px; line-height: 1.75; box-shadow: var(--shadow); }
#backend-notice.show { display: block; }

/* ---------- 登录辅助 / 邮件后台 ---------- */
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-row a { font-size: 12.5px; font-weight: 500; color: var(--brand); }
.label-row a:hover { text-decoration: underline; }
.mail-status { padding: 12px 16px; border-radius: 10px; font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.mail-status.warn { background: #fff8e8; border: 1px solid #f0d79a; color: #7a5a13; }
.mail-status.ok { background: #eaf8f2; border: 1px solid #a8e0c8; color: #0f6c50; }
.switch-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 20px 0 6px; }
.switch-row label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; color: var(--body); }
.switch-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8492ac 50%), linear-gradient(135deg, #8492ac 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.mail-test-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mail-test-row .input { flex: 1; min-width: 220px; }
.mail-log { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: #0f1b30; color: #b9cbe8; font-size: 11.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; max-height: 260px; overflow: auto; }
.log-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.log-table th { text-align: left; padding: 10px 8px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.log-table td { padding: 11px 8px; border-bottom: 1px solid var(--line-soft); color: var(--body); word-break: break-all; }
.reply-done { margin-top: 12px; padding: 12px 14px; border-radius: 9px; background: #f2f7ff; border-left: 3px solid var(--brand); font-size: 13px; }
.reply-done b { color: var(--brand); font-size: 12px; }
.reply-done p { margin-top: 5px; white-space: pre-wrap; color: var(--body); }
.reply-box { margin-top: 12px; }
.reply-editor { margin-top: 12px; }
.reply-editor textarea.input { height: auto; min-height: 96px; padding: 12px; resize: vertical; line-height: 1.7; }
.reply-editor .btn { margin-top: 10px; }

/* ---------- 页脚：电脑版 / 手机版切换 ---------- */
.footer-mid { color: inherit; }
.view-switch { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.view-switch .vs-label { color: #5d6f91; }
.view-switch a { color: #8ea5ce; }
.view-switch a.on { color: #fff; font-weight: 700; border-bottom: 1px solid #4d7bff; padding-bottom: 2px; }
.view-switch a:hover { color: #fff; }
.view-switch i { width: 1px; height: 11px; background: rgba(255,255,255,.2); }
/* 桌面浏览器强制手机版：把响应式规则提升为强制规则后，页面收窄成手机屏 */
html.view-mobile { background: #e9eef7; }
html.view-mobile body { max-width: 390px; margin: 0 auto !important; background: #fff; box-shadow: 0 0 44px rgba(10,20,38,.16); overflow-x: hidden; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 82px 0 90px; }
  .hero-visual { max-width: 540px; width: 100%; min-width: 0; }
  .hero-visual img { width: 100%; height: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .section-sm { padding: 60px 0; }
  .nav, .header-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .mobile-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px 24px 22px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 12px 4px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .mobile-nav a.active { color: var(--brand); font-weight: 700; }
  .mobile-nav .btn { margin-top: 16px; }
  .grid-3, .grid-2, .flow, .value-grid, .form-grid, .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { min-height: calc(100vh - var(--header-h)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .cta { padding: 46px 30px; }
  .contact-panel { padding: 26px 22px; }
  .file-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .h1 { font-size: 36px; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-desc { max-width: 100%; font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 44px; }
  .hero-meta strong { font-size: 23px; }
  .grid-4, .grid-2, .grid-3, .logo-wall, .file-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 18px; }
  .stat strong { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-mid { display: none; }
  .page-hero { padding: 56px 0 60px; }
  .btn-lg { width: 100%; }
  #toast-root { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; max-width: none; }
  #backend-notice { left: 16px; right: 16px; max-width: none; }
}
