/* ============================================================
   AvaTrade爱华 落地页 - 主样式文件
   版本：3.0 (最终版)
   
   设计规范：
   - 主色：#4C61ff（品牌蓝）
   - CTA色：#FF5100（橙色，直角，320×72px）
   - 深色背景：#101820 / #0b1117
   - 白色背景：#ffffff / #f5f7fa
   - 强调色：#E5ff91（亮绿，数字高亮）
   
   动画规范：
   - opacity + transform + transition 为主
   - 移动端减少动画幅度
   - 不使用强烈闪烁/大幅旋转/复杂3D翻转
   ============================================================ */

/* ---- CSS 变量 ---- */
:root {
  --primary: #4C61ff;
  --primary-light: rgba(76,97,255,0.12);
  --primary-mid: rgba(76,97,255,0.35);
  --cta: #FF5100;
  --cta-hover: #e64800;
  --bg-dark: #101820;
  --bg-darker: #0b1117;
  --bg-card: #141e2a;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --accent: #E5ff91;
  --text-white: #ffffff;
  --text-dark: #101820;
  --text-muted: rgba(255,255,255,0.55);
  --text-muted-dark: #666666;
  --border-light: rgba(255,255,255,0.08);
  --border-card: rgba(255,255,255,0.12);
  --font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  --shadow-dark: 0 10px 40px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
}

/* ---- 基础重置 ---- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; }
ul,ol { list-style:none; }
img { max-width:100%; height:auto; display:block; }
button { cursor:pointer; font-family:var(--font); border:none; background:none; }

/* ============================================================
   通用工具类
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* 区块标题 */
.section-title {
  font-size: clamp(22px,3.2vw,36px);
  font-weight: 700;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-title.dark-text { color: var(--text-dark); }

/* 装饰线 */
.section-title-line {
  width: 44px; height: 3px;
  background: linear-gradient(90deg,var(--primary),var(--accent));
  margin: 0 auto 36px;
  border-radius: 2px;
}
.section-title-line-dark {
  width: 44px; height: 3px;
  background: linear-gradient(90deg,var(--primary),#6b7fff);
  margin: 0 auto 48px;
  border-radius: 2px;
}

/* ============================================================
   CTA 按钮
   规格：320×72px，直角，颜色：#FF5100
   悬停：translateY(-4px) + 阴影
   ============================================================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cta);
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  width: 320px;
  height: 72px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
}
.cta-btn:hover {
  background-color: var(--cta-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(255,81,0,0.38);
}
.cta-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255,81,0,0.3);
}

/* 小号CTA（Header用） */
.cta-btn-sm {
  width: auto; height: 44px;
  padding: 0 24px;
  font-size: 14px;
}

/* Hero专属CTA按钮 */
.hero-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 72px;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--cta);
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-cta-btn:hover {
  background-color: var(--cta-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(255,81,0,0.38);
  color: #ffffff;
  text-decoration: none;
}

/* 白色底CTA（蓝色板块用） */
.cta-btn-white {
  background-color: #ffffff;
  color: var(--cta);
}
.cta-btn-white:hover {
  background-color: #f5f5f5;
  box-shadow: 0 14px 28px rgba(255,255,255,0.2);
}

/* ============================================================
   滚动进入动画
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: opacity,transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width:768px) {
  .animate-on-scroll {
    transform: translateY(16px);
    transition-duration: 0.5s;
  }
}

/* ============================================================
   Header 导航栏
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo img { height: 30px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  color: #101820 !important;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { opacity: 0.8; }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #333;
  border-radius: 2px;
  transition: var(--transition);
}
/* 汉堡菜单激活状态 */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端下拉菜单 */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(11,17,23,0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 13px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-link:last-of-type { border-bottom: none; }

/* ============================================================
   板块一：Hero Banner
   参考附件2：左侧文案，底部统计数据栏
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 68px;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Hero section 内的 container 必须撤满并居中 */
.hero-section > .container {
  width: 100%;
}
/* 深色渐变遮罩：左侧深、右侧较浅，露出右侧交易界面 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,12,20,0.97) 0%,
    rgba(10,12,20,0.88) 35%,
    rgba(10,12,20,0.55) 60%,
    rgba(10,12,20,0.15) 100%
  );
  z-index: 1;
}

/* Hero主内容区域（文案左对齐） */
.hero-inner {
  display: flex;
  align-items: center;
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 1200px;
  margin: auto;
}

.hero-content {
  flex: 0 0 auto;
  width: 450px;
  max-width: 450px;
  position: relative;
  z-index: 2;
  left: 0;
  padding-left: 0;
  margin-left: 0;
}

.hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}
.hero-title-accent {
  color: var(--accent);
  display: block;
  font-size: 1em;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.75;
}

/* 底部统计数据栏（参考附件2，1200版心平均分布） */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 0;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: nowrap;
}

/* 展示数据指标 */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}
.stat-item .stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline;
}
/* "大"字单独16px */
.stat-suffix-da {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: inline;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* 图表样式已移除 */

/* Hero底部波浪 */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 50px; }

