/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffaa;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #ffffff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ffaa;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #00ffaa;
    color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #00cc88;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #00ffaa;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 170, 0.1);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%2300ffaa" stroke-width="0.5" opacity="0.1"/></svg>');
    animation: grid 20s linear infinite;
}

@keyframes grid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: #00ffaa;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #b0b0b0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    opacity: 0.8;
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title p {
    color: #b0b0b0;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00ffaa;
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #00ffaa;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.feature-card p {
    color: #b0b0b0;
}

/* 数据展示区域 */
.data-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.data-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #3a3a3a;
}

.data-card h3 {
    font-size: 36px;
    font-weight: bold;
    color: #00ffaa;
    margin-bottom: 10px;
}

.data-card p {
    color: #b0b0b0;
    font-size: 14px;
}

/* 会员体系 */
.membership {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.membership-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    position: relative;
    transition: all 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-10px);
    border-color: #00ffaa;
}

.membership-card.featured {
    border-color: #00ffaa;
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.2);
}

.membership-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #00ffaa;
    color: #0a0a0a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.membership-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.membership-card .price {
    font-size: 36px;
    font-weight: bold;
    color: #00ffaa;
    margin-bottom: 20px;
}

.membership-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.membership-card ul li {
    padding: 8px 0;
    color: #b0b0b0;
    display: flex;
    align-items: center;
}

.membership-card ul li::before {
    content: '✓';
    color: #00ffaa;
    margin-right: 10px;
}

/* 新闻区域 */
.news-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: #00ffaa;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #00ffaa;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-card p {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card a {
    color: #00ffaa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* 页脚 */
footer {
    background-color: #1a1a1a;
    padding: 60px 0 30px;
    border-top: 1px solid #3a3a3a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00ffaa;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00ffaa;
}

.footer-bottom {
    border-top: 1px solid #3a3a3a;
    padding-top: 30px;
    text-align: center;
    color: #b0b0b0;
    font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #1a1a1a;
    padding: 20px 0;
    margin-top: 80px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
}

.breadcrumb ul li {
    margin-right: 10px;
}

.breadcrumb ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb ul li a:hover {
    color: #00ffaa;
}

.breadcrumb ul li::after {
    content: '/';
    margin-left: 10px;
    color: #3a3a3a;
}

.breadcrumb ul li:last-child::after {
    display: none;
}

.breadcrumb ul li:last-child {
    color: #00ffaa;
    font-size: 14px;
}

/* 新闻页面 */
.news-page {
    padding: 40px 0;
    background-color: #0a0a0a;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: #00ffaa;
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-item-date {
    color: #00ffaa;
    font-size: 14px;
}

.news-item h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-item p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.news-item a {
    color: #00ffaa;
    text-decoration: none;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-image {
        position: relative;
        top: 0;
        transform: none;
        max-width: 100%;
        margin-top: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        margin-top: 120px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .data-card, .membership-card, .news-card, .news-item {
    animation: fadeIn 0.5s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ffaa;
}