/* 全局变量 */
:root {
    --primary-color: #0a2540;
    --secondary-color: #007bff;
    --accent-color: #6772e5;
    --text-color: #333;
    --background-color: #f8f9fa;
    --white-color: #ffffff;
    --container-width: 60%;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 通用样式 */
body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* 头部与导航 */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
}

    header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover, header nav ul li a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Hero Section */
.hero {
    background-color: #1a3a5a; /* 深蓝色背景 */
    color: #ffffff; /* 白色文字 */
    text-align: center;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    max-width: 100%;
}

.hero h1 {
    font-size: 3.5rem; /* 调整标题大小 */
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem; /* 调整段落文字大小 */
    margin-bottom: 2rem;
    color: #e0e0e0; /* 柔和的白色 */
}

.hero .btn {
    background-color: #4a69bd; /* 按钮颜色 */
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #5d82d1; /* 按钮悬停颜色 */
}

.btn, .btn-secondary {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn:hover {
    background-color: #5562c1;
    color: var(--white-color);
    transform: translateY(-2px);
}

/* 客户案例 - 高级现代化设计 */
.customer-needs {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(103, 114, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(248, 250, 252, 0.95) 0%, 
            rgba(241, 245, 249, 0.98) 50%, 
            rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.customer-needs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.customer-needs .container {
    position: relative;
    z-index: 1;
}

.customer-needs h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        rgba(103, 114, 229, 0.8) 50%, 
        var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-needs h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.needs-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 24px;
    margin-top: 50px;
    padding: 20px 40px 20px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 添加平滑进入动画 */
    animation: slideInFromLeft 1s ease-out;
}

.needs-grid::-webkit-scrollbar {
    display: none;
}

/* 轮播容器进入动画 */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.needs-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.need-item {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.05),
        0 3px 12px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 320px;
    min-height: 260px;
    /* 卡片进入动画 */
    animation: fadeInUp 0.8s ease-out both;
    /* 消除边界锯齿 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 为每个卡片添加延迟动画 */
.need-item:nth-child(1) { animation-delay: 0.1s; }
.need-item:nth-child(2) { animation-delay: 0.2s; }
.need-item:nth-child(3) { animation-delay: 0.3s; }
.need-item:nth-child(4) { animation-delay: 0.4s; }
.need-item:nth-child(5) { animation-delay: 0.5s; }
.need-item:nth-child(6) { animation-delay: 0.6s; }
.need-item:nth-child(7) { animation-delay: 0.7s; }
.need-item:nth-child(8) { animation-delay: 0.8s; }

/* 卡片淡入上升动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 卡片轮播时的缩放进入动画 */
@keyframes fadeInScale {
    0% {
        opacity: 0.7;
        transform: scale(0.9) translateY(10px);
        filter: blur(2px);
    }
    50% {
        opacity: 0.9;
        transform: scale(0.98) translateY(5px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.need-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        rgba(103, 114, 229, 0.8) 50%, 
        var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 2px 2px;
}

.need-item::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(103, 114, 229, 0.1) 0%, 
        transparent 50%, 
        rgba(59, 130, 246, 0.1) 100%);
    border-radius: 21px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.need-item:hover::before {
    transform: scaleX(1);
}

.need-item:hover::after {
    opacity: 1;
}

.need-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(103, 114, 229, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(103, 114, 229, 0.15);
    backdrop-filter: blur(30px);
}

/* 轮播卡片悬停效果 - 柔和边界 */
.need-item:nth-child(4n+1):hover {
    box-shadow: 
        0 20px 50px rgba(103, 114, 229, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    border-color: rgba(103, 114, 229, 0.12);
    backdrop-filter: blur(20px);
}

.need-item:nth-child(4n+2):hover {
    box-shadow: 
        0 20px 50px rgba(59, 130, 246, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    border-color: rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(20px);
}

.need-item:nth-child(4n+3):hover {
    box-shadow: 
        0 20px 50px rgba(168, 85, 247, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    border-color: rgba(168, 85, 247, 0.12);
    backdrop-filter: blur(20px);
}

.need-item:nth-child(4n):hover {
    box-shadow: 
        0 20px 50px rgba(16, 185, 129, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    border-color: rgba(16, 185, 129, 0.12);
    backdrop-filter: blur(20px);
}

.need-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.4;
    position: relative;
    padding-left: 0;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(103, 114, 229, 0.1);
}

.need-item h3::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        rgba(103, 114, 229, 0.8) 50%, 
        var(--secondary-color) 100%);
    border-radius: 1px;
    transition: width 0.3s ease, background 0.3s ease;
}

.need-item:hover h3::before {
    width: 60px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--secondary-color) 100%);
}

.need-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5a6c7d;
    margin-bottom: 15px;
    position: relative;
    padding-left: 0;
    flex-grow: 1;
}

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

.need-item p strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.need-item p strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 1px;
}