/* ============================================================
   板块二：专属奖励
   白色背景
   ============================================================ */
.bonus-section {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 80px 0 0;
}

.bonus-container {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 64px;
}

.bonus-content { flex: 1; min-width: 0; }

.bonus-title {
  font-size: clamp(20px,2.8vw,34px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.highlight-text {
  color: var(--primary);
  font-weight: 800;
}

.title-divider {
  width: 36px; height: 3px;
  background: var(--primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.bonus-desc {
  font-size: 15px;
  color: #555;
  margin-bottom: 28px;
  line-height: 1.8;
  max-width: 460px;
}

.bonus-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.bonus-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.bonus-icon {
  width: 46px; height: 46px;
  background: rgba(76,97,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bonus-feature-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.bonus-feature-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.bonus-disclaimer {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}

.bonus-image {
  flex: 0 0 auto;
  width: 46%;
}
.bonus-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.bonus-bottom-disclaimer {
  background: #f8f9fb;
  border-top: 1px solid #e8ecf2;
  padding: 13px 0;
  text-align: center;
  font-size: 13px;
  color: #999;
}

/* ============================================================
   板块三：为什么选择AvaTrade爱华
   严格复刻 group-asia.com 横向手风琴轮播
   PC端：横向展开/折叠 | 移动端：touch滑动轮播
   ============================================================ */

/* 整个板块容器 */
.why-section {
  padding: 80px 0 0;
  background-color: #0e1117;
}

/* 标题区域 */
.why-header {
  text-align: center;
  padding-bottom: 40px;
}
.why-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.why-title-line {
  width: 44px;
  height: 3px;
  background: #4C61ff;
  margin: 0 auto;
  border-radius: 2px;
}

/* ============================================================
   PC端手风琴（≥769px）
   ============================================================ */
.why-accordion-pc {
  display: flex;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

/* 每个手风琴卡片：折叠状态等宽 */
.wapc-item {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: flex 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.wapc-item:last-child { border-right: none; }

/* 展开卡片：占剩余空间的大部分（参考图展开卡占约50%） */
.wapc-item.wapc-active {
  flex: 5 1 0%;
}

/* 背景图层 */
.wapc-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.wapc-item.wapc-active .wapc-bg {
  transform: scale(1.05);
}
.wapc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 黑色半透明遮罩 */
.wapc-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8,12,22,0.75);
  transition: background 0.5s ease;
}
.wapc-item.wapc-active .wapc-mask {
  background: linear-gradient(
    to top,
    rgba(8,12,22,0.92) 0%,
    rgba(8,12,22,0.55) 50%,
    rgba(8,12,22,0.18) 100%
  );
}

/* 顶部蓝绿色高亮线（激活时显示） */
.wapc-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4169E1 0%, #00d4aa 50%, #ADFF2F 100%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wapc-item.wapc-active .wapc-top-line {
  opacity: 1;
}

/* 内容层 */
.wapc-body {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  min-width: 0;
}

/* 折叠状态内容：大数字+横排标题（居中对齐） */
.wapc-collapsed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transition: opacity 0.3s ease;
  overflow: hidden;
  max-height: 100%;
  width: 100%;
}
.wapc-item.wapc-active .wapc-collapsed {
  display: none;
}

/* 展开状态内容：标题+描述 */
.wapc-expanded {
  display: none;
  flex-direction: column;
  gap: 0;
}
.wapc-item.wapc-active .wapc-expanded {
  display: flex;
}

/* 数字标签（折叠时居中显示，展开时左下角更大） */
.wapc-num {
  font-size: 40px;
  font-weight: 700;
  color: rgba(180,200,225,0.5);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  flex-shrink: 0;
  letter-spacing: -1px;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
.wapc-item.wapc-active .wapc-num {
  color: rgba(200,215,235,0.7);
  font-size: 64px;
  margin-bottom: 10px;
}

/* 折叠状态横排标题（横向居中显示，自动换行） */
.wapc-vtitle {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  writing-mode: horizontal-tb;
  transform: none;
  white-space: normal;
  line-height: 1.4;
  letter-spacing: 0.02em;
  overflow: hidden;
  display: block;
  text-align: center;
  word-break: break-all;
  width: 100%;
}

/* 展开状态横排标题 */
.wapc-htitle {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
  white-space: normal;
}

/* 描述文字（展开时淡入） */
.wapc-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 420px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}
.wapc-item.wapc-active .wapc-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   移动端轮播（≤768px）
   ============================================================ */
.why-mobile-wrap {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

/* 滑动轨道 */
.wm-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* 单张卡片 */
.wm-slide {
  position: relative;
  flex: 0 0 90%;
  margin: 0 5%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.wm-bg {
  position: absolute;
  inset: 0;
}
.wm-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wm-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,12,22,0.9) 0%,
    rgba(8,12,22,0.45) 55%,
    rgba(8,12,22,0.15) 100%
  );
  z-index: 1;
}

.wm-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px 20px 24px;
}

.wm-num {
  font-size: 40px;
  font-weight: 700;
  color: rgba(200,215,235,0.55);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.wm-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.wm-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

/* 分页指示点 */
.wm-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.wm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.wm-dot.wm-dot-active {
  background: #4169E1;
  transform: scale(1.3);
}

/* 移动端竖版折叠列表（默认隐藏，移动端显示） */
.why-mobile-accordion {
  display: none;
  padding: 0 16px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.wma-item {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}
.wma-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.15);
}
.wma-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  color: #fff;
}
.wma-num {
  font-size: 13px;
  font-weight: 700;
  color: #7eb3ff;
  min-width: 28px;
  flex-shrink: 0;
}
.wma-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.wma-arrow {
  font-size: 18px;
  color: #7eb3ff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: inline-block;
}
.wma-item.wma-open .wma-arrow {
  transform: rotate(180deg);
}
.wma-body {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  padding: 0 0 0 40px;
}
.wma-item.wma-open .wma-body {
  /* height 由JS动态设置为scrollHeight */
  padding-bottom: 16px;
}
.wma-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* CTA 按鈕区域 */
.why-cta-container {
  padding: 52px 0;
  text-align: center;
}

/* ============================================================
   板块四：AvaTrade交易平台展示
   白色背景，左文案+右手机图
   ============================================================ */
.platform-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}
.platform-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 480px;
}
.platform-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.platform-container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.platform-content { flex: 1; min-width: 0; }

