/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 主要内容区域 */
.main {
    min-height: calc(100vh - 200px);
}

/* 登录区域样式 */
.login-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 实时数据展示 */
.live-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.live-stats .stat-item {
    text-align: center;
}

.live-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.live-stats .stat-label {
    color: #666;
    font-size: 0.9rem;
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.login-box h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.login-form {
    text-align: left;
}

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

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
}

/* 登录统计 */
.login-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.login-stats p {
    margin-bottom: 0.5rem;
}

.login-stats strong {
    color: #667eea;
}

/* 特色功能样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-detail {
    margin-top: 0.5rem;
}

.feature-detail small {
    color: #888;
    font-size: 0.8rem;
}

/* 安全认证展示 */
.security-certifications {
    margin-top: 3rem;
    text-align: center;
}

.security-certifications h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.cert-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    color: #333;
}

.cert-icon {
    font-size: 1.2rem;
}

/* 用户反馈样式 */
.feedback-section {
    padding: 4rem 0;
    background: white;
}

.feedback-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feedback-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* 反馈元信息 */
.feedback-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

.feedback-helpful {
    color: #28a745;
}

/* 更多用户评价 */
.more-feedback {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.more-feedback h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.rating-overview {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.overall-rating {
    text-align: center;
}

.rating-score {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.rating-breakdown {
    min-width: 200px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.rating-bar span:first-child {
    width: 30px;
    color: #666;
}

.rating-bar span:last-child {
    width: 30px;
    color: #666;
    text-align: right;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #ffc107;
    transition: width 0.3s ease;
}

/* 数据统计样式 */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 实时动态 */
.live-activities {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.live-activities h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

.activity-list {
    max-width: 400px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    min-width: 60px;
}

/* Hero区域样式 */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.login-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.method-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 公告样式 */
.announcement-section {
    padding: 4rem 0;
    background: white;
}

.announcement-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.announcement-list {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.announcement-item .date {
    color: #666;
    font-size: 0.9rem;
}

.announcement-item h3 {
    margin: 0.5rem 0;
    color: #333;
}

/* 优势样式 */
.advantages-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.advantages-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 网页版登录样式 */
.web-login-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.web-login-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.login-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.web-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-icon {
    margin-right: 1rem;
    color: #28a745;
}

.web-login-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.captcha-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
}

.refresh-captcha {
    padding: 1rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.other-login {
    text-align: center;
    margin: 2rem 0;
}

.other-login p {
    margin-bottom: 1rem;
    color: #666;
}

.other-login .login-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.other-login .method-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

.other-login .method-btn:hover {
    background: #f8f9fa;
}

/* 入口页面样式 */
.entrance-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.entrance-header {
    text-align: center;
    margin-bottom: 4rem;
}

.entrance-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.main-entrances {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.entrance-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.entrance-card:hover {
    transform: translateY(-5px);
}

.entrance-card.primary {
    border: 2px solid #667eea;
}

.entrance-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.entrance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.entrance-stats {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.entrance-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.entrance-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 备用入口样式 */
.backup-entrances {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.backup-entrances h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.backup-desc {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.backup-list {
    display: grid;
    gap: 1rem;
}

.backup-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.backup-item:hover {
    background: #e9ecef;
}

.backup-info {
    flex: 1;
}

.backup-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.backup-status {
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

.backup-status.online {
    background: #d4edda;
    color: #155724;
}

.backup-status.maintenance {
    background: #f8d7da;
    color: #721c24;
}

.backup-btn {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

.backup-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 状态监控样式 */
.status-monitor {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.status-monitor h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.monitor-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.monitor-title {
    color: #666;
    margin-bottom: 0.5rem;
}

.monitor-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.monitor-value.good {
    color: #28a745;
}

/* 登录指南样式 */
.login-guide {
    padding: 4rem 0;
    background: white;
}

.login-guide h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* FAQ样式 */
.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* 底部样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .web-login-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .entrance-header h1 {
        font-size: 2rem;
    }
    
    .login-methods {
        grid-template-columns: 1fr;
    }
    
    .main-entrances {
        grid-template-columns: 1fr;
    }
    
    .other-login .login-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .login-box {
        padding: 2rem;
    }
    
    .web-login-form {
        padding: 2rem;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .backup-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}