/* ==========================================================
   OKX 官方推广落地页 - 样式规范 (style.css - 强化版)
   设计理念: 极致暗夜黑灰调、高质感荧光微光、高转化率、深度专业排版
   ========================================================== */

:root {
  --bg-primary: #07090d;
  --bg-secondary: #0d1117;
  --bg-tertiary: #141922;
  --bg-card: rgba(19, 25, 35, 0.75);
  --bg-card-hover: rgba(26, 34, 48, 0.9);
  
  --border-color: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(0, 213, 140, 0.35);
  
  --text-primary: #ffffff;
  --text-secondary: #9aa5b5;
  --text-muted: #64748b;
  
  --accent-green: #00d58c;
  --accent-green-hover: #00bb7a;
  --accent-green-soft: rgba(0, 213, 140, 0.12);
  --accent-cyan: #00b8ff;
  --accent-cyan-soft: rgba(0, 184, 255, 0.12);
  --accent-gold: #f59e0b;
  --accent-gold-soft: rgba(245, 158, 11, 0.15);
  --accent-danger: #ef4444;
  --accent-danger-soft: rgba(239, 68, 68, 0.12);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(0, 213, 140, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 213, 140, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(0, 184, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 10% 65%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* 链接与通用重置 */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. 防社交工程 (Anti-Social Engineering) 独立合作声明横幅 (最高优先级合规) */
.affiliate-disclaimer-banner {
  background: #06090e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: #8b9bb0;
  text-align: center;
  position: relative;
  z-index: 101;
}

.affiliate-disclaimer-banner strong {
  color: #00d58c;
}

/* 优惠活动跑马横条 */
.top-notice-bar {
  background: linear-gradient(90deg, #091a13 0%, #0d211a 50%, #0a1824 100%);
  border-bottom: 1px solid rgba(0, 213, 140, 0.25);
  padding: 9px 16px;
  font-size: 0.875rem;
  color: #c7edd9;
  text-align: center;
  position: relative;
  z-index: 100;
}

.top-notice-bar .highlight {
  color: #00ffaa;
  font-weight: 700;
  margin: 0 4px;
}

/* 导航栏 Header - 空间优化与清爽层级 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7, 9, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 34px;
  width: auto;
}

/* 导航链接：间距充裕、排版呼吸感强 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links .active > a {
  color: var(--accent-green);
}

/* 现代化悬浮下拉菜单 (清爽收纳非核心高频入口) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent-green);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(13, 17, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 213, 140, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.dropdown-menu a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-green);
  transform: translateX(3px);
}

/* 导航操作区优化：紧凑精致 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 213, 140, 0.08);
  border: 1px solid rgba(0, 213, 140, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: monospace;
}

.btn-code-pill:hover {
  background: var(--accent-green);
  color: #000000;
  transform: translateY(-1px);
}

/* 移动端汉堡切换按钮 */
.nav-hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
  font-size: 1.5rem;
  line-height: 1;
}

/* 移动端全景折叠抽屉 */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10, 14, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px 28px;
  z-index: 98;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.85);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer .mobile-link-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.mobile-nav-drawer a {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-drawer a:hover {
  color: var(--accent-green);
}


/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--accent-green);
  color: #000000;
  box-shadow: 0 4px 18px rgba(0, 213, 140, 0.35);
}

.btn-primary:hover {
  background: #20e09d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 213, 140, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

/* E-E-A-T 作者与审核专栏信息条 (提升 Google 优质评估) */
.article-meta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-full);
  margin: 0 auto 24px;
  max-width: 680px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item strong {
  color: var(--text-secondary);
}

/* Hero 首屏视觉区 */
.hero-section {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--accent-green-soft);
  border: 1px solid rgba(0, 213, 140, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-badge-text {
  font-size: 0.875rem;
  color: var(--accent-green);
  font-weight: 600;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 25%, #00d58c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* 核心邀请码转化卡片 */
.referral-card {
  background: linear-gradient(145deg, rgba(22, 29, 41, 0.85), rgba(13, 17, 24, 0.98));
  border: 1px solid rgba(0, 213, 140, 0.4);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 700px;
  margin: 0 auto 36px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.referral-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 213, 140, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.referral-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.referral-rebate-tag {
  background: var(--accent-gold-soft);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.referral-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #070a0f;
  border: 1.5px dashed rgba(0, 213, 140, 0.5);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 24px;
}

.code-display {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.code-display .sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-display .code-val {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  font-family: monospace;
}

.btn-copy {
  background: #141c28;
  color: var(--accent-green);
  border: 1px solid rgba(0, 213, 140, 0.35);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy:hover {
  background: var(--accent-green);
  color: #000;
}

.referral-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.referral-tips {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 平台核心信任数据 */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px auto 0;
}

.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-num .unit {
  color: var(--accent-green);
  font-size: 1.25rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 通用板块与排版 */
.section-wrapper {
  padding: 85px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-green);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 数据表格与费率体系样式 (深度排版) */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  margin-bottom: 30px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.custom-table th {
  background: #121722;
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  white-space: nowrap;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.custom-table .highlight-green {
  color: var(--accent-green);
  font-weight: 700;
}

/* 节省计算卡片网格 */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.savings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.savings-card:hover {
  border-color: rgba(0, 213, 140, 0.4);
  transform: translateY(-3px);
}

.savings-card .vol-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.savings-card .save-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 6px;
}

.savings-card .save-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 默克尔树技术原理拆解板块 */
.tech-deep-box {
  background: linear-gradient(145deg, #0e131b 0%, #111724 100%);
  border: 1px solid rgba(0, 213, 140, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 30px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.tech-item {
  background: #080a0f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.tech-item h4 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* C2C 防冻卡与安全板块 */
.c2c-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.c2c-rule-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
}

.c2c-rule-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c2c-rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c2c-rule-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.c2c-rule-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent-green);
  font-size: 1.2rem;
  top: -2px;
}

.warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #fca5a5;
  font-size: 0.9rem;
  line-height: 1.7;
}

.warning-box strong {
  color: #ffffff;
}

/* 账户安全五重防护卡片 */
.defense-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.defense-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.defense-card:hover {
  border-color: rgba(0, 213, 140, 0.4);
  transform: translateY(-3px);
}

.defense-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 12px;
}

.defense-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.defense-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 平台核心优势网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 213, 140, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 新手注册步骤流程 (3-Step Guide) */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 213, 140, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.step-highlight-box {
  background: #080a0f;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #00d58c;
  border-left: 3px solid #00d58c;
}

/* APP 客户端下载板块 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.download-card:hover {
  border-color: rgba(0, 213, 140, 0.3);
  transform: translateY(-4px);
}

.download-os-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
}

.download-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.download-guide-list {
  text-align: left;
  background: #080a0f;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.download-guide-list li {
  margin-left: 18px;
}

/* 安全合规与官方验证板块 */
.security-box {
  background: linear-gradient(145deg, #0d121a 0%, #111722 100%);
  border: 1px solid rgba(0, 213, 140, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.security-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.security-left h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.security-left p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.security-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.security-points .check-icon {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.verify-tool-card {
  background: #07090e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.verify-tool-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.verify-tool-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
}

/* FAQ 常见问答 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 700px;
  padding-bottom: 20px;
  transition: max-height 0.35s ease-in-out;
}

/* 底部防飘红合规声明区 (Footer Compliance) */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.65;
  max-width: 450px;
  color: var(--text-secondary);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-compliance-box {
  background: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #8b96a5;
}

.footer-compliance-box strong {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* 浮动移动端快捷操作条 (Mobile Sticky Bar) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 12, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 213, 140, 0.3);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.45);
}

.mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-code-info {
  display: flex;
  flex-direction: column;
}

.mobile-code-title {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mobile-code-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-green);
  font-family: monospace;
}

.mobile-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 弹窗 Modal 规范 (合规声明与风险警示) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.modal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: #fff;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* Toast 提示框 */
.toast-msg {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f241a;
  color: #00ffaa;
  border: 1px solid #00d58c;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 响应式适配 Responsive */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .features-grid, .steps-container, .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .defense-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .security-content {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .savings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-code-pill {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .features-grid, .steps-container, .download-grid, .tech-grid, .c2c-rules-grid {
    grid-template-columns: 1fr;
  }
  .defense-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .referral-card {
    padding: 20px;
  }
  .referral-box {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    text-align: center;
  }
  .code-display {
    text-align: center;
  }
  .btn-copy {
    justify-content: center;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 75px;
  }
}
