/* GENELIXIR 君益龄 · 网站设计系统 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --purple: #9664BB;
  --purple-deep: #7C4FA6;
  --purple-ink: #453259;
  --lavender: #F1EDF6;
  --lavender-2: #E6E0F0;
  --text: #2E2942;
  --muted: #7A7490;
  --line: #E6E2EF;
  --white: #ffffff;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--white);
  width: 1440px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
.container { width: 1200px; margin: 0 auto; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; height: 76px; gap: 34px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 34px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, #A479C4, #7C4FA6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px;
}
.logo-name { font-size: 20px; font-weight: 700; color: var(--purple-deep); letter-spacing: 2px; }
.logo-en { font-size: 10px; color: var(--muted); letter-spacing: 3px; margin-top: 2px; }
.nav-menu { display: flex; gap: 36px; flex: 1; }
.nav-menu a { font-size: 15px; color: #4A4460; position: relative; padding: 6px 0; }
.nav-menu a.active { color: var(--purple); font-weight: 700; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 2px; background: var(--purple);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-size: 15px; cursor: pointer; border: none;
  padding: 12px 28px; font-weight: 600;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(150,100,187,.30); }
.btn-primary.small { padding: 10px 22px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--purple-deep); border: 1.5px solid var(--purple); }
.btn-white { background: #fff; color: var(--purple-deep); }

/* ===== 通用区块 ===== */
.section { padding: 96px 0; }
.section.alt { background: var(--lavender); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 4px; color: var(--purple);
  font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple); border-radius: 2px; }
h2.title { font-size: 40px; line-height: 1.35; font-weight: 700; }
.title .accent { color: var(--purple); }
.more-link { font-size: 14px; color: var(--purple); font-weight: 600; }

