:root {
  --ink: #0A1B33;
  --ink-2: #0F2A52;
  --brand: #0068E1;
  --brand-light: #4D9BFF;
  --brand-pale: #E3EFFC;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --text: #26303B;
  --text-muted: #5D6B7C;
  --line: #E2E8F0;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .3s ease;
  padding: 16px 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15,42,67,.08);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-logo--light { width: 48px; height: 48px; }
.brand-text { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 2px; color: var(--text-muted); font-weight: 400; }
.brand-text--light { color: #fff; }
.brand-text--light small { color: rgba(255,255,255,.55); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 15px;
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--brand); transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 9px 22px; border: 1px solid var(--brand); color: var(--ink);
  border-radius: 999px; text-decoration: none; font-size: 14px;
  transition: all .25s;
}
.nav-cta:hover { background: var(--brand); color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #06101F;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

/* 山云风景照 */
.hero-photo {
  position: absolute; inset: 0;
  background: url("../img/hero-bg.jpg") center 30% / cover no-repeat;
  animation: hero-breathe 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* 压暗遮罩：左侧文字区更暗，底部渐深 */
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(4,12,24,.72) 0%, rgba(4,12,24,.38) 45%, rgba(4,12,24,.18) 100%),
    linear-gradient(to top, rgba(4,12,24,.85) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(4,12,24,.45) 0%, transparent 30%);
  pointer-events: none;
}

/* 飘动云雾（叠加在风景照上，增加层次感） */
.hero-cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.08), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.cloud-a { width: 46vw; height: 14vh; top: 16%; left: -10%; animation: drift 46s ease-in-out infinite alternate; }
.cloud-b { width: 38vw; height: 12vh; top: 30%; right: -8%; animation: drift 58s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(6vw); }
}
.hero-inner { position: relative; z-index: 2; padding-top: 80px; }
.hero-eyebrow { font-size: 13px; letter-spacing: 4px; color: var(--brand-light); text-transform: uppercase; margin-bottom: 24px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--brand-light); }
.hero-vision {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-vision .vision-num {
  color: var(--brand-light); font-size: 1.4em; font-weight: 700; padding: 0 2px;
}
.hero-sub { color: rgba(255,255,255,.72); font-size: 16px; max-width: 620px; margin-bottom: 40px; }
.hero-sub strong { color: var(--brand-light); font-weight: 600; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: all .25s; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--brand-light); color: var(--brand-light); }
.btn-lg { padding: 16px 40px; font-size: 16px; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: 2px;
  animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== 数据概览 ===== */
.stats { background: var(--ink); color: #fff; padding: 0; margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 48px 20px; text-align: center;
  border-left: 1px solid rgba(255,255,255,.08);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  color: var(--brand-light); line-height: 1.1;
}
.stat-label { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 8px; letter-spacing: 2px; }

/* ===== 通用 section ===== */
.section { padding: 100px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--brand);
  border: 1px solid var(--brand); padding: 5px 16px; border-radius: 999px; margin-bottom: 20px;
}
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); color: var(--ink); font-weight: 700; line-height: 1.35; }
.section-sub { color: var(--text-muted); font-size: 16px; margin-top: 16px; }

/* ===== 关于 ===== */
.about { background: var(--white); }
.about-lead { max-width: 760px; margin: 0 auto 48px; text-align: center; font-size: 18px; color: var(--text); }
.vision-card {
  max-width: 820px; margin: 0 auto; text-align: center;
  background: var(--paper); border-radius: 20px; padding: 56px 40px;
  position: relative; overflow: hidden;
}
.vision-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.vision-label { font-size: 13px; letter-spacing: 4px; color: var(--brand); }
.vision-quote { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 32px); color: var(--ink); font-weight: 600; margin: 16px 0; }
.vision-note { color: var(--text-muted); font-size: 15px; }

/* ===== 业务版图 ===== */
.business { background: var(--paper); }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.biz-card {
  background: var(--white); border-radius: 16px; padding: 40px 32px;
  border: 1px solid var(--line); transition: all .3s; position: relative; overflow: hidden;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,42,67,.10); border-color: var(--brand); }
.biz-icon { font-size: 32px; color: var(--brand); margin-bottom: 18px; }
.biz-card h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.biz-sub { color: var(--brand); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.biz-desc { color: var(--text-muted); font-size: 15px; }

/* ===== 服务流程 ===== */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  padding: 32px 24px; border-radius: 14px; border: 1px solid var(--line);
  transition: all .3s; position: relative;
}
.process-step:hover { border-color: var(--brand); background: var(--paper); }
.step-num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--brand); opacity: .9; }
.process-step h4 { color: var(--ink); font-size: 18px; margin: 12px 0 10px; }
.process-step p { color: var(--text-muted); font-size: 14px; }

