/* =========================================================================
   info.css —— info-* 内容体系（info content system）
   -------------------------------------------------------------------------
   【P2 抽取产物】
   来源：support.html / solutions.html 原内联 <style> 中【跨页一致】的 info-* 规则
         （含 :root 的 --info-* 主题变量与 @keyframes info-*）。
   依赖：请在 css/common.css 之后加载。
   说明：页面独属样式（如 support 的 .manual-form*）
         保留在各自页面内联 <style>，不在此文件。
   ========================================================================= */

/* =================== 基础组件（顶层） =================== */

:root {
  color-scheme: light;
  --info-blue: #078fc8;
  --info-blue-dark: #007db5;
  --info-ink: #071526;
  --info-body: #526b7e;
  --info-muted: #758999;
  --info-line: #d7e4eb;
  --info-soft: #f2f7fa;
  --info-soft-strong: #e7f2f7;
  --info-dark: #061421;
  --info-ease: cubic-bezier(.16, 1, .3, 1);
}

body.info-page {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--info-ink);
  background: #fff;
  font-family: "Geist", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.info-page a {
  color: inherit;
}

.info-page button, .info-page select {
  font: inherit;
}

.info-page a, .info-page button, .info-page select {
  -webkit-tap-highlight-color: transparent;
}

.info-page :focus-visible {
  outline: 2px solid var(--info-blue);
  outline-offset: 3px;
}

.info-main {
  min-height: calc(100dvh - 72px);
}

.info-shell {
  width: min(calc(100% - 48px), 1400px);
  margin-inline: auto;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.info-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid var(--info-blue);
  border-radius: 4px;
  color: #fff;
  background: var(--info-blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--info-ease), background .22s var(--info-ease), border-color .22s var(--info-ease), box-shadow .22s var(--info-ease);
}

.info-button:hover {
  background: var(--info-blue-dark);
  box-shadow: 0 14px 30px rgba(7, 143, 200, .2);
  transform: translateY(-2px);
}

.info-button.secondary {
  color: #23465d;
  border-color: #bfd0da;
  background: #fff;
  box-shadow: none;
}

.info-button.secondary:hover {
  color: var(--info-blue);
  border-color: #78b9d3;
  background: #f8fcfe;
}

.info-button:active {
  transform: translateY(1px);
}

.info-button svg {
  width: 17px;
  height: 17px;
}

.info-toast {
  position: fixed;
  z-index: 95;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid #bcd8e6;
  border-radius: 6px;
  color: #17384d;
  background: #fff;
  box-shadow: 0 18px 48px rgba(21, 66, 92, .18);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s var(--info-ease), transform .25s var(--info-ease);
}

.info-toast.is-visible {
  opacity: 1;
  transform: none;
}

.info-switch-section {
  padding: 82px 0 112px;
  background: #fff;
}

.info-switch-head {
  display: block;
  margin-bottom: 30px;
}

.info-switch-head h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 3.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -.036em;
  text-wrap: balance;
}

.info-switch-head p {
  max-width: 58ch;
  margin: 11px 0 0;
  color: var(--info-body);
  font-size: 16px;
  line-height: 1.7;
}

.info-switch-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 17px 0 18px;
  border-block: 1px solid var(--info-line);
  scrollbar-width: none;
}

.info-switch-tabs::-webkit-scrollbar {
  display: none;
}

.info-switch-tab {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid #d5e0e7;
  border-radius: 4px;
  color: #526579;
  background: #f5f7f9;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
  transition: color .22s var(--info-ease), background .22s var(--info-ease), border-color .22s var(--info-ease), transform .22s var(--info-ease), box-shadow .22s var(--info-ease);
}

.info-switch-tab:hover {
  color: var(--info-blue);
  border-color: #9acbdd;
  background: #f6fbfd;
  transform: translateY(-1px);
}

.info-switch-tab.is-active {
  color: #fff;
  border-color: var(--info-blue);
  background: var(--info-blue);
  box-shadow: 0 12px 28px rgba(7, 143, 200, .17);
}