.platform-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 480px;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.platform-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.pf-icon {
  width: 28px; height: 28px;
  background: rgba(76,97,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-image {
  flex: 0 0 auto;
  width: 46%;
  /* 图片容器始终可见，不参与 animate-on-scroll */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.platform-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  /* 图片始终可见 */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================================
   板块五：金融交易产品
   白色背景，3×2网格卡片
   ============================================================ */
.products-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.products-subtitle {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: -24px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  height: 240px;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,17,23,0.97) 0%,
    rgba(11,17,23,0.35) 65%,
    rgba(11,17,23,0.08) 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}
.product-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(11,17,23,0.98) 0%,
    rgba(76,97,255,0.42) 100%
  );
}
.product-content { position: relative; z-index: 2; }
.product-icon { margin-bottom: 8px; opacity: 0.9; }
.product-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}
.product-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

/* ============================================================
   板块六：开户三步流程
   深色背景，圆形步骤编号+箭头
   ============================================================ */
.steps-section {
  padding: 80px 0;
  background-color: var(--bg-darker);
  text-align: center;
}

.steps-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  margin-bottom: 56px;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 52px;
  gap: 0;
}

.step-item {
  flex: 1;
  max-width: 240px;
  padding: 0 12px;
  text-align: center;
}

.step-number-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.step-number {
  width: 72px; height: 72px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  box-shadow:
    0 0 0 10px rgba(76,97,255,0.16),
    0 0 0 22px rgba(76,97,255,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover .step-number {
  transform: scale(1.08);
  box-shadow:
    0 0 0 12px rgba(76,97,255,0.22),
    0 0 0 26px rgba(76,97,255,0.1);
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.45;
  color: #fff;
}
.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 24px;
  flex-shrink: 0;
  opacity: 0.5;
}

.steps-cta { text-align: center; }

/* ============================================================
   板块六：全球监管 (高度还原附件3)
   白色背景，居中标题，左侧地球图+右侧监管列表+连接线
   ============================================================ */
.regulation-section {
  padding: 80px 0 100px;
  background-color: #fff;
  color: #333;
}

.regulation-header {
  text-align: center;
  margin-bottom: 56px;
}

/* 标题（黑色粗体，参考附件3） */
.regulation-title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
  line-height: 1.3;
}

