/* 雀书AI落地页：结构对齐实施/售后服务页，header/footer 走 site-shell */
:root {
  --ai-blue: #165dff;
  --ai-ink: #333;
  --ai-muted: #4e5969;
  --ai-surface: #f8f9fd;
  --content: 1280px;
  --page-gutter: clamp(40px, 6vw, 108px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body[data-page="ai-v2"] {
  margin: 0;
  color: var(--ai-ink);
  background: var(--ai-surface);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-page="ai-v2"] img { display: block; max-width: 100%; }
body[data-page="ai-v2"] a { text-decoration: none; }
body[data-page="ai-v2"] a.enter-button,
body[data-page="ai-v2"] a.primary-button,
body[data-page="ai-v2"] .final-cta__buttons a.secondary-button {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
body[data-page="ai-v2"] .ai-hero-actions a.secondary-button,
body[data-page="ai-v2"] .ai-more a.secondary-button {
  color: var(--ai-blue);
  -webkit-text-fill-color: var(--ai-blue);
}
body[data-page="ai-v2"] h1,
body[data-page="ai-v2"] h2,
body[data-page="ai-v2"] h3,
body[data-page="ai-v2"] h4,
body[data-page="ai-v2"] p { margin: 0; }

.ai-container {
  width: min(var(--content), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.ai-section { padding: 64px 0; }
.ai-section--white { background: #fff; }
.ai-heading { text-align: center; }
.ai-heading h2 {
  color: #333;
  font-size: 42px;
  line-height: 1.4;
  font-weight: 700;
}
.ai-heading p {
  margin-top: 24px;
  color: #000;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.ai-hero {
  position: relative;
  overflow: hidden;
  height: 880px;
  min-height: 880px;
  background: #f3f9ff url("/static/website-v2/figma-export/assets/files/e4fd9e87-3890-4fc9-8017-eebf1f72bcf5.jpg") center bottom / cover no-repeat;
}
.ai-hero::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  z-index: 0;
  width: calc(994 / 1920 * 100%);
  height: 100%;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 100%);
  pointer-events: none;
}
.ai-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: start;
  column-gap: clamp(32px, 4vw, 64px);
  height: 100%;
  padding-top: 228px;
}
body[data-page="ai-v2"] .ai-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(640px, 100%);
  gap: 60px;
}
body[data-page="ai-v2"] .ai-hero h1 {
  margin: 0;
  background: linear-gradient(100deg, #053f8b, #0551ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 700;
}
body[data-page="ai-v2"] .ai-hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: #003eca;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 400;
}
.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.ai-hero-actions .primary-button,
.ai-hero-actions .secondary-button {
  min-width: 190px;
  min-height: 64px;
  padding: 0 48px;
  border-radius: 15px;
  font-size: 24px;
  font-weight: 500;
}
.ai-hero-actions .secondary-button {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(-43deg, #0551ff 12%, #87bbff 100%) border-box;
}

.ai-hero-panel {
  justify-self: end;
  width: min(460px, 100%);
  margin-top: 12px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 22px 48px rgba(50, 113, 201, .12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.ai-hero-panel__head {
  display: grid;
  gap: 10px;
}
.ai-hero-panel__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  color: #165dff;
  background: rgba(22, 93, 255, .1);
  font-size: 13px;
  font-weight: 600;
}
.ai-hero-panel__head h2 {
  color: #1a1d2c;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}
.ai-hero-panel__head p {
  color: #4e5969;
  font-size: 15px;
  line-height: 1.55;
}
.ai-hero-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ai-hero-panel__chips span {
  padding: 8px 14px;
  border-radius: 999px;
  color: #0551ff;
  background: linear-gradient(135deg, rgba(5, 81, 255, .08), rgba(135, 187, 255, .18));
  font-size: 13px;
  font-weight: 500;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ai-hero-panel__chips span:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(22, 93, 255, .12);
  background: linear-gradient(135deg, rgba(5, 81, 255, .14), rgba(135, 187, 255, .28));
}
.ai-hero-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(22, 93, 255, .12);
}
.ai-hero-panel__metrics div {
  text-align: center;
}
.ai-hero-panel__metrics b {
  display: block;
  color: #165dff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}
.ai-hero-panel__metrics span {
  display: block;
  margin-top: 6px;
  color: #4e5969;
  font-size: 12px;
  line-height: 1.4;
}

.ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.ai-capability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  padding: 32px 24px 24px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, .1);
  text-align: center;
}
.ai-capability-card__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  object-fit: contain;
}
body[data-page="ai-v2"] .ai-capability-card h3 {
  color: #333;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}
body[data-page="ai-v2"] .ai-capability-card p {
  margin-top: 24px;
  color: #4e5969;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.ai-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.ai-scene-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}
.ai-scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(22, 93, 255, .12);
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}
.ai-scene-card__icon {
  display: block;
  width: 68px;
  height: 68px;
  margin-inline: auto;
  object-fit: contain;
}
body[data-page="ai-v2"] .ai-scene-card h3 {
  margin-top: 32px;
  color: #333;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}
body[data-page="ai-v2"] .ai-scene-card p {
  min-height: 72px;
  margin-top: 20px;
  color: #4e5969;
  font-size: 16px;
  line-height: 1.5;
}
.ai-scene-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 24px;
  padding: 6px 16px;
  border-radius: 41px;
  color: var(--ai-ch, #165dff);
  background: var(--ai-ch-bg, #e8efff);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}
.ai-scene-card--report { --ai-ch: #165dff; --ai-ch-bg: #e8efff; }
.ai-scene-card--recruit { --ai-ch: #007232; --ai-ch-bg: #e9fff3; }
.ai-scene-card--contract { --ai-ch: #2b00c5; --ai-ch-bg: #f8f6ff; }
.ai-scene-card--finance { --ai-ch: #ba8700; --ai-ch-bg: #fff7e8; }
.ai-scene-card--train { --ai-ch: #88006f; --ai-ch-bg: #ffeefb; }
.ai-scene-card--data { --ai-ch: #0f766e; --ai-ch-bg: #e6fffa; }
.ai-scene-link {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
  color: var(--ai-ch, #165dff);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.ai-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.ai-value-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}
.ai-value-icon {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(22, 93, 255, .1);
}
.ai-value-icon img { width: 24px; height: 24px; }
.ai-value-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.ai-value-copy h4 {
  color: #1a1d2c;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}
.ai-value-copy p {
  color: #5e6475;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
}

.ai-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.ai-case-card {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}
.ai-case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ai-case-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #1d2129;
  font-size: 24px;
  font-weight: 700;
}
.ai-case-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.ai-tag {
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.ai-tag--blue { color: #165dff; background: #e8efff; }
.ai-tag--orange { color: #d25f00; background: #fff3e8; }
.ai-case-align {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, .8fr);
  gap: 24px;
  margin-top: 24px;
}
.ai-case-story h4 {
  margin-bottom: 8px;
  color: #1a1d2c;
  font-size: 18px;
  font-weight: 700;
}
.ai-case-story h4 + p,
.ai-case-story h4 + ul { margin-bottom: 20px; }
.ai-case-story p,
.ai-case-story li {
  color: #4e5969;
  font-size: 14px;
  line-height: 1.6;
}
.ai-case-story ul {
  margin: 0;
  padding-left: 18px;
}
.ai-case-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.ai-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ai-metric {
  text-align: center;
}
.ai-metric b {
  display: block;
  color: var(--ai-blue);
  font-size: 28px;
  line-height: 1.2;
}
.ai-metric span {
  color: #4e5969;
  font-size: 13px;
  line-height: 1.4;
}
.ai-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.ai-more .secondary-button {
  min-width: 160px;
  min-height: 48px;
  padding: 0 32px;
  border: 2px solid var(--ai-blue);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .ai-hero {
    height: auto;
    min-height: 0;
    padding-bottom: 48px;
    background-position: 70% center;
  }
  .ai-hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.2) 100%);
  }
  .ai-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 160px;
    padding-bottom: 0;
    height: auto;
  }
  body[data-page="ai-v2"] .ai-hero-copy {
    width: 100%;
    gap: 28px;
  }
  .ai-hero-panel {
    display: none;
  }
  .ai-capability-grid,
  .ai-scene-grid { grid-template-columns: 1fr 1fr; }
  .ai-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --page-gutter: 16px; }
  .ai-hero { padding-bottom: 40px; }
  .ai-hero-inner { padding-top: 88px; }
  body[data-page="ai-v2"] .ai-hero-copy { gap: 16px; }
  body[data-page="ai-v2"] .ai-hero h1 { font-size: 24px; line-height: 1.35; letter-spacing: -0.02em; }
  body[data-page="ai-v2"] .ai-hero-copy > p { font-size: 14px; line-height: 1.5; }
  .ai-hero-actions {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .ai-hero-actions .primary-button,
  .ai-hero-actions .secondary-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    max-width: 136px;
    min-height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }
  .ai-section { padding: 36px 0; }
  .ai-heading h2 { font-size: 20px; }
  .ai-heading p { margin-top: 8px; font-size: 13px; }
  .ai-capability-grid,
  .ai-scene-grid,
  .ai-value-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }
  .ai-capability-card,
  .ai-scene-card,
  .ai-value-card {
    min-height: 0;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(210, 220, 238, .9);
  }
  .ai-capability-card {
    align-items: flex-start;
    text-align: left;
  }
  .ai-capability-card__icon,
  .ai-scene-card__icon {
    width: 36px;
    height: 36px;
    margin: 0 0 8px;
  }
  body[data-page="ai-v2"] .ai-capability-card h3,
  body[data-page="ai-v2"] .ai-scene-card h3 {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }
  body[data-page="ai-v2"] .ai-capability-card p,
  body[data-page="ai-v2"] .ai-scene-card p {
    min-height: 0;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .ai-scene-link {
    padding-top: 8px;
    margin-top: 8px;
    font-size: 12px;
    text-align: left;
  }
  .ai-value-card { gap: 10px; }
  .ai-value-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .ai-value-icon img { width: 16px; height: 16px; }
  .ai-value-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .ai-value-copy h4 { font-size: 14px; white-space: normal; }
  .ai-value-copy p { text-align: left; font-size: 12px; line-height: 1.45; }
  .ai-case-grid { gap: 0; margin-top: 16px; }
  .ai-case-card:nth-child(n + 2) { display: none; }
  .ai-case-card {
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(210, 220, 238, .9);
  }
  .ai-case-brand { font-size: 14px; gap: 8px; }
  .ai-case-brand img { width: 28px; height: 28px; }
  .ai-tag { padding: 2px 8px; font-size: 11px; }
  .ai-case-align { grid-template-columns: 1fr; gap: 10px; }
  .ai-case-media { order: -1; }
  .ai-case-photo { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
  .ai-case-story h4 { font-size: 13px; margin: 0 0 4px; }
  .ai-case-story h4 + p,
  .ai-case-story h4 + ul { margin-bottom: 10px; }
  .ai-case-story p,
  .ai-case-story li { font-size: 12px; line-height: 1.45; }
  .ai-metrics { gap: 8px; margin-top: 10px; }
  .ai-metric b { font-size: 16px; }
  .ai-metric span { font-size: 11px; }
}
