/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 2px;
}

.nav-logo span {
    color: #ffd700;
    font-size: 14px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-register, .btn-download {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-register {
    background: #ffd700;
    color: #1e3c72;
}

.btn-register:hover {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
}

.btn-download {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-download:hover {
    background: #fff;
    color: #1e3c72;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: #ffd700;
    color: #1e3c72;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
    transform: translateY(-2px);
}

.btn-primary small, .btn-secondary small {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.banner-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
}

.banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-chart {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.chart-placeholder h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffd700;
}

.chart-placeholder p {
    font-size: 16px;
    opacity: 0.8;
}

/* 产品特色 */
.features {
    padding: 80px 0;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1e3c72;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 交易服务 */
.trading {
    padding: 80px 0;
    background: #f8f9fa;
}

.trading h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #1e3c72;
}

.trading-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-info h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e3c72;
}

.trading-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.trading-types {
    margin-bottom: 40px;
}

.trading-type {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ffd700;
}

.trading-type h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e3c72;
}

.trading-type p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cta-section {
    display: flex;
    gap: 20px;
}

.btn-outline {
    padding: 15px 30px;
    border: 2px solid #1e3c72;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1e3c72;
    color: #fff;
}

.trading-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-demo {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.trading-demo h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.trading-demo p {
    font-size: 16px;
    color: #666;
}

/* 安全保障 */
.security {
    padding: 80px 0;
    background: #fff;
}

.security h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #1e3c72;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.security-item {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.security-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.security-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e3c72;
}

.security-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.security-text h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e3c72;
}

.security-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 下载区域 */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.download h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #fff;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-info h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.download-info p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.app-features {
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-check {
    color: #ffd700;
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 200px;
}

.download-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 32px;
    margin-right: 15px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
}

.download-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

.download-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.phone-screen {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: #333;
}

.phone-screen h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.phone-screen p {
    font-size: 14px;
    color: #666;
}

/* 底部 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

/* 移动端底部菜单 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    flex: 1;
    padding: 8px 5px;
    transition: color 0.3s ease;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: #1e3c72;
}

.mobile-bottom-nav .nav-item.register {
    color: #ffd700;
}

.mobile-bottom-nav .nav-item.download {
    color: #1e3c72;
    font-weight: bold;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-buttons {
        justify-content: center;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 100px 0 60px;
    }
    
    .features, .trading, .security, .download {
        padding: 60px 0;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        min-width: 140px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .features h2, .trading h2, .security h2, .download h2 {
        font-size: 28px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .download-btn {
        min-width: 160px;
        padding: 15px 20px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .security-item, .trading-type {
    animation: fadeInUp 0.6s ease-out;
}

/* 按钮悬停效果 */
.btn-primary, .btn-secondary, .btn-outline, .download-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before, .btn-outline::before, .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-outline:hover::before, .download-btn:hover::before {
    left: 100%;
}
