﻿/* ========== 全局样式 ========== */
:root {
    --primary-blue: #0066cc;
    --explore-blue: #0077cc;
    --discovery-blue: #0088dd;
    --light-blue: #e6f2ff;
    --dark-blue: #003366;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* 容器最大宽度限制 */
.max-width-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
}

/* PC端超过1920时内容居中 */
@media (min-width: 1920px) {
    .max-width-container {
        max-width: 1920px;
        margin: 0 auto;
    }
}

/* 数字千位分隔样式 */
.number-format {
    font-variant-numeric: tabular-nums;
}

/* 科技蓝主题色 */
.text-primary-blue {
    color: var(--primary-blue);
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.text-explore-blue {
    color: var(--explore-blue);
}

.bg-explore-blue {
    background-color: var(--explore-blue);
}

.text-discovery-blue {
    color: var(--discovery-blue);
}

.bg-discovery-blue {
    background-color: var(--discovery-blue);
}

/* 渐变背景 */
.gradient-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--explore-blue) 50%, var(--discovery-blue) 100%);
}

/* ========== 头部导航菜单 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

    .navbar-brand-custom:hover {
        color: var(--explore-blue);
    }

.brand-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu-custom {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-menu-custom li {
        position: relative;
    }

    .nav-menu-custom a {
        display: block;
        padding: 20px 18px;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .nav-menu-custom a:hover,
        .nav-menu-custom a.active {
            color: var(--primary-blue);
            background: var(--light-blue);
        }

        .nav-menu-custom a.active {
            font-weight: 600;
        }

.user-center-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

    .user-center-btn:hover {
        background: var(--primary-blue);
        color: #ffffff;
    }

/* Mobile端导航 */
.mobile-header {
    display: none;
    padding: 12px 0px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-brand-img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.mobile-user-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ========== 轮播广告位 ========== */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .carousel-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 136, 221, 0.7) 100%);
    }

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

    .carousel-caption-custom h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .carousel-caption-custom p {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 30px;
    }

.carousel-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #ffffff;
    color: var(--primary-blue);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .carousel-btn:hover {
        background: var(--primary-blue);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
    }

.carousel-indicators-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

    .carousel-indicators-custom button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .carousel-indicators-custom button.active {
            background: #ffffff;
            transform: scale(1.2);
        }

/* ========== 平台数据展示区 ========== */
.platform-data-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-blue) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2rem;
        color: var(--dark-blue);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .section-title p {
        color: var(--text-light);
        font-size: 1.1rem;
    }

.data-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

    .data-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    }

.data-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-blue);
}

    .data-card-icon i {
        font-size: 32px;
        color: var(--primary-blue);
    }

.data-card-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.data-card-label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 5px;
}

.data-card-unit {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-top: 2px;
}

/* ========== AI资源展示区 ========== */
.ai-resource-section {
    padding: 70px 0;
    background: #ffffff;
}

.ai-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ai-tab-btn {
    padding: 12px 35px;
    border: 2px solid var(--border-color);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .ai-tab-btn:hover {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

    .ai-tab-btn.active {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        color: #ffffff;
    }

.ai-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ai-resource-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

    .ai-resource-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
        border-color: var(--primary-blue);
    }

.ai-resource-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue) 0%, #d6ebff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-resource-img i {
        font-size: 48px;
        color: var(--primary-blue);
    }

.ai-resource-body {
    padding: 20px;
}

.ai-resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.ai-resource-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.ai-resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-resource-price {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.1rem;
}
.ai-resource-price small {
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.8rem;
}

.ai-resource-btn {
    padding: 6px 16px;
    background: var(--primary-blue);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .ai-resource-btn:hover {
        background: var(--dark-blue);
    }

/* ========== 新闻资讯和政策板块 ========== */
.news-policy-section {
    padding: 70px 0;
    background: var(--light-blue);
}

.news-policy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-panel, .policy-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-blue);
}

.panel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.panel-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .panel-more:hover {
        text-decoration: underline;
    }

.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-tab-btn {
    padding: 8px 20px;
    border: none;
    background: var(--light-blue);
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .news-tab-btn:hover {
        background: var(--primary-blue);
        color: #ffffff;
    }

    .news-tab-btn.active {
        background: var(--primary-blue);
        color: #ffffff;
    }

.news-list, .activity-list, .policy-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .news-item:hover {
        background: var(--light-blue);
        transform: translateX(5px);
    }

.news-item-img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, #d6ebff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .news-item-img i {
        font-size: 28px;
        color: var(--primary-blue);
    }

