/* =========================================================
   企优办企服 · 深空暗金主题 (Deep Space Gold)
   藏蓝渐变 + 金色光晕 + 衬线大标题 + 玻璃拟态
   ========================================================= */

/* 本地自托管字体（自 subset，仅含网站用到的字符；Safari/Chrome/国内客户统一渲染） */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/NotoSansSC-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/NotoSansSC-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/NotoSansSC-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/NotoSerifSC-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/NotoSerifSC-700.woff2') format('woff2');
}

:root {
  --navy-900: #06152b;
  --navy-800: #0a1c33;
  --navy-700: #0e2440;
  --navy-600: #13315c;
  --gold: #c8a35b;
  --gold-bright: #e6c884;
  --gold-dim: rgba(200, 163, 91, 0.5);
  --line: rgba(200, 163, 91, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ink: #eaf0f8;
  --muted: #9fb3c8;
  --radius: 16px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.75;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(200, 163, 91, 0.14), transparent 60%),
    radial-gradient(900px 560px at 8% 6%, rgba(64, 116, 196, 0.20), transparent 58%),
    radial-gradient(800px 600px at 50% 120%, rgba(200, 163, 91, 0.08), transparent 60%),
    linear-gradient(180deg, #06152b 0%, #0a1c33 42%, #081626 100%);
  background-attachment: scroll; /* fixed 在 Safari 有渲染 bug，改 scroll 保证两浏览器一致 */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 21, 43, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}
.brand .logo {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(200, 163, 91, 0.35);
}
.brand span:nth-child(2) {
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand small {
  font-size: 10px; letter-spacing: 2px; color: var(--gold); font-weight: 500;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1206 !important;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(200, 163, 91, 0.30);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200, 163, 91, 0.45); }
/* 仅手机端菜单内显示的 CTA（桌面隐藏） */
.nav-cta--mb { display: none; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-size: 20px; width: 42px; height: 38px; border-radius: 10px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -16%; right: -8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200, 163, 91, 0.28), transparent 62%);
  filter: blur(8px);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -26%; left: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(64, 116, 196, 0.30), transparent 62%);
  filter: blur(10px);
  animation: float 11s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.06); }
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-bright);
  font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(200, 163, 91, 0.06);
}
.eyebrow::before { content: "◆"; font-size: 10px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.22;
  margin: 26px 0 18px;
  letter-spacing: 1px;
}
.hl {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 60%, #fff 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  max-width: 680px; margin: 0 auto;
  color: var(--muted); font-size: 17px;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .25s, color .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  box-shadow: 0 10px 26px rgba(200, 163, 91, 0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(200, 163, 91, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}
.btn-ghost:hover { background: rgba(200, 163, 91, 0.12); transform: translateY(-3px); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.soft { background: rgba(255, 255, 255, 0.02); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: 1px;
}
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(200, 163, 91, 0.06), transparent 40%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dim);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 163, 91, 0.18);
}
.card:hover::before { opacity: 1; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(200, 163, 91, 0.18), rgba(200, 163, 91, 0.04));
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.card h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.card .more {
  position: relative;
  z-index: 2;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  padding: 4px 0;
}
.card .more:hover { text-decoration: underline; }

/* 高亮主卡 */
.card.feature {
  background: linear-gradient(160deg, var(--navy-600), var(--navy-700));
  border-color: var(--gold-dim);
}

/* ---------- 数据条 ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 64px;
}
.stat {
  text-align: center; padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}
.stat .num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 业务交替排版 ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 48px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row:nth-child(even) .fr-text { order: 2; }
.fr-text .idx {
  font-family: var(--serif); font-size: 15px; letter-spacing: 3px;
  color: var(--gold); display: block; margin-bottom: 12px;
}
.fr-text h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.fr-text p { color: var(--muted); margin: 0 0 18px; }
.fr-text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fr-text li { position: relative; padding-left: 24px; color: #cddfee; font-size: 14.5px; }
.fr-text li::before {
  content: "◆"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px;
}
.fr-visual {
  position: relative; min-height: 280px; border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 280px at 70% 20%, rgba(200, 163, 91, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-600), var(--navy-800));
  display: grid; place-items: center; overflow: hidden;
}
.fr-visual .glyph {
  font-size: 96px; filter: drop-shadow(0 10px 30px rgba(200, 163, 91, 0.4));
}
.fr-visual .tag {
  position: absolute; left: 22px; bottom: 20px;
  font-family: var(--serif); font-size: 20px; color: var(--gold-bright);
  letter-spacing: 2px;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  text-align: center; padding: 60px 40px;
  border-radius: 24px;
  border: 1px solid var(--gold-dim);
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(200, 163, 91, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

/* ---------- 关于页 ---------- */
.about-lead {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.7; color: #e6eef7; text-align: center; max-width: 880px; margin: 0 auto;
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 22px; }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: none; }
.info-item .ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: rgba(200, 163, 91, 0.1); border: 1px solid var(--line);
}
.info-item .t { color: var(--gold-bright); font-size: 13px; letter-spacing: 1px; }
.info-item .v { color: #e6eef7; font-size: 15px; }

.form {
  padding: 36px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line-soft); background: rgba(6, 21, 43, 0.5);
  color: var(--ink); font-size: 15px; font-family: var(--sans);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(200, 163, 91, 0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .btn-primary { width: 100%; margin-top: 6px; }
.form-note { text-align: center; color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 30px; background: rgba(6, 21, 43, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.site-footer h4 { font-family: var(--serif); font-size: 16px; margin: 6px 0 16px; color: var(--gold-bright); }
.site-footer a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: color .2s; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-bottom { text-align: center; color: var(--muted); font-size: 13px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .value-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .fr-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .container { width: 90vw; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 6vw 22px;
    background: rgba(6, 21, 43, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 2px; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  /* 手机菜单内显示醒目 CTA */
  .nav-cta--mb {
    display: block; text-align: center; margin-top: 12px;
    border-radius: 999px; padding: 13px 20px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #1a1206 !important; font-weight: 600; font-size: 15px;
    box-shadow: 0 8px 22px rgba(200, 163, 91, 0.30);
  }
  .grid-3, .value-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 84px 0 88px; }
  /* 收敛首屏金光晕，避免手机上偏角亮斑 */
  .hero::before { width: 360px; height: 360px; right: -22%; top: -8%; }
  .hero::after { width: 320px; height: 320px; left: -28%; bottom: -14%; }
  /* 标题在小屏更克制，避免挤成 3 行 */
  .hero h1 { font-size: clamp(27px, 8.2vw, 38px); letter-spacing: .5px; margin: 22px 0 16px; }
  .lead { font-size: 15.5px; }
  /* CTA 横幅 / 表单内边距收窄，内容不再被压 */
  .cta-band { padding: 40px 22px; }
  .form { padding: 26px 20px; }
  .feature-row .fr-visual { min-height: 200px; }
  .feature-row .fr-visual .glyph { font-size: 78px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 28px 22px; }
  .section-head { margin-bottom: 40px; }
}
