/* 统一系统页面样式 */

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #D1D5DB;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.user-name {
    font-weight: 500;
}

/* 系统公告 */
.system-announcement {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 0.75rem 0;
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.announcement-icon {
    font-size: 1.25rem;
}

.announcement-text {
    flex: 1;
    font-weight: 500;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 系统概览 */
.system-overview {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.overview-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.overview-header h1 i {
    color: #4F46E5;
}

.overview-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.overview-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6B7280;
    font-weight: 500;
}

/* 核心功能展示 */
.core-features {
    margin-bottom: 3rem;
}

.core-features h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.core-features h2 i {
    color: #F59E0B;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-card.wecom {
    border-top: 4px solid #4F46E5;
}

.feature-card.hr {
    border-top: 4px solid #10B981;
}

.feature-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card.wecom .feature-icon {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
}

.feature-card.hr .feature-icon {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: white;
}

.feature-header h3 {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.feature-badge {
    background: #4F46E5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-card.hr .feature-badge {
    background: #10B981;
}

.feature-content {
    padding: 1.5rem;
}

.feature-description {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4B5563;
}

.feature-list li i {
    color: #10B981;
}

.feature-actions {
    text-align: center;
}

/* 技术架构展示 */
.tech-architecture {
    margin-bottom: 3rem;
}

.tech-architecture h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-architecture h2 i {
    color: #3B82F6;
}

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

.architecture-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.architecture-card:hover {
    transform: translateY(-4px);
}

.architecture-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.architecture-card:nth-child(2) .architecture-icon {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.architecture-card:nth-child(3) .architecture-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.architecture-card:nth-child(4) .architecture-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.architecture-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.architecture-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.architecture-card li {
    padding: 0.5rem 0;
    color: #6B7280;
    border-bottom: 1px solid #F3F4F6;
}

.architecture-card li:last-child {
    border-bottom: none;
}

/* 系统状态监控 */
.system-status {
    margin-bottom: 3rem;
}

.system-status h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.system-status h2 i {
    color: #EF4444;
}

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

.status-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.status-card:hover {
    transform: translateY(-4px);
}

.status-card.success {
    border-left: 4px solid #10B981;
}

.status-card.warning {
    border-left: 4px solid #F59E0B;
}

.status-card.error {
    border-left: 4px solid #EF4444;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.status-card.success .status-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.status-card.warning .status-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.status-card.error .status-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.status-content {
    flex: 1;
}

.status-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.status-text {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.status-detail {
    font-size: 0.8rem;
    color: #9CA3AF;
}

.status-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 快速访问 */
.quick-access {
    margin-bottom: 3rem;
}

.quick-access h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-access h2 i {
    color: #8B5CF6;
}

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

.access-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #1F2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4F46E5;
}

.access-card i {
    font-size: 2rem;
    color: #4F46E5;
}

.access-card span {
    font-weight: 500;
}

/* 项目里程碑 */
.milestones {
    margin-bottom: 3rem;
}

.milestones h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.milestones h2 i {
    color: #10B981;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #10B981, #3B82F6);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px;
}

.timeline-item.success::before {
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.timeline-item.current::before {
    background: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.timeline-date {
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6B7280;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-version {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #D1D5DB;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-link {
    display: block;
    color: #D1D5DB;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 动画效果 */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-card.refreshing {
    animation: pulse 1s ease;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .overview-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .overview-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .architecture-grid {
        grid-template-columns: 1fr;
    }
    
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .brand-text {
        text-align: center;
    }
    
    .overview-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-header h3 {
        text-align: center;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .status-actions {
        flex-direction: column;
    }
}
