/* ==========================================================================
   台州景丽峰医药科技有限公司 · 企业官网样式
   设计基调：简约大气 —— 大面积留白、克制的深青主色、细金线点缀
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --brand-950: #0A1626;
  --brand-900: #10233F;
  --brand-800: #142C52;
  --brand-700: #1B3A6B;
  --brand-600: #234A85;
  --brand-500: #2F5C9E;
  --brand-300: #8FA9CE;
  --brand-100: #DCE5F1;
  --brand-50: #F0F4F9;

  --gold: #b8912f;
  --gold-soft: #ddc47c;
  --gold-50: #faf4e4;

  --ink: #101823;
  --ink-2: #33404F;
  --ink-3: #6B7280;
  --ink-4: #9AA3AE;
  --line: #e2eae9;
  --line-2: #eef3f2;

  --bg: #ffffff;
  --bg-soft: #f7faf9;
  --bg-mute: #eef4f3;

  --ok: #17805f;
  --warn: #b7791f;
  --err: #c0392b;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --sh-1: 0 1px 2px rgba(14, 26, 25, .04), 0 6px 18px -12px rgba(14, 26, 25, .16);
  --sh-2: 0 2px 6px rgba(14, 26, 25, .05), 0 18px 44px -22px rgba(14, 26, 25, .22);
  --sh-3: 0 30px 70px -30px rgba(7, 51, 47, .35);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --header-h: 74px;
  --wrap: 1200px;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.28; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--brand-100); color: var(--brand-900); }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 布局 ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-900); color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .section-sub { color: rgba(255, 255, 255, .74); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
h3 { font-size: 1.16rem; }

.section-sub { margin-top: 18px; color: var(--ink-2); font-size: 1.02rem; max-width: 62ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--ink-2); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, border-color .22s ease,
    box-shadow .22s ease, transform .22s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:not(:disabled):active { transform: translateY(1px); }

.btn-primary { background: var(--brand-700); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:not(:disabled):hover { background: var(--brand-600); box-shadow: var(--sh-2); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:not(:disabled):hover { background: #a67f22; }

.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:not(:disabled):hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

.btn-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-light:not(:disabled):hover { background: rgba(255, 255, 255, .18); }

.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-text { padding: 0; border: 0; background: none; color: var(--brand-600); font-weight: 600; border-radius: 4px; }
.btn-text:hover { color: var(--brand-800); text-decoration: underline; }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { height: 44px; width: auto; display: block; }
.site-footer .brand-logo { height: 48px; }
@media (max-width: 620px) { .brand-logo { height: 36px; } .site-footer .brand-logo { height: 40px; } }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.06rem; font-weight: 600; letter-spacing: .01em; color: var(--brand-900); }
.brand-text em {
  font-style: normal;
  font-size: .6rem;
  letter-spacing: .16em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .94rem;
  color: var(--ink-2);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav a.is-active { color: var(--brand-800); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-toggle {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .18s ease;
}
.lang-toggle:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-50); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 4.5px; }

.header-user {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .88rem;
  color: var(--ink-2);
  transition: border-color .2s ease, background .2s ease;
}
.header-user:hover { border-color: var(--brand-300); background: var(--brand-50); }
.header-user .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-700); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}

.page-offset { padding-top: var(--header-h); }

/* ---------- 5.5 内页头部 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17, 99, 92, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .55;
  mask-image: radial-gradient(620px 300px at 84% 10%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(620px 300px at 84% 10%, #000, transparent 72%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding-top: 58px; padding-bottom: 52px; }
.page-hero h1 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); margin-bottom: 15px; }
.page-hero p { max-width: 66ch; color: var(--ink-2); }

.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--ink-4); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb span.sep { color: var(--line); }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(26, 125, 116, .13), transparent 62%),
    radial-gradient(760px 420px at 4% 105%, rgba(184, 145, 47, .10), transparent 60%),
    linear-gradient(180deg, var(--brand-50) 0%, #fff 74%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17, 99, 92, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  mask-image: radial-gradient(760px 420px at 76% 26%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 420px at 76% 26%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
  padding: 92px 0 84px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand-600); position: relative; }
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .08em;
  height: .3em; background: var(--gold-50); z-index: -1;
}
.hero-sub { font-size: 1.08rem; color: var(--ink-2); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.tag {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: .82rem;
  color: var(--ink-2);
}

/* 首屏视觉：分子结构 */
.hero-visual { position: relative; }
.molecule-card {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  padding: 30px;
  box-shadow: var(--sh-3);
  color: #fff;
  overflow: hidden;
}
.molecule-card .mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.molecule-card .mc-title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.molecule-card .mc-dot { width: 8px; height: 8px; border-radius: 50%; background: #57d6a8; box-shadow: 0 0 0 4px rgba(87, 214, 168, .18); }
.molecule-card svg { width: 100%; height: auto; }
.mc-meta { display: flex; gap: 10px; margin-top: 24px; }
.mc-meta div {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
}
.mc-meta dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.mc-meta dd { margin: 4px 0 0; font-size: .95rem; font-weight: 600; }

/* ---------- 7. 数据条 ---------- */
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stat-strip .grid { gap: 0; }
.stat { padding: 34px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--brand-700); letter-spacing: -.02em; }
.stat b .unit { font-size: .55em; margin-left: 2px; color: var(--brand-500); font-weight: 600; }
.stat span { display: block; margin-top: 6px; font-size: .88rem; color: var(--ink-3); }

