/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a1a;
    background-image: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部 */
header {
    background-color: rgba(10, 10, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 200, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00c8ff;
    text-decoration: none;
}

.logo span {
    color: #ffd700;
}

/* 导航 */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00c8ff;
}

/* 移动端导航 */
.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #00c8ff;
    color: #0a0a1a;
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 255, 0.3);
}

.btn-secondary {
    background-color: #ffd700;
    color: #0a0a1a;
}

.btn-secondary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #ccc;
}

.breadcrumb a {
    color: #00c8ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 英雄区域 */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00c8ff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

/* 内容区域 */
.content {
    padding: 40px 0;
    min-height: 600px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #00c8ff;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00c8ff, #ffd700);
}

/* 卡片 */
.card {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.2);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #00c8ff;
}

.card p {
    color: #ccc;
    margin-bottom: 20px;
}

/* 新闻列表 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.2);
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #00c8ff;
}

.news-item p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.news-meta {
    font-size: 12px;
    color: #999;
}

/* 产品列表 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.2);
}

.product-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #00c8ff;
}

.product-item p {
    color: #ccc;
    margin-bottom: 20px;
}

/* 联系表单 */
.contact-form {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 40px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: rgba(10, 10, 26, 0.5);
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00c8ff;
    box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.2);
}

/* 页脚 */
footer {
    background-color: rgba(10, 10, 26, 0.95);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 200, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #00c8ff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00c8ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(10, 10, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-list,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .btn-primary {
        margin-right: 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.news-item,
.product-item {
    animation: fadeIn 0.5s ease-in-out;
}

/* 强调文本 */
.highlight {
    color: #ffd700;
    font-weight: bold;
}

/* 行情数据样式 */
.market-data {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.market-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.market-item:last-child {
    border-bottom: none;
}

.market-name {
    font-weight: bold;
}

.market-price {
    color: #00c8ff;
}

.market-change {
    font-weight: bold;
}

.market-change.positive {
    color: #00ff00;
}

.market-change.negative {
    color: #ff0000;
}