/* ===== 特色 ===== */
.features { background: var(--ink); color: #fff; }
.features .section-title { color: #fff; }
.features .section-sub { color: rgba(255,255,255,.6); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 40px 32px; transition: all .3s;
}
.feature-card:hover { background: rgba(255,255,255,.07); border-color: var(--brand); transform: translateY(-6px); }
.feature-num { font-family: var(--serif); color: var(--brand-light); font-size: 20px; font-weight: 700; }
.feature-card h3 { font-family: var(--serif); font-size: 24px; margin: 14px 0 6px; }
.feature-tagline { color: var(--brand-light); font-size: 14px; margin-bottom: 16px; }
.feature-card ul { list-style: none; }
.feature-card li { color: rgba(255,255,255,.72); font-size: 14px; padding: 6px 0; position: relative; padding-left: 18px; }
.feature-card li::before { content: "·"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ===== 方法论 ===== */
.methodology { background: var(--paper); }
.math-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 860px; margin: 0 auto 48px; }
.math-card {
  background: var(--white); border-radius: 16px; padding: 40px 24px; text-align: center;
  border: 1px solid var(--line); transition: all .3s;
}
.math-card.highlight { background: var(--ink); border-color: var(--ink); transform: scale(1.05); }
.math-formula { font-family: var(--serif); font-size: 26px; color: var(--text); font-weight: 600; }
.math-card.highlight .math-formula { color: #fff; }
.math-result { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--brand); margin: 12px 0 6px; }
.math-note { color: var(--text-muted); font-size: 14px; }
.math-card.highlight .math-note { color: rgba(255,255,255,.65); }
.research-note { text-align: center; color: var(--text-muted); font-size: 15px; }
.research-note strong { color: var(--brand); font-weight: 700; }

/* ===== 案例 ===== */
.cases { background: var(--white); }
.case-category { margin-bottom: 56px; }
.case-category:last-child { margin-bottom: 0; }
.case-cat-title {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.cat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); display: inline-block; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px;
  transition: all .3s; background: var(--white);
}
.case-card:hover { border-color: var(--brand); box-shadow: 0 12px 28px rgba(15,42,67,.08); }
.case-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.case-round { color: var(--brand); font-size: 13px; font-weight: 600; margin: 8px 0 10px; }
.case-card p { color: var(--text-muted); font-size: 13.5px; }

/* ===== 团队 ===== */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.member-card {
  background: var(--white); border-radius: 14px; padding: 30px 26px;
  border: 1px solid var(--line); transition: all .3s;
}
.member-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.member-card h4 { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.member-card h4 small { font-family: var(--sans); font-weight: 400; color: var(--text-muted); font-size: 13px; }
.member-role {
  display: inline-block; font-size: 12px; color: var(--brand); background: var(--paper);
  padding: 3px 12px; border-radius: 999px; margin: 10px 0 12px; font-weight: 500;
}
.member-card p { color: var(--text-muted); font-size: 13.5px; }

/* ===== 联系我们 ===== */
.contact { background: var(--white); padding-bottom: 120px; }
.contact-panel {
  background: linear-gradient(140deg, var(--ink), var(--ink-2));
  border-radius: 24px; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.contact-left h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); color: #fff; line-height: 1.4; margin-bottom: 16px; }
.contact-left p { color: rgba(255,255,255,.65); font-size: 15px; max-width: 440px; }
.contact-right { text-align: center; }
.contact-note { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 14px; }

/* ===== 页脚 ===== */
.footer { background: var(--ink); color: #fff; padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-slogan { font-family: var(--serif); color: var(--brand-light); font-size: 18px; }
.footer-copy { color: rgba(255,255,255,.45); font-size: 13px; }

/* ===== 滚动渐入动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .hide-m { display: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .business-grid, .feature-grid { grid-template-columns: 1fr; }
  .case-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .math-grid { grid-template-columns: 1fr; }
  .math-card.highlight { transform: none; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff; padding: 20px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.1); gap: 16px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(odd) { border-left: none; }
  .stat-item { border-top: 1px solid rgba(255,255,255,.08); }
  .case-grid, .team-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 40px 28px; }
  .section { padding: 72px 0; }
}
