/* OKX 欧易落地页 - 币种类站点 */
:root{
  --bg:#07050E;
  --bg2:#120C26;
  --bg3:#1A1136;
  --bd:#251A48;
  --t1:#EDE8F8;
  --t2:#9486B3;
  --t3:#5B4E7A;
  --accent:#22D3EE;
  --green:#34D399;
  --red:#FB7185;
  --w:min(1180px,92vw);
  --r:14px;
  --r2:20px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--t1);line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* === 图片大小约束补丁 2026-11-09 === */
img{max-width:100%;height:auto;display:block;}
.hero-banner img{max-height:420px;width:100%;object-fit:contain;border-radius:16px;}
/* === 2026-11-09 截图区改为两列并排 === */
.screen-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:clamp(12px,3vw,28px)!important;}
.screen-grid img{width:100%!important;max-width:none!important;height:clamp(280px,42vw,520px)!important;object-fit:cover!important;border-radius:12px!important;}
@media(max-width:600px){.screen-grid{grid-template-columns:1fr!important;}.screen-grid img{height:clamp(220px,60vw,380px)!important;}}

/* === Hero 下载按钮防遮挡 === */
.hero .nav-cta,.hero .dl-btn{position:relative!important;z-index:3!important;display:inline-block!important;}
.cta-row{display:flex!important;gap:12px!important;flex-wrap:wrap!important;position:relative!important;z-index:3!important;}

/* === 下载按钮区域防溢出 === */
.download .dl-grid,.dl-grid{overflow:visible!important;}
.download .dl-card,.dl-card{overflow:hidden!important;}
.dl-btn,.dl-btn-big{position:relative!important;display:inline-block!important;}
.nav-cta{z-index:3!important;display:inline-block!important;}

/* === 旧图片补丁修正（避免和新规则冲突）=== */
img{max-width:100%;height:auto;display:block;}
.hero-banner img{max-height:420px;width:100%;object-fit:cover;border-radius:12px;}
@media(max-width:768px){.hero-banner img{max-height:260px;}}


.hero .kpi img,.feature-card img,.concept-card img,.dl-card img{max-width:56px;max-height:56px;object-fit:contain;}
.nav .logo img,.ft img{max-height:30px;width:auto;}
.feature-card .f-ic img{max-width:28px;max-height:28px;}
.avatars img{width:48px;height:48px;max-width:48px;max-height:48px;}
/* 移动端更小 */
@media(max-width:768px){
  .hero-banner img{max-height:260px;}
  
}



/* ===== 顶部导航 ===== */
.nav{
  position:sticky;top:0;z-index:20;
  background:rgba(7,5,14,.85);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--bd);
}
.nav .inner{
  display:flex;align-items:center;justify-content:space-between;
  width:var(--w);margin:0 auto;height:68px;
}
.nav .logo img{height:32px;display:block}
.nav ul{display:flex;gap:28px;list-style:none}
.nav a{color:var(--t2);text-decoration:none;font-size:14px;transition:color .2s}
.nav a:hover{color:var(--t1)}
.nav .cta{
  background:var(--accent);color:#0B0714!important;
  padding:10px 22px;border-radius:999px;font-weight:600;font-size:14px;
  transition:transform .2s;
}
.nav .cta:hover{transform:translateY(-1px)}
@media (max-width:720px){
  .nav ul{display:none}
  .nav .inner{height:56px}
  .nav .cta{padding:8px 16px;font-size:13px}
}

/* ===== 首屏 Hero ===== */
.hero{
  position:relative;overflow:hidden;
  padding:96px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%,rgba(34,211,238,.18),transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%,rgba(147,51,234,.12),transparent 60%),
    var(--bg);
}
.hero .inner{
  display:grid;grid-template-columns:1.1fr 1fr;gap:60px;
  width:var(--w);margin:0 auto;align-items:center;
}
.hero .tag{
  display:inline-block;font-size:12px;color:var(--accent);
  background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.3);
  padding:6px 14px;border-radius:999px;margin-bottom:22px;letter-spacing:.5px;
}
.hero h1{
  font-size:clamp(28px,4.4vw,52px);line-height:1.18;font-weight:700;
  margin-bottom:20px;letter-spacing:-.5px;
}
.hero h1 .hl{color:var(--accent)}
.hero .lead{color:var(--t2);font-size:16px;max-width:520px;margin-bottom:34px}
.hero .kpis{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:38px;
}
.hero .kpi{
  background:var(--bg2);border:1px solid var(--bd);border-radius:var(--r);
  padding:20px;text-align:left;
}
.hero .kpi .num{font-size:26px;font-weight:700;color:var(--t1);font-variant-numeric:tabular-nums}
.hero .kpi .lbl{font-size:12px;color:var(--t2);margin-top:4px}
.hero .btns{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 28px;border-radius:12px;font-weight:600;font-size:15px;
  text-decoration:none;cursor:pointer;border:none;transition:transform .15s,background .2s;
}
.btn-primary{background:var(--accent);color:#0B0714}
.btn-primary:hover{transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--t1);border:1px solid var(--bd)}
.btn-ghost:hover{background:var(--bg2)}

