/* =====================================================================
   欧易官网 · 全站样式
   香槟金门户体系 / 公告条 / 居中大排版 / Q&A 平铺网格 / 金线装饰
===================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #0b0b0e;
  --bg-soft: #101014;
  --panel: #15151a;
  --panel-2: #1b1b22;
  --line: rgba(212, 176, 94, .15);
  --line-2: rgba(212, 176, 94, .34);
  --text: #f2ede2;
  --text-2: #a29a89;
  --text-3: #6b6558;
  --brand: #d4b05e;
  --brand-2: #e8cd8a;
  --brand-soft: rgba(212, 176, 94, .12);
  --up: #2fbf7f;
  --down: #e5544b;
  --grad: linear-gradient(135deg, #d4b05e, #eed9a0);
  --radius: 18px;
  --nav-h: 66px;
  --wrap: 1160px;
  --shadow: 0 26px 64px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(212, 176, 94, .32); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.mono { font-family: "SF Mono", "JetBrains Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--text-2); }

/* ---------- 按钮（小圆角 + 字距） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 26px; border-radius: 6px; font-size: 14px; font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid transparent; transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--brand { background: var(--grad); color: #241a05; }
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(212, 176, 94, .32); }
.btn--ghost { border-color: var(--line-2); color: var(--brand-2); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--lg { padding: 15px 34px; font-size: 15px; }
.btn--sm { padding: 9px 18px; font-size: 13px; border-radius: 5px; }

/* ---------- 公告条 ---------- */
.notice { background: linear-gradient(90deg, rgba(212, 176, 94, .15), rgba(212, 176, 94, .05)); border-bottom: 1px solid var(--line); }
.notice-in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; position: relative; }
.notice-in span { font-size: 12.5px; color: var(--brand-2); letter-spacing: .02em; }
.notice-in b { font-weight: 700; }
.notice-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 6px; color: var(--text-3); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.notice-close:hover { color: var(--brand-2); background: var(--brand-soft); }
.notice.hide { display: none; }

/* ---------- 顶栏（菜单居中） ---------- */
.topbar2 {
  position: sticky; top: 0; z-index: 70;
  background: rgba(11, 11, 14, .86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s;
}
.topbar2.scrolled { box-shadow: 0 1px 0 var(--line), 0 14px 38px rgba(0, 0, 0, .5); }
.tb2-wrap { display: flex; align-items: center; height: var(--nav-h); gap: 18px; }
.logo2 { display: flex; align-items: center; gap: 9px; flex: none; }
.logo2 svg { width: 29px; height: 29px; }
.logo2 b { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.menu2 { display: flex; gap: 6px; margin: 0 auto; }
.menu2 a { position: relative; padding: 8px 15px; font-size: 14px; color: var(--text-2); letter-spacing: .02em; transition: color .2s; }
.menu2 a:hover { color: var(--text); }
.menu2 a.on { color: var(--brand-2); font-weight: 600; }
.menu2 a.on::before { content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); width: 16px; height: 2px; border-radius: 2px; background: var(--grad); }
.tb2-right { display: flex; align-items: center; gap: 10px; flex: none; }
.mbtn2 {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.mbtn2 span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s var(--ease); }
.mbtn2.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mbtn2.open span:nth-child(2) { opacity: 0; }
.mbtn2.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 顶部下拉面板 ---------- */
.panel2 {
  position: fixed; left: 0; right: 0; top: 0; z-index: 64;
  padding: calc(var(--nav-h) + 26px) 26px 30px;
  background: rgba(11, 11, 14, .985);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
}
.panel2.open { opacity: 1; visibility: visible; transform: none; }
.pl-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--text); }
.pl-link svg { width: 16px; height: 16px; color: var(--text-3); }
.pl-link.on { color: var(--brand-2); }
.panel2 .pl-foot { display: grid; gap: 10px; margin-top: 26px; }
@media (min-width: 901px) { .panel2 { display: none; } }

