/* ============================================================
   天府云通 · 数字产品二级页
   依赖 styles.css 的基础变量、导航、按钮与页脚样式
   ============================================================ */

/* 主题色：每个产品页通过 .acc-* 指定强调色 */
.acc-blue   { --acc: #1D5BFF; --acc-2: #0FB5D6; --acc-soft: #EEF3FF; --acc-line: #D9E4FF; }
.acc-amber  { --acc: #D97706; --acc-2: #F0A93B; --acc-soft: #FDF3E6; --acc-line: #F6E1C4; }
.acc-violet { --acc: #6C4DF6; --acc-2: #0FB5D6; --acc-soft: #F1EDFF; --acc-line: #E2DAFF; }
.acc-teal   { --acc: #0E9384; --acc-2: #1D5BFF; --acc-soft: #E7F6F3; --acc-line: #CFEBE5; }

.p-hero {
    position: relative;
    padding: 138px 0 68px;
    overflow: hidden;
    background:
        radial-gradient(760px 380px at 12% 0%, var(--acc-soft) 0%, rgba(255, 255, 255, 0) 68%),
        radial-gradient(620px 320px at 96% 18%, rgba(15, 181, 214, .07), transparent 70%),
        #fff;
}

.p-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 56px;
    align-items: center;
}

.crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 12.5px;
    color: var(--muted-2);
}
.crumb a { color: var(--muted); transition: color .25s; }
.crumb a:hover { color: var(--acc); }
.crumb i { font-style: normal; color: #C4CAD6; }

.p-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--acc-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--acc);
}
.p-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
}

.p-hero h1 {
    margin-top: 20px;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.2;
    letter-spacing: -1.2px;
    font-weight: 800;
    color: var(--ink);
}
.p-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--acc), var(--acc-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.p-desc {
    max-width: 580px;
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--muted);
}

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.p-tags span {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    color: var(--muted);
}

.p-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* 右侧产品概览面板 */
.p-visual {
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .9)),
        var(--acc-soft);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.p-visual::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--acc-soft) 0%, rgba(255, 255, 255, 0) 70%);
}

.pv-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.pv-head b {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink-2);
}
.pv-head span {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--acc-soft);
    color: var(--acc);
    font-size: 11px;
    font-weight: 700;
}

.pv-rows {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2px;
    margin-top: 6px;
}
.pv-row {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 12px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line-soft);
}
.pv-row:last-child { border-bottom: 0; }
.pv-row i {
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    color: var(--acc);
    letter-spacing: .04em;
    padding-top: 2px;
}
.pv-row b {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-2);
}
.pv-row p {
    margin-top: 3px;
    font-size: 12.2px;
    line-height: 1.65;
    color: var(--muted-2);
}

/* 关键信息条 */
.p-facts {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.p-facts-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.p-facts-inner > div {
    padding: 26px 24px;
    border-left: 1px solid var(--line-soft);
}
.p-facts-inner > div:first-child { border-left: 0; padding-left: 0; }
.p-facts-inner > div:last-child { padding-right: 0; }
.p-facts-inner b {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-2);
}
.p-facts-inner span {
    display: block;
    margin-top: 5px;
    font-size: 12.2px;
    line-height: 1.6;
    color: var(--muted-2);
}

/* 通用分节 */
.p-section { padding: 86px 0; }
.p-section.tint { background: #F8F9FC; }

.p-head {
    max-width: 680px;
    margin-bottom: 44px;
}
.p-head .p-eyebrow { margin-bottom: 16px; }
.p-head h2 {
    font-size: clamp(23px, 2.6vw, 30px);
    line-height: 1.35;
    letter-spacing: -.6px;
    font-weight: 800;
}
.p-head p {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--muted);
}

/* 能力矩阵 */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.cap-card {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cap-card:hover {
    transform: translateY(-4px);
    border-color: var(--acc-line);
    box-shadow: var(--shadow-sm);
}
.cap-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--acc-soft);
    color: var(--acc);
}
.cap-ico .icon { width: 21px; height: 21px; }
.cap-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -.2px;
}
.cap-card p {
    margin-top: 8px;
    font-size: 13.2px;
    line-height: 1.8;
    color: var(--muted);
}
.p-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.p-chips span {
    padding: 3px 10px;
    border-radius: 999px;
    background: #F3F5F9;
    font-size: 11.5px;
    color: var(--muted);
}

/* 应用场景 */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.scene-card {
    position: relative;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}
.scene-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--acc), var(--acc-2));
    opacity: .85;
}
.scene-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--acc);
}
.scene-card h3 {
    margin-top: 10px;
    font-size: 16.5px;
    font-weight: 700;
}
.scene-card > p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}
.scene-card ul {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line-soft);
    display: grid;
    gap: 7px;
}
.scene-card li {
    position: relative;
    padding-left: 15px;
    font-size: 12.4px;
    line-height: 1.65;
    color: var(--ink-2);
}
.scene-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--acc);
    opacity: .55;
}

