/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

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

/* 顶部导航栏 */
.top-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    background: linear-gradient(135deg, #0078ff 0%, #00c6ff 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 120, 255, 0.2);
}

/* 独立标题容器 */
.title-container {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #005bea 0%, #00c6ff 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 91, 234, 0.2);
}

.logo h1 {
    color: white;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ffffff 0%, #e0e0e0 100%);
    border-radius: 3px;
}

/* 卡片式按钮 */
.top-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0 15px 15px;
    margin-bottom: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 300px;
    flex: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.blue-card {
    background: linear-gradient(135deg, #1a56db 0%, #4299e1 100%);
}

.green-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.purple-card {
    background: linear-gradient(135deg, #7e22ce 0%, #a855f7 100%);
}

.card-icon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    font-size: 24px;
}

.title-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.card-content {
    padding: 15px 20px 20px;
    color: white;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    padding-bottom: 8px;
}

.card-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.blue-card .card-content h3::after {
    background: linear-gradient(to right, #ffffff 0%, #a0cfff 100%);
}

.green-card .card-content h3::after {
    background: linear-gradient(to right, #ffffff 0%, #a0ffe0 100%);
}

.purple-card .card-content h3::after {
    background: linear-gradient(to right, #ffffff 0%, #d5a0ff 100%);
}

.card-content p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    opacity: 0.9;
}

.highlight {
    color: #ffdd00;
    font-weight: bold;
    text-decoration: none;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.blue-card .card-btn {
    color: #1a56db;
}

.green-card .card-btn {
    color: #059669;
}

.purple-card .card-btn {
    color: #7e22ce;
}

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.card-btn i {
    margin-right: 5px;
}

/* 提示信息 */
.notice {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.notice p {
    margin-bottom: 10px;
    font-size: 15px;
}

/* 业务分类区域 */
.categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.category-section {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
}

.category-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.category-header h2 {
    font-size: 18px;
    color: #333;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #ff0000 0%, #ff5e3a 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
    text-align: center;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3);
}

.service-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(255, 0, 0, 0.2);
}

/* 底部信息 */
footer {
    margin-top: 30px;
    text-align: center;
    padding: 20px 0;
    color: #666;
}

.customer-service {
    margin-top: 15px;
}

.cs-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 114, 255, 0.3);
}

.cs-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.4);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .top-header {
        padding: 20px 25px;
    }
    
    .logo h1 {
        margin-bottom: 25px;
        font-size: 28px;
    }
    
    .top-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .card {
        width: calc(50% - 10px);
    }
    
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .container {
        padding: 10px;
    }
    
    .top-header {
        padding: 15px 10px;
    }
    
    .logo h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .top-cards {
        gap: 15px;
        padding: 0 10px 10px;
    }
    
    .card {
        width: 100%;
    }
    
    .card-icon {
        padding: 10px;
        font-size: 20px;
    }
    
    .card-content {
        padding: 10px 15px 15px;
    }
    
    .card-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .card-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .card-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .category-header {
        padding: 12px;
    }
    
    .category-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .category-header h2 {
        font-size: 16px;
    }
    
    .button-group {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .service-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .notice {
        padding: 12px;
        font-size: 14px;
    }
    
    .notice p {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    footer {
        margin-top: 20px;
        padding: 15px 0;
        font-size: 14px;
    }
    
    .cs-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 375px) {
    .logo h1 {
        font-size: 18px;
    }
    
    .premium-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .category-header h2 {
        font-size: 15px;
    }
    
    .service-btn {
        padding: 8px;
        font-size: 13px;
    }
}

/* 按钮阴影增强 */
.premium-btn, .service-btn {
    position: relative;
    overflow: hidden;
}

.premium-btn::before, .service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.premium-btn:hover::before, .service-btn:hover::before {
    left: 100%;
}

/* 高级感增强 */
.premium-btn, .service-btn {
    border: none;
    letter-spacing: 0.5px;
}

.category-section {
    position: relative;
}

.category-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff0000, #ff5e3a);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.category-section:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
