/*
Theme Name: OKX 欧易交易所主题
Theme URI: https://www.okx.com
Author: OKX Team
Author URI: https://www.okx.com
Description: 欧易OKX交易所官方主题，响应式设计，支持移动端
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: okx-theme
*/

/* ========== 现代化设计 + 微调UI以提升信任感 ========== */
:root {
    --primary: #0052ff;        /* OKX品牌蓝 */
    --primary-dark: #0036b3;
    --secondary: #7c3aed;
    --accent: #f5a623;
    --dark: #1e2026;
    --light: #fafbfc;
    --gray: #707a8a;
    --success: #11b981;
    --border: #eaeef2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 20px rgba(0,82,255,0.08);
    --shadow-lg: 0 20px 30px -10px rgba(0,82,255,0.15);
    --radius: 16px;
    --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.5;
}

/* 导航微调 */
.nav-simple {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0,82,255,0.2);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.btn-minimal {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0,82,255,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,82,255,0.35);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--dark);
    background: white;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f5f8ff;
}

/* 英雄区增强 */
.hero-minimal {
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f5ff 0%, #e8f0fe 100%);
}
.hero-minimal::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,82,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-minimal > div { position: relative; z-index: 2; }

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1px;
}
.hero-title span { 
    color: var(--primary); 
    background: linear-gradient(145deg, var(--primary), #3b71fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* 统计数字区块 */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin: 50px 0 20px;
}
.stat-item { text-align: center; min-width: 140px; }
.stat-number { font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-label { color: var(--gray); font-size: 15px; font-weight: 500; }

/* 卡片 + 下载专区 */
.card-minimal {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.card-minimal:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.card-icon {
    width: 56px; height: 56px;
    background: rgba(0,82,255,0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}
.grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* 新的下载引导区块 */
.download-highlight {
    background: linear-gradient(120deg, #0b1020, #141b33);
    color: white;
    border-radius: 48px;
    padding: 48px 60px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.download-highlight h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.download-highlight p {
    opacity: 0.8;
    font-size: 16px;
    max-width: 450px;
}
.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-download {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 16px 32px;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-download:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}
.btn-download i { font-size: 22px; }

/* 页脚 */
.footer-minimal {
    background: white;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.footer-col h4 { font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--dark); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 900px) {
    .hero-title { font-size: 42px; }
    .nav-links { display: none; } /* 移动简化, 保留CTA即可 */
    .download-highlight { flex-direction: column; text-align: center; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .stats-grid { gap: 30px; }
    .hero-title { font-size: 32px; }
}

/* 小型标签 */
.badge {
    background: rgba(0,82,255,0.1);
    color: var(--primary);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-block;
    margin-right: 8px;
}