.news-item-content {
    flex: 1;
    min-width: 0;
}

.news-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-meta {
    font-size: 0.8rem;
    color: #999;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fff5eb 0%, #fff9f5 100%);
    border-radius: 10px;
    border-left: 4px solid #ff8c42;
    transition: all 0.3s ease;
}

    .activity-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(255, 140, 66, 0.2);
    }

.activity-date {
    text-align: center;
    min-width: 60px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
}

    .activity-date .month {
        font-size: 0.75rem;
        color: #ff8c42;
        font-weight: 600;
    }

    .activity-date .day {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
    }

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.activity-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #ff8c42;
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.75rem;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.activity-organizer {
    font-size: 0.8rem;
    color: var(--text-light);
}

    .activity-organizer i {
        color: var(--primary-blue);
    }

.policy-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 10px;
    border-left: 4px solid #4caf50;
    transition: all 0.3s ease;
}

    .policy-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    }

.policy-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
}

    .policy-icon i {
        font-size: 24px;
        color: #4caf50;
    }

.policy-content {
    flex: 1;
}

.policy-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.policy-source {
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 500;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.75rem;
}

.policy-subsidy {
    color: #e65100;
    font-weight: 500;
}

    .policy-subsidy i {
        margin-right: 3px;
    }

.policy-difficulty {
    color: #666;
}

    .policy-difficulty i {
        margin-right: 3px;
    }

.difficulty-高 {
    color: #f44336;
}

.difficulty-中 {
    color: #ff9800;
}

.difficulty-低 {
    color: #4caf50;
}

.policy-rate {
    color: #2196f3;
}

    .policy-rate i {
        margin-right: 3px;
    }

/* ========== 政策Tab样式 ========== */
.policy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .policy-tabs .nav-link {
        border: 1px solid #d0e3f0;
        border-radius: 20px;
        padding: 5px 12px;
        font-size: 0.72rem;
        color: #666;
        background: #f5f8fc;
        transition: all 0.3s;
        font-weight: 500;
    }

        .policy-tabs .nav-link:hover {
            border-color: #0066cc;
            color: #0066cc;
            background: #e6f2ff;
        }

        .policy-tabs .nav-link.active {
            background: linear-gradient(135deg, #0066cc 0%, #0088dd 100%);
            border-color: #0066cc;
            color: #fff;
            box-shadow: 0 2px 6px rgba(0,102,204,0.25);
        }

        .policy-tabs .nav-link:first-child {
            background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
            border-color: #4caf50;
            color: #fff;
        }

            .policy-tabs .nav-link:first-child.active {
                background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
                border-color: #4caf50;
                box-shadow: 0 2px 6px rgba(76,175,80,0.3);
            }

/* 深度思考胶囊开关 */
.deepthink-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 15px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.75rem;
    color: #fff;
}

    .deepthink-toggle:hover {
        background: rgba(255,255,255,0.3);
    }

    .deepthink-toggle.active {
        background: linear-gradient(135deg, #ffeb3b 0%, #ffc107 100%);
        color: #0066cc;
    }

    .deepthink-toggle input {
        display: none;
    }

    .deepthink-toggle i {
        margin-right: 4px;
    }

/* 猜你想问样式 */
.ai-guess-questions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.ai-guess-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ai-guess-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #90e0ef;
}

.ai-guess-refresh {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .ai-guess-refresh:hover {
        background: rgba(255,255,255,0.25);
    }

.ai-guess-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-guess-item {
    background: #f0f7ff;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.7rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

    .ai-guess-item:hover {
        background: #e6f2ff;
    }

    .ai-guess-item i {
        margin-right: 6px;
        color: #0066cc;
        font-size: 0.65rem;
    }

/* ========== 服务商和产品展示区 ========== */
.service-provider-section {
    padding: 70px 0;
    background: #ffffff;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.provider-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .provider-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.12);
        border-color: var(--primary-blue);
    }

.provider-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-blue) 0%, #d6ebff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .provider-logo i {
        font-size: 36px;
        color: var(--primary-blue);
    }

.provider-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.provider-type {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.provider-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
}

.provider-stat {
    color: var(--text-light);
}

    .provider-stat strong {
        color: var(--primary-blue);
    }

.products-showcase {
    margin-top: 50px;
}

