/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.logo p {
    font-size: 0.9rem;
    color: #ccc;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #ffd700;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* 主页横幅样式 */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffd700;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #ccc;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    background-color: rgba(255, 215, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.feature-item p {
    font-size: 1rem;
    color: #ccc;
}

/* 内容区域通用样式 */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffd700;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 关于我们样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-values h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.about-values li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 最新动态样式 */
.news {
    background-color: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.4;
}

.news-item p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    background-color: #ffd700;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
}

.read-more:hover {
    background-color: transparent;
    color: #ffd700;
    transform: translateY(-2px);
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-info p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* 板块页面通用样式 */
.section-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.section-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    border-left: 5px solid #ffd700;
    padding-left: 20px;
}

.section-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.section-content ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.section-content li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

/* 行情页面样式 */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.market-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.market-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ffd700;
}

.market-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.market-item .price {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.market-item .change {
    font-size: 1rem;
    font-weight: 500;
}

.change.positive {
    color: #28a745;
}

.change.negative {
    color: #dc3545;
}

/* 案例页面样式 */
.case-item {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #ffd700;
}

.case-item h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.case-item .case-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    color: #666;
    font-size: 0.9rem;
}

/* 实时行情文章样式 */
.news-article {
    margin-bottom: 50px;
}

.news-article h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-article h4 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: #1a1a1a;
}

.news-article p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.news-article ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.news-article li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

.related-news {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.related-news h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.related-news ul {
    list-style: none;
    margin: 0;
}

.related-news li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.related-news li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.related-news a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.related-news a:hover {
    color: #ffd700;
    padding-left: 10px;
}

/* 文章列表样式 */
.article-list {
    margin-bottom: 40px;
}

.article-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #ffd700;
}

.article-title {
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    margin-bottom: 15px;
}

.article-title h3 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.article-title:hover h3 {
    color: #ffd700;
}

.article-item .article-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 0.9rem;
    padding: 0;
    border: none;
    margin: 0;
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0;
}

.pagination a {
    display: block;
    padding: 10px 15px;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.pagination a:hover {
    background-color: #ffd700;
    color: #1a1a1a;
    border-color: #ffd700;
    transform: translateY(-2px);
}

.pagination li.active a {
    background-color: #ffd700;
    color: #1a1a1a;
    border-color: #ffd700;
}

.pagination li.active a:hover {
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .section-content {
        padding: 30px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-content {
        padding: 20px;
    }
}