/* ===================================================
   专家云官网 - 公共样式
   风格：严谨、专业、克制（藏青主色 + 金色点缀）
   =================================================== */

:root {
  --navy-900: #0c2547;
  --navy-800: #12325c;
  --navy-700: #1a4076;
  --navy-600: #24538f;
  --gold: #b69355;
  --gold-light: #cbb07c;
  --ink: #1d2733;
  --ink-soft: #4a5665;
  --ink-mute: #7b8796;
  --line: #e2e7ee;
  --bg-soft: #f5f7fa;
  --bg-white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(12, 37, 71, 0.08);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 74px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(12,37,71,.08); }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--navy-800);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 21px; font-weight: 700; color: var(--navy-800); letter-spacing: 2px; }
.brand-sub { font-size: 9px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 15px; height: 100%;
  font-size: 14.5px; color: var(--ink);
  transition: color .2s;
  white-space: nowrap;
}
.nav-item > a:hover, .nav-item.active > a { color: var(--navy-700); }
.nav-item.active > a { font-weight: 600; }
.nav-item.has-drop > a::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nav-item.has-drop:hover > a::after { transform: rotate(225deg) translateY(-2px); }

.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-700);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  padding: 6px 0;
}
.nav-item.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 9px 20px; font-size: 14px; color: var(--ink-soft); transition: all .18s; }
.dropdown a:hover { color: var(--navy-700); background: var(--bg-soft); padding-left: 26px; }

.header-cta {
  flex-shrink: 0;
  background: var(--navy-800); color: #fff;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background .2s;
  margin-left: 12px;
}
.header-cta:hover { background: var(--navy-600); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .2s; }

