/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 20px;
    font-weight: bold;
    color: #1890ff;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1890ff;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 按钮样式 */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #40a9ff, #1890ff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #73d13d, #52c41a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1890ff;
    border: 1px solid #1890ff;
}

.btn-outline:hover {
    background: #1890ff;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Banner区域 */
.hero-banner {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-banner .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.highlight {
    color: #1890ff;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.hero-image {
    text-align: center;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 欧意交易所介绍 */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 20px 0;
    color: #1a1a1a;
}

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

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.usage-item .icon {
    font-size: 32px;
    flex-shrink: 0;
}

.usage-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.usage-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 欧意交易所优势 */
.advantages-section {
    padding: 80px 0;
    background: white;
}

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

.advantage-card {
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.advantage-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
}

.advantage-card ul {
    list-style: none;
    padding: 0;
}

.advantage-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.advantage-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

/* 特色功能 */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #1a1a1a;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 行情展示 */
.markets {
    padding: 80px 0;
    background: #f8f9fa;
}

.market-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.coin-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.coin-name img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.price {
    font-weight: 600;
    color: #1a1a1a;
}

.change {
    font-weight: 600;
}

.change.positive {
    color: #52c41a;
}

.change.negative {
    color: #ff4d4f;
}

.volume {
    color: #666;
    font-size: 14px;
}

/* APP下载区域 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-info h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.download-info p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.download-features span {
    font-size: 16px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: #1890ff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn img {
    height: 24px;
    width: auto;
}

.qr-code {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-code p {
    color: #333;
    font-size: 14px;
    margin: 0;
}

/* 移动端底部导航 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
    z-index: 999;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    flex: 1;
}

.bottom-nav-item.active {
    color: #1890ff;
}

.bottom-nav-item .icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-nav-item.trade-btn {
    color: #52c41a;
}

/* 移动端固定按钮 */
.mobile-fixed-buttons {
    display: none;
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 998;
}

.fixed-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-btn.register-btn {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: white;
}

.fixed-btn.download-btn {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: white;
}

.fixed-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

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

.register-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.register-form input:focus {
    outline: none;
    border-color: #1890ff;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-checkbox a {
    color: #1890ff;
    text-decoration: none;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.form-footer a {
    color: #1890ff;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .mobile-fixed-buttons {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .hero-banner {
        padding: 60px 0;
        margin-top: 60px;
    }
    
    .hero-banner .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .coin-name {
        justify-content: center;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-fixed-buttons {
        bottom: 80px;
        gap: 10px;
    }
    
    .fixed-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .stat-card .stat-number {
        font-size: 28px;
    }
}

/* 滚动效果 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 加载动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}