/* hero 右侧行情板 */
.hero .board{
  background:var(--bg2);border:1px solid var(--bd);border-radius:var(--r2);
  padding:28px;position:relative;
}
.hero .board .hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.hero .board .title{font-size:14px;color:var(--t2)}
.hero .board .live{
  font-size:11px;color:var(--green);display:flex;align-items:center;gap:6px;
}
.hero .board .live::before{
  content:"";width:6px;height:6px;background:var(--green);border-radius:50%;
  box-shadow:0 0 8px var(--green);
}
.hero .board .pair{
  display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;
  padding:14px 0;border-bottom:1px solid var(--bd);
}
.hero .board .pair:last-child{border-bottom:none}
.hero .board .pair .name{font-size:14px}
.hero .board .pair .sym{color:var(--t3);font-size:12px;margin-left:4px}
.hero .board .pair .price{font-variant-numeric:tabular-nums;font-size:15px}
.hero .board .pair .chg{font-size:12px;font-variant-numeric:tabular-nums}
.hero .board .pair .chg.up{color:var(--green)}
.hero .board .pair .chg.dn{color:var(--red)}

@media (max-width:860px){
  .hero{padding:56px 0 48px}
  .hero .inner{grid-template-columns:1fr;gap:40px}
  .hero .kpis{grid-template-columns:repeat(3,1fr);gap:12px}
  .hero .kpi{padding:14px}
  .hero .kpi .num{font-size:20px}
}

/* ===== 行情横条 Ticker ===== */
.ticker{
  border-top:1px solid var(--bd);border-bottom:1px solid var(--bd);
  background:var(--bg2);padding:0;overflow:hidden;
}
.ticker .row{
  display:flex;gap:0;
}
.ticker .cell{
  flex:1;min-width:0;padding:18px 20px;
  border-right:1px solid var(--bd);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-size:13px;
}
.ticker .cell:last-child{border-right:none}
.ticker .cell .nm{color:var(--t1);font-weight:500}
.ticker .cell .pr{font-variant-numeric:tabular-nums;color:var(--t1)}
.ticker .cell .chg{font-variant-numeric:tabular-nums;font-size:12px}
.ticker .cell .chg.up{color:var(--green)}
.ticker .cell .chg.dn{color:var(--red)}
@media (max-width:720px){
  .ticker .row{flex-wrap:wrap}
  .ticker .cell{min-width:50%;border-bottom:1px solid var(--bd)}
  .ticker .cell:nth-child(even){border-right:none}
}

/* ===== 通用 section ===== */
.sec{padding:80px 0}
.sec .inner{width:var(--w);margin:0 auto}
.sec .eyebrow{
  font-size:12px;color:var(--accent);letter-spacing:.5px;text-transform:uppercase;
  margin-bottom:12px;font-weight:500;
}
.sec h2{
  font-size:clamp(22px,3vw,34px);font-weight:700;margin-bottom:12px;
}
.sec .sub{color:var(--t2);font-size:15px;margin-bottom:44px;max-width:600px}

/* ===== 功能亮点 ===== */
.feat .grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
}
.feat .card{
  background:var(--bg2);border:1px solid var(--bd);border-radius:var(--r2);
  padding:32px;transition:border-color .2s,transform .2s;
}
.feat .card:hover{border-color:rgba(34,211,238,.35);transform:translateY(-2px)}
.feat .card .ic{
  width:44px;height:44px;border-radius:12px;
  background:rgba(34,211,238,.12);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;margin-bottom:20px;color:var(--accent);
}
.feat .card h3{font-size:17px;font-weight:600;margin-bottom:10px}
.feat .card p{color:var(--t2);font-size:14px;line-height:1.7}
@media (max-width:720px){
  .feat .grid{grid-template-columns:1fr;gap:16px}
  .feat .card{padding:24px}
}

/* ===== 双端覆盖 ===== */
.devices .bars{
  display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--bd);
  border-radius:var(--r2);overflow:hidden;
}
.devices .bar{
  background:var(--bg2);padding:36px 28px;
  text-align:center;
}
.devices .bar .ic{font-size:36px;color:var(--accent);margin-bottom:12px}
.devices .bar h3{font-size:15px;font-weight:600;margin-bottom:6px}
.devices .bar p{font-size:13px;color:var(--t2)}
@media (max-width:720px){
  .devices .bars{grid-template-columns:1fr}
  .devices .bar{padding:24px}
}

