:root {
    --primary-color: #4F46E5;
    --primary-light: #818CF8;
    --primary-dark: #4338CA;
    --secondary-color: #10B981;
    --secondary-light: #34D399;
    --secondary-dark: #059669;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 全局样式 */
.page-container {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gray-800);
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.typing-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
}

.typing-prefix {
    margin-right: 0.5rem;
    opacity: 0.8;
}

.typing-text {
    font-weight: 600;
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 主要内容区域样式 */
.main-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* 工具区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.tool-category {
    margin-bottom: 3rem;
}

.category-header {
    margin-bottom: 1.5rem;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-header h3 i {
    color: var(--primary-color);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background-color: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tool-icon i {
    color: white;
    font-size: 1.25rem;
}

.tool-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.tool-info p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.tool-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

/* 状态侧边栏样式 */
.status-sidebar {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.status-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.refresh-indicator i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.status-card {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.status-card-header i {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.status-card-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
}

.status-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.status-item span:first-child {
    color: var(--gray-500);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    margin-left: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    transition: width 0.6s ease;
}

#cpuProgress {
    background-color: var(--primary-color);
}

#memoryProgress {
    background-color: var(--secondary-color);
}

#diskProgress {
    background-color: #F59E0B;
}

.fas.fa-microchip {
    background-color: var(--primary-color);
}

.fas.fa-memory {
    background-color: var(--secondary-color);
}

.fas.fa-hdd {
    background-color: #F59E0B;
}

.fas.fa-server {
    background-color: #8B5CF6;
}

/* 服务区域样式 */
.services-section {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

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

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

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

.service-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.card-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.06),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.5) 0%, rgba(99, 102, 241, 0.5) 100%);
    border-radius: 18px;
    filter: blur(8px);
    z-index: -1;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #4F46E5;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-content h3 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #475569;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.feature-bullet {
    width: 6px;
    height: 6px;
    background: #6366F1;
    border-radius: 50%;
    display: inline-block;
}

/* 联系区域样式 */
.contact-section {
    margin-top: 4rem;
}

.contact-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05),
                0 10px 10px -5px rgba(0, 0, 0, 0.01);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-left h3 {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-left p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.icon-wrapper.email {
    background: linear-gradient(135deg, #4F46E5, #6366F1);
}

.icon-wrapper.wechat {
    background: linear-gradient(135deg, #10B981, #34D399);
}

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

.label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.06),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover .hover-effect {
    opacity: 1;
}

/* 访问统计区域 */
.stats-section {
    background-color: white;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.visit-stats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.visit-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.visit-count span {
    font-weight: 600;
    color: var(--gray-700);
    margin-left: 0.25rem;
}

/* 页脚样式 */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    margin-top: 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #E2E8F0;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-logo i {
    color: #6366F1;
    font-size: 1.25rem;
}

.footer-version {
    display: flex;
    align-items: center;
}

.version-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818CF8;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-copyright {
    color: #64748B;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .status-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-header h2, .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-stats {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
}

/* 登录/注册/管理/退出按钮样式 */
.auth-buttons {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-btn, .logout-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover, .logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.register-btn, .admin-btn {
    background-color: white;
    color: var(--primary-color);
}

.register-btn:hover, .admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .auth-buttons {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .hero-section {
        padding-top: 2rem;
    }
}

/* 行业解决方案区域样式 */
.industry-solutions-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.industry-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/pattern-bg.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 0 30px;
}

.solution-icon i {
    font-size: 28px;
    color: white;
}

.solution-content {
    padding: 20px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-content h3 {
    font-size: 22px;
    color: #333;
    margin: 15px 0;
}

.solution-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.solution-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.solution-features li:last-child {
    border-bottom: none;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4318ff;
    font-weight: bold;
}

.solution-link {
    display: inline-block;
    color: #4318ff;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: color 0.3s;
}

.solution-link:hover {
    color: #3010cc;
}

.solution-link i {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.solution-link:hover i {
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        max-width: 100%;
    }
} 