/* ==================== 全局重置与基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4fc 100%);
    overflow: visible !important;
    position: relative !important;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== 首屏 Banner ==================== */
.banner {
    position: relative;
    height: 500px;
    background: url('/Home/images/banner.jpg') no-repeat center center / cover;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.banner-title {
    font-size: 2.8em;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
    color: #ffffff;
}

.banner-subtitle {
    font-size: 1.3em;
    opacity: 0.98;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    color: #e0e0ff;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    outline: none;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0040b3);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0055aa, #002e99);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: white;
}

/* ==================== 核心数据 ==================== */
.core-data {
    padding: 100px 20px 80px;
    background: linear-gradient(to bottom, #e6f7ff 0%, #d1e9ff 100%);
    text-align: center;
    position: relative;
}

.core-data::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.03), transparent);
}

.section-title {
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 60px;
    color: #003399;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title.active {
    opacity: 1;
    transform: translateY(0);
}

.data-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.data-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    width: 210px;
    box-shadow: 0 6px 20px rgba(0, 51, 153, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 180px;
    border: 1px solid rgba(0,0,0,0.03);
    backdrop-filter: blur(2px);
}

.data-item:nth-child(1) { transition-delay: 0.1s; }
.data-item:nth-child(2) { transition-delay: 0.2s; }
.data-item:nth-child(3) { transition-delay: 0.3s; }
.data-item:nth-child(4) { transition-delay: 0.4s; }

.data-item.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.data-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 51, 153, 0.18);
    z-index: 2;
}

.data-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    object-fit: contain;
    transition: transform 0.3s ease;
}

.data-item:hover img {
    transform: scale(1.1);
}

.data-item p {
    font-size: 1.1em;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: normal;
    opacity: 0.9;
    margin-top: 12px;
}

/* 数字样式 */
.number {
    font-size: 2em;
    font-weight: 800;
    margin: 12px 0;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    background: rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
    text-overflow: clip;
    min-width: 80px;
}

/* 数据卡片配色 */
.data-item:nth-child(1) .number {
    background: rgba(0, 102, 204, 0.2);
    color: #0066cc;
    text-shadow: 0 1px 3px rgba(0, 102, 204, 0.5);
}

.data-item:nth-child(2) .number {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    text-shadow: 0 1px 3px rgba(156, 39, 176, 0.5);
}

.data-item:nth-child(3) .number {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    text-shadow: 0 1px 3px rgba(76, 175, 80, 0.5);
}

.data-item:nth-child(4) .number {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    text-shadow: 0 1px 3px rgba(255, 152, 0, 0.5);
}