/* ---------- Hero（居中大宣言） ---------- */
.hero2 { position: relative; text-align: center; padding: 92px 0 40px; overflow: hidden; }
.hero2::before {
  content: ""; position: absolute; left: 50%; top: -260px; transform: translateX(-50%);
  width: 880px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 176, 94, .17), transparent 62%);
  pointer-events: none;
}
.hero2 > .wrap { position: relative; }
.hero2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .24em; color: var(--brand-2);
  border: 1px solid var(--line-2); border-radius: 4px;
  background: rgba(212, 176, 94, .06); padding: 8px 18px;
}
.hero2 h1 { font-size: clamp(38px, 5.8vw, 66px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; margin-top: 30px; }
.hero2 h1 em { font-style: normal; color: var(--brand-2); border-bottom: 3px solid rgba(212, 176, 94, .4); padding-bottom: 3px; }
.hero2-line { width: 64px; height: 3px; border-radius: 2px; background: var(--grad); margin: 28px auto 0; }
.hero2 .lead { color: var(--text-2); font-size: 16.5px; max-width: 600px; margin: 22px auto 0; }
.hero2 .row { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero2-meta { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 36px; color: var(--text-3); font-size: 13px; }
.hero2-meta span { display: flex; align-items: center; gap: 8px; }
.hero2-meta svg { width: 15px; height: 15px; color: var(--brand); }

/* ---------- 数据带 ---------- */
.stats2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); margin-top: 66px; padding-top: 36px; }
.stat2 { text-align: center; }
.stat2 b { display: block; font-size: 34px; font-weight: 800; color: var(--brand-2); letter-spacing: -.01em; }
.stat2 span { color: var(--text-3); font-size: 13px; }

/* ---------- 区块与标题 ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.shead3 { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.shead3 .tag { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .26em; color: var(--brand); margin-bottom: 14px; }
.shead3 .tag::before, .shead3 .tag::after { content: ""; width: 26px; height: 1px; background: rgba(212, 176, 94, .45); }
.shead3 h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: .01em; line-height: 1.3; }
.shead3 p { color: var(--text-2); margin-top: 13px; }

/* ---------- 产品矩阵（2×2 大卡） ---------- */
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mx-card {
  position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  overflow: hidden; transition: all .3s var(--ease);
}
.mx-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mx-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 176, 94, .12), transparent 65%); }
.mx-ico { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--brand-soft); color: var(--brand-2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.mx-ico svg { width: 23px; height: 23px; }
.mx-card h3 { font-size: 19px; font-weight: 800; position: relative; z-index: 1; }
.mx-card > p { color: var(--text-2); font-size: 14px; margin-top: 8px; position: relative; z-index: 1; }
.mx-points { margin-top: 16px; display: grid; gap: 8px; position: relative; z-index: 1; }
.mx-points li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.mx-points li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); margin-top: 8px; flex: none; }

/* ---------- 平台优势（3 列） ---------- */
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.why-item { position: relative; padding-top: 24px; }
.why-item::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--grad); }
.why-no { font: 800 40px/1 "SF Mono", Consolas, monospace; color: transparent; -webkit-text-stroke: 1.2px rgba(212, 176, 94, .6); margin-bottom: 16px; }
.why-item h4 { font-size: 17px; font-weight: 800; }
.why-item p { color: var(--text-2); font-size: 13.5px; margin-top: 8px; }

/* ---------- 公告列表 ---------- */
.news { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.news-item { display: flex; align-items: center; gap: 18px; padding: 19px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(212, 176, 94, .05); }
.news-date { font: 12.5px "SF Mono", Consolas, monospace; color: var(--text-3); flex: none; width: 92px; }
.news-item b { font-size: 14.5px; font-weight: 600; flex: 1; }
.ntag { font-size: 11px; color: var(--brand-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 8px; flex: none; }
.news-item svg { width: 15px; height: 15px; color: var(--text-3); flex: none; transition: all .25s var(--ease); }
.news-item:hover svg { transform: translateX(4px); color: var(--brand-2); }

/* ---------- Q&A 平铺网格 ---------- */
.qagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qa2 { padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.qa2 b { display: block; font-size: 15.5px; font-weight: 700; color: var(--brand-2); }
.qa2 p { color: var(--text-2); font-size: 13.5px; margin-top: 10px; }

/* ---------- CTA ---------- */
.cta2 {
  position: relative; text-align: center; overflow: hidden;
  padding: 68px 40px; border: 1px solid var(--line-2); border-radius: 22px;
  background: radial-gradient(130% 180% at 50% -40%, rgba(212, 176, 94, .2), rgba(212, 176, 94, .03) 60%), var(--panel);
}
.cta2::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 120px; height: 3px; background: var(--grad); }
.cta2 h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: .01em; }
.cta2 p { color: var(--text-2); margin: 12px auto 28px; max-width: 520px; }
.cta2 .row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.foot5 { background: #0e0e11; border-top: 1px solid var(--line); padding: 56px 0 0; }
.foot5-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 40px; }
.foot5 h4 { font-size: 12.5px; letter-spacing: .14em; color: var(--text-3); margin-bottom: 15px; font-weight: 700; }
.foot5 a.fl { display: block; padding: 6px 0; color: var(--text-2); font-size: 14px; transition: color .2s; }
.foot5 a.fl:hover { color: var(--brand-2); }
.foot5 .fbrand { display: flex; align-items: center; gap: 9px; }
.foot5 .fbrand svg { width: 27px; height: 27px; }
.foot5 .fbrand b { font-size: 17px; font-weight: 800; }
.foot5 .fdesc { color: var(--text-2); font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.foot5-note { border-top: 1px solid var(--line); padding: 18px 0; color: var(--text-3); font-size: 12px; line-height: 1.9; }
.foot5-base { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0 26px; color: var(--text-3); font-size: 12.5px; flex-wrap: wrap; }

/* ---------- 内页头（居中 + 金线） ---------- */
.phead2 { position: relative; text-align: center; padding: 64px 0 42px; overflow: hidden; }
.phead2::before {
  content: ""; position: absolute; left: 50%; top: -270px; transform: translateX(-50%);
  width: 760px; height: 580px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 176, 94, .14), transparent 62%);
  pointer-events: none;
}
.phead2 > * { position: relative; }
.phead2 .tag { font-size: 12px; letter-spacing: .26em; color: var(--brand); }
.phead2 h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: .01em; margin-top: 12px; }
.phead2 .deco { width: 72px; height: 2px; border-radius: 2px; background: var(--grad); margin: 20px auto; }
.phead2 p { color: var(--text-2); max-width: 640px; margin: 0 auto; }