/* 标题下方渐变装饰线 */
.regulation-title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4c6ef5, #00d4aa);
  margin: 0 auto;
  border-radius: 2px;
}

/* 2行5列卡片网格布局 */
.reg-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 单张监管卡片 */
.reg-card {
  background: #fff;
  border: 1.5px solid #e8edf8;
  border-radius: 14px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(76, 110, 245, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.reg-card:hover {
  box-shadow: 0 6px 24px rgba(76, 110, 245, 0.16);
  transform: translateY(-3px);
  border-color: #4c6ef5;
}

/* 圆形徽章 */
.reg-card-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* 卡片文字内容 */
.reg-card-body {
  flex: 1;
}

/* 监管机构名称 */
.reg-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #3b5bdb;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

/* 监管机构描述 */
.reg-card-desc {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   板块八：底部CTA（蓝色背景）
   ============================================================ */
.final-cta-section {
  padding: 90px 0;
  background-color: var(--primary);
  background-image:
    radial-gradient(ellipse at 15% 50%,rgba(255,255,255,0.07) 0%,transparent 55%),
    radial-gradient(ellipse at 85% 50%,rgba(0,0,0,0.12) 0%,transparent 55%);
  text-align: center;
  color: #fff;
}
.final-cta-content {
  max-width: 680px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(22px,3.2vw,38px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.final-cta-desc {
  font-size: 16px;
  opacity: 0.88;
  margin-bottom: 40px;
  line-height: 1.75;
}

/* ============================================================
   Footer
   ============================================================ */
#site-footer {
  background-color: #07090e;
  padding: 44px 0 28px;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  text-align: center;
}
.footer-logo {
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}
.footer-logo img { opacity: 1; height: 32px; width: auto; }
.risk-warning {
  max-width: 780px;
  margin: 0 auto 14px;
  line-height: 1.75;
}
.risk-warning strong { color: rgba(255,255,255,0.52); }
.footer-copy { margin-top: 12px; color: rgba(255,255,255,0.22); }

/* ============================================================
   响应式 - 平板端 (≤…1024px)
   ============================================================ */
@media (max-width:1024px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { gap: 24px; }

  /* 手风琴平板端高度调小 */
  .why-accordion-pc { height: 320px; }
  .wapc-item { flex: 0 0 80px; }

  .platform-container { flex-direction: column; gap: 40px; }
  .platform-image { width: 100%; }

  .products-grid { grid-template-columns: repeat(2,1fr); }

  /* 监管布局在平板端保持左右布局，小屏幕调整间距 */
  .reg-flex-box { gap: 20px; }
  .reg-map-col { flex: 0 0 46%; max-width: 46%; }
}

/* ============================================================
   响应式 - 手机端 (≤…768px)
   手机端所有布局均为单列堆叠
   ============================================================ */
@media (max-width:768px) {
  .container { padding: 0 16px; }

  /* 导航栏 */
  #site-header { padding: 0; }
  .header-container { height: 60px; }
  .logo img { height: 26px; }
  .hamburger span { background: #101820; }

  /* Hero 移动端独立设计（不是PC缩小版） */
  .hero-section {
    min-height: auto;
    padding: 60px 0 0;
    background-position: 70% center; /* 移动端背景中心偏右，保留金融视觉 */
  }
  .hero-section::before {
    /* 移动端加深左侧遇罩，确保文字可读 */
    background: linear-gradient(
      to right,
      rgba(10,12,20,0.97) 0%,
      rgba(10,12,20,0.92) 50%,
      rgba(10,12,20,0.75) 100%
    );
  }
  .hero-inner {
    padding: 32px 0 24px;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(26px, 7.5vw, 34px);
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 13px;
    margin-bottom: 24px;
    max-width: 100%;
    line-height: 1.7;
  }
  /* Hero CTA按鈕在手机端适配屏幕，宽度420px */
  .hero-content .cta-btn {
    width: 420px;
    max-width: 100%;
    font-size: 16px;
    height: 56px;
    padding: 0 32px;
  }
  /* 移动端指标栏：2列布局，不是PC横排压缩 */
  .hero-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  /* 隐藏分隔线，改用grid布局时不需要 */
  .stat-divider { display: none; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 11px; }
  /* 第5个指标（行业深耕经验）在移动端居中展示 */
  .hero-stats-bar .stat-item:last-child {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  /* Bonus：图片在上 */
  .bonus-section { padding: 48px 0 0; }
  .bonus-container { flex-direction: column; gap: 20px; padding-bottom: 32px; }
  .bonus-image { order: -1; width: 100%; }
  .bonus-title { font-size: clamp(18px, 5.5vw, 26px); }
  .bonus-desc { font-size: 14px; }

  /* 为什么选择：手机端切换为竖版折叠列表 */
  .why-section { padding: 48px 0 0; }
  .why-accordion-pc { display: none; }
  .why-mobile-wrap { display: none; }
  .why-mobile-accordion { display: block; }
  .why-cta-container { padding: 36px 0; }

  /* 交易平台 */
  .platform-section { padding: 48px 0; }
  .platform-container { flex-direction: column; gap: 32px; }
  .platform-image { width: 100%; }
  .platform-desc { font-size: 14px; }

  /* 交易产品 */
  .products-section { padding: 48px 0; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { height: 180px; padding: 16px 14px; }
  .product-title { font-size: 15px; }
  .product-desc { font-size: 12px; }

  /* 开户三步 */
  .steps-section { padding: 48px 0; }
  .steps-subtitle { margin-bottom: 36px; }
  .steps-container { flex-direction: column; align-items: center; gap: 20px; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
  .step-item { max-width: 100%; padding: 0 8px; }
  .step-number { width: 60px; height: 60px; font-size: 20px; }

  /* 监管板块：移动端2列卡片布局 */
  .regulation-section { padding: 48px 0 60px; }
  .regulation-header { margin-bottom: 28px; }
  .regulation-title { font-size: clamp(16px, 4.5vw, 22px); }
  .reg-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }
  .reg-card {
    padding: 20px 14px 18px;
    border-radius: 10px;
    gap: 10px;
  }
  .reg-card-badge { width: 42px; height: 42px; font-size: 10px; }
  .reg-card-name { font-size: 13px; }
  .reg-card-desc { font-size: 11px; }

  /* 最终CTA */
  .final-cta-section { padding: 60px 0; }
  .final-cta-title { font-size: clamp(20px, 6vw, 28px); }
  .final-cta-desc { font-size: 14px; margin-bottom: 28px; }
  .final-cta-section .cta-btn { width: 420px; max-width: 100%; }

  /* Footer */
  .footer-logo img { height: 26px; }
  .risk-warning { font-size: 11px; }
}

/* ============================================================
   响应式 - 小手机端 (≤480px)
   ============================================================ */
@media (max-width:480px) {
  /* 手风琴小手机端 */
  .products-grid { grid-template-columns: 1fr; }
  .cta-btn { width: 420px; max-width: 100%; font-size: 18px; }
  .step-number { width: 60px; height: 60px; font-size: 20px; }
}

/* ============================================================
   打印样式
   ============================================================ */
@media print {
  #site-header,.cta-btn,.hamburger,.mobile-nav { display: none; }
  .animate-on-scroll { opacity: 1; transform: none; }
  body { background: white; color: black; }
}