.info-switch-tab svg {
  width: 17px;
  height: 17px;
}

.info-switch-stage {
  position: relative;
  min-height: 590px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--info-line);
  border-radius: 6px;
  background: var(--info-soft);
  box-shadow: 0 22px 64px rgba(21, 65, 90, .08);
}

.info-switch-panel {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
}

.info-switch-panel[hidden] {
  display: none;
}

.info-switch-panel.is-active {
  animation: info-panel-enter .46s var(--info-ease) both;
}

.info-switch-media {
  position: relative;
  min-width: 0;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #dbe8ee;
}

.info-switch-media::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 29, .2));
  pointer-events: none;
}

.info-switch-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--info-ease);
}

.info-switch-panel:hover .info-switch-media img {
  transform: scale(1.018);
}

.info-switch-media.product img {
  padding: 9%;
  object-fit: contain;
  background: #edf4f7;
  mix-blend-mode: multiply;
}

.info-switch-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(38px, 4vw, 68px);
  background: #fff;
}

.info-switch-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--info-blue);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.info-switch-eyebrow svg {
  width: 18px;
  height: 18px;
}

.info-switch-copy h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(40px, 3.8vw, 57px);
  line-height: .97;
  letter-spacing: -.044em;
  text-wrap: balance;
}

.info-switch-copy>p:not(.info-switch-eyebrow):not(.manual-status) {
  max-width: 53ch;
  margin: 22px 0 0;
  color: var(--info-body);
  font-size: 15px;
  line-height: 1.75;
}

.info-switch-points {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--info-line);
}

.info-switch-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--info-line);
  color: #29485c;
  font-size: 14px;
  font-weight: 650;
}

.info-switch-points svg {
  width: 18px;
  height: 18px;
  color: var(--info-blue);
}

.info-switch-copy .info-actions {
  margin-top: 31px;
}

/* =============== 响应式 / 容器内（info-* 组件） =============== */

/* ---- @media (max-width:1024px) ---- */
@media (max-width:1024px) {
  .info-shell {
    width: min(calc(100% - 40px), 920px);
  }
  .info-switch-head h2 {
    max-width: none;
  }
  .info-switch-panel {
    grid-template-columns: 1fr;
  }
  .info-switch-media {
    min-height: 470px;
  }
  .info-switch-copy {
    padding: 48px 44px 54px;
  }
}
/* ---- @media (max-width:700px) ---- */
@media (max-width:700px) {
  .info-shell {
    width: min(calc(100% - 28px), 600px);
  }
  .info-actions {
    display: grid;
    width: 100%;
    margin-top: 27px;
  }
  .info-button {
    width: 100%;
  }
  .info-toast {
    right: 16px;
    bottom: 16px;
  }
  .info-switch-section {
    padding: 62px 0 76px;
  }
  .info-switch-head {
    margin-bottom: 23px;
  }
  .info-switch-head h2 {
    font-size: 36px;
  }
  .info-switch-head p {
    font-size: 14px;
  }
  .info-switch-tabs {
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .info-switch-tab {
    min-height: 46px;
    padding: 0 17px;
    font-size: 13px;
  }
  .info-switch-stage, .info-switch-panel {
    min-height: 0;
  }
  .info-switch-media {
    min-height: 272px;
  }
  .info-switch-copy {
    padding: 34px 24px 39px;
  }
  .info-switch-copy h3 {
    font-size: 37px;
  }
  .info-switch-copy>p:not(.info-switch-eyebrow):not(.manual-status) {
    margin-top: 17px;
    font-size: 14px;
  }
  .info-switch-points {
    margin-top: 23px;
  }
  .info-switch-points li {
    min-height: 51px;
    font-size: 13px;
  }
}
/* ---- @media (prefers-reduced-motion:reduce) ---- */
@media (prefers-reduced-motion:reduce) {
  .info-switch-panel.is-active {
    animation: none;
  }
  .info-switch-media img, .info-switch-tab {
    transition: none;
  }
}
/* ---- @keyframes info-panel-enter ---- */
@keyframes info-panel-enter {
  from {
    opacity: .25;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}