/* 轮播卡片样式 - 创造丰富的视觉层次 */
.need-item:nth-child(4n+1) {
    background: linear-gradient(135deg, 
        rgba(103, 114, 229, 0.02) 0%, 
        rgba(255, 255, 255, 0.99) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(103, 114, 229, 0.08);
    box-shadow: 
        0 8px 32px rgba(103, 114, 229, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.need-item:nth-child(4n+2) {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.02) 0%, 
        rgba(255, 255, 255, 0.99) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.need-item:nth-child(4n+3) {
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.02) 0%, 
        rgba(255, 255, 255, 0.99) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(168, 85, 247, 0.08);
    box-shadow: 
        0 8px 32px rgba(168, 85, 247, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.need-item:nth-child(4n) {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.02) 0%, 
        rgba(255, 255, 255, 0.99) 50%,
        rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(16, 185, 129, 0.08);
    box-shadow: 
        0 8px 32px rgba(16, 185, 129, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}



/* 响应式设计优化 */
@media (min-width: 1200px) {
    .needs-grid {
        gap: 28px;
        padding: 20px 60px 20px 20px;
    }
    
    .need-item {
        flex: 0 0 380px;
    }
    
    .more-cases-btn {
        right: 30px;
        padding: 18px 28px;
    }
}

@media (max-width: 1199px) {
    .needs-grid {
        gap: 24px;
        padding: 20px 50px 20px 20px;
    }
    
    .need-item {
        flex: 0 0 340px;
    }
}

@media (max-width: 768px) {
    .customer-needs {
        padding: 60px 0;
    }
    
    .needs-grid {
        gap: 20px;
        padding: 20px 80px 20px 20px;
    }
    
    .need-item {
        flex: 0 0 280px;
        padding: 24px 20px;
        min-height: 260px;
    }
    
    .more-cases-btn {
        right: 15px;
        padding: 14px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .customer-needs {
        padding: 60px 0;
    }
    
    .customer-needs h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .need-item:hover {
        transform: translateY(-6px) scale(1.01) !important;
    }
    
    .need-item h3 {
        font-size: 1.1rem;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .need-item p {
        font-size: 0.86rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .customer-needs {
        padding: 50px 0;
    }
    
    .customer-needs h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        letter-spacing: -0.5px;
    }
    
    .needs-grid {
        gap: 14px;
        padding: 0 16px;
    }
    
    .need-item {
        padding: 20px 18px;
        border-radius: 14px;
    }
    
    .need-item:hover {
        transform: translateY(-4px) scale(1.005) !important;
    }
    
    .need-item h3 {
        font-size: 1.1rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .need-item h3::before {
        width: 30px;
    }
    
    .need-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .need-item p strong {
        font-size: 0.82rem;
    }
}

/* 服务特色 - 现代化无图片设计 */
.service-features {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(103, 114, 229, 0.02) 0%, 
        rgba(255, 255, 255, 0.98) 50%,
        rgba(59, 130, 246, 0.02) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(103, 114, 229, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.service-features h2 {
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%,
        var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

/* 纯CSS图标设计 */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(103, 114, 229, 0.1) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        rgba(103, 114, 229, 0.15) 0%, 
        rgba(59, 130, 246, 0.15) 100%);
}

/* 团队图标 */
.icon-team::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}

.icon-team::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 18px 18px 0 0;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

/* 效率图标 - 闪电图标 */
.icon-efficiency::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 20px solid var(--secondary-color);
    top: 30%;
    left: 45%;
    transform: translateX(-50%);
}

.icon-efficiency::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--accent-color);
    bottom: 30%;
    right: 45%;
    transform: translateX(50%);
}

/* 定制图标 */
.icon-custom::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    border-radius: 4px;
    transform: rotate(45deg);
}

.icon-custom::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}



.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-item p {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* 特色亮点标签 */
.feature-highlight {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, 
        var(--accent-color) 0%, 
        var(--secondary-color) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.feature-item:hover .feature-highlight {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(103, 114, 229, 0.4);
}

/* 关于我们概览 */
.about-overview {
    padding: 4rem 0;
}

.about-overview .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-direction: column;
}

.about-overview img {
    flex: 1;
    border-radius: var(--border-radius);
}

.about-overview .about-text {
    flex: 1;
}

.about-overview .about-text p {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* 合作伙伴 */
.partners {
    padding: 2rem 0;
    background-color: var(--background-color);
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logos img {
    width: 100%;
    transition: opacity 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
}

/* Footer Styles */
footer {
    background-color: #2c3e50; /* 深色背景 */
    color: #ecf0f1; /* 浅色文字 */
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* 内容间距 */
}

.footer-content .tagline {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
}

.footer-content p {
    margin: 0;
    color: #bdc3c7; /* 版权信息颜色 */
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db; /* 鼠标悬停颜色 */
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        gap: 10px;
    }

    .footer-content .tagline {
        font-size: 1em;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-links a {
        margin: 0;
    }
}

/* about.html specific styles */
.company-intro, .core-business, .advantages, .vision-mission {
    padding: 60px 0;
}

.company-intro {
    background-color: var(--background-color);
}

.company-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.company-intro .subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.core-business {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.core-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.core-business .container {
    position: relative;
    z-index: 2;
}

.core-business h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.core-business h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.advantages h2, .vision-mission h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

.business-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.business-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.business-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.business-item:hover::before {
    transform: scaleX(1);
}

.business-item:nth-child(1) {
    animation: slideInLeft 0.8s ease-out;
}

.business-item:nth-child(2) {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.business-item:nth-child(3) {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    box-shadow: 
        0 15px 30px rgba(10, 37, 64, 0.2),
        0 5px 15px rgba(0, 123, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.business-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.business-icon:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(10, 37, 64, 0.3),
        0 10px 25px rgba(0, 123, 255, 0.2);
}

.business-icon:hover::before {
    left: 100%;
}

.business-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.business-capabilities {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.8) 0%, rgba(237, 242, 247, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.business-capabilities h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.business-capabilities h4::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.business-capabilities h4::after {
    content: '⚡';
    position: absolute;
    left: 6px;
    font-size: 12px;
    z-index: 1;
}

.business-capabilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.business-capabilities li {
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #2d3748;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    line-height: 1.5;
    font-weight: 500;
    transition: all 0.3s ease;
}

.business-capabilities li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.business-capabilities li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-capabilities li:hover::before {
    opacity: 1;
}

.business-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
}

.advantages ul {
    list-style: none;
    padding-left: 0;
}

.advantages li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.vision-mission {
    background-color: var(--background-color);
    text-align: center;
}

/* Services Page Specifics */
.service-details {
    padding: 4rem 0;
}

.service-detail-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-detail-item.reverse {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
}

.service-detail-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-detail-text {
    flex: 1.2;
}

/* News Page Specifics */
.news-grid-section {
    padding: 4rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.news-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.news-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.news-content h3 {
    margin-top: 0;
}

.news-content p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Contact Page Specifics */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--background-color);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.contact-info ul li {
    margin-bottom: 1rem;
    padding-left: 25px;
    position: relative;
}

.contact-info ul li strong {
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .story-content, .service-detail-item, .service-detail-item.reverse {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-overview .container {
        flex-direction: column;
        text-align: center;
    }

    .about-overview img {
        max-width: 400px;
        margin: 0 auto;
    }

    .partner-logos {
        gap: 1.5rem;
    }

    .partner-logos img {
        height: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .service-features {
        padding: 4rem 0;
    }
    
    .feature-item {
        padding: 2.5rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
}

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

    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    header nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    header nav ul li {
        margin-left: 0;
    }

    .about-overview .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-overview img {
        max-width: 300px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

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

    .service-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-features {
        padding: 3rem 0;
    }
    
    .service-features h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-highlight {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

    .partner-logos {
        gap: 1rem;
        justify-content: space-around;
    }

    .partner-logos img {
        height: 35px;
        max-width: 80px;
    }

    .service-features h2, .customer-needs h2 {
        font-size: 2rem;
    }

    .need-item, .feature-item {
        padding: 1.5rem;
    }
    
    .core-business {
        padding: 3rem 0;
    }
    
    .core-business h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        perspective: none;
    }
    
    .business-item {
        padding: 2.5rem 2rem;
        border-radius: 16px;
        min-height: auto;
    }
    
    .business-item:hover {
        transform: translateY(-5px);
    }
    
    .business-item:nth-child(1),
    .business-item:nth-child(2),
    .business-item:nth-child(3) {
        animation: none;
    }
    
    .business-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    
    .business-item h3 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .business-summary {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .business-capabilities {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .business-capabilities h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .business-capabilities li {
        font-size: 0.9rem;
        padding: 8px 12px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
    }

    .partner-logos img {
        height: 30px;
        justify-self: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .need-item h3, .feature-item h3 {
        font-size: 1.1rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-features {
        padding: 2.5rem 0;
    }
    
    .service-features h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .feature-highlight {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    /* 调整图标大小 */
    .icon-team::before {
        width: 20px;
        height: 20px;
    }
    
    .icon-team::after {
        width: 30px;
        height: 16px;
    }
    
    .icon-efficiency::before {
        border-left-width: 10px;
        border-right-width: 5px;
        border-bottom-width: 16px;
    }
    
    .icon-efficiency::after {
        border-left-width: 5px;
        border-right-width: 10px;
        border-top-width: 16px;
    }
    
    .icon-custom::before {
        width: 22px;
        height: 22px;
    }
    
    .icon-custom::after {
        width: 12px;
        height: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-overview img {
        max-width: 250px;
    }
    
    .core-business {
        padding: 2.5rem 0;
    }
    
    .core-business h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
        line-height: 1.2;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        perspective: none;
    }
    
    .business-item {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        min-height: auto;
    }
    
    .business-item:hover {
        transform: translateY(-3px);
    }
    
    .business-item:nth-child(1),
    .business-item:nth-child(2),
    .business-item:nth-child(3) {
        animation: none;
    }
    
    .business-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
        border-radius: 12px;
    }
    
    .business-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .business-summary {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .business-capabilities {
        padding: 1.2rem;
        margin-top: 1.2rem;
        border-radius: 12px;
    }
    
    .business-capabilities h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .business-capabilities h4::before {
        width: 16px;
        height: 16px;
    }
    
    .business-capabilities h4::after {
        left: 4px;
        font-size: 10px;
    }
    
    .business-capabilities li {
        font-size: 0.85rem;
        padding: 8px 12px;
        line-height: 1.4;
        border-radius: 6px;
    }
    
    .business-capabilities li::before {
        font-size: 12px;
        right: 12px;
    }
}