/* ============================================================
   别犀科技 BIEXI TECH 官网样式
   设计系统：品牌四色 + 中性底，犀角金仅作线与小字
   字体：思源黑体 / Noto Sans SC（中文） + Inter（英文数字）
   禁用未获商用授权的字体（字体栈不含系统默认黑体类）
   ============================================================ */

:root {
  /* 品牌四色——只有这四个算品牌色 */
  --night: #081B3C;   /* 犀夜蓝：Hero底、主按钮、主标题、页脚 */
  --deep:  #132A52;   /* 深蓝：区块底、表头、深色卡片 */
  --blue:  #2B5AA8;   /* 犀蓝：链接、眉标、次级强调、图标 */
  --gold:  #D9B86C;   /* 犀角金：仅1px线与小字，禁止大面积 */

  /* 中性底——非品牌色，仅作画布 */
  --canvas: #FCFCFC;
  --white:  #FFFFFF;
  --wash:   #F4F6FA;  /* 犀夜蓝4%淡底，用于交替区块 */

  /* 文字层级——不引入新色值，用犀夜蓝透明度 */
  --ink-1: rgba(8, 27, 60, .92);
  --ink-2: rgba(8, 27, 60, .66);
  --ink-3: rgba(8, 27, 60, .44);
  --line:  rgba(8, 27, 60, .10);

  /* 字体 */
  --font-cn: "思源黑体", "SourceHanSansSC", "NotoSansSC", "PingFangSC", "HiraginoSansGB", sans-serif;
  --font-en: "Inter", -apple-system, "HelveticaNeue", Arial, sans-serif;

  /* 阴影（两级，极轻） */
  --shadow-card: 0 1px 2px rgba(8, 27, 60, .04), 0 8px 24px -12px rgba(8, 27, 60, .10);
  --shadow-hover: 0 2px 6px rgba(8, 27, 60, .06), 0 18px 40px -18px rgba(8, 27, 60, .18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-1);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* 数字与英文用 Inter，价格等宽 */
.en, .num { font-family: var(--font-en); font-feature-settings: "tnum" 1; }

/* ---------- 字号阶梯 ---------- */
.display { font-size: 64px; line-height: 1.08; letter-spacing: -1.6px; font-weight: 600; }
.h1 { font-size: 44px; line-height: 1.15; letter-spacing: -.8px; font-weight: 600; }
.h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.4px; font-weight: 600; }
.h3 { font-size: 20px; line-height: 1.45; letter-spacing: 0; font-weight: 600; }
.text-body { font-size: 16px; line-height: 1.85; }
.text-small { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.eyebrow {
  font-size: 12px; line-height: 1.2; letter-spacing: .18em;
  font-weight: 500; color: var(--gold); text-transform: uppercase;
}
.eyebrow .en { font-family: var(--font-en); }

/* 深色带上的浅色文字 */
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark { color: var(--white); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .text-small, .on-dark .text-body { color: rgba(255, 255, 255, .82); }

/* ---------- 布局 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--wash { background: var(--wash); }
.section--dark { background: var(--night); }
.section--dark { padding: 96px 0; }
.section--tight { padding: 56px 0; }

.lead { max-width: 720px; }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head .eyebrow { display: inline-block; margin-bottom: 16px; }
.section__head .h2 { margin-bottom: 16px; }
.section__head .eyebrow::after {
  content: ""; display: block; width: 32px; height: 1px;
  background: var(--gold); margin-top: 12px;
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow::after { margin-left: auto; margin-right: auto; }

/* 金色细线强调分隔 */
.gold-rule { width: 32px; height: 1px; background: var(--gold); border: 0; margin: 20px 0; }

/* ---------- 跳转正文链接 ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--white); color: var(--night); padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: 72px;
  background: rgba(252, 252, 252, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: height .2s ease, background .2s ease;
}
.nav.is-scrolled { height: 60px; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--night); }
.logo-text { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo-text__cn { font-size: 20px; font-weight: 600; letter-spacing: .02em; color: var(--night); }
.logo-text__en { font-family: var(--font-en); font-size: 10px; letter-spacing: .22em; color: var(--gold); }
.logo-text__sep { width: 1px; height: 22px; background: var(--gold); }
/* 官方 Logo 矢量图（导航夜蓝标 / 页脚白标），禁止文字替代 */
.brand__logo { display: block; width: 120px; height: auto; }
.brand__logo--footer { width: 132px; height: auto; margin-bottom: 18px; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 100px;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--ink-1); background: rgba(8, 27, 60, .04); }
.nav__link.is-current { color: var(--ink-1); font-weight: 500; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--night); }

