/* ===== 基础重置与排版 ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #1a1a2e;
    background: #f8f9fc;
    -webkit-font-smoothing: antialiased;
}

/* ===== 容器与布局 ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a56db;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.site-logo span {
    color: #1a1a2e;
}

.site-nav {
    display: flex;
    gap: 28px;
    list-style: none;
}

.site-nav a {
    text-decoration: none;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #1a56db;
}

/* ===== 通用区块 ===== */
.section {
    padding: 64px 0;
}

.section-alt {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.section-header p {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .section-desc {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 区块英文副标题 */
.section-header .section-en {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: #1a56db;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* 区块小标签 */
.section-header .section-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1a56db;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 仅移动端可见 */
.mobile-only,
.mobile-only.card-link {
    display: none;
}

/* ===== 卡片区 ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(26, 86, 219, 0.08);
    transform: translateY(-2px);
}

.card .tag {
    width: fit-content;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a56db;
    background: #eff6ff;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card-link:hover .card {
    box-shadow: 0 6px 24px rgba(26, 86, 219, 0.08);
    transform: translateY(-2px);
}

.card-link .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

/* 产品卡片高度保持一致 */
#cards-products .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#cards-products .card-link .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== 卡片 CTA 按钮（"立即了解 →"） ===== */
.card-cta {
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.85rem;
    color: #1a56db;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
}

a:hover .card-cta,
.card-link:hover .card-cta {
    gap: 8px;
    color: #0a4fa0;
}

/* 卡片 CTA 底部对齐 —— 非 .card 类但包含 .card-cta 的卡片自动转为 flex column */
.profile-card:has(.card-cta),
.service-card:has(.card-cta),
.gov-app-card:has(.card-cta),
.gov-sol-card:has(.card-cta),
.event-card:has(.card-cta),
.recruit-card:has(.card-cta) {
    display: flex;
    flex-direction: column;
}


/* ===== 应用标签列表 ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.tag-cloud .t {
    background: #eff6ff;
    color: #1a56db;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

/* ===== 客户数据 ===== */
.client-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    margin-bottom: 40px;
}

.client-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: #1a56db;
    letter-spacing: -1px;
    line-height: 1.2;
}

.client-stat .label {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 4px;
}

/* ===== Page Hero Banner ===== */
.page-hero {
    background: linear-gradient(135deg, #0a4fa0 0%, #1e3a8a 50%, #2563eb 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* Banner 背景图片 */
.hero-home {
    background: url('../img/banner/img_home.jpg') center/cover no-repeat;
}
.hero-products {
    background: url('../img/banner/img_products.jpg') center/cover no-repeat;
}
.hero-service {
    background: url('../img/banner/img_service.jpg') center/cover no-repeat;
}
.hero-aboutus {
    background: url('../img/banner/img_aboutus.jpg') center/cover no-repeat;
}
.hero-cases {
    background: url('../img/banner/img_cases.jpg') center/cover no-repeat;
}
.hero-solutions {
    background: url('../img/banner/img_solutions.jpg') center/cover no-repeat;
}
.hero-contact {
    background: url('../img/banner/img_contact.jpg') center/cover no-repeat;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: -10px;
    position: relative;
    z-index: 1;
}

.page-hero .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.page-hero .hero-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}

/* Hero 标签组 */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.hero-tags span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 0.85rem;
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Hero 统计数据（首页） */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 25px;
}

.hero-stat .num small {
    font-size: 0.5em;
    font-weight: 600;
    margin-left: 2px;
    opacity: 0.6;
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 2px;
}

/* Hero 热线（各地页） */
.hero-hotline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-hotline:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ===== 公司介绍 ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.about-content p {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.85;
}

.about-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.about-badge {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.about-data {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.about-data .d {
    flex: 1;
    background: #f8f9fc;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.about-data .d .n {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a56db;
}

.about-data .d .l {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* ===== 新闻 ===== */
.news-list {
    list-style: none;
}

.news-list li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    flex: 1;
}

.news-list a:hover {
    color: #1a56db;
}

.news-list .date {
    font-size: 0.82rem;
    color: #94a3b8;
    white-space: nowrap;
}

/* ===== 表格（case.html） ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.9rem;
}

th {
    background: #e8f0fe;
    color: #1a56db;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 9px 14px;
    border-bottom: 1px solid #edf0f5;
}

tr:hover td {
    background: #f5f8ff;
}

/* ===== 标签组（case.html） ===== */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag-group .tag {
    background: #e8f0fe;
    color: #1a56db;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.85rem;
    text-decoration: none;
}

.tag-group .tag.green {
    background: #e6f4ea;
    color: #1e7e34;
}

.tag-group .tag.orange {
    background: #fff3e0;
    color: #e65100;
}

.tag-group .tag.purple {
    background: #f3e5f5;
    color: #6a1b9a;
}

/* ===== 底部 ===== */
.site-footer {
    background: #1a1a2e;
    color: #cbd5e1;
    padding: 48px 0 32px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-grid a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== FAQ 手风琴 ===== */
.faq-list {
    /* max-width: 820px; */
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item[open] {
    border-color: #1a56db;
    box-shadow: 0 4px 20px rgba(26, 86, 219, 0.08);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 300;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    color: #1a56db;
    border-color: #1a56db;
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.85;
}

.faq-item .faq-answer p {
    margin-bottom: 8px;
}

.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* ===== CTA 行动号召 ===== */
.cta-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}

.cta-section h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta-btns .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1a56db, #2563eb);
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.cta-btns .btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.cta-btns .btn-outline {
    display: inline-block;
    background: #fff;
    color: #1a56db;
    border: 1.5px solid #2563eb;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.cta-btns .btn-outline:hover {
    background: #2563eb;
    color: #fff;
}

/* ===== 数据统计条（card 风格） ===== */
.stats-bar {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.stats-bar .stat {
    flex: 1;
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid #f1f5f9;
}

.stats-bar .stat:last-child {
    border-right: none;
}

.stats-bar .stat .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a56db;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.stats-bar .stat .label {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 4px;
}
.nav-overlay {
    display: none;
}

/* ===== 移动端汉堡菜单按钮 ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(2) {
    margin: 5px 0;
}

/* 汉堡菜单激活态——转 X */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    /* 容器 */
    .container,
    .container-wide {
        padding: 0 16px;
    }

    /* 导航——折叠为汉堡菜单 */
    .hamburger {
        display: flex;
    }
    .stats-section {
        display: none;
    }
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        max-width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
        transition: right 0.35s ease;
        z-index: 150;
        overflow-y: auto;
    }

    .site-nav.open {
        right: 0;
    }

    .site-nav li {
        border-bottom: 1px solid #f1f5f9;
    }

    .site-nav li:last-child {
        border-bottom: none;
    }

    .site-nav a {
        display: block;
        padding: 12px 0;
        font-size: 0.875rem;
    }

    /* 移动端 overlay 遮罩 */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 140;
    }

    .nav-overlay.active {
        display: block;
    }

    /* 通用 */
    .section {
        padding: 36px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.35rem;
        margin-bottom: 2px;
    }

    .section-header p {
        font-size: 0.8rem;
        padding: 0 8px;
        line-height: 16px;
    }

    .section-header .section-desc {
        font-size: 0.75rem;
        padding: 0 8px;
    }

    .section-header .section-en {
        font-size: 0.72rem;
        letter-spacing: 2px;
        display: none;
    }

    .section-header .section-tag {
        font-size: 0.75rem;
        padding: 3px 12px;
        display: none;
    }

    /* 卡片 */
    .cards {
        grid-template-columns: 1fr;
    }

    #cards-products {
        grid-template-columns: 1fr;
    }

    #cards-products .card-link {
        display: block;
    }

    /* 丰富智能场景 —— 隐藏标签云，卡片一排两个 */
    .tag-cloud {
        display: none;
    }

    #cards-scene {
        grid-template-columns: repeat(2, 1fr);
    }

    #cards-gov {
        grid-template-columns: 1fr !important;
    }

    #cards-philosophy {
        grid-template-columns: 1fr !important;
    }

    .mobile-only,
    .mobile-only.card-link {
        display: block;
    }

    .card {
        padding: 20px 16px;
    }

    .card h3 {
        font-size: 1rem;
    }

    .card-cta {
        font-size: 0.8rem;
    }

    /* 客户数据 */
    .client-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .client-stat .num {
        font-size: 1.5rem;
    }

    /* 公司介绍 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-data {
        flex-wrap: wrap;
    }

    .about-data .d {
        flex: 1 1 calc(50% - 8px);
    }
    .about-badge {
        padding: 4px 7px;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 500;
        text-align: center;
        width: 48%;
    }
    .about-badges {
        gap: 6px;
    }
    /* Hero Banner 移动端 */
    .page-hero {
        min-height: 240px;
        padding: 24px 0;
    }

    .page-hero h1 {
        font-size: 1.7rem !important;
        margin-bottom: 0px !important;
        font-weight: 600 !important;
    }
    .page-hero .hero-subtitle {
        font-size: 0.8rem !important;
        width: 80%;
        line-height: 18px;
        text-align: center;
        margin: 0 auto;
      
    }
    .hero-stats{
        width: 100%;
        margin: 0 auto;
    }
    .page-hero .hero-subtitle-new {
        font-size: 0.8rem;
        line-height: 18px;
      
    }
    .page-hero .hero-desc {
        font-size: 0.85rem;
        padding: 0 8px;
    }

    .hero-tags {
        gap: 6px;
        display: none;
    }

    .hero-tags span {
        padding: 4px 12px;
        font-size: 0.75rem;
        backdrop-filter: none;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat .num {
        font-size: 1.4rem;
    }

    .hero-stat .label {
        font-size: 0.6rem;
        margin-top: 0px;
    }

    .hero-hotline {
        padding: 8px 20px;
        font-size: 1rem;
    }
    #xinchuang .tag-group .tag.green{
        width: 48%;
        text-align: center;
    }
    /* 行业标签——移动端等宽对齐 */
    .case-section .tag-group .tag {
        width: calc(50% - 4px);
        text-align: center;
        box-sizing: border-box;
    }
    /* 数据统计条 — 移动端隐藏 */
    .stats-bar {
        display: none;
    }

    /* 表格 */
    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 7px 10px;
    }

    /* FAQ */
    .faq-item summary {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .faq-item summary::after {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 1.1rem;
    }

    .faq-item .faq-answer {
        padding: 0 16px 14px;
        font-size: 0.75rem;
    }

    /* CTA */
    .cta-section {
        padding: 32px 16px;
    }

    .cta-section h2 {
        font-size: 1.3rem;
    }

    .cta-section p {
        font-size: 0.88rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn-primary,
    .cta-btns .btn-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* 页脚 */
    .site-footer {
        padding: 32px 0 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-bottom {
        font-size: 0.76rem;
    }
}

/* ===== 中屏 (920px - 1599px) ===== */
@media (min-width: 920px) and (max-width: 1599px) {
    #cards-products {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    #cards-products .card-link {
        flex: 0 0 calc(33.333% - 14px);
    }
}

/* ===== 小屏手机 (≤480px) ===== */
@media (max-width: 480px) {
    .site-nav {
        width: 80%;
        max-width: none;
    }

    /* Hero 小屏 */
    .hero-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-stat {
        flex: 1 1 calc(20% - 6px);
    }

    .hero-stat .num {
        font-size: 1.2rem;
    }

    /* 更小字体调整 */
    .client-stat .num {
        font-size: 1.3rem;
    }

    .stats-bar .stat .num {
        font-size: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }
}

/* ===== 大屏优化 (≥1600px) ===== */
@media (min-width: 1600px) {
    .container,
    .container-wide {
        max-width: 1400px;
    }

    /* 二级页面 Banner 加高 */
    .page-hero {
        min-height: 550px;
    }

    /* 首页产品卡片 —— 5 列 */
    #cards-products,
    #cards-scene {
        grid-template-columns: repeat(5, 1fr);
    }

    /* 产品标题两行显示 */
    #cards-products .card h3 .product-name {
        display: block;
    }

    /* 两行标题行高收紧 */
    #cards-products .card h3 {
        line-height: 1.45;
    }

    /* 大屏平台支撑 —— 3 列居中 */
    #cards-platform {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    /* 标签云宽度收窄 */
    .tag-cloud {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 产品理念 —— 3 列居中 */
#cards-philosophy {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

/* 政务信创 —— 3 等分撑满 */
#cards-gov {
    grid-template-columns: repeat(3, 1fr);
}