/* ---------- 8. 卡片 ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); transform: translateY(-3px); }
.card-ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 20px;
}
.card-ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .94rem; }
.card-list { margin-top: 18px; display: grid; gap: 8px; }
.card-list li { position: relative; padding-left: 20px; font-size: .88rem; color: var(--ink-2); }
.card-list li::before {
  content: "";
  position: absolute; left: 3px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

.biz-card { position: relative; overflow: hidden; }
.biz-card .idx {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-num);
  font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--brand-50);
  letter-spacing: -.03em;
}

/* ---------- 9. 特色 / 双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: 1.05fr .95fr; }

.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 16px; }
.feature .f-ico {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  border: 1px solid var(--brand-100);
}
.feature .f-ico svg { width: 18px; height: 18px; }
.feature h4 { font-size: .99rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--ink-3); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 34px;
  box-shadow: var(--sh-1);
}
.panel-soft { background: var(--bg-soft); box-shadow: none; }

.qual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.qual {
  padding: 20px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
}
.qual b { display: block; font-size: .95rem; margin-bottom: 4px; color: var(--brand-800); }
.qual span { font-size: .85rem; color: var(--ink-3); }

/* ---------- 10. 时间轴 ---------- */
.timeline { position: relative; margin-top: 46px; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--brand-300), var(--line) 80%, transparent);
}
.tl-item { position: relative; padding: 0 0 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -34px; top: 8px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-500);
}
.tl-item.milestone::before { background: var(--gold); border-color: var(--gold); }
.tl-year { font-family: var(--font-num); font-size: .86rem; font-weight: 600; color: var(--brand-600); letter-spacing: .04em; }
.tl-item h4 { margin: 6px 0 6px; font-size: 1.02rem; }
.tl-item p { font-size: .92rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- 11. 产品页 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  color: var(--ink-2);
  font-weight: 500;
  transition: all .2s ease;
}
.tab:hover { border-color: var(--brand-300); color: var(--brand-700); }
.tab.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; font-weight: 600; }

.search-box { position: relative; margin-left: auto; min-width: 250px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-4); }
.search-box input { padding-left: 40px; }

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

