/* 子页面统一美化：面包屑、区块标题、底部 CTA、卡片质感 */

/* ─── 子页面拼凑入场框架 ─── */
.subpage-assemble-wrap {
    position: relative;
    max-width: 46rem;
}

.page-industry .subpage-assemble-wrap,
.page-forum .subpage-assemble-wrap {
    max-width: 52rem;
}

.assemble-frame-sub {
    position: relative;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.25rem, 1vw, 0.5rem);
}

.assemble-frame-sub .assemble-frame-inner {
    position: relative;
    z-index: 1;
}

/* 首屏主内容区拼凑（Hero 下方第一块） */
body.site-subpage:not(.assemble-ready) .assemble-content-piece {
    opacity: 0;
    transform: translateY(48px) scale(0.96);
}

body.assemble-ready .assemble-content-piece {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition: transform var(--assemble-duration, 1.35s) cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.75s ease;
    transition-delay: 0.72s;
}

.site-page-hero.site-hero-polish {
    text-align: left;
}

.site-page-hero.site-hero-polish .page-subtitle {
    margin: 0;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 1.15rem;
}

.page-breadcrumb a {
    color: rgba(203, 213, 225, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: #5eead4;
}

.page-breadcrumb span[aria-current] {
    color: #5eead4;
    font-weight: 500;
}

.subpage-section-intro {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.subpage-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.subpage-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 8px #22d3ee;
}

.subpage-section-intro h2 {
    font-size: clamp(1.375rem, 2.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0b1224;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.subpage-section-intro p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
}

/* 核心能力页卡片玻璃质感 */
.subpage-features-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.subpage-features-section .feature-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.subpage-features-section .feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #6366f1);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.subpage-features-section .feature-card:hover::after {
    opacity: 1;
}

.subpage-features-section .feature-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 20px 48px rgba(13, 148, 136, 0.1);
}

/* 底部 CTA */
.subpage-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
    margin-top: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #0f172a 100%);
    border: 1px solid rgba(34, 211, 238, 0.15);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.subpage-cta-band h2 {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
}

.subpage-cta-band p {
    font-size: 0.9375rem;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.65;
    margin: 0;
    max-width: 30rem;
}

.subpage-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

.subpage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subpage-btn-primary {
    color: #070b14;
    background: linear-gradient(135deg, #22d3ee 0%, #14b8a6 50%, #6366f1 100%);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.25);
}

.subpage-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34, 211, 238, 0.35);
    color: #070b14;
}

.subpage-btn-outline {
    color: #f8fafc;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.subpage-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 论坛欢迎条 */
.forum-welcome-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.forum-welcome-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.forum-welcome-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.3);
}

.forum-welcome-card strong {
    display: block;
    font-size: 0.9375rem;
    color: #0b1224;
    margin-bottom: 0.25rem;
}

.forum-welcome-card span {
    font-size: 0.75rem;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .forum-welcome-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .subpage-cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .forum-welcome-strip {
        grid-template-columns: 1fr;
    }
}
