/* ==================== 数字政府解决方案页专属样式 ==================== */

/* Hero Section */
.gov-hero {
    background: url('../static/gov-solution/数字政府一体化解决方案.png') center/cover no-repeat;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.gov-hero::before {
    content: none;
}

.gov-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.gov-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 36px;
}

.btn-hero {
    display: inline-block;
    padding: 14px 40px;
    background: #176BF8;
    color: #fff;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #0d5ce0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* Quote Section */
.quote-section {
    padding: 60px 0;
    background: #fff;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-size: 17px;
    color: #333;
    line-height: 1.9;
    position: relative;
    padding: 0 40px;
}

.quote-text::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 60px;
    color: #005BAC;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text::after {
    content: "\201D";
    position: absolute;
    bottom: -40px;
    right: 0;
    font-size: 60px;
    color: #005BAC;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.product-matrix {
    padding: 40px 0;
    background: #F5F8FC;
}

.product-matrix .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.product-matrix .section-title {
    color: #000;
    margin-bottom: 32px;
}

.advantage-section .title-underline {
    border-bottom-color: #fff;
}

.title-underline {
    border-bottom: 5px solid #005BAC;
    padding-bottom: 4px;
}

.matrix-card {
    background: #fff url('../static/gov-solution/六大产品2.png') center/cover no-repeat;
    border-radius: 12px;
    padding: 24px 20px 42px;
    min-height: 290px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.matrix-card-first {
    background: #fff url('../static/gov-solution/六大产品1.png') center/cover no-repeat;
}

.matrix-card:hover {
    box-shadow: 0 12px 32px rgba(0, 91, 172, 0.1);
    transform: translateY(-4px);
}

.matrix-title {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    text-align: center;
}

.matrix-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    text-align: left;
}

.matrix-link {
    color: #005BAC;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
}

.matrix-link:hover {
    color: #0A2E5C;
}

/* Advantage Section */
.advantage-section {
    padding: 60px 0;
    background: #0A2E5C url('../static/gov-solution/方案核心.png') center/cover no-repeat;
}

.advantage-section .section-title {
    color: #fff;
    margin-bottom: 48px;
}

.advantage-card {
    display: flex;
    align-items: center;
    padding: 28px 24px;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 91, 172, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-info {
    flex: 1;
}

.advantage-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #005BAC;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: #F9FAFB;
}

.cta-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf3 100%);
    border-radius: 16px;
    padding: 48px 40px;
}

.cta-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.btn-cta {
    display: inline-block;
    padding: 14px 40px;
    background: #005BAC;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #0A2E5C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 91, 172, 0.3);
}

/* Section common */
.section-title {
    font-size: 36px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .gov-hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .product-matrix,
    .advantage-section {
        padding: 50px 0;
    }

    .matrix-img {
        height: 140px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .cta-card h3 {
        font-size: 22px;
    }
}