.data-item:hover .number {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 数据卡片主题色 */
.data-item:nth-child(1) {
    --primary-color: #0066cc;
    --text-color: #003399;
    border: 1px solid rgba(0, 102, 204, 0.1);
    background: linear-gradient(135deg, #f8fbff, #e6f7ff);
}

.data-item:nth-child(2) {
    --primary-color: #9c27b0;
    --text-color: #6a1b9a;
    border: 1px solid rgba(156, 39, 176, 0.1);
    background: linear-gradient(135deg, #fff3ff, #f3e6ff);
}

.data-item:nth-child(3) {
    --primary-color: #4caf50;
    --text-color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.1);
    background: linear-gradient(135deg, #f5fff5, #e6f7e6);
}

.data-item:nth-child(4) {
    --primary-color: #ff9800;
    --text-color: #e67e22;
    border: 1px solid rgba(255, 152, 0, 0.1);
    background: linear-gradient(135deg, #fff5f0, #ffe6e0);
}

/* 数据卡片文字颜色 */
.data-item:nth-child(1) p { color: #003399; }
.data-item:nth-child(2) p { color: #6a1b9a; }
.data-item:nth-child(3) p { color: #2e7d32; }
.data-item:nth-child(4) p { color: #e67e22; }

/* ==================== 业务板块 ==================== */
.business-segments {
    padding: 100px 20px 80px;
    background: linear-gradient(to bottom, #e0f7ff 0%, #b3e5fc 100%);
    text-align: center;
    position: relative;
}

.business-segments::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.02), transparent);
}

.segments-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.segment-item {
    background: white;
    padding: 45px 30px;
    border-radius: 20px;
    width: 310px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.segment-item:nth-child(1) { transition-delay: 0.15s; }
.segment-item:nth-child(2) { transition-delay: 0.25s; }
.segment-item:nth-child(3) { transition-delay: 0.35s; }

.segment-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.segment-item:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

.segment-item h2 {
    font-size: 1.7em;
    margin-bottom: 18px;
    color: #003399;
    font-weight: 700;
}

.segment-item p {
    color: #4b5563;
    margin-bottom: 22px;
    font-size: 1.02em;
    line-height: 1.6;
}

/* 业务板块1样式 */
.segment-item:nth-child(1) {
    --main-color: #0066cc;
    --icon-color: #0066cc;
    --hover-bg: #e6f7ff;
    --border-color: rgba(0, 102, 204, 0.1);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fbff, #e6f7ff);
}
.segment-item:nth-child(1) h2 { color: var(--main-color); }
.segment-item:nth-child(1) .btn-view {
    background: linear-gradient(to right, #0066cc, #0040b3);
    border: 1px solid #0040b3;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.1);
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}
.segment-item:nth-child(1) .btn-view:hover {
    background: linear-gradient(to right, #0055aa, #002e99);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.25);
}

/* 业务板块2样式 */
.segment-item:nth-child(2) {
    --main-color: #9c27b0;
    --icon-color: #9c27b0;
    --hover-bg: #f3e6ff;
    --border-color: rgba(156, 39, 176, 0.1);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #fff3ff, #f3e6ff);
}
.segment-item:nth-child(2) h2 { color: var(--main-color); }
.segment-item:nth-child(2) .btn-view {
    background: linear-gradient(to right, #9c27b0, #6a1b9a);
    border: 1px solid #6a1b9a;
    box-shadow: 0 2px 6px rgba(156, 39, 176, 0.1);
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}
.segment-item:nth-child(2) .btn-view:hover {
    background: linear-gradient(to right, #8e24aa, #512da8);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(156, 39, 176, 0.25);
}

/* 业务板块3样式 */
.segment-item:nth-child(3) {
    --main-color: #0088ff;
    --icon-color: #0088ff;
    --hover-bg: #e6f7ff;
    --border-color: rgba(0, 136, 255, 0.1);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fbff, #e6f7ff);
}
.segment-item:nth-child(3) h2 { color: var(--main-color); }
.segment-item:nth-child(3) .btn-view {
    background: linear-gradient(to right, #0088ff, #0055cc);
    border: 1px solid #0055cc;
    box-shadow: 0 2px 6px rgba(0, 136, 255, 0.1);
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}
.segment-item:nth-child(3) .btn-view:hover {
    background: linear-gradient(to right, #0077dd, #0040b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 136, 255, 0.25);
}

/* ==================== 合作伙伴 ==================== */
.partners {
    padding: 0;
    background-color: #f5f5f5;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.partner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.partner-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo-wall.png');
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 500px;
    opacity: 0.3;
    filter: grayscale(100%);
    animation: scrollLogos 20s linear infinite;
    z-index: 1;
}

@keyframes scrollLogos {
    0% { background-position: 0 0; }
    100% { background-position: -100% 0; }
}

.partner-center {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #1e293b;
    max-width: 520px;
    padding: 30px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    border: none;
}

.partner-logo-main {
    width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.partner-center h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 25px;
    color: #003399;
    line-height: 1.4;
}

.partner-center .btn-primary {
    background: linear-gradient(135deg, #0066cc, #003399);
    padding: 14px 32px;
    font-size: 1.15em;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.4);
}

.partner-center .btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 26px rgba(0, 102, 204, 0.55);
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #060d21 100%);
    color: #cbd5e1;
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #003399);
}

.footer-links a {
    color: #94a3b8;
    margin: 0 12px;
    font-size: 1em;
    transition: color 0.3s ease, transform 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

.footer-info {
    margin: 25px 0;
    font-size: 1em;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.95em;
    color: #64748b;
    padding-top: 25px;
    border-top: 1px solid #334155;
    margin-top: 20px;
}

/* ==================== 动画类 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px) rotateX(5deg);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ==================== 全局响应式适配 ==================== */
@media (max-width: 768px) {
    /* Banner适配 */
    .banner {
        padding: 0 20px;
        height: auto;
        min-height: 420px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .banner-content {
        flex-direction: column;
        gap: 30px;
        padding: 50px 0;
    }
    .banner-text {
        max-width: 100%;
        text-align: center;
    }
    .banner-title {
        font-size: 2.1em;
    }
    .banner-subtitle {
        font-size: 1.05em;
    }
    .banner-buttons {
        justify-content: center;
        width: 100%;
    }

    /* 核心数据适配 */
    .data-item {
        width: 100%;
        max-width: 300px;
        padding: 30px 20px;
    }
    .data-item img {
        width: 56px;
        height: 56px;
    }
    .number {
        font-size: 1.8em;
    }

    /* 业务板块适配 */
    .segment-item {
        width: 100%;
        max-width: 340px;
        padding: 35px 20px;
    }

    /* 合作伙伴适配 */
    .partners {
        height: 400px;
    }
    .partner-center {
        padding: 25px 15px;
        max-width: 320px;
        background: rgba(255, 255, 255, 0.8);
    }
    .partner-logo-main {
        width: 80px;
    }
    .partner-center h2 {
        font-size: 1.5em;
    }

    /* Footer适配 */
    .footer-links a {
        margin: 0 8px;
        font-size: 0.9em;
    }
    .footer-info {
        font-size: 0.9em;
    }
    .footer-copyright {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    /* 核心数据适配 */
    .number {
        font-size: 1.6em;
        padding: 6px 12px;
    }

    /* 业务板块适配 */
    .segment-item h2 {
        font-size: 1.5em;
    }
    .segment-item p {
        font-size: 0.95em;
    }

    /* 合作伙伴适配 */
    .partners {
        height: 350px;
    }
    .partner-center .btn-primary {
        padding: 10px 24px;
        font-size: 1em;
    }
}