/* 登录页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* 背景装饰 */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatCircle 20s infinite linear;
}

.bg-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.bg-circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: -14s;
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
}

/* 左侧品牌展示区域 */
.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 80px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.brand-section {
    z-index: 3;
    position: relative;
}

.logo-area {
    margin-bottom: 40px;
}

.brand-logo {
    height: 60px;
    width: auto;
}

.platform-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.call-to-action {
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* 装饰性插图 */
.illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 40%;
    right: 35%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    right: 15%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 45%;
    right: 45%;
    animation-delay: 3s;
}

.element-5 {
    top: 65%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

.search-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-icon i {
    color: white;
    font-size: 24px;
}

.document-card {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.doc-header {
    width: 100%;
    height: 8px;
    background: #ff6b6b;
    border-radius: 4px;
    margin-bottom: 8px;
}

.doc-lines .line {
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    margin-bottom: 4px;
}

.doc-lines .line.short {
    width: 60%;
}

.chart-card {
    width: 120px;
    height: 80px;
    background: rgba(54, 139, 244, 0.9);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(54, 139, 244, 0.3);
}

.chart-circle {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    position: relative;
    animation: spin 3s linear infinite;
}

.chart-inner {
    width: 20px;
    height: 20px;
    background: #ffd93d;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chart-bar {
    flex: 1;
    height: 6px;
    background: linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 3px;
}

.check-mark {
    width: 50px;
    height: 50px;
    background: #4ecdc4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.check-mark i {
    color: white;
    font-size: 20px;
}

.play-button {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.play-button i {
    color: #368bf4;
    font-size: 16px;
    margin-left: 2px;
}

/* 背景装饰 */
.bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
}

.decoration-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    transform: translateY(-50%);
}

/* 右侧登录表单区域 */
.login-right {
    flex: 0 0 540px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.header-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-wrapper.focused {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon {
    padding: 0 16px;
    color: #6c757d;
    font-size: 16px;
    transition: color 0.3s ease;
}

.input-wrapper.focused .input-icon {
    color: #667eea;
}

.form-input {
    flex: 1;
    padding: 16px 16px 16px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #2c3e50;
    outline: none;
}

.form-input::placeholder {
    color: #6c757d;
    transition: color 0.3s ease;
}

.input-wrapper.focused .form-input::placeholder {
    color: #9ca3af;
}

.captcha-wrapper {
    display: flex;
}

.captcha-input {
    flex: 1;
}

.captcha-img {
    height: 54px;
    width: 120px;
    border-left: 1px solid #e9ecef;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.captcha-img:hover {
    opacity: 0.8;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.checkbox-text {
    font-size: 14px;
    color: #6c757d;
}

.forgot-password {
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5a6fd8;
}

.login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.button-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.login-button:hover .button-overlay {
    left: 100%;
}

.form-footer {
    text-align: center;
}

.form-footer p {
    font-size: 14px;
    color: #6c757d;
}

.register-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #5a6fd8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        flex: none;
        height: 40vh;
        padding: 40px 20px;
        text-align: center;
    }
    
    .platform-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .call-to-action {
        margin-top: 20px;
    }
    
    .login-right {
        flex: 1;
        min-height: 60vh;
    }
    
    .login-form-container {
        padding: 20px;
    }
    
    .illustration {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 20px;
    }
    
    .platform-title {
        font-size: 24px;
    }
    
    .login-form-container {
        padding: 20px 16px;
    }
    
    .form-header h2 {
        font-size: 28px;
    }
}