.p-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.p-card:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); transform: translateY(-3px); }
.p-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  overflow: hidden;
}
.p-thumb svg { width: 100%; height: 100%; }
.p-thumb .p-cat-chip {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-name { font-size: 1.04rem; font-weight: 600; }
.p-name-en { font-size: .78rem; color: var(--ink-4); margin-top: 3px; letter-spacing: .02em; }
.p-cas {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; padding: 5px 11px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  font-family: var(--font-num);
  font-size: .78rem;
  color: var(--ink-2);
  align-self: flex-start;
}
.p-cas b { color: var(--ink-4); font-weight: 500; }
.p-spec { margin-top: 16px; display: grid; gap: 7px; font-size: .85rem; }
.p-spec div { display: flex; gap: 10px; color: var(--ink-2); }
.p-spec dt { flex: 0 0 62px; color: var(--ink-4); }
.p-spec dd { margin: 0; }
.p-foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-2);
}
.p-foot .grade { font-size: .78rem; color: var(--brand-600); font-weight: 600; }

/* ---------- 12. 表格（产品详情） ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 130px; color: var(--ink-4); font-weight: 500; background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- 13. 表单 ---------- */
.field { display: block; margin-bottom: 18px; }
.field > .label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field .req { color: var(--err); margin-left: 2px; }
.field .hint { margin-top: 6px; font-size: .78rem; color: var(--ink-4); }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .94rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(26, 125, 116, .12);
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7c7a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.field-error { margin-top: 6px; font-size: .8rem; color: var(--err); }
.input.is-invalid, .textarea.is-invalid { border-color: var(--err); }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.checkbox input { margin-top: 4px; width: 15px; height: 15px; accent-color: var(--brand-700); flex: 0 0 auto; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--brand-400, var(--brand-500)); background: var(--brand-50); }
.dropzone svg { width: 22px; height: 22px; color: var(--brand-600); }
.dropzone b { font-size: .9rem; font-weight: 600; }
.dropzone span { font-size: .78rem; color: var(--ink-4); }

.file-chip {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .86rem;
}
.file-chip .fc-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .fc-size { color: var(--ink-4); font-size: .78rem; }

/* ---------- 14. 提示条 ---------- */
.alert {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  border: 1px solid;
  margin-bottom: 20px;
}
.alert svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }
.alert-ok { background: #eefaf4; border-color: #cdece0; color: #12694e; }
.alert-warn { background: var(--gold-50); border-color: #f0e2bd; color: #8a6a13; }
.alert-err { background: #fdf2f0; border-color: #f6d9d4; color: #a5332a; }
.alert a { text-decoration: underline; font-weight: 600; }

/* 自托管提示条：会员功能依赖云端服务时给出说明 */
.cloud-notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: .86rem;
  line-height: 1.65;
  text-align: left;
}
.cloud-notice svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; }
.cloud-notice strong { display: block; font-size: .92rem; margin-bottom: 3px; }
.cloud-notice p { margin: 0; color: var(--ink-3); }

/* ---------- 15. 空态 / 载入 ---------- */
.empty {
  padding: 62px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: var(--bg-soft);
}
.empty svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--brand-300); }
.empty h4 { font-size: 1rem; margin-bottom: 6px; }
.empty p { font-size: .88rem; color: var(--ink-3); max-width: 42ch; margin: 0 auto; }
.empty .btn { margin-top: 20px; }

