/* CTS 测试 IPv6 页面私有样式；固定值用于本页视觉稿中尚无公共变量的尺寸与颜色。 */
.cts-page { color: var(--color-text); overflow: hidden; }
.cts-page *, .cts-page *::before, .cts-page *::after { box-sizing: border-box; }
.cts-container { width: var(--container); max-width: calc(100% - 48px); margin: 0 auto; }
.cts-section { padding: 70px 0; }
.cts-section__head { margin: 0 auto 42px; text-align: center; }
.cts-section__head h2 { margin: 0; color: var(--color-text); font-size: var(--font-size-title); font-weight: var(--weight-bold); line-height: var(--line-title); }
.cts-section__head p { margin: 12px 0 0; color: var(--color-muted); font-size: var(--font-size-subtitle); line-height: var(--line-subtitle); }
.cts-button { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-small); font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cts-button:visited { text-decoration: none; }
.cts-button--gradient { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(90deg, #1664ff 0%, #6840ff 100%); }
.cts-button--gradient:visited { color: #fff; }
.cts-button--gradient::before { position: absolute; top: 0; bottom: 0; left: -48px; z-index: 0; width: calc(100% + 96px); border-radius: 0 48px 48px 0; background: var(--color-primary); content: ""; transform: translateX(-110%); transition: transform .68s cubic-bezier(.22,.8,.28,1); }
.cts-button--gradient span { position: relative; z-index: 1; }
.cts-button--gradient:hover { color: #fff; box-shadow: 0 8px 20px rgba(21,101,216,.3); transform: translateY(-2px); }
.cts-button--gradient:hover::before { transform: translateX(0); }
.cts-button--secondary { position: relative; isolation: isolate; overflow: hidden; border: 0; color: var(--color-text); background: #fff; }
.cts-button--secondary:visited { color: var(--color-text); }
.cts-button--secondary span { position: relative; z-index: 1; }
.cts-button__outline { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--color-primary); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; pointer-events: none; transition: stroke-dashoffset .82s cubic-bezier(.22,.8,.28,1); }
.cts-button__outline rect { stroke: #dce5f4; stroke-dasharray: none; stroke-dashoffset: 0; }
.cts-button__outline path { vector-effect: non-scaling-stroke; }
.cts-button--secondary:hover { color: var(--color-primary); background: #fff; box-shadow: 0 8px 20px rgba(21,101,216,.3); transform: translateY(-2px); }
.cts-button--secondary:hover .cts-button__outline { stroke-dashoffset: 0; }

/* Banner：复用 CDN banner 的字号、配色和推进按钮。 */
.cts-hero { height: 500px; background: #f5f9ff url("/img/v2026/solution/ipv6/banner.jpg") center / cover no-repeat; }
.cts-hero__inner { display: flex; align-items: center; height: 100%; }
.cts-hero__copy { width: 650px; max-width: 56%; }
.cts-hero h1 { margin: 0 0 24px; color: var(--color-text); font-size: 48px; font-weight: var(--weight-bold); line-height: 64px; }
.cts-hero p { margin: 0 0 30px; color: var(--color-text); font-size: 18px; line-height: 32px; }

/* 行业痛点：沿用 MSS 的左侧标题与右侧 2×2 卡片。 */
.cts-challenges { background: #fff; }
.cts-challenges__layout { display: grid; grid-template-columns: 380px minmax(0,1fr); align-items: center; gap: 70px; }
.cts-challenges__heading h2 { margin: 0 0 26px; color: var(--color-text); font-size: var(--font-size-title); font-weight: var(--weight-bold); line-height: var(--line-title); }
.cts-challenges__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.cts-challenge-card { min-height: 245px; padding: 26px 28px; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.cts-challenge-card:hover { border-color: #bdd2ff; box-shadow: var(--shadow-card); transform: translateY(-4px); }
.cts-challenge-card img { display: block; width: 62px; height: 62px; object-fit: contain; }
.cts-challenge-card h3 { margin: 14px 0 8px; color: var(--color-text); font-size: var(--font-size-card-title); font-weight: var(--weight-bold); line-height: 29px; }
.cts-challenge-card p { margin: 0; color: var(--color-muted); font-size: var(--font-size-small); line-height: 24px; }

/* 架构 */
.cts-architecture { background: #e9f4ff url("/img/v2026/solution/ipv6/bg-1.jpg") center / cover no-repeat; }
.cts-architecture__panel { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 52px; padding: 42px 48px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 22px 60px rgba(18,64,129,.12); }
.cts-architecture__copy h3 { margin: 0 0 18px; color: var(--color-text); font-size: 24px; font-weight: var(--weight-bold); line-height: 34px; }
.cts-architecture__copy p { margin: 0 0 28px; color: var(--color-muted); font-size: 16px; line-height: 30px; }
.cts-architecture__visual { padding: 20px; border: 1px solid #e3eeff; border-radius: 14px; background: #fff; }
.cts-architecture__visual img { display: block; width: 100%; height: auto; }

/* 核心优势 */
.cts-benefits { background: #fff; }
.cts-benefits__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.cts-benefit-card { min-height: 360px; padding: 28px; border: 1px solid #0763df; border-radius: 12px; background: #0763df; box-shadow: 0 8px 24px rgba(15,61,133,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cts-benefit-card:hover { border-color: #0763df; box-shadow: var(--shadow-card); transform: translateY(-5px); }
.cts-benefit-card__top { display: flex; align-items: flex-start; justify-content: space-between; min-height: 94px; }
.cts-benefit-card__top span { order: 2; color: #3b78e2; font-size: 48px; font-weight: 800; line-height: 1; }
.cts-benefit-card__top img { order: 1; width: 70px; height: 70px; object-fit: contain; }
.cts-benefit-card h3 { margin: 8px 0 14px; color: #fff; font-size: var(--font-size-card-title); font-weight: var(--weight-bold); line-height: 29px; }
.cts-benefit-card p { margin: 0; color: #fff; font-size: var(--font-size-small); line-height: 25px; }

/* 设备场景 */
.cts-scenarios { background: var(--color-soft); }
.cts-scenarios__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.cts-scenarios__tab { flex: 0 0 auto; width: auto; min-height: 56px; padding: 8px 28px; border: 1px solid #dce5f4; border-radius: 8px; background: #fff; color: var(--color-text); font-size: 18px; font-weight: 400; line-height: 26px; white-space: nowrap; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.cts-scenarios__tab:not(.is-active):hover { border-color: #9ec5ff; background: #eaf3ff; color: var(--color-primary); }
.cts-scenarios__tab.is-active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; box-shadow: 0 8px 18px rgba(22,100,255,.17); }
.cts-scenarios__panel { display: grid; grid-template-columns: minmax(0,1fr) 290px; align-items: center; gap: 56px; min-height: 350px; padding: 46px 62px; border: 1px solid #e3eaf6; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(15,61,133,.07); }
.cts-scenarios__panel[hidden] { display: none; }
.cts-scenarios__panel > img { display: block; width: 218px; height: 218px; margin: 0 auto; object-fit: contain; }
.cts-scenarios__copy h3 { margin: 0 0 16px; color: var(--color-text); font-size: 26px; font-weight: var(--weight-bold); line-height: 36px; }
.cts-scenarios__copy p { margin: 0 0 14px; color: var(--color-muted); font-size: 16px; line-height: 28px; }
.cts-scenarios__copy ul { margin: 0 0 24px; padding: 0; list-style: none; }
.cts-scenarios__copy li { position: relative; margin: 8px 0; padding-left: 22px; color: var(--color-text); font-size: 15px; line-height: 26px; }
.cts-scenarios__copy li::before { position: absolute; top: 10px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); content: ""; }
.cts-scenarios__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 客户案例：沿用 SaaS 模块的轮播结构。 */
.cts-cases { background: #fff; }
.cts-cases__carousel { display: flex; align-items: center; width: 100%; }
.cts-cases__viewport { display: flex; width: calc(100% - 120px); margin: 0 auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cts-cases__viewport::-webkit-scrollbar { display: none; }
.cts-cases__arrow { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dce5f4; border-radius: 50%; background: #fff; color: var(--color-text); font-size: 34px; line-height: 44px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.cts-cases__arrow:hover { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.cts-cases__arrow span { transform: translateY(-2px); }
.cts-case-card { display: grid; flex: 0 0 100%; grid-template-columns: 1.16fr .84fr; align-items: center; min-width: 100%; min-height: 430px; padding: 32px 40px; border: 1px solid #d8e4f8; border-radius: 18px; background: #fff; scroll-snap-align: start; }
.cts-case-card__content { padding: 12px 36px 12px 0; }
.cts-case-card h3 { margin: 0 0 16px; color: var(--color-text); font-size: 24px; font-weight: var(--weight-bold); line-height: 34px; }
.cts-case-card p { margin: 0 0 10px; color: var(--color-muted); font-size: 14px; line-height: 23px; }
.cts-case-card strong { color: var(--color-text); }
.cts-case-card__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: 14px; padding: 0 20px; border-radius: 6px; background: linear-gradient(90deg,var(--color-primary),#6840ff); color: #fff; font-size: 15px; text-decoration: none; box-shadow: 0 8px 18px rgba(22,100,255,.2); transition: transform .2s ease, box-shadow .2s ease; }
.cts-case-card__link:visited { color: #fff; }
.cts-case-card__link:hover { color: #fff; box-shadow: 0 10px 24px rgba(49,77,230,.3); transform: translateY(-2px); }
.cts-case-card__link span { transition: transform .2s ease; }
.cts-case-card__link:hover span { transform: translateX(4px); }
.cts-case-card > img { display: block; width: 100%; height: 310px; border-radius: 14px; object-fit: cover; }
.cts-cases__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.cts-cases__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #d4dae4; cursor: pointer; transition: width .2s ease, background .2s ease; }
.cts-cases__dot.is-active { width: 24px; background: var(--color-primary); }

/* 咨询图片模块：复用安防解决方案底部的整幅图片。 */
.cts-consultation, .cts-consultation img { display: block; width: 100%; }
.cts-consultation img { height: auto; }
/* ==================== 响应式 ==================== */
@media (max-width: 767px) {
  .cts-container { max-width: calc(100% - 30px); }
  .cts-section { padding: 40px 0; }
  .cts-section__head { margin-bottom: 28px; }
  .cts-section__head h2, .cts-challenges__heading h2 { font-size: 27px; line-height: 38px; }
  .cts-section__head p { font-size: 15px; line-height: 24px; }
  .cts-button { min-width: 130px; height: 38px; padding: 0 16px; font-size: 14px; }
  .cts-hero { height: 230px; background-image: url("/img/v2026/solution/ipv6/banner-bgm.jpg"); background-position: center; }
  .cts-hero__copy { width: 100%; max-width: 100%; }
  .cts-hero h1 { margin-bottom: 6px; font-size: 27px; line-height: 35px; }
  .cts-hero p { display: -webkit-box; max-width: 270px; margin-bottom: 10px; overflow: hidden; font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .cts-challenges__layout { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .cts-challenges__heading { display: contents; }
  .cts-challenges__heading h2 { order: 0; margin-bottom: 0; }
  .cts-challenges__grid { order: 1; grid-template-columns: 1fr; gap: 10px; }
  .cts-challenges__heading .cts-button { order: 2; align-self: center; margin-top: 4px; }
  .cts-challenge-card { display: grid; grid-template-columns: 52px minmax(0,1fr); column-gap: 16px; align-items: start; min-height: 0; padding: 20px; }
  .cts-challenge-card img { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; }
  .cts-challenge-card h3 { grid-column: 2; grid-row: 1; margin: 0 0 6px; font-size: 18px; line-height: 26px; }
  .cts-challenge-card p { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 23px; }
  .cts-architecture__panel { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .cts-architecture__copy h3 { font-size: 20px; line-height: 28px; }
  .cts-architecture__copy p { margin-bottom: 20px; font-size: 14px; line-height: 25px; }
  .cts-architecture__visual { padding: 8px; }
  .cts-benefits__grid { grid-template-columns: 1fr; gap: 10px; }
  .cts-benefit-card { min-height: 0; padding: 22px; }
  .cts-benefit-card__top { min-height: 62px; }
  .cts-benefit-card__top span { font-size: 40px; }
  .cts-benefit-card__top img { width: 58px; height: 58px; }
  .cts-benefit-card h3 { font-size: 19px; line-height: 27px; }
  .cts-scenarios__tabs { justify-content: flex-start; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .cts-scenarios__tabs::-webkit-scrollbar { display: none; }
  .cts-scenarios__tab { min-height: 48px; padding: 7px 14px; font-size: 14px; line-height: 20px; }
  .cts-scenarios__panel { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 22px; }
  .cts-scenarios__panel > img { grid-row: 2; width: 160px; height: 160px; }
  .cts-scenarios__copy h3 { font-size: 21px; line-height: 29px; }
  .cts-scenarios__copy p, .cts-scenarios__copy li { font-size: 14px; line-height: 24px; }
  .cts-scenarios__actions { gap: 8px; }
  .cts-cases__viewport { width: 100%; }
  .cts-cases__arrow { display: none; }
  .cts-case-card { grid-template-columns: 1fr; min-height: 0; padding: 20px; }
  .cts-case-card__content { padding: 0 0 16px; }
  .cts-case-card h3 { font-size: 20px; line-height: 28px; }
  .cts-case-card p { font-size: 14px; line-height: 24px; }
  .cts-case-card > img { height: auto; aspect-ratio: 1.7; border-radius: 9px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cts-challenges__layout { grid-template-columns: 1fr; gap: 30px; }
  .cts-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cts-architecture__panel { grid-template-columns: 1fr; }
  .cts-scenarios__panel { gap: 25px; padding: 34px; }
  .cts-case-card { grid-template-columns: 1fr; }
  .cts-case-card > img { height: 260px; }
}
