/* 上海数动视界 DataScope — 门户样式（蓝白主色，取自 Logo） */
:root {
  --blue-deep: #1e5a9e;
  --blue-primary: #2e75b6;
  --blue-mid: #3d8fd4;
  --cyan-accent: #4fb8e3;
  --cyan-light: #7fcfea;
  --white: #ffffff;
  --gray-50: #f5f9fc;
  --gray-100: #e8f2fa;
  --gray-600: #475569;
  --gray-900: #0f172a;
  /* 商务版 PDF 首页采样背景 rgb(6,27,51) */
  --pdf-cover-bg: #061b33;
  --shadow: 0 4px 24px rgba(30, 90, 158, 0.08);
  --radius: 12px;
  --font-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-900);
  background: var(--white);
}

a {
  color: var(--blue-primary);
  text-decoration: none;
}

a:hover {
  color: var(--cyan-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 0 rgba(30, 90, 158, 0.06);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.brand-logo-img {
  height: 80px;
  width: auto;
  max-width: min(240px, 50vw);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  gap: 0.15rem;
  min-width: 0;
}

.brand-cn {
  font-weight: 700;
  font-size: clamp(0.78rem, 2.3vw, 0.95rem);
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--blue-primary);
  font-weight: 600;
}

.brand-edition {
  font-size: 0.68rem;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--gray-100);
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-primary);
  border-bottom-color: var(--cyan-accent);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 1rem;
  }
}

/* ----- Cover（PDF 首页 / 封面） ----- */
.cover.cover-pdf {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--pdf-cover-bg);
  padding: 2.5rem 1.25rem 4rem;
}

.cover.cover-pdf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 55% 45% at 50% -15%,
      rgba(79, 184, 227, 0.09),
      transparent 58%
    ),
    radial-gradient(
      ellipse 42% 38% at 100% 105%,
      rgba(46, 117, 182, 0.07),
      transparent 52%
    ),
    radial-gradient(
      ellipse 38% 34% at 0% 105%,
      rgba(46, 117, 182, 0.06),
      transparent 48%
    );
  pointer-events: none;
}

.cover-inner {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 3rem;
  text-align: center;
  /* 与首页大图 Logo 最大高度一致，用于按比例缩放下方英文 */
  --cover-logo-max-h: clamp(118px, 30vh, 232px);
}

.cover-logo-wrap,
.footer-logo-wrap {
  margin: 0 auto calc(var(--cover-logo-max-h) * 0.018 + 0.12rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-logo {
  height: auto;
  width: auto;
  max-height: var(--cover-logo-max-h);
  max-width: min(90vw, 400px);
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.28));
}

.cover-wordmark {
  margin: 0 0 calc(var(--cover-logo-max-h) * 0.065 + 1rem);
  font-size: clamp(
    1.95rem,
    calc(var(--cover-logo-max-h) * 0.258),
    4rem
  );
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}

.cover-headline {
  margin: 0 auto 1.35rem;
  white-space: nowrap;
  font-size: clamp(0.8125rem, 5.15vmin, 2.95rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.98);
}

@media (max-width: 380px) {
  .cover-headline {
    letter-spacing: 0.03em;
  }
}

.cover-slogans {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 auto 1.65rem;
}

.cover-slogans span {
  display: block;
  font-size: clamp(0.98rem, 3vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-light);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cover-slogans span {
    background: linear-gradient(
      90deg,
      #f0f9ff 0%,
      var(--cyan-light) 40%,
      var(--cyan-accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.cover-company {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.cover-editions {
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 28rem;
}

.cover-edition-zh {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 500;
}

.cover-edition-en {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.cover-page-num {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}

.cover-down {
  margin: 2.25rem 0 0;
}

.cover-down a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan-light);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.cover-down a:hover {
  color: var(--white);
  border-bottom-color: var(--cyan-accent);
}

@media (max-width: 480px) {
  .cover-page-num {
    font-size: 2.25rem;
    opacity: 0.9;
  }
}

/* ----- Sections ----- */
.section {
  padding: 3.5rem 1.25rem;
}

.section.alt {
  background: var(--gray-50);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--blue-deep);
}

.section-head p {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 0.35rem;
}

.prose {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--gray-600);
}

.prose p + p {
  margin-top: 1rem;
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.25rem;
}

.cards.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 业务体系：宽屏四个卡片同一行；窄屏再降为 2 列 / 1 列 */
#business .cards.cols-2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  #business .cards.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #business .cards.cols-2 {
    grid-template-columns: 1fr;
  }
}

.cards.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 117, 182, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.section.alt .card {
  background: var(--white);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 90, 158, 0.12);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--blue-primary);
}

/* 业务体系：四个卡片标题单行显示（不换行） */
#business .card h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: clamp(0.78rem, 1.1vw + 0.65rem, 1.05rem);
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan-accent));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Methodology pillars */
.pillar-card h3 {
  font-size: 1.15rem;
}

.pillar-char {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--cyan-accent), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.35rem;
}

/* Scenario blocks */
.scenario-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scenario-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.scenario-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--blue-deep);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cyan-light);
}

.scenario-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
}

/* Tag list */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: var(--gray-100);
  color: var(--blue-deep);
  border: 1px solid rgba(46, 117, 182, 0.15);
}

/* Quote / mission */
.mission-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 50%, var(--cyan-accent) 100%);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.mission-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.mission-block p {
  margin: 0 auto;
  max-width: 62ch;
  opacity: 0.95;
  font-size: 0.98rem;
  line-height: 1.85;
}

/* Footer — 商务版 PDF 最后一页（Closing），视觉与首页封面一致 */
.site-footer.site-footer-closing {
  position: relative;
  overflow: hidden;
  background-color: var(--pdf-cover-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 1.25rem 2.25rem;
  border-top: none;
}

.site-footer.site-footer-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 55% 45% at 50% -15%,
      rgba(79, 184, 227, 0.09),
      transparent 58%
    ),
    radial-gradient(
      ellipse 42% 38% at 100% 105%,
      rgba(46, 117, 182, 0.07),
      transparent 52%
    ),
    radial-gradient(
      ellipse 38% 34% at 0% 105%,
      rgba(46, 117, 182, 0.06),
      transparent 48%
    );
  pointer-events: none;
}

.site-footer.site-footer-closing a {
  color: var(--cyan-light);
}

.footer-closing-inner {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  text-align: center;
  --cover-logo-max-h: clamp(118px, 30vh, 232px);
}

.footer-tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 3.5vmin, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-light);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-tagline {
    background: linear-gradient(
      90deg,
      #f0f9ff 0%,
      var(--cyan-light) 45%,
      var(--cyan-accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.footer-ident,
.footer-role-line {
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.footer-ident {
  margin: 0 0 0.35rem;
}

.footer-role-line {
  margin: 0 0 1.75rem;
}

.footer-body-lines {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.footer-body-lines p {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.82);
}

.footer-body-lines p:last-child {
  margin-bottom: 0;
}

.footer-book-slogan {
  margin: 0 auto 1.75rem;
  padding: 1rem 0.75rem;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-closing-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-closing-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.footer-page-badge {
  font-size: clamp(2.5rem, 8vmin, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.65);
}

@media (max-width: 520px) {
  .brand-edition {
    display: none;
  }

  .footer-closing-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* CTA strip */
.cta-strip {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed rgba(46, 117, 182, 0.35);
  text-align: center;
  color: var(--gray-600);
  font-size: 0.92rem;
}
