/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

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

/* 导航栏 */
.header {
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #00ff88;
}

.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: #00ff88;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.register-btn {
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
    color: #0a0a0a;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.download-btn {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}

.download-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

/* 英雄区域 */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="rgba(0,255,136,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
    color: #0a0a0a;
    font-size: 16px;
    padding: 15px 30px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.secondary-btn {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    font-size: 16px;
    padding: 15px 30px;
}

.secondary-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.coin {
    position: absolute;
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

.coin.bitcoin {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.coin.ethereum {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.coin.solana {
    bottom: 10%;
    left: 30%;
    animation-delay: 2s;
}

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

/* 产品中心 */
.products {
    padding: 100px 0;
    background: #fff;
}

.products h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #0a0a0a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #00ff88;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0a0a0a;
}

.product-card p {
    margin-bottom: 20px;
    color: #666;
}

.card-btn {
    background: #0a0a0a;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.card-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* 新闻资讯 */
.news {
    padding: 100px 0;
    background: #f5f5f5;
}

.news h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #0a0a0a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.news-date {
    font-size: 14px;
    color: #00ff88;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0a0a0a;
}

.news-card p {
    margin-bottom: 20px;
    color: #666;
}

.news-btn {
    background: #0a0a0a;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.news-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #fff;
}

.about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #0a0a0a;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0a0a0a;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f5f5f5;
}

.contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #0a0a0a;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a0a0a;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background: #0a0a0a;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.contact-form {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a0a0a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #0a0a0a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.submit-btn {
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
    color: #0a0a0a;
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

/* 页脚 */
.footer {
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ff88;
}

.footer-logo p {
    color: #e0e0e0;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00ff88;
}

.footer-cta h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-btn {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}

.footer-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #e0e0e0;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav ul li {
        margin: 0 15px;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .products h2,
    .news h2,
    .about h2,
    .contact h2 {
        font-size: 28px;
    }

    .crypto-animation {
        width: 300px;
        height: 300px;
    }

    .coin {
        font-size: 36px;
    }
}