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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f0f4f8;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 暗色模式 */
body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

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

/* ===== 头部导航 ===== */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #2563eb 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.9;
}

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #facc15;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.6rem;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* 面包屑 */
.breadcrumb {
    padding: 10px 24px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb a::before {
    content: '›';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:first-child::before {
    content: '';
    margin: 0;
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.hero-banner {
    position: relative;
    height: 100%;
}

.slide {
    display: none;
    padding: 80px 24px 100px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 480px;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.slide.active {
    display: flex;
    animation: fadeSlideIn 0.6s ease forwards;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1,
.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 32px;
    opacity: 0.92;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.45);
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 18px;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ===== 通用区块 ===== */
.section {
    padding: 64px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin: 24px 16px;
    border-radius: 28px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .section {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.section h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    margin: 12px auto 0;
}

body.dark-mode .section h2 {
    color: #93c5fd;
}

body.dark-mode .section h2::after {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}

.section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e293b;
}

body.dark-mode .section h3 {
    color: #e2e8f0;
}

.section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

body.dark-mode .section p {
    color: #cbd5e1;
}

.section ul,
.section ol {
    padding-left: 24px;
    color: #475569;
    line-height: 1.8;
}

body.dark-mode .section ul,
body.dark-mode .section ol {
    color: #cbd5e1;
}

.section li {
    margin-bottom: 8px;
}

/* ===== 产品网格 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 16px;
}

.product-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .product-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .product-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.product-card svg {
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.product-card:hover svg {
    transform: scale(1.1) rotate(-2deg);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== 数据展示 ===== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

.data-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.data-item:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.8);
}

body.dark-mode .data-item {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .data-item:hover {
    background: rgba(30, 41, 59, 0.7);
}

.number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e3a8a;
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

body.dark-mode .number {
    color: #60a5fa;
}

.data-item p {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0;
}

body.dark-mode .data-item p {
    color: #94a3b8;
}

/* ===== 案例/服务/新闻列表 ===== */
.case-list,
.service-list,
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.case-item,
.service-item,
.news-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.case-item:hover,
.service-item:hover,
.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.8);
}

body.dark-mode .case-item,
body.dark-mode .service-item,
body.dark-mode .news-item {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .case-item:hover,
body.dark-mode .service-item:hover,
body.dark-mode .news-item:hover {
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.case-item svg {
    margin-bottom: 16px;
    border-radius: 12px;
}

.case-item h3,
.service-item h3,
.news-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.case-item p,
.service-item p,
.news-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

body.dark-mode .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.4);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #3b82f6;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

body.dark-mode .faq-question {
    color: #e2e8f0;
}

body.dark-mode .faq-question::after {
    color: #60a5fa;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .faq-answer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin-bottom: 0;
    color: #64748b;
}

body.dark-mode .faq-answer p {
    color: #94a3b8;
}

/* ===== 联系方式 ===== */
#contact .container > p {
    font-size: 1.05rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode #contact .container > p {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* ===== 网站地图 / 友情链接 ===== */
#sitemap ul,
#friends ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

#sitemap ul li,
#friends ul li {
    margin: 0;
}

#sitemap ul a,
#friends ul a {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 30px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

body.dark-mode #sitemap ul a,
body.dark-mode #friends ul a {
    background: rgba(30, 41, 59, 0.5);
    color: #93c5fd;
    border-color: rgba(255, 255, 255, 0.08);
}

#sitemap ul a:hover,
#friends ul a:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    text-align: center;
    padding: 32px 24px;
    margin-top: 40px;
    position: relative;
}

body.dark-mode footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

footer p {
    margin: 6px 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    transition: all 0.3s ease;
    line-height: 1;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* ===== 搜索弹窗 ===== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.search-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .search-content {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}

.search-content input {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.05rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

body.dark-mode .search-content input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}

.search-content input:focus {
    border-color: #3b82f6;
}

.search-content button {
    margin-top: 16px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.search-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* ===== 暗色模式切换按钮 ===== */
body > button[style*="fixed"] {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease !important;
}

body.dark-mode body > button[style*="fixed"] {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body > button[style*="fixed"]:hover {
    transform: scale(1.1) !important;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background: rgba(30, 58, 138, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 24px;
        gap: 4px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .nav-menu {
        background: rgba(15, 23, 42, 0.98);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 360px;
    }

    .slide {
        padding: 60px 20px 80px;
        min-height: 360px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .banner-prev,
    .banner-next {
        padding: 8px 12px;
        font-size: 1.4rem;
    }

    .section {
        margin: 16px 8px;
        padding: 40px 16px;
        border-radius: 20px;
    }

    .product-grid,
    .case-list,
    .service-list,
    .news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .number {
        font-size: 2.2rem;
    }

    #sitemap ul,
    #friends ul {
        flex-direction: column;
        align-items: center;
    }

    #sitemap ul a,
    #friends ul a {
        width: 100%;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        padding: 12px 14px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 10px 16px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 300px;
    }

    .slide {
        padding: 40px 16px 60px;
        min-height: 300px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .data-item {
        padding: 24px 16px;
    }

    .number {
        font-size: 1.8rem;
    }

    .product-card,
    .case-item,
    .service-item,
    .news-item {
        padding: 24px 20px;
    }
}

/* ===== 辅助类 ===== */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 确保所有卡片都有良好的圆角和毛玻璃效果 */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .glass {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

/* 平滑滚动条（Webkit） */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* 打印样式 */
@media print {
    .back-to-top,
    .search-modal,
    .banner-prev,
    .banner-next,
    .banner-dots,
    .menu-toggle {
        display: none !important;
    }

    .section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    header {
        position: static;
        background: #1e3a8a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}