/* ---------- 通用区标题 ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy-900); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--gold); letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--navy-900); letter-spacing: 1px; line-height: 1.35; }
.section.navy .section-title { color: #fff; }
.section-title::after {
  content: ""; display: block;
  width: 42px; height: 3px; background: var(--gold);
  margin-top: 18px;
}
.section-head.center .section-title::after { margin-left: auto; margin-right: auto; }
.section-desc { font-size: 16px; color: var(--ink-soft); margin-top: 20px; line-height: 1.9; }
.section.navy .section-desc { color: rgba(255,255,255,.72); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  transition: all .22s; cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a17f3f; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(182,147,85,.3); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

/* ---------- 首屏主视觉 ---------- */
.hero {
  min-height: 640px;
  margin-top: 74px;
  background:
    radial-gradient(1200px 500px at 78% 20%, rgba(36,83,143,.55), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-graphic {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  opacity: .5; pointer-events: none;
}
.hero-graphic svg { width: 620px; height: auto; }
.hero-inner { position: relative; z-index: 2; padding: 90px 0; }
.hero h1 { font-size: 68px; font-weight: 700; letter-spacing: 10px; line-height: 1.15; margin-bottom: 20px; }
.hero .hero-slogan { font-size: 26px; color: var(--gold-light); font-weight: 500; letter-spacing: 4px; margin-bottom: 18px; }
.hero .hero-sub { display: inline-block; font-size: 15px; color: rgba(255,255,255,.8); letter-spacing: 1px; border-left: 2px solid var(--gold); padding-left: 14px; margin-bottom: 28px; }
.hero .hero-desc { max-width: 620px; font-size: 16px; color: rgba(255,255,255,.8); line-height: 2; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 内页页头 ---------- */
.page-hero {
  margin-top: 74px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 76px 0 68px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-size: 42px; font-weight: 700; letter-spacing: 4px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 16px; margin-top: 14px; max-width: 640px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-light); }

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

.advantage-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all .25s; position: relative;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.adv-icon {
  width: 54px; height: 54px; background: var(--bg-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.adv-icon svg { width: 28px; height: 28px; }
.advantage-card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 12px; font-weight: 700; }
.advantage-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.advantage-card .num {
  position: absolute; right: 26px; top: 20px;
  font-size: 44px; font-weight: 800; color: var(--bg-soft); line-height: 1;
}

/* ---------- 图文左右布局 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-size: 30px; color: var(--navy-900); margin-bottom: 8px; font-weight: 700; }
.split-text .tag { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 2px; margin-bottom: 18px; display: block; }
.split-text p { color: var(--ink-soft); font-size: 15px; line-height: 2; }
.split-figure {
  background: var(--bg-soft); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.split-figure svg { width: 100%; height: auto; }
.fig-tag { position: absolute; bottom: 14px; left: 16px; font-size: 11px; color: var(--ink-mute); letter-spacing: 1px; }

/* ---------- 服务步骤卡 ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-fig { height: 170px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.service-fig svg { width: 100%; height: 100%; }
.service-body { padding: 24px 26px 28px; }
.service-step { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.service-body h3 { font-size: 20px; color: var(--navy-800); margin: 6px 0 4px; }
.service-body .sub { font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; }
.service-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; cursor: pointer;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: var(--gold); }
.case-thumb { height: 180px; display: flex; align-items: center; justify-content: center; }
.case-thumb svg { width: 100%; height: 100%; }
.case-body { padding: 22px 24px 26px; }
.case-cat { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.case-body h3 { font-size: 17px; color: var(--navy-800); margin: 8px 0 0; line-height: 1.5; }
.case-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--navy-600); font-weight: 600; }
.case-card:hover .case-more { color: var(--gold); }

/* ---------- 平台能力条 ---------- */
.capability {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: #fff;
}
.capability:nth-child(even) .cap-fig { order: 2; }
.cap-fig { min-height: 300px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.cap-fig svg { width: 100%; height: 100%; }
.cap-text { padding: 46px 44px; }
.cap-text .idx { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.cap-text h3 { font-size: 25px; color: var(--navy-800); margin: 8px 0; }
.cap-text .slogan { font-size: 15px; color: var(--navy-600); font-weight: 600; margin-bottom: 16px; }
.cap-text p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }

/* ---------- 合作招商 ---------- */
.coop-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 42px 34px; transition: all .25s; text-align: center;
}
.coop-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.coop-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--bg-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.coop-icon svg { width: 32px; height: 32px; }
.coop-card h3 { font-size: 21px; color: var(--navy-800); margin-bottom: 10px; }
.coop-card .slogan { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 16px; min-height: 24px; }
.coop-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; text-align: left; }

/* ---------- 关于我们 ---------- */
.about-lead { font-size: 16px; color: var(--ink-soft); line-height: 2.1; max-width: 900px; margin: 0 auto 20px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.about-feature { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 26px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.about-feature h4 { font-size: 16px; color: var(--navy-800); margin-bottom: 10px; }
.about-feature p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

.team-figure { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); min-height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-figure svg { width: 100%; height: 100%; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.contact-item .ico { width: 52px; height: 52px; margin: 0 auto 16px; background: var(--bg-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-item .ico svg { width: 26px; height: 26px; }
.contact-item h4 { font-size: 15px; color: var(--navy-800); margin-bottom: 8px; }
.contact-item p { font-size: 14px; color: var(--ink-soft); }
.placeholder { color: #b08d4e; background: #fbf6ea; padding: 1px 6px; border-radius: 3px; font-size: 13px; }

/* ---------- 下载 APP ---------- */
.download-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 900px; margin: 0 auto; padding: 60px 50px;
  display: grid; grid-template-columns: 1fr 260px; gap: 50px; align-items: center; box-shadow: var(--shadow);
}
.download-box h2 { font-size: 32px; color: var(--navy-800); letter-spacing: 3px; }
.download-box .slogan { color: var(--gold); font-size: 16px; margin: 10px 0 20px; font-weight: 600; }
.download-box p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.95; }
.qr-box { text-align: center; }
.qr-placeholder { width: 180px; height: 180px; margin: 0 auto 14px; background: var(--bg-soft); border: 1px dashed var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--ink-mute); font-size: 12px; }
.qr-placeholder svg { width: 60px; height: 60px; opacity: .4; }
.download-btns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: var(--navy-800); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; letter-spacing: 2px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 8px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 66px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; line-height: 1.9; font-size: 13px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; position: relative; padding-left: 14px; }
.footer-col h4::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--gold); }
.footer-col a { display: block; margin-bottom: 12px; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-compliance { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.45); }

/* ---------- 回到顶部 ---------- */
.to-top { position: fixed; right: 26px; bottom: 30px; width: 44px; height: 44px; background: var(--navy-800); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; box-shadow: var(--shadow); z-index: 999; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-item > a { padding: 0 10px; font-size: 13.5px; }
  .header-cta { padding: 8px 14px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; height: auto; max-height: calc(100vh - 74px); overflow-y: auto; padding: 10px 0; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-item { height: auto; display: block; }
  .nav-item > a { height: auto; padding: 13px 24px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; border-top: 1px solid var(--line); border-radius: 0; min-width: 0; display: none; padding: 0; }
  .nav-item.has-drop.open .dropdown { display: block; }
  .dropdown a { padding: 10px 40px; }
  .nav-item.has-drop > a::after { display: none; }
  .header-cta { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-graphic { display: none; }
  .grid-3, .grid-2, .split, .capability, .download-box, .contact-grid, .about-features, .footer-top { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .capability:nth-child(even) .cap-fig { order: 0; }
  .section { padding: 64px 0; }
  .section-title { font-size: 27px; }
  .page-hero h1 { font-size: 32px; }
  .download-box { padding: 36px 26px; }
}