/* 抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--night);
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; color: var(--white); }
.drawer__close { background: none; border: 0; color: var(--white); padding: 8px; }
.drawer__links { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.drawer__link { color: var(--white); font-size: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer__cta { margin-top: 32px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; padding: 14px 24px; border-radius: 12px;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease;
  min-height: 44px;
}
.btn--primary { background: var(--night); color: var(--white); }
.btn--primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--night); border-color: var(--night); }
.btn--secondary:hover { background: rgba(8, 27, 60, .04); }
/* 深色带上的按钮 */
.on-dark .btn--primary { background: var(--white); color: var(--night); }
.on-dark .btn--primary:hover { background: #fff; }
.on-dark .btn--secondary { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.on-dark .btn--secondary:hover { background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }

/* 文字链 */
.link-arrow { color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; box-shadow: var(--shadow-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(8, 27, 60, .18); box-shadow: var(--shadow-hover); }
.card__index { font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; color: var(--gold); display: block; margin-bottom: 12px; }
.card__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--night); }
.card__text { color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.card__text strong { color: var(--ink-1); font-weight: 600; }

/* 大区块卡（24px 圆角） */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px; box-shadow: var(--shadow-card);
}
.panel--dark { background: var(--deep); border: 0; color: var(--white); }

/* 金色左侧竖线卡片（双产品） */
.card--accent { border-left: 2px solid var(--gold); }
.card--accent .card__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--gold); display: block; margin-bottom: 8px; }

/* 价格分组标题 */
.price__group { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--blue); padding-bottom: 12px; margin: 40px 0 20px; border-bottom: 1px solid var(--line); }
.price__group:first-of-type { margin-top: 8px; }

/* 金色短线列表（角色卡 / 规则） */
.goldlist { list-style: none; margin: 16px 0 0; padding: 0; }
.goldlist li { position: relative; padding-left: 18px; margin-bottom: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.goldlist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold); }

/* 犀鸟计划 · 三列规则区 */
.plan-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.plan-rules__col { padding: 28px 24px; border-left: 1px solid var(--line); }
.plan-rules__col:first-child { border-left: 0; padding-left: 0; }
.plan-rules__title { font-size: 16px; font-weight: 600; color: var(--night); margin-bottom: 10px; }

/* 标签条 */
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px; padding: 4px 10px; border-radius: 4px;
  background: rgba(43, 90, 168, .08); color: var(--blue); font-weight: 500;
}

/* ---------- 档案结构示意卡（Hero） ---------- */
.archive {
  background: var(--deep); border: 1px solid var(--gold); border-radius: 20px;
  padding: 32px; color: var(--white); box-shadow: var(--shadow-card);
}
.archive__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; padding: 12px 0; }
.archive__label { font-size: 14px; color: rgba(255, 255, 255, .85); }
.archive__label b { font-family: var(--font-en); color: var(--gold); font-weight: 600; margin-right: 8px; }
.archive__bar { height: 4px; background: rgba(255, 255, 255, .14); border-radius: 100px; overflow: hidden; }
.archive__fill { height: 100%; background: var(--gold); border-radius: 100px; }
.archive__cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gold); }
.archive__cell { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .9); }
.archive__cell b { display: block; font-family: var(--font-en); font-size: 16px; color: var(--white); font-weight: 600; }
.archive__foot { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .6); text-align: center; }

/* Hero */
.hero { background: var(--night); color: var(--white); min-height: 88vh; display: flex; align-items: center; padding: 120px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--gold); display: inline-block; margin-bottom: 20px; }
.hero .display { color: var(--white); margin-bottom: 24px; }
.hero__sub { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.8; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* 深色带 CTA 居中 */
.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 16px; }
.cta-band .h3 { font-weight: 500; }
.cta-band__sub { color: rgba(255, 255, 255, .82); max-width: 600px; margin: 0 auto 28px; }