.products-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 25px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 15px;
}

.product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 102, 204, 0.1);
    }

.product-img {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--light-blue) 0%, #f0f7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-img i {
        font-size: 32px;
        color: var(--primary-blue);
    }

.product-body {
    padding: 15px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== 优秀超级个体OPC展示区 ========== */
.top-opc-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--light-blue) 0%, #ffffff 100%);
}

.opc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .opc-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0, 102, 204, 0.15);
        border-color: var(--primary-blue);
    }

.opc-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--discovery-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .opc-avatar i {
        font-size: 48px;
        color: #ffffff;
    }

.opc-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: #ff8c42;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    border: 3px solid #ffffff;
}

.opc-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.opc-title {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.opc-expertise {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    background: var(--light-blue);
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
}

.opc-expertise-label {
    color: var(--text-light);
    font-size: 0.75rem;
}

.opc-expertise-value {
    color: var(--primary-blue);
    font-weight: 500;
}

.opc-product {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff5eb 0%, #fff9f5 100%);
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid #ff8c42;
}

.opc-product-label {
    color: var(--text-light);
    font-size: 0.75rem;
}

.opc-product-value {
    color: #ff8c42;
    font-weight: 500;
}

.opc-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.opc-tag {
    padding: 4px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 12px;
    font-size: 0.8rem;
}

.opc-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.opc-stat-item {
    text-align: center;
}

.opc-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-variant-numeric: tabular-nums;
}

.opc-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========== OPC社区和园区展示区 ========== */
.community-park-section {
    padding: 70px 0;
    background: #ffffff;
}

.community-park-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.community-card, .park-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.community-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--explore-blue) 100%);
}

.park-card {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.card-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

    .card-image i {
        font-size: 80px;
        color: rgba(255, 255, 255, 0.8);
    }

.card-content {
    padding: 30px;
    color: #ffffff;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.card-stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.card-stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--primary-blue);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.park-card .card-btn {
    color: #27ae60;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ========== 底部页脚 ========== */
.site-footer {
    background: #1a2332;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .footer-brand img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

.footer-brand-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 5px;
        }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: var(--primary-blue);
            transform: translateY(-3px);
        }

/* Mobile端简易底部 */
.mobile-footer {
    display: none;
    background: #1a2332;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== Mobile端底部固定导航 ========== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    padding: 5px;
}

    .mobile-nav-item.active {
        color: var(--primary-blue);
    }

    .mobile-nav-item i {
        font-size: 20px;
        display: block;
        margin-bottom: 3px;
    }

    .mobile-nav-item span {
        font-size: 0.7rem;
    }

/* ========== 响应式设计 ========== */
/* PC端超过1920时 */
@media (min-width: 1920px) {
    .header-container,
    .max-width-container {
        max-width: 1920px;
        margin: 0 auto;
    }

    .nav-menu-custom a {
        padding: 20px 22px;
    }
}

/* Pad端 1180*820 */
@media (max-width: 1200px) {
    .ai-resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .provider-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile端 402*874 (iPhone 17) */
@media (max-width: 768px) {
    .pc-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .carousel-item {
        height: 350px;
    }

    .carousel-caption-custom h2 {
        font-size: 1.5rem;
    }

    .carousel-caption-custom p {
        font-size: 0.95rem;
    }

    .platform-data-section,
    .ai-resource-section,
    .news-policy-section,
    .service-provider-section,
    .top-opc-section,
    .community-park-section,
    .site-footer {
        padding: 40px 0;
    }

    .data-card {
        padding: 20px;
    }

    .data-card-value {
        font-size: 1.6rem;
    }

    .ai-resource-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ai-resource-img {
        height: 120px;
    }

    .ai-tabs {
        gap: 10px;
    }

    .ai-tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .news-policy-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .provider-card {
        padding: 15px;
    }

    .products-showcase {
        margin-top: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .product-img {
        height: 80px;
    }

    .opc-stats {
        gap: 15px;
    }

    .community-park-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-image {
        height: 180px;
    }

    .site-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
    }

    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item-img {
        width: 100%;
        height: 120px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 480px) {
    .ai-resource-grid {
        grid-template-columns: 1fr;
    }

    .provider-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-item {
        height: 280px;
    }

    .data-card-value {
        font-size: 1.4rem;
    }

    .data-card-icon {
        width: 50px;
        height: 50px;
    }

        .data-card-icon i {
            font-size: 24px;
        }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}
