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

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

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

/* 导航栏 */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #000;
    margin: 4px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle:hover span {
    background: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.btn-admin {
    padding: 8px 20px;
    border: 1px solid #000;
    border-radius: 4px;
}

/* Hero 区域 */
.hero {
    padding: 150px 20px 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

/* 实时数据卡片 */
.stats-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000;
}

/* 功能介绍 */
.features {
    padding: 100px 20px;
}

.features h2 {
    text-align: center;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 20px;
}

.feature-card h3 {
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #000;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    color: #999;
    font-size: 0.9rem;
}

.footer .copyright {
    margin: 0 0 10px 0;
    color: #666;
}

.footer .beian {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

.footer .beian a {
    color: #999;
    text-decoration: none;
    margin: 0 8px;
}

.footer .beian a:hover {
    color: #000;
    text-decoration: underline;
}

.footer .beian span {
    margin: 0 8px;
    color: #ddd;
}

/* 响应式 */
@media (max-width: 768px) {
    /* 导航栏移动端样式 */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid #e5e5e5;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        padding: 15px 0;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    .btn-admin {
        display: inline-block;
        text-align: center;
    }

    /* Hero区域 */
    .hero {
        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* 数据卡片 */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2rem;
    }

    /* 功能卡片 */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 60px 20px;
    }

    .features h2 {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }
}
