* {
    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;
}

/* Banner区域 - 带背景图片 */
.banner {
    width: 100%;
    height: 450px;
    background-image: url('/images/kk/banner.png');
    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%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 2;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
    overflow: hidden;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 20px; /* 添加左右间距，与输入框对齐 */
}

.login-tab {
    padding: 12px 0;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    position: relative;
    transition: all 0.3s;
    border-bottom: 1px solid #ddd; /* 添加默认灰色下划线 */
    margin-right: 20px; /* 添加右边距，不再平均分配 */
}

/* 移除最后一个选项卡的右边距 */
.login-tab:last-child {
    margin-right: 0;
}

.login-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff; /* 激活状态蓝色下划线 */
}

/* 移除原来的active下划线 */
.login-tab.active::after {
    content: none;
}

.login-form {
    padding: 20px;
    position: relative;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.3s;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    border-color: #1890ff;
    outline: none;
}

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row input {
    flex: 1;
}

.captcha-img {
    width: 100px;
    height: 45px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #666;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    display: block;
    text-align: right;
    color: #1890ff;
    font-size: 13px;
    margin-top: 5px;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
}

.login-btn:hover {
    background-color: #0d7ae0;
}

.qrcode-container {
    display: none;
    text-align: center;
    padding: 20px;
    height: 300px;
}

.qrcode {
    width: 180px;
    height: 180px;
    background-color: #f5f7fa;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    border: 1px solid #eee;
}

.scan-text {
    color: #666;
    font-size: 13px;
}

#error-msg {
    color: red;
    position: absolute;
    top: 193px;
    left: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* 特性区域 */
.features {
    width: 1200px;
    max-width: 100%;
    margin: 60px auto;
    padding: 0 20px;
}

.features-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1890ff;
    font-size: 28px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 页脚 */
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, .features, .footer-content {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-container {
        width: 100%;
        max-width: 320px;
    }

    .banner {
        height: auto;
        padding: 60px 0;
    }

    .banner-content {
        justify-content: center;
    }
}

@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;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        padding: 50px 0;
    }
}

.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);
}