:root {
    --primary: #15336e;
    --secondary: #866A2D;
    --accent: #f7b733;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
}

.w {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

/* 详情页头部 */
.detail-header {
    background: linear-gradient(135deg, var(--primary), #1a3f85);
    border-radius: 0 0 20px 20px;
    padding: 70px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247,183,51,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.detail-header .w {
    position: relative;
    z-index: 1;
}

.detail-cat-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(247,183,51,0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.detail-header h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    line-height: 1.3;
}

.detail-header .subtitle {
    font-size: 1.15rem;
    opacity: 0.88;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 30px;
}

.detail-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.detail-meta-item i {
    color: var(--accent);
}

.detail-header-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 13px 34px;
    background: linear-gradient(to right, #b17d0b, #f7b733);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(134, 106, 45, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(134, 106, 45, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    box-shadow: none;
}

/* 通用 section */
.detail-section {
    padding: 50px 0;
}

.detail-section.alt-bg {
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 0;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 700px;
    margin: 18px auto 0;
    line-height: 1.7;
}

/* 方案概述 */
.overview-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-content p {
    font-size: 1.05rem;
    line-height: 2;
    color: #444;
    margin-bottom: 20px;
    text-indent: 2em;
}

.overview-highlight {
    background: linear-gradient(135deg, #eef2fb, #f5f0e6);
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
}

.overview-highlight p {
    text-indent: 0;
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 500;
}

/* 核心功能 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 30px 26px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(21, 51, 110, 0.12);
    transform: translateY(-4px);
    border-color: #c7d7f5;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 22px;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
}

/* 应用场景 */
.scenarios-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.scenario-item {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid #eef1f6;
    transition: var(--transition);
}

.scenario-item:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(247, 183, 51, 0.12);
}

.scenario-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.scenario-content h4 {
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 6px;
    font-weight: 600;
}

.scenario-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.65;
}

/* 数据成果 */
.stats-section {
    background: linear-gradient(135deg, var(--primary), #1a3f85);
    padding: 60px 0;
    border-radius: 16px;
    margin: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item h3 span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.stat-item p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

/* 相关方案 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 26px;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.related-card:hover {
    box-shadow: 0 8px 24px rgba(21, 51, 110, 0.12);
    transform: translateY(-4px);
    border-color: #c7d7f5;
}

.related-card .related-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eef2fb, #dde7fa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.related-card:hover .related-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--accent);
}

.related-card h3 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.related-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
    margin-bottom: 14px;
}

.related-card .related-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 上下篇导航 */
.detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.detail-nav a {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 20px 24px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-nav a:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(21, 51, 110, 0.1);
}

.detail-nav .nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.detail-nav .nav-title {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.detail-nav a i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.detail-nav .nav-next {
    text-align: right;
    justify-content: flex-end;
}

.detail-nav .nav-next .nav-text {
    text-align: right;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--primary), #1a3f85);
    border-radius: 16px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    overflow: hidden;
    margin: 50px 0;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(247,183,51,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* 动画 */
.animate-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .detail-header {
        padding: 50px 0 60px;
    }
    .detail-header h1 {
        font-size: 2rem;
    }
    .detail-header .subtitle {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 1.7rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .stat-item h3 {
        font-size: 2rem;
    }
    .detail-nav {
        flex-direction: column;
    }
    .detail-nav .nav-next {
        text-align: left;
        justify-content: flex-start;
    }
    .detail-nav .nav-next .nav-text {
        text-align: left;
    }
    .cta-box {
        padding: 35px 25px;
    }
    .cta-content h3 {
        font-size: 1.4rem;
    }
}