.skeleton {
  border-radius: var(--r);
  background: linear-gradient(90deg, var(--bg-mute) 25%, #f6f9f8 37%, var(--bg-mute) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  min-height: 260px;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.spinner-dark { border-color: rgba(17, 99, 92, .25); border-top-color: var(--brand-700); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 16. 页脚 ---------- */
.site-footer { background: var(--brand-950); color: rgba(255, 255, 255, .68); padding: 66px 0 30px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: rgba(255, 255, 255, .4); }
.footer-about { margin-top: 20px; max-width: 34ch; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col li + li { margin-top: 11px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 5px; color: var(--gold-soft); }
.footer-bottom {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8rem; color: rgba(255, 255, 255, .45);
}

/* ---------- 17. Toast / 弹窗 ---------- */
.toast-host {
  position: fixed; z-index: 200;
  left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(14, 26, 25, .92);
  color: #fff;
  font-size: .88rem;
  box-shadow: var(--sh-2);
  animation: toastIn .28s cubic-bezier(.2, .9, .3, 1);
  max-width: min(92vw, 520px);
}
.toast svg { width: 16px; height: 16px; flex: 0 0 auto; }
.toast.ok svg { color: #4ed4a4; }
.toast.err svg { color: #ff8f7d; }
.toast.warn svg { color: var(--gold-soft); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.modal-mask {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(7, 30, 28, .48);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 660px;
  max-height: 88vh; overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  animation: modalIn .26s cubic-bezier(.2, .9, .3, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--line-2);
  position: sticky; top: 0; background: #fff; z-index: 2;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.modal-body { padding: 26px 32px 32px; }
.modal-close {
  width: 34px; height: 34px; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink-3);
  display: grid; place-items: center; padding: 0;
}
.modal-close:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* ---------- 18. 登录 / 注册 ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: calc(100vh - var(--header-h));
}
.auth-aside {
  position: relative;
  padding: 68px 60px;
  background: linear-gradient(155deg, var(--brand-800), var(--brand-950));
  color: #fff;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-aside::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(520px 420px at 78% 22%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(520px 420px at 78% 22%, #000, transparent 72%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: 1.85rem; margin-bottom: 16px; }
.auth-aside p { color: rgba(255, 255, 255, .74); max-width: 40ch; }
.auth-benefits { margin-top: 36px; display: grid; gap: 16px; }
.auth-benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: rgba(255, 255, 255, .86); }
.auth-benefits svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; color: var(--gold-soft); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 36px; box-shadow: var(--sh-1); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.auth-card .auth-sub { font-size: .9rem; color: var(--ink-3); margin-bottom: 26px; }

.segmented {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 4px; padding: 4px;
  background: var(--bg-mute);
  border-radius: 999px;
  margin-bottom: 26px;
}
.segmented button {
  padding: 9px 12px; border: 0; border-radius: 999px;
  background: transparent; font-size: .88rem; font-weight: 500; color: var(--ink-3);
  transition: all .2s ease;
}
.segmented button.is-active { background: #fff; color: var(--brand-800); font-weight: 600; box-shadow: var(--sh-1); }

.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.code-row .btn { flex: 0 0 auto; min-width: 118px; }

.auth-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .78rem; color: var(--ink-4); }
.steps .s { display: flex; align-items: center; gap: 7px; }
.steps .s b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-mute); color: var(--ink-3); font-size: .7rem; font-weight: 700; }
.steps .s.is-active { color: var(--brand-700); font-weight: 600; }
.steps .s.is-active b { background: var(--brand-700); color: #fff; }
.steps .bar { flex: 1; height: 1px; background: var(--line); }

/* ---------- 19. 会员中心 ---------- */
.dash-head {
  padding: 44px 0 0;
  background: linear-gradient(180deg, var(--brand-50), #fff);
}
.dash-id { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dash-avatar {
  width: 62px; height: 62px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--brand-700); color: #fff;
  font-size: 1.3rem; font-weight: 700;
}
.dash-id h1 { font-size: 1.6rem; }
.dash-id .meta { font-size: .88rem; color: var(--ink-3); margin-top: 4px; }

.dash-tabs { display: flex; gap: 6px; margin-top: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.dash-tabs button {
  position: relative;
  padding: 13px 20px;
  border: 0; background: none;
  font-size: .94rem; font-weight: 500; color: var(--ink-3);
  white-space: nowrap;
}
.dash-tabs button:hover { color: var(--brand-700); }
.dash-tabs button.is-active { color: var(--brand-800); font-weight: 600; }
.dash-tabs button.is-active::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px;
  height: 2px; background: var(--brand-700); border-radius: 2px;
}
.pane { display: none; padding: 40px 0 96px; }
.pane.is-active { display: block; }

.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kv { padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.kv:nth-last-child(-n+2) { border-bottom: 0; }
.kv:nth-child(odd) { border-right: 1px solid var(--line-2); }
.kv dt { font-size: .78rem; color: var(--ink-4); margin-bottom: 5px; }
.kv dd { margin: 0; font-size: .95rem; word-break: break-all; }

.rec-list { display: grid; gap: 14px; }
.rec {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 20px 24px;
}
.rec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.rec-title { font-weight: 600; font-size: .98rem; }
.rec-time { font-size: .78rem; color: var(--ink-4); font-family: var(--font-num); }
.rec-body { margin-top: 12px; display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.rec-body div { display: flex; gap: 10px; }
.rec-body dt { flex: 0 0 72px; color: var(--ink-4); }
.rec-body dd { margin: 0; word-break: break-word; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 600;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.pill-gold { background: var(--gold-50); color: #8a6a13; border-color: #f0e2bd; }

.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.file-card {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
}
.file-prev {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--brand-300);
  overflow: hidden;
}
.file-prev img { width: 100%; height: 100%; object-fit: cover; }
.file-prev svg { width: 34px; height: 34px; }
.file-meta { padding: 15px 17px; flex: 1; display: flex; flex-direction: column; }
.file-meta .fn { font-size: .9rem; font-weight: 600; word-break: break-all; line-height: 1.5; }
.file-meta .fs { font-size: .76rem; color: var(--ink-4); margin-top: 5px; }
.file-acts { display: flex; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-2); }
.icon-btn {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: grid; place-items: center; padding: 0;
}
.icon-btn:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn.danger:hover { border-color: #f0c4bc; color: var(--err); background: #fdf2f0; }

.upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }

/* ---------- 20. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-list { display: grid; gap: 4px; margin-top: 30px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.info-item:last-child { border-bottom: 0; }
.info-item .i-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600);
}
.info-item .i-ico svg { width: 18px; height: 18px; }
.info-item dt { font-size: .78rem; color: var(--ink-4); margin-bottom: 4px; }
.info-item dd { margin: 0; font-size: .96rem; color: var(--ink); line-height: 1.65; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; border: 0; background: none; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--ink);
}
.faq-q svg { width: 17px; height: 17px; color: var(--brand-500); flex: 0 0 auto; transition: transform .25s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 22px; font-size: .92rem; color: var(--ink-2); max-width: 72ch; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- 21. CTA 区块 ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: 62px 56px;
  background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(460px 320px at 84% 20%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(460px 320px at 84% 20%, #000, transparent 74%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .76); margin-top: 14px; max-width: 52ch; }
.cta-band .hero-cta { margin-top: 30px; }

/* ---------- 22. 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .8, .3, 1), transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 66px 0 62px; }
  .hero-visual { max-width: 520px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { padding: 52px 32px; }
  .auth-benefits { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip .grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all .24s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; border-radius: 10px; font-size: 1rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--brand-50); }
  .nav-toggle { display: grid; }
  .header-actions .btn-primary { display: none; }
  .brand-text em { display: none; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .g-2, .g-3, .g-4, .product-grid, .file-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .kv:nth-child(odd) { border-right: 0; }
  .kv:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .kv:last-child { border-bottom: 0; }
  .cta-band { padding: 44px 26px; }
  .modal-head, .modal-body { padding-left: 22px; padding-right: 22px; }
  .auth-card { padding: 30px 24px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { margin-left: 0; min-width: 0; }
  .card { padding: 26px 22px; }
  .qual-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media print {
  .site-header, .site-footer, .btn, .dash-tabs { display: none !important; }
  body { color: #000; }
}
