/* 主样式文件 */
:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00ff;
    --bg-dark: #0a0a1a;
    --bg-darker: #050511;
    --text-color: #e0e0ff;
    --border-color: #2a2a4a;
    --success-color: #00ff88;
    --danger-color: #ff3366;
    --warning-color: #ffaa00;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 243, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
}

/* 导航栏 */
.navbar {
    background: linear-gradient(90deg, rgba(10,10,26,0.95) 0%, rgba(5,5,17,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 科技感头部 */
.tech-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0,243,255,0.1) 0%, rgba(255,0,255,0.1) 100%);
    position: relative;
    overflow: hidden;
}

.tech-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q50,0 100,50 Q50,100 0,50" fill="none" stroke="%2300f3ff" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

/* 统计数据 */
.stats-display {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 科技动画 */
.tech-animation {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-circle {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
    box-shadow: 0 0 50px var(--primary-color);
}

.hologram-circle::before,
.hologram-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.floating-number {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
    animation-delay: calc(var(--delay) * 1s);
}

/* 表格样式 */
.neon-table {
    background: rgba(5,5,17,0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.neon-table thead th {
    background: linear-gradient(90deg, rgba(0,243,255,0.1) 0%, rgba(255,0,255,0.1) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-table tbody tr {
    transition: all 0.3s ease;
}

.neon-table tbody tr:hover {
    background: rgba(0,243,255,0.1);
    transform: translateX(5px);
}

/* 功能卡片 */
.feature-card {
    background: linear-gradient(135deg, rgba(0,243,255,0.05) 0%, rgba(255,0,255,0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,243,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,243,255,0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn-neon {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,243,255,0.4);
    color: white;
}

/* 弹窗样式 */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(10,10,26,0.95) 0%, rgba(5,5,17,0.95) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    z-index: 9999;
    box-shadow: 0 0 50px rgba(0,243,255,0.3);
    display: none;
    backdrop-filter: blur(10px);
    min-width: 300px;
    max-width: 400px;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-content {
    text-align: center;
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, rgba(5,5,17,0.9) 0%, rgba(10,10,26,0.9) 100%);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 动画关键帧 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px var(--primary-color); }
    50% { text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-display {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tech-animation {
        height: 200px;
        margin-top: 2rem;
    }
    
    .hologram-circle {
        width: 150px;
        height: 150px;
    }
}