/* ===== 界面展示 ===== */
.screens{background:var(--bg2)}
.screens .grid{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;
}
.screens img{
  width:100%;max-width:386px;aspect-ratio:386/780;
  border-radius:24px;display:block;filter:drop-shadow(0 20px 40px rgba(0,0,0,.5));
  object-fit:cover;background:var(--bg3);
}
.screens .cap{margin-bottom:32px}
.screens .cap h3{font-size:20px;font-weight:600;margin-bottom:10px}
.screens .cap p{color:var(--t2);font-size:14px}
.screens .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.screens .tag{
  font-size:12px;color:var(--t2);background:var(--bg3);
  border:1px solid var(--bd);padding:5px 12px;border-radius:999px;
}
@media (max-width:720px){
  .screens .grid{grid-template-columns:1fr;gap:32px}
  .screens .img-col{order:-1}
  .screens img{max-width:280px;margin:0 auto}
}

/* ===== 下载区 ===== */
.dl{
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,rgba(34,211,238,.1),transparent 70%),
    var(--bg);
}
.dl .head{text-align:center;margin-bottom:44px}
.dl .head h2{font-size:clamp(22px,3vw,32px);margin-bottom:10px}
.dl .head p{color:var(--t2);font-size:15px}
.dl .act{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;
  width:var(--w);margin:0 auto;
}
.dl .card{
  background:var(--bg2);border:1px solid var(--bd);border-radius:var(--r2);
  padding:28px 24px;text-align:center;
}
.dl .card .ic{font-size:32px;color:var(--accent);margin-bottom:12px}
.dl .card .t{font-size:16px;font-weight:600;margin-bottom:4px}
.dl .card .s{font-size:12px;color:var(--t2);margin-bottom:18px}
.dl .card a{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:12px;border-radius:10px;text-decoration:none;
  font-size:14px;font-weight:500;
}
.dl .card a.p{background:var(--accent);color:#0B0714}
.dl .card a.g{background:var(--bg3);color:var(--t1);border:1px solid var(--bd)}
.dl .note{
  text-align:center;color:var(--t3);font-size:12px;margin-top:24px;
  width:var(--w);margin-left:auto;margin-right:auto;
}
.dl .qr-wrap{
  display:flex;justify-content:center;gap:40px;margin-top:36px;flex-wrap:wrap;
}
.dl .qr{
  background:var(--bg2);border:1px solid var(--bd);border-radius:var(--r);
  padding:20px;text-align:center;max-width:180px;
}
.dl .qr .ph{
  width:140px;height:140px;background:var(--bg3);border-radius:8px;
  margin-bottom:10px;display:flex;align-items:center;justify-content:center;
  color:var(--t3);font-size:11px;
}
.dl .qr .lbl{font-size:12px;color:var(--t2)}
/* 空态：全部隐藏时整个下载区块收起 */
.dl:not(:has(.card a:not([hidden]))){display:none}
.dl:not(:has(.card a:not([hidden]))) + .dl-note{display:none}

/* ===== FAQ ===== */
.faq{background:var(--bg2)}
.faq .wrap{max-width:780px;margin:0 auto}
.faq details{
  border-bottom:1px solid var(--bd);
}
.faq summary{
  padding:22px 0;font-weight:500;font-size:15px;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;align-items:center;
  gap:20px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";font-size:22px;color:var(--accent);font-weight:400;flex-shrink:0;
  transition:transform .2s;
}
.faq details[open] summary::after{content:"−"}
.faq details[open] summary::after{transform:rotate(180deg)}
.faq .ans{
  padding:0 0 22px;color:var(--t2);font-size:14px;line-height:1.8;
}

/* ===== 页脚 ===== */
.foot{
  border-top:1px solid var(--bd);background:var(--bg);
  padding:48px 0 32px;
}
.foot .inner{
  display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:40px;
  width:var(--w);margin:0 auto;margin-bottom:40px;
}
.foot .col h4{font-size:13px;color:var(--t2);margin-bottom:16px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}
.foot .col ul{list-style:none}
.foot .col li{margin-bottom:10px}
.foot .col a{color:var(--t3);text-decoration:none;font-size:14px;transition:color .2s}
.foot .col a:hover{color:var(--t1)}
.foot .brand img{height:28px;margin-bottom:14px}
.foot .brand p{font-size:13px;color:var(--t3);line-height:1.7;max-width:280px}
.foot .bot{
  width:var(--w);margin:0 auto;border-top:1px solid var(--bd);
  padding-top:20px;display:flex;justify-content:space-between;font-size:12px;color:var(--t3);
}
@media (max-width:720px){
  .foot .inner{grid-template-columns:1fr 1fr;gap:32px}
  .foot .bot{flex-direction:column;gap:6px;text-align:center}
}

/* ===== 通用 ===== */
.muted{color:var(--t2)}
.sm{font-size:13px}

/* 打印/无 JS 兜底 */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0!important;transition-duration:0!important}
}
a.dl-card{color:inherit;text-decoration:none}
/* 原内联样式，按原优先级抽离 */
.s-278bdd16.s-278bdd16.s-278bdd16{padding:80px 0}
.s-bb37be3a.s-bb37be3a.s-bb37be3a{max-width:720px;margin:0 auto}