/* 承诺带内三列 + 三条底线 */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.promise__item { border-top: 1px solid var(--gold); padding-top: 20px; }
.promise__item h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.bottomline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 32px; }
.bottomline__item { font-size: 15px; color: rgba(255, 255, 255, .9); }
.bottomline__no { font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; color: var(--gold); display: block; margin-bottom: 8px; }
.closing-line { text-align: center; margin-top: 36px; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.table thead th {
  background: var(--deep); color: var(--white); font-size: 13px; font-weight: 500;
  text-align: left; padding: 16px 20px; letter-spacing: .02em;
}
.table tbody td { padding: 0 20px; height: 56px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-1); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody td:first-child { font-weight: 600; }

/* 产品参数表（两列） */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec th { width: 140px; color: var(--ink-2); font-weight: 500; background: var(--wash); }

/* 价格卡 */
.price { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: relative; display: flex; flex-direction: column; }
.price--rec { border: 1px solid var(--gold); }
.price__badge { position: absolute; top: 0; left: 0; background: transparent; color: var(--gold); border: 1px solid var(--gold); border-radius: 4px; font-size: 12px; padding: 2px 8px; transform: translateY(-50%); }
.price__name { font-size: 16px; font-weight: 600; color: var(--night); }
.price__amount { font-family: var(--font-en); font-size: 32px; font-weight: 600; color: var(--night); margin: 12px 0 4px; }
.price__amount span { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.price__note { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 16px; }

/* 首页入口价横条 */
.price-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--wash); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin-top: 28px; }
.price-bar__label { display: block; font-size: 11px; letter-spacing: .14em; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.price-bar__body { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin: 0; }
.price-bar .btn { flex: none; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-1); margin-bottom: 8px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid rgba(8, 27, 60, .18);
  border-radius: 12px; padding: 14px; font-family: inherit; font-size: 15px; color: var(--ink-1);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 90, 168, .12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { display: none; color: #B3261E; font-size: 13px; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.form__note { font-size: 13px; color: var(--ink-2); background: var(--wash); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }

/* 联系卡 */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-card); }
.contact-card__row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-card__row:last-child { border-bottom: 0; }
.contact-card__k { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.contact-card__v { font-size: 16px; color: var(--ink-1); font-weight: 500; }
.contact-card__v a { color: var(--blue); }
.contact-card__s { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* ---------- FAQ 折叠 ---------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 0;
  font-size: 17px; font-weight: 500; color: var(--night); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__icon { flex: 0 0 auto; color: var(--blue); transition: transform .25s ease; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }

/* ---------- 页脚 ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, .82); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__col h4 { font-size: 14px; color: var(--white); margin-bottom: 18px; font-weight: 600; letter-spacing: .02em; }
.footer__col a { display: block; color: rgba(255, 255, 255, .7); font-size: 14px; padding: 6px 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--white); }
.footer__brand .logo-text__cn { color: var(--white); }
.footer__brand .logo-text__en { color: var(--gold); }
.footer__tag { font-size: 12px; letter-spacing: .14em; color: var(--gold); font-weight: 600; margin: 14px 0 8px; }
.footer__desc { font-size: 14px; color: rgba(255, 255, 255, .7); margin: 0 0 16px; max-width: 280px; }
.footer__slogan { font-size: 14px; color: var(--gold); }
.footer__bar {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.footer__bar a { color: rgba(255, 255, 255, .7); }
.footer__bar .footer__slogan { margin-left: auto; color: var(--gold); }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: flex; align-items: center; text-align: center; background: var(--canvas); }
.nf__code { font-family: var(--font-en); font-size: 140px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -.04em; line-height: 1; }
.nf__title { font-size: 32px; font-weight: 600; color: var(--night); margin: 16px 0; }
.nf__text { color: var(--ink-2); margin-bottom: 32px; }
.nf__links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 图标（线性 1.5px，currentColor） ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2, 0, .2, 1), transform .6s cubic-bezier(.2, 0, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .plan-rules { grid-template-columns: 1fr; }
  .plan-rules__col { border-left: 0; padding: 24px 0; border-top: 1px solid var(--line); }
  .plan-rules__col:first-child { border-top: 0; padding-top: 0; }
  .promise, .bottomline { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .display { font-size: 44px; }
  .h1 { font-size: 32px; }
}
@media (max-width: 639px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section--dark { padding: 64px 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .brand__logo { width: 104px; }
  .brand__logo--footer { width: 116px; margin-bottom: 14px; }
  .display { font-size: 34px; }
  .h1 { font-size: 28px; }
  .h2 { font-size: 24px; }
  .archive__cells { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer__bar .footer__slogan { margin-left: 0; }
  .price-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price-bar .btn { width: 100%; }
}

/* 尊重无障碍：减少动态 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