/* ---------- 表格（费率） ---------- */
.table5-wrap { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow-x: auto; }
.table5 { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.table5 th { text-align: left; padding: 13px 18px; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--text-3); border-bottom: 1px solid var(--line); }
.table5 td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.table5 td:first-child { color: var(--text); font-weight: 600; }
.table5 tr:last-child td { border-bottom: none; }

/* ---------- 段落文本块 ---------- */
.prose { max-width: 780px; margin: 0 auto; color: var(--text-2); font-size: 14.5px; }
.prose p + p { margin-top: 14px; }
.prose b { color: var(--text); }

/* ---------- 里程碑时间线 ---------- */
.milestones { max-width: 740px; margin: 0 auto; }
.ms-item { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px dashed var(--line); }
.ms-item:last-child { border-bottom: none; }
.ms-year { font: 800 26px/1.3 "SF Mono", Consolas, monospace; color: var(--brand-2); letter-spacing: .02em; }
.ms-body b { display: block; font-size: 16px; margin-bottom: 6px; }
.ms-body p { color: var(--text-2); font-size: 13.5px; }

/* ---------- 联系渠道卡 ---------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ch-card { text-align: center; padding: 34px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: all .3s var(--ease); }
.ch-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.ch-ico { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--brand-soft); color: var(--brand-2); display: flex; align-items: center; justify-content: center; }
.ch-ico svg { width: 23px; height: 23px; }
.ch-card h4 { font-size: 16.5px; }
.ch-card p { color: var(--text-2); font-size: 13.5px; margin-top: 8px; }
.ch-card .cx { display: block; margin-top: 12px; color: var(--brand-2); font-size: 13.5px; font-weight: 600; }

/* ---------- 表单 ---------- */
.form2 { max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 36px 40px; }
.f2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f2-field { display: grid; gap: 8px; margin-bottom: 16px; }
.f2-field label { font-size: 13px; color: var(--text-2); letter-spacing: .02em; }
.f2-field input, .f2-field select, .f2-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(212, 176, 94, .04);
  color: var(--text); font-size: 14px; outline: none; transition: border-color .2s;
}
.f2-field input:focus, .f2-field select:focus, .f2-field textarea:focus { border-color: var(--line-2); }
.f2-field textarea { min-height: 124px; resize: vertical; }
.form2 .btn { width: 100%; margin-top: 4px; }
.form-note { color: var(--text-3); font-size: 12.5px; margin-top: 14px; text-align: center; }
.form-ok { display: none; align-items: center; gap: 10px; margin-bottom: 18px; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(47, 191, 127, .4); background: rgba(47, 191, 127, .1); color: var(--up); font-size: 13.5px; }
.form-ok.show { display: flex; }
.form-ok svg { width: 17px; height: 17px; flex: none; }

/* ---------- 入场动效 ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .matrix { grid-template-columns: 1fr; }
  .stats2 { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .foot5-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .menu2 { display: none; }
  .tb2-right > .btn { display: none; }
  .mbtn2 { display: flex; }
  .why3 { grid-template-columns: 1fr; gap: 30px; }
  .qagrid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero2 { padding: 64px 0 26px; }
  .matrix { grid-template-columns: 1fr; }
  .ms-item { grid-template-columns: 1fr; gap: 6px; }
  .f2-row { grid-template-columns: 1fr; gap: 0; }
  .form2 { padding: 26px 22px; }
  .cta2 { padding: 50px 24px; }
  .foot5-grid { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; }
  .news-date { width: auto; }
}
