/* ============================================================
   欧易 OKX App 下载官网 —— 全站主题样式
   白色简洁金融风 · 响应式 · 与 Bootstrap 5 配合使用
   ============================================================ */

:root {
  --brand: #0b0e11;
  --brand-2: #1c222b;
  --accent: #1652f0;
  --accent-soft: #eaf1ff;
  --success: #0ecb81;
  --danger: #f6465d;
  --text: #1e2329;
  --text-2: #5c626b;
  --text-3: #8b929c;
  --line: #eaecf0;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-gray: #f0f2f5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 40, .06);
  --shadow-md: 0 12px 34px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --header-h: 72px;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { font-weight: 800; color: var(--brand); line-height: 1.25; letter-spacing: .2px; }
.text-muted-2 { color: var(--text-2) !important; }
.text-3 { color: var(--text-3) !important; }

.container-x { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-gray { background: var(--bg-gray); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { font-size: 34px; margin-bottom: 14px; }
.section-lead { color: var(--text-2); font-size: 17px; max-width: 640px; }
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 10px; font-weight: 700; padding: 12px 26px; transition: all .2s ease; letter-spacing: .3px; }
.btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 12px; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover { background: var(--brand-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-accent:hover { background: #0e3fd0; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-brand { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn-light:hover { color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header-logo { width: 120px !important; height: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text); font-weight: 600; font-size: 15.5px; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--brand); margin: 4px auto; border-radius: 2px; transition: .3s; }

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed; inset: 0; background: rgba(11,14,17,.45); z-index: 1050;
  opacity: 0; visibility: hidden; transition: .25s;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer .drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 300px; max-width: 82vw;
  background: #fff; padding: 22px; transform: translateX(100%); transition: .28s ease; overflow-y: auto;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel .close-btn { border: 0; background: var(--bg-soft); width: 38px; height: 38px; border-radius: 10px; font-size: 20px; }
.drawer-links { margin: 22px 0; display: flex; flex-direction: column; }
.drawer-links a { padding: 13px 6px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, #eaf1ff 0%, rgba(234,241,255,0) 55%),
              linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  padding: 78px 0 92px;
}
.hero h1 { font-size: 48px; line-height: 1.14; margin-bottom: 20px; }
.hero .lead { font-size: 19px; color: var(--text-2); max-width: 540px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 7px 14px; border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 22px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.download-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 20px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 22px;
  border: 1px solid var(--brand); transition: .2s; min-width: 190px;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .s-txt { line-height: 1.15; text-align: left; }
.store-btn .s-txt small { display: block; font-size: 11px; opacity: .75; font-weight: 500; }
.store-btn .s-txt strong { font-size: 17px; font-weight: 800; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--success); }

/* 手机预览 */
.phone-mock {
  width: 300px; max-width: 78vw; aspect-ratio: 300/610; margin: 0 auto;
  background: linear-gradient(160deg, #0b0e11, #232b36);
  border-radius: 42px; padding: 12px; box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen { background: #fff; border-radius: 32px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.ps-top { background: var(--brand); color: #fff; padding: 18px 16px 14px; }
.ps-top .row1 { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .85; }
.ps-balance { margin-top: 12px; font-size: 26px; font-weight: 800; }
.ps-balance small { font-size: 12px; opacity: .7; font-weight: 500; }
.ps-tabs { display: flex; gap: 6px; padding: 12px 14px 4px; }
.ps-tabs span { font-size: 12px; font-weight: 700; color: var(--text-3); padding: 5px 10px; border-radius: 8px; }
.ps-tabs span.on { color: var(--accent); background: var(--accent-soft); }
.ps-list { padding: 8px 14px; flex: 1; }
.ps-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ps-item .coin { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; }
.ps-item .coin i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; font-style: normal; font-weight: 800; }
.ps-item .p { font-size: 12.5px; text-align: right; }
.ps-item .p b { display: block; font-weight: 700; }
.up { color: var(--success); } .down { color: var(--danger); }
.ps-cta { margin: 12px 14px 16px; background: var(--accent); color: #fff; text-align: center; padding: 13px; border-radius: 12px; font-weight: 800; font-size: 15px; }

/* ---------- 通用卡片 ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; height: 100%; transition: .24s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.fc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.fc-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- 数据统计 ---------- */
.stat-band { background: var(--brand); border-radius: var(--radius-lg); padding: 46px 20px; color: #fff; }
.stat-item { text-align: center; padding: 10px; }
.stat-item .num { font-size: 40px; font-weight: 800; line-height: 1; background: linear-gradient(90deg, #fff, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item .lbl { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.72); font-weight: 600; }

/* ---------- 步骤 ---------- */
.step-box { text-align: center; padding: 24px; position: relative; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; margin: 0 auto 16px; }
.step-box h4 { font-size: 18px; margin-bottom: 8px; }
.step-box p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ---------- 行情表 ---------- */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mkt-table { width: 100%; border-collapse: collapse; }
.mkt-table th { text-align: left; font-size: 13px; color: var(--text-3); font-weight: 700; padding: 16px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mkt-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.mkt-table tr:last-child td { border-bottom: 0; }
.mkt-table tr:hover td { background: var(--bg-soft); }
.coin-name { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--brand); }
.coin-chip { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.num-r { text-align: right; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.pill.up { background: rgba(14,203,129,.12); color: var(--success); }
.pill.down { background: rgba(246,70,93,.12); color: var(--danger); }

/* ---------- FAQ / Accordion ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: 14px; overflow: hidden; background: #fff; }
.accordion-button { font-weight: 700; color: var(--brand); font-size: 16.5px; padding: 20px 22px; background: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--bg-soft); color: var(--accent); }
.accordion-button::after { filter: none; }
.accordion-body { color: var(--text-2); padding: 4px 22px 22px; font-size: 15.5px; }

/* ---------- 页面小标题（内页 Banner） ---------- */
.page-head { background: linear-gradient(180deg, #fbfcfe, #f2f6fc); padding: 62px 0 58px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 40px; margin-bottom: 14px; }
.page-head p { color: var(--text-2); font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.crumbs a:hover { color: var(--accent); }

/* ---------- CTA 区块 ---------- */
.cta-band { background: linear-gradient(135deg, #0b0e11 0%, #17233b 60%, #1652f0 160%); border-radius: var(--radius-lg); padding: 60px 40px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta-band .download-btns { justify-content: center; }

/* ---------- 列表勾选 ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; color: var(--text); font-weight: 600; }
.check-list li svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }

/* ---------- 资讯卡 ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .24s; height: 100%; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #dce7ff, #eef3fb); display: grid; place-items: center; color: var(--accent); font-weight: 800; font-size: 22px; }
.news-body { padding: 20px 22px; }
.news-tag { font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 100px; }
.news-body h3 { font-size: 18px; margin: 14px 0 8px; }
.news-body p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.news-date { color: var(--text-3); font-size: 13px; margin-top: 14px; font-weight: 600; }

/* ---------- 内页正文 ---------- */
.rich h2 { font-size: 26px; margin: 40px 0 14px; }
.rich h3 { font-size: 20px; margin: 28px 0 10px; }
.rich p { color: var(--text-2); margin-bottom: 16px; }
.rich ul { color: var(--text-2); }
.rich ul li { margin-bottom: 8px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b0e11; color: rgba(255,255,255,.66); padding: 66px 0 30px; margin-top: 0; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer-logo { width: 132px; margin-bottom: 16px; }
.site-footer .footer-logo { filter: brightness(0) invert(1); opacity: .92; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-desc { font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-disclaimer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 20px; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 30px; line-height: 1.7; }

/* ---------- 悬浮下载条（移动端） ---------- */
.sticky-dl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; display: none; box-shadow: 0 -6px 20px rgba(16,24,40,.08); }
.sticky-dl .btn { width: 100%; }

/* ---------- 回到顶部 ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: .25s; z-index: 1015; box-shadow: var(--shadow-md); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Bootstrap Icons 尺寸适配 ---------- */
.store-btn i.bi { font-size: 26px; line-height: 1; flex: none; }
.fc-icon i.bi { font-size: 26px; line-height: 1; }
.step-num i.bi { font-size: 22px; }
.hero-trust i.bi { font-size: 16px; color: var(--success); }
.check-list li i.bi { font-size: 20px; color: var(--success); flex: none; margin-top: 3px; }
.footer-social i.bi { font-size: 18px; }
.to-top i.bi { font-size: 20px; }
.nav-toggle i.bi { font-size: 24px; color: var(--brand); }
.drawer-panel .close-btn i.bi { font-size: 18px; }
.crumbs i.bi { font-size: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 38px; }
  .section { padding: 60px 0; }
  .section-title, .page-head h1 { font-size: 28px; }
  .sticky-dl { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 575.98px) {
  .hero { padding: 52px 0 66px; }
  .hero h1 { font-size: 31px; }
  .cta-band { padding: 44px 22px; }
  .cta-band h2 { font-size: 26px; }
  .stat-item .num { font-size: 32px; }
  .store-btn { min-width: 100%; justify-content: center; }
  .section-title { font-size: 25px; }
}