/* 交付流程 */
.p-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.p-flow::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(29, 91, 255, 0) 0%,
        var(--acc-line) 14%,
        var(--acc-line) 86%,
        rgba(29, 91, 255, 0) 100%);
}
.pflow-item { position: relative; padding-right: 8px; }
.pflow-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border: 1px solid var(--acc-line);
    border-radius: 50%;
    background: #fff;
    color: var(--acc);
    font-size: 12px;
    font-weight: 800;
}
.pflow-item h3 {
    font-size: 15.5px;
    font-weight: 700;
}
.pflow-item p {
    margin-top: 7px;
    font-size: 12.8px;
    line-height: 1.75;
    color: var(--muted);
}

/* 资料下载 */
.doc-grid {
    display: grid;
    grid-template-columns: 1.32fr .68fr;
    gap: 22px;
    align-items: start;
}
.doc-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}
.doc-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    column-gap: 16px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line-soft);
    transition: background .28s;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: #FAFBFD; }
.doc-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--acc-soft);
    color: var(--acc);
}
.doc-ico .icon { width: 21px; height: 21px; }
.doc-row h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-2);
}
.doc-row p {
    margin-top: 4px;
    font-size: 12.4px;
    line-height: 1.65;
    color: var(--muted);
}
.doc-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    font-size: 11.5px;
    color: var(--muted-2);
}
.doc-meta em {
    font-style: normal;
    padding: 1px 7px;
    border-radius: 5px;
    background: #F1F3F7;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
}
.doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color .26s, border-color .26s, background .26s, transform .26s;
}
.doc-btn .icon { width: 15px; height: 15px; }
.doc-btn:hover {
    color: var(--acc);
    border-color: var(--acc-line);
    background: var(--acc-soft);
    transform: translateY(-1px);
}

.doc-cta {
    padding: 26px 24px;
    border: 1px solid var(--acc-line);
    border-radius: 20px;
    background:
        radial-gradient(240px 160px at 100% 0%, rgba(255, 255, 255, .9), transparent 70%),
        var(--acc-soft);
}
.doc-cta h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.3px;
}
.doc-cta p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}
.doc-cta .p-actions { margin-top: 18px; }
.doc-cta .btn { height: 42px; padding: 0 18px; font-size: 13.5px; }
.doc-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(16, 24, 40, .12);
    font-size: 11.5px;
    line-height: 1.7;
    color: var(--muted-2);
}

/* 其他数字产品 */
.p-next {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.next-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.next-card:hover {
    transform: translateY(-3px);
    border-color: #D5DEEF;
    box-shadow: var(--shadow-xs);
}
.next-card b {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
}
.next-card b i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dot, var(--blue));
}
.next-card span {
    font-size: 12px;
    color: var(--muted-2);
}
.next-card .icon {
    width: 18px;
    height: 18px;
    color: var(--muted-2);
    transition: transform .28s, color .28s;
}
.next-card:hover .icon { transform: translateX(3px); color: var(--ink); }

@media (max-width: 1024px) {
    .p-hero { padding-top: 122px; }
    .p-grid { grid-template-columns: 1fr; gap: 36px; }
    .p-visual { max-width: 560px; }
    .p-flow::before { display: none; }
    .p-flow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .doc-grid { grid-template-columns: 1fr; }
    .p-next { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .p-section { padding: 64px 0; }
    .p-head { margin-bottom: 32px; }
    .p-facts-inner { grid-template-columns: repeat(2, 1fr); }
    .p-facts-inner > div { padding: 20px 18px; border-left: 0; }
    .p-facts-inner > div:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 18px; }
    .p-facts-inner > div:first-child,
    .p-facts-inner > div:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
    .scene-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .p-hero { padding: 108px 0 46px; }
    .p-hero h1 { letter-spacing: -.8px; }
    .p-desc { font-size: 14.5px; }
    .p-actions .btn { flex: 1 1 100%; }
    .p-visual { padding: 18px; border-radius: 20px; }
    .p-facts-inner b { font-size: 13.5px; }
    .p-facts-inner span { font-size: 11.8px; }
    .cap-grid { grid-template-columns: 1fr; gap: 14px; }
    .cap-card { padding: 22px 18px; }
    .p-flow { grid-template-columns: 1fr; gap: 20px; }
    .pflow-item { padding-right: 0; }
    .doc-row {
        grid-template-columns: 40px 1fr;
        row-gap: 12px;
        padding: 18px 16px;
    }
    .doc-ico { width: 40px; height: 40px; }
    .doc-btn { grid-column: 2; justify-self: start; }
    .doc-cta { padding: 22px 18px; }
    .doc-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .cap-card,
    .next-card,
    .doc-btn { transition: none; }
}

/* 页脚沿用基础样式，仅在窄屏补充商品链接排版 */
@media (max-width: 640px) {
    .footer-grid { gap: 26px; }
}
