/* ============================================================
   Doo Prime 德璞外汇 静态站 全站样式
   配色: 品牌蓝 #046bd2 / 深蓝 #045cb4 / CTA红 #d91d22 / 浅灰 #f9fafb
   ============================================================ */
:root {
  --brand: #046bd2;
  --brand-dark: #045cb4;
  --brand-deep: #032f5c;
  --cta: #d91d22;
  --cta-dark: #b9151a;
  --ink: #0a0e1a;
  --text: #363636;
  --muted: #64748b;
  --bg: #f9fafb;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(2, 20, 60, .06), 0 1px 2px rgba(2, 20, 60, .04);
  --shadow-md: 0 10px 30px rgba(2, 30, 80, .08);
  --shadow-lg: 0 24px 60px rgba(2, 30, 80, .14);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }

/* ---------- 顶部通知条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  padding: 7px 0;
  position: relative;
  z-index: 1001;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.topbar .live { display: inline-flex; align-items: center; gap: 6px; }
.topbar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.8);} }

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar.hidden-nav { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--brand); background: rgba(4,107,210,.06); }
.nav-links > li > a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
/* 下拉菜单（产品） */
.dropdown { position: relative; }
.dropdown .dd-toggle::after { content: "▾"; margin-left: 6px; font-size: 11px; color: var(--muted); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s;
}
.dropdown:hover .dd-menu, .dropdown:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s;
}
.dd-menu a:hover { background: rgba(4,107,210,.06); color: var(--brand); }
.dd-menu .dd-icon { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, rgba(4,107,210,.12), rgba(4,107,210,.05)); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 17px; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s; white-space: nowrap;
}
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(217,29,34,.28); }
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,29,34,.36); }
.btn-outline-red { background: #fff; color: var(--cta); border-color: var(--cta); }
.btn-outline-red:hover { background: var(--cta); color: #fff; }
.btn-blue { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(4,107,210,.26); }
.btn-blue:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* 汉堡菜单（移动端） */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, #031d3d 0%, #05417d 55%, #046bd2 100%);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,18,45,.88) 30%, rgba(4,50,100,.55) 100%); }
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding: 108px 0 116px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.18; letter-spacing: .5px; }
.hero h1 .grad { background: linear-gradient(90deg, #5ea7ff, #8ecbff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub { margin: 22px 0 30px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.85); max-width: 620px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust-row { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero .trust-row li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.hero .trust-row li::before { content: "✓"; color: #34d399; font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual .glow { position: absolute; inset: 8% 12%; background: radial-gradient(circle, rgba(94,167,255,.4), transparent 65%); filter: blur(30px); }
.hero-card {
  position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 26px; backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,10,40,.35); transform: rotate(1deg); animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(1deg) translateY(0);} 50% { transform: rotate(1deg) translateY(-12px);} }
.hero-card img { border-radius: 12px; margin-bottom: 14px; }
.hero-card .ticker { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.75); padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.2); }
.hero-card .ticker b { color: #34d399; font-weight: 600; }
.hero-card .ticker .down { color: #f87171; }
.hero-badge {
  position: absolute; top: -16px; right: -14px; background: var(--cta); color: #fff;
  padding: 8px 14px; border-radius: 40px; font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(217,29,34,.45);
  animation: pulse 2.4s infinite;
}

/* ---------- 数据统计条 ---------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 46px 0; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 18%; height: 64%; width: 1px; background: var(--line); }
.stat-item .num { font-size: 44px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -1px; line-height: 1.1; }
.stat-item .num .suffix { font-size: 26px; margin-left: 2px; }
.stat-item .label { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- 通用区块头 ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head .eyebrow { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- 特性卡片（顶级交易环境） ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #38bdf8); opacity: 0; transition: opacity .3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: linear-gradient(135deg, rgba(4,107,210,.12), rgba(4,107,210,.04)); color: var(--brand); margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* ---------- 产品卡片（六大品种） ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: all .3s; cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.product-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; transition: transform .3s; }
.product-card:hover .product-icon { transform: scale(1.12) rotate(-6deg); }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-card p { font-size: 13.5px; color: var(--muted); min-height: 46px; }
.product-card .more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brand); opacity: 0; transform: translateY(6px); transition: all .3s; }
.product-card:hover .more { opacity: 1; transform: translateY(0); }
.pc-blue { background: linear-gradient(135deg, #046bd2, #38bdf8); }
.pc-amber { background: linear-gradient(135deg, #d97706, #fbbf24); }
.pc-green { background: linear-gradient(135deg, #059669, #34d399); }
.pc-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.pc-red { background: linear-gradient(135deg, #d91d22, #f87171); }
.pc-slate { background: linear-gradient(135deg, #334155, #64748b); }

/* ---------- 资讯板块 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 190px; overflow: hidden; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-tag { position: absolute; top: 14px; left: 14px; background: var(--cta); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 30px; font-weight: 600; }
.news-tag.blue { background: var(--brand); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body .date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 17.5px; line-height: 1.5; margin-bottom: 10px; }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.news-body .read { margin-top: 14px; color: var(--brand); font-weight: 700; font-size: 13.5px; }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(120deg, #031d3d, #046bd2 70%, #0583e6); position: relative; overflow: hidden; color: #fff; }
.cta-band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,.08); top: -200px; right: -120px; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); bottom: -160px; left: 8%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 64px 0; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.82); font-size: 15.5px; }

/* ---------- 关于页 ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #031d3d 0%, #05417d 60%, #046bd2 100%);
  padding: 84px 0;
}
.page-hero .bg-img { position: absolute; inset: 0; }
.page-hero .bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.page-hero .bg-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,18,45,.88), rgba(4,50,100,.6)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.page-hero .crumbs { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.page-hero .crumbs a { color: rgba(255,255,255,.9); }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.85); font-size: 16px; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split .img-wrap { position: relative; }
.about-split .img-wrap img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-split .img-wrap::before { content: ""; position: absolute; width: 100%; height: 100%; border: 3px solid var(--brand); border-radius: 16px; top: 18px; left: 18px; z-index: -1; opacity: .35; }
.about-split h2 { font-size: 30px; margin-bottom: 18px; }
.about-split p { margin-bottom: 14px; color: var(--muted); }
.about-points { margin: 22px 0; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points .ok { width: 26px; height: 26px; border-radius: 50%; background: rgba(4,107,210,.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 3px; }
.about-points b { color: var(--ink); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl-item { position: relative; padding: 28px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s; }
.tl-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tl-item .year { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: 1px; margin-bottom: 8px; }
.tl-item h4 { font-size: 17px; margin-bottom: 8px; }
.tl-item p { font-size: 13.5px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: all .3s; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card .v-icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #38bdf8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 24px rgba(4,107,210,.3); }
.value-card h3 { font-size: 19px; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---------- 产品页 ---------- */
.products-hero { text-align: center; color: #fff; background: linear-gradient(120deg, #031d3d, #046bd2); position: relative; overflow: hidden; padding: 92px 0; }
.products-hero .bg-img { position: absolute; inset: 0; }
.products-hero .bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.products-hero .bg-img::after { content: ""; position: absolute; inset: 0; background: rgba(3,20,50,.55); }
.products-hero .container { position: relative; z-index: 2; }
.products-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 16px; }
.products-hero p { max-width: 720px; margin: 0 auto 28px; color: rgba(255,255,255,.85); font-size: 16.5px; }

/* 产品子板块详情（锚点区块） */
.product-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin-bottom: 26px; transition: box-shadow .3s; scroll-margin-top: 120px; }
.product-detail:hover { box-shadow: var(--shadow-md); }
.product-detail .pd-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-detail .pd-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; flex-shrink: 0; }
.product-detail h3 { font-size: 24px; }
.product-detail .lead { color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.product-detail .desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adv-item { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; }
.adv-item .a-icon { color: var(--brand); flex-shrink: 0; font-size: 15px; margin-top: 2px; }
.adv-item b { color: var(--ink); display: block; font-size: 14px; }
.adv-item span { color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { background: #0a1428; color: rgba(255,255,255,.72); }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.72); font-size: 14px; transition: color .2s; }
.footer a:hover { color: #5ea7ff; }
.footer ul li { margin-bottom: 10px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo img { height: 36px; }
.footer .f-desc { font-size: 13.5px; line-height: 1.9; }
.footer .f-contact li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.footer .f-contact .ic { color: #5ea7ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal { background: rgba(0,0,0,.25); padding: 26px 0; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.9; }

/* ---------- 流量监控页 ---------- */
.dash-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.dash-header h1 { font-size: 28px; }
.dash-header .live-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(4,107,210,.08); color: var(--brand); font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 40px; }
.dash-header .live-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: pulse 1.4s infinite; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.kpi-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; transition: all .3s; }
.kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kpi-card .k-label { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kpi-card .k-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 14px; }
.kpi-card .k-num { font-size: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-card .k-trend { font-size: 12.5px; margin-top: 8px; }
.kpi-card .k-trend.up { color: #059669; }
.kpi-card .k-trend.down { color: #d91d22; }
.kpi-blue { background: rgba(4,107,210,.1); color: var(--brand); }
.kpi-green { background: rgba(5,150,105,.1); color: #059669; }
.kpi-amber { background: rgba(217,119,6,.1); color: #d97706; }
.kpi-red { background: rgba(217,29,34,.1); color: var(--cta); }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 26px; }
.dash-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dash-card .dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-card .dc-head h3 { font-size: 17px; }
.dash-card .dc-head .badge { font-size: 12px; background: rgba(4,107,210,.08); color: var(--brand); padding: 4px 12px; border-radius: 30px; font-weight: 600; }
.chart-wrap { position: relative; height: 300px; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bar-row .b-name { width: 100px; font-size: 13px; font-weight: 600; color: var(--ink); flex-shrink: 0; text-align: right; }
.bar-row .b-track { flex: 1; height: 10px; background: var(--bg); border-radius: 10px; overflow: hidden; }
.bar-row .b-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--brand), #38bdf8); width: 0; transition: width 1s ease; }
.bar-row .b-val { width: 56px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 来源渠道列表 */
.channel-list { display: grid; gap: 14px; }
.channel-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: all .25s; }
.channel-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.channel-item .c-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.channel-item .c-name { flex: 1; font-weight: 600; font-size: 14px; color: var(--ink); }
.channel-item .c-pct { font-size: 13px; color: var(--muted); font-weight: 700; }
.channel-item .c-bar { width: 70px; height: 6px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.channel-item .c-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }

/* 访问明细表 */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { text-align: left; padding: 12px 14px; background: var(--bg); color: var(--muted); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table tbody tr { transition: background .2s; }
.data-table tbody tr:hover { background: rgba(4,107,210,.04); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: 12px; font-weight: 600; }
.tag-direct { background: rgba(4,107,210,.1); color: var(--brand); }
.tag-google { background: rgba(217,119,6,.1); color: #d97706; }
.tag-search { background: rgba(5,150,105,.1); color: #059669; }
.tag-social { background: rgba(124,58,237,.1); color: #7c3aed; }
.tag-other { background: rgba(100,116,139,.12); color: #64748b; }

/* ---------- 滚动渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all .8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all .8s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* 回顶按钮 */
.back-top { position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; border: none; font-size: 19px; cursor: pointer; box-shadow: 0 10px 24px rgba(4,107,210,.35); opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s; z-index: 900; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--brand-dark); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 84px; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 90px 24px 24px; box-shadow: var(--shadow-lg); transition: right .35s; overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 13px 12px; width: 100%; }
  .nav-links > li > a.active::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; display: none; }
  .dropdown.open-dd .dd-menu { display: block; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn-mobile { display: inline-flex !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-item:nth-child(2)::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ---------- 代理合作页 (IB) ---------- */
.wechat-band {
  padding: 78px 0; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #031d3d 0%, #05417d 55%, #046bd2 100%);
}
.wechat-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.07); top: -160px; left: -120px; }
.wechat-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.05); bottom: -120px; right: 10%; }
.wechat-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.wechat-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.wechat-inner .lead { color: rgba(255,255,255,.85); margin-bottom: 22px; line-height: 1.9; }
.wechat-inner .wechat-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.wechat-card {
  background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg);
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap; max-width: 580px; position: relative;
}
.wechat-card .w-avatar { width: 74px; height: 74px; border-radius: 16px; overflow: hidden; border: 2px solid #07c160; flex-shrink: 0; }
.wechat-card .w-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wechat-card .w-info { flex: 1; min-width: 200px; }
.wechat-card .w-name { font-weight: 800; color: var(--ink); font-size: 17px; display: flex; align-items: center; gap: 8px; }
.wechat-card .w-name .badge-wx { background: #07c160; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.wechat-card .w-hint { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.wechat-card .w-id {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(7,193,96,.1); color: #0b8a4a;
  font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 8px; border: 1px dashed rgba(7,193,96,.55);
  cursor: pointer; transition: all .25s; letter-spacing: .4px;
}
.wechat-card .w-id:hover { background: #07c160; color: #fff; }
.wechat-card .w-qr { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; flex-shrink: 0; }
.wechat-card .w-qr img { width: 100%; height: 100%; object-fit: contain; }
.wechat-card .w-qr-cap { width: 100%; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.wechat-note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.82); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wechat-note .mini { background: rgba(7,193,96,.18); border: 1px solid rgba(7,193,96,.5); color: #7ee2a8; padding: 2px 10px; border-radius: 20px; font-size: 12px; }

.ib-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ib-feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: all .3s; position: relative; overflow: hidden; }
.ib-feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #07c160); transform: scaleX(0); transition: transform .35s; transform-origin: left; }
.ib-feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ib-feature-card:hover::after { transform: scaleX(1); }
.ib-feature-card .ib-icon { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(4,107,210,.12), rgba(4,107,210,.04)); color: var(--brand); font-size: 27px; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.ib-feature-card:hover .ib-icon { transform: scale(1.1) rotate(-6deg); }
.ib-feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.ib-feature-card p { font-size: 13.5px; color: var(--muted); }

.ib-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.ib-split .img-block { position: relative; }
.ib-split .img-block img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.ib-split .img-block .img-tag { position: absolute; top: 16px; left: 16px; background: var(--cta); color: #fff; font-size: 12px; padding: 5px 14px; border-radius: 30px; font-weight: 700; box-shadow: 0 8px 20px rgba(217,29,34,.4); }
.ib-split h2 { font-size: 28px; margin-bottom: 14px; }
.ib-split p { color: var(--muted); margin-bottom: 12px; }
.ib-split .ib-stat { display: flex; gap: 30px; margin: 20px 0; flex-wrap: wrap; }
.ib-split .ib-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.ib-split .ib-stat span { font-size: 12.5px; color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px 26px; transition: all .3s; overflow: hidden; }
.step-card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 10px; right: 18px; font-size: 58px; font-weight: 800; color: rgba(4,107,210,.08); line-height: 1; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card .s-ic { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #38bdf8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .ib-feature-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ib-split { grid-template-columns: 1fr; gap: 34px; }
  .wechat-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ib-feature-grid, .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- 交易账户页 (Account) ---------- */
.reveal .d1 { transition-delay: .12s; }
.reveal .d2 { transition-delay: .24s; }
.reveal .d3 { transition-delay: .36s; }

/* 顶部账户标签筛选 */
.acct-tabs { background: linear-gradient(120deg, #e8f3ff, #f5faff); border-bottom: 1px solid var(--line); padding: 26px 0; }
.acct-tabs-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.acct-tabs-inner .bulb { font-size: 34px; }
.acct-tabs-inner > div:nth-child(2) { flex: 1; min-width: 220px; }
.acct-tabs-inner h2 { font-size: 21px; }
.acct-tabs-inner p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.acct-tabs-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tab-btn { border: 1px solid rgba(4,107,210,.35); background: #fff; color: var(--brand); font-weight: 700; font-size: 13.5px; padding: 9px 20px; border-radius: 30px; cursor: pointer; transition: all .25s; }
.tab-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.tab-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 6px 16px rgba(4,107,210,.3); }

/* 四步开户 */
.open-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 16px; }
.open-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px 22px 28px; text-align: center; transition: all .3s; }
.open-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(4,107,210,.3); }
.os-num { position: absolute; top: 14px; left: 18px; font-size: 40px; font-weight: 800; color: var(--cta); opacity: .16; line-height: 1; }
.os-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(217,29,34,.1), rgba(217,29,34,.03)); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.open-step h3 { font-size: 18px; color: var(--cta); margin-bottom: 8px; }
.open-step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.open-arrow { display: flex; align-items: center; color: var(--brand); font-size: 24px; font-weight: 700; opacity: .5; }

/* 一键投资全球 */
.global-invest { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.global-invest h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 14px; }
.global-invest > div:first-child > p { color: var(--muted); line-height: 1.9; max-width: 520px; }
.gi-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 30px; max-width: 520px; }
.gi-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.gi-stat b { display: block; font-size: 25px; font-weight: 800; color: var(--cta); font-variant-numeric: tabular-nums; }
.gi-stat span { font-size: 12.5px; color: var(--muted); }
.globe-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.globe { font-size: 210px; line-height: 1; filter: drop-shadow(0 20px 40px rgba(4,107,210,.25)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.globe-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 6px rgba(217,29,34,.14); }
.globe-dot.d1 { top: 22%; left: 20%; }
.globe-dot.d2 { top: 32%; right: 22%; background: var(--brand); box-shadow: 0 0 0 6px rgba(4,107,210,.14); }
.globe-dot.d3 { bottom: 26%; left: 30%; background: #07c160; box-shadow: 0 0 0 6px rgba(7,193,96,.16); }
.globe-dot.d4 { bottom: 20%; right: 26%; }
.globe-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 12.5px; color: var(--muted); box-shadow: var(--shadow-md); line-height: 1.5; }
.globe-card b { color: var(--brand); font-size: 14px; }
.globe-card.c1 { top: 12%; left: 8%; }
.globe-card.c2 { top: 14%; right: 6%; }
.globe-card.c3 { bottom: 12%; left: 6%; }

/* 合规监管 */
.reg-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 34px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.reg-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; transition: all .3s; }
.reg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.reg-icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #fef3c7, #fde68a); display: flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 18px; }
.reg-card h3 { font-size: 19px; color: var(--cta); margin-bottom: 12px; }
.reg-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.reg-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.reg-tags span { background: rgba(4,107,210,.07); border: 1px solid rgba(4,107,210,.22); color: var(--brand); font-size: 12.5px; padding: 4px 13px; border-radius: 30px; font-weight: 600; }
.reg-divider { width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }

/* 特色账户 */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.featured-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; transition: all .3s; }
.featured-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.featured-card h3 { color: var(--cta); font-size: 19px; margin-bottom: 10px; }
.featured-card p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.featured-card .more { display: block; margin-top: 16px; font-size: 13px; color: var(--brand); font-weight: 600; }
.fc-badge { position: absolute; top: 16px; right: 16px; background: linear-gradient(135deg, var(--brand), #38bdf8); color: #fff; font-size: 11.5px; padding: 4px 13px; border-radius: 30px; font-weight: 700; }

/* 账户对比表 */
.compare-table th { background: var(--brand); color: #fff; }
.compare-table th:first-child { background: var(--brand-deep); }
.compare-table td { white-space: normal; line-height: 1.7; }
.compare-table tbody tr:first-child td { font-weight: 700; }
.compare-table tbody td:nth-child(2) { background: rgba(4,107,210,.045); }

/* 挑选适合您的账户类型 */
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.acct-card { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 34px 30px; transition: all .3s; }
.acct-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.acct-card.hl { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(4,107,210,.12); }
.ecn-card { border-color: rgba(4,107,210,.35); }
.acct-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 4px 14px; border-radius: 30px; margin-bottom: 14px; }
.stp-card .acct-tag { background: rgba(4,107,210,.1); color: var(--brand); }
.ecn-card .acct-tag { background: rgba(217,29,34,.1); color: var(--cta); }
.acct-card h3 { font-size: 22px; margin-bottom: 12px; }
.acct-card > p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
.about-points { list-style: none; margin-bottom: 24px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); padding: 6px 0; }
.about-points .ok { color: #07c160; font-weight: 800; flex-shrink: 0; }

@media (max-width: 1024px) {
  .open-grid { grid-template-columns: repeat(2, 1fr); }
  .open-arrow { display: none; }
  .global-invest { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-divider { width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
  .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .open-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .acct-tabs-inner { flex-direction: column; align-items: flex-start; }
  .gi-stats { grid-template-columns: 1fr; }
}
