* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-container {
    /*width: 1200px;*/
    width: calc(100% - 400px);
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 50px;
}

.logo {
    width: 350px;
    height: 60px;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 1px dashed #ddd;
    font-size: 14px;
    margin-right: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
}

nav a:hover {
    color: #1890ff;
}

nav a.active {
    color: #1890ff;
    border-bottom: 2px solid #1890ff;
}

/* Banner区域 - 带背景图片 */
.banner {
    width: 100%;
    height: 300px;
    background-image: url('/images/kk/bg3.avif');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

/* 添加半透明遮罩层，提高文字可读性 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.85) 0%, rgba(24, 144, 255, 0.85) 100%);
    z-index: 1;
}

.banner-content {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.banner-text {
    color: white;
}

.banner-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 客服信息区域 */
.contact-section {
    width: 1200px;
    max-width: 100%;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1890ff;
}

.contact-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 客服卡片网格布局 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-role {
    font-size: 14px;
    color: #666;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-qq {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.qq-label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.qq-number {
    font-size: 16px;
    color: #1890ff;
    font-weight: 500;
}

.contact-button {
    text-align: center;
    margin-top: auto;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.contact-btn:hover {
    background-color: #0d7ae0;
}


/* 页脚 */
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.copyright {
    font-size: 14px;
    margin-bottom: 20px;
    color: #aaa;
}

.warning {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.8;
}

.filing {
    font-size: 12px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1250px) {
    .header-container, .banner-content, .contact-section, .footer-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav li {
        margin: 0 10px 10px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.register-btn {
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(74,108,247,0.3);
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    background-color: #3154e0;
    color: white;
    transform: scale(1.02);
}