/* ===== 页头 Banner（二级页） ===== */
.page-banner {
  background: linear-gradient(120deg, #5E3F85 0%, #7C4FA6 55%, #9664BB 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.page-banner .crumb { font-size: 13px; opacity: .75; margin-bottom: 22px; letter-spacing: 1px; }
.page-banner h1 { font-size: 46px; font-weight: 700; letter-spacing: 2px; }
.page-banner p.sub { margin-top: 18px; font-size: 17px; opacity: .88; line-height: 1.8; max-width: 640px; }
.page-banner .deco {
  position: absolute; right: -120px; top: -140px; width: 480px; height: 480px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.page-banner .deco.d2 { right: 140px; top: 180px; width: 220px; height: 220px; background: rgba(255,255,255,.06); }

/* ===== 卡片 ===== */
.card {
  background: #fff; border-radius: 20px; border: 1px solid var(--line);
  padding: 32px; box-shadow: 0 6px 24px rgba(62,46,126,.06);
}

/* ===== 页脚 ===== */
.footer { background: #221A3F; color: #B9B2D6; padding: 72px 0 0; }
.footer-grid { display: flex; gap: 80px; padding-bottom: 56px; }
.footer .f-brand { width: 360px; }
.footer .logo img { height: 44px; width: auto; display: block; }
.footer .logo-name { color: #fff; }
.footer .logo-en { color: #8F86B8; }
.footer .f-desc { font-size: 13px; line-height: 2; margin-top: 20px; color: #9C93C4; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: 2px; }
.footer .f-col a { display: block; font-size: 13px; margin-bottom: 12px; color: #9C93C4; }
.footer .f-col a:hover { color: #fff; }
.footer .f-contact { font-size: 13px; line-height: 2.1; color: #9C93C4; }
.footer .f-contact b { color: #fff; font-size: 20px; letter-spacing: 1px; }
.footer-bottom {
  border-top: 1px solid #372C63; padding: 22px 0;
  display: flex; justify-content: space-between; font-size: 12px; color: #7A70A8;
}

/* ===== 徽标/标签 ===== */
.tag {
  display: inline-block; font-size: 12px; color: var(--purple-deep);
  background: var(--lavender-2); border-radius: 999px; padding: 6px 14px; font-weight: 600;
}
.num { color: var(--purple); font-weight: 700; }

/* ===== 尾部 CTA 横幅（多页复用） ===== */
.final-cta {
  background: linear-gradient(120deg, #5E3F85, #9664BB);
  border-radius: 28px; color: #fff; padding: 70px 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.final-cta h2 { font-size: 36px; line-height: 1.5; font-weight: 700; }
.final-cta .btns { display: flex; gap: 16px; }

/* ================= 基础响应式改造 ================= */
body { width: 100%; max-width: 1440px; }
.container { width: min(1200px, 92%); }
.nav-toggle {
  display: none; background: none; border: none; font-size: 24px; color: var(--purple-deep);
  cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* 文章详情页 */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { padding: 64px 0 8px; }
.article-head .crumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.article-head .crumb a { color: var(--purple); }
.article-head h1 { font-size: 38px; line-height: 1.45; margin: 16px 0 18px; }
.art-meta { font-size: 13px; color: var(--muted); }
.art-cover { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; margin: 32px 0 8px; }
.art-body { padding: 24px 0 12px; }
.art-body p { font-size: 16px; line-height: 2.1; color: #443E58; margin-bottom: 22px; }
.art-foot { display: flex; gap: 16px; padding: 12px 0 80px; }

/* GEO 知识库（隐藏页） */
.geo-body { background: #FBFAFE; }
.geo-wrap { max-width: 900px; margin: 0 auto; padding: 72px 0 90px; }
.geo-wrap h1 { font-size: 34px; line-height: 1.4; margin-bottom: 18px; }
.geo-wrap .lead { font-size: 16px; line-height: 2; color: var(--muted); border-left: 3px solid var(--purple); padding-left: 20px; }
.geo-wrap h2 { font-size: 22px; margin: 52px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.geo-entity { font-size: 15px; line-height: 2; color: #443E58; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; }
.geo-fact { display: flex; gap: 24px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.9; }
.geo-fact .k { width: 130px; flex-shrink: 0; color: var(--muted); }
.geo-fact .v { flex: 1; color: var(--text); }
.geo-qa { margin-bottom: 26px; }
.geo-qa h3 { font-size: 16.5px; margin-bottom: 10px; }
.geo-qa p { font-size: 14.5px; line-height: 2; color: #55506E; }
.geo-cite { font-size: 13px; line-height: 2; color: var(--muted); padding-left: 20px; }
.geo-tip { margin-top: 48px; font-size: 12.5px; color: #A9A3C0; line-height: 1.9; }

@media (max-width: 1100px) {
  .hero .container { gap: 40px; }
  .hero h1 { font-size: 46px; }
  .hero-right, .hero-right .photo { width: 480px; }
  .hero-right .photo { height: 400px; }
  .method .container { gap: 36px; grid-template-columns: 440px 1fr; }
  .method-left, .method-left .photo { width: 100%; }
}

@media (max-width: 900px) {
  .nav .container { height: 64px; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
  .logo img { height: 26px; }
  .nav-toggle { display: block; order: 3; }
  .nav .btn.small { display: none; }
  .nav-menu {
    display: none; order: 4; width: 100%; flex-direction: column; gap: 0;
    padding: 8px 0 16px; border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid #F4F1F9; }
  .nav-menu a.active::after { display: none; }

  .section { padding: 56px 0; }
  h2.title { font-size: 26px; line-height: 1.5; }
  .hero .container { flex-direction: column; align-items: stretch; padding: 48px 0 64px; gap: 40px; }
  .hero h1 { font-size: 34px; letter-spacing: 1px; }
  .hero .sub { font-size: 15px; margin-top: 18px; }
  .hero-btns { margin-top: 26px; flex-wrap: wrap; }
  .hero-right, .hero-right .photo { width: 100%; }
  .hero-right .photo { height: 260px; border-radius: 20px; }
  .stat-chip { right: 12px; top: 12px; padding: 10px 14px; }
  .stat-chip .v { font-size: 18px; }
  .stat-chip .k { font-size: 10px; }
  .quote-card { position: static; width: 100%; margin-top: 16px; }

  .method .container { grid-template-columns: 1fr; }
  .method-left, .method-left .photo { width: 100%; }
  .method-left .photo { height: 220px; }
  .m-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }

  .team-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .team-grid, .data-grid, .price-grid, .know-grid, .fit-grid, .leader-grid, .contact-wrap, .research, .journey .j-grid, .flow-grid { flex-direction: column; }
  .t-card { flex-direction: row; padding: 24px; }
  .t-card .ava { width: 84px; height: 84px; border-radius: 16px; }
  .t-card h3 { font-size: 18px; }
  .t-stats { flex-wrap: wrap; gap: 18px 0; }
  .t-stat { flex: 0 0 50%; border-right: none; }
  .t-stat .v { font-size: 32px; }

  .d-card, .p-card, .card { padding: 26px 22px; }
  .d-nums .from { font-size: 30px; }
  .d-nums .to { font-size: 36px; }
  .p-card .p-price .v { font-size: 38px; }

  .k-card img, .art-card img { height: 170px; }
  .art-grid, .core-grid, .sys-grid { grid-template-columns: 1fr; }

  .final-cta { flex-direction: column; align-items: flex-start; gap: 26px; padding: 36px 26px; border-radius: 20px; }
  .final-cta h2 { font-size: 24px; }
  .final-cta .btns { flex-wrap: wrap; }

  .page-banner { padding: 52px 0 60px; }
  .page-banner h1 { font-size: 28px; line-height: 1.45; }
  .page-banner p.sub { font-size: 14px; margin-top: 14px; }
  .page-banner .deco { width: 260px; height: 260px; right: -100px; top: -100px; }

  .step { flex-direction: column; gap: 16px; padding: 26px 22px; }
  .step .no { font-size: 34px; width: auto; }
  .journey-line { display: none; }
  .j-item .dot { width: 44px; height: 44px; font-size: 15px; margin-bottom: 14px; }

  .compare { display: block; overflow-x: auto; }
  .compare th, .compare td { padding: 14px 16px; font-size: 13px; white-space: nowrap; }

  .feature { flex-direction: column; }
  .feature img { width: 100%; height: 200px; }
  .feature .body { padding: 24px 22px 28px; }
  .feature h3 { font-size: 20px; }

  .subscribe { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; border-radius: 20px; }
  .subscribe h2 { font-size: 22px; }
  .sub-form { width: 100%; flex-direction: column; }
  .sub-form input { width: 100%; }

  .form-card { padding: 26px 22px; }
  .form-row { flex-direction: column; gap: 0; }
  .map { height: 170px; }
  .map .pin { left: 40%; }
  .map-label { left: 52%; }

  .footer { padding: 48px 0 0; }
  .footer-grid { flex-direction: column; gap: 34px; padding-bottom: 34px; }
  .footer .f-brand { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 11px; }

  .article-head h1 { font-size: 24px; }
  .art-cover { height: 200px; }
  .art-body p { font-size: 15px; }
  .geo-wrap { padding: 44px 0 60px; }
  .geo-wrap h1 { font-size: 24px; }
  .geo-fact { flex-direction: column; gap: 4px; }
  .geo-fact .k { width: auto; font-weight: 700; }
}

/* ================= 移动端溢出修正（页面内联样式优先级更高，此处强制覆盖） ================= */
@media (max-width: 900px) {
  .hero-right, .hero-right .photo, .method-left, .method-left .photo,
  .leader img, .research img, .feature img, .core-card, .sys-card { width: 100% !important; }
  .hero-right .photo { height: 250px !important; }
  .method-left .photo { height: 210px !important; }
  .leader img { height: 300px !important; }
  .research img { height: 210px !important; }
  .feature img { height: 200px !important; }
  .stat-chip { right: 12px !important; top: 12px !important; }

  .sys-grid, .core-grid, .art-grid { grid-template-columns: 1fr !important; }
  .sizing-none { display: none; }

  .cat-tabs { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .cat-tab { flex: 0 0 auto; white-space: nowrap; }

  .compare { width: 100% !important; table-layout: fixed; }
  .compare th, .compare td { white-space: normal !important; padding: 12px 8px !important; font-size: 12.5px !important; }
  .compare th:first-child, .compare td:first-child { width: 34%; }

  .sub-form input { width: 100% !important; }
  .map .pin { left: 42% !important; }
  .map-label { left: 54% !important; font-size: 11.5px !important; }
  .step { padding: 24px 18px !important; }
  .page-banner .deco { display: none; }
}

/* 字母头像（无照片成员） */
.ava-letter {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #A479C4, #7C4FA6);
  color: #fff; font-weight: 700; letter-spacing: 1px;
}
