/* ===================================================================
   欧易 OKX 推广落地页官方高质感暗黑主题样式表
   邀请码: OK6669 | 响应式设计 | 极致性能优化
   =================================================================== */

:root {
  --bg-main: #0a0b0d;
  --bg-card: #121418;
  --bg-card-hover: #181b21;
  --bg-input: #1a1e24;
  --border-color: #242932;
  --border-highlight: #333a46;
  
  --primary: #00d632;
  --primary-glow: rgba(0, 214, 50, 0.25);
  --primary-hover: #00f076;
  
  --text-primary: #ffffff;
  --text-secondary: #9aa2ae;
  --text-muted: #656d78;
  
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;
  --danger: #ef4444;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #151a21 0%, #0a0b0d 60%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

/* ================== 顶部导航栏 ================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap svg {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: rgba(0, 214, 50, 0.15);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid rgba(0, 214, 50, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-code-pill {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  gap: 8px;
  font-size: 0.85rem;
}

.nav-code-pill .code-val {
  color: var(--primary);
  font-weight: 700;
  font-family: monospace;
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #000000;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 118, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ================== Hero 核心区域 ================== */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 214, 50, 0.1);
  border: 1px solid rgba(0, 214, 50, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.8s infinite;
}

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

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-desc strong {
  color: #ffffff;
}

.hero-code-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero-code-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

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

.code-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.code-display-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-input);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-highlight);
}

.code-text {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.btn-copy-main {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.btn-copy-main:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

.code-benefits-row {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.benefit-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefit-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.stat-item .stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-item .stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero 右侧悬浮卡片 */
.hero-visual-card {
  background: linear-gradient(145deg, #161a22 0%, #0d1014 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.reward-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.reward-badge {
  display: inline-block;
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.reward-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
}

.reward-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.reward-checklist {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.reward-check-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.reward-qr-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-input);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.qr-code-img {
  width: 78px;
  height: 78px;
  background: #ffffff;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.qr-desc h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.qr-desc p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================== 通用 Section 标题 ================== */
.section-pad {
  padding: 70px 0;
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

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

/* ================== 新人三重好礼 ================== */
.welfare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.welfare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.welfare-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.welfare-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 214, 50, 0.15);
}

.welfare-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 214, 50, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.welfare-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.welfare-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.welfare-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  align-self: flex-start;
}

/* ================== 手续费计算器 ================== */
.calculator-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-left h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.calc-left p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.range-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-input {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  background: var(--border-color);
  border-radius: 4px;
  outline: none;
}

.range-val-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-val-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  font-family: monospace;
}

.trade-type-tabs {
  display: flex;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 6px;
}

.trade-tab-btn {
  flex: 1;
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--text-secondary);
}

.trade-tab-btn.active {
  background: var(--primary);
  color: #000;
}

.calc-right {
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.calc-right .save-tag {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-right .save-num {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: monospace;
}

.calc-right .save-annual {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.calc-right .save-annual span {
  color: var(--accent-gold);
  font-weight: 700;
}

.fee-compare-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.compare-col {
  text-align: left;
}

.compare-col .comp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.compare-col .comp-val {
  font-size: 0.95rem;
  font-weight: 700;
}

.compare-col.discount .comp-val {
  color: var(--primary);
}

/* ================== 实时行情卡片 ================== */
.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ticker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.ticker-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.ticker-coin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.coin-name {
  font-weight: 700;
  font-size: 1rem;
}

.coin-pair {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ticker-price {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: monospace;
  margin-bottom: 6px;
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.ticker-change.up {
  background: rgba(0, 214, 50, 0.12);
  color: var(--primary);
}

.ticker-change.down {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

/* ================== 为什么选择欧易 (六大优势) ================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.advantage-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.adv-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ================== 新手注册流程指南 ================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 14px;
  font-family: monospace;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.step-code-highlight {
  background: rgba(0, 214, 50, 0.1);
  color: var(--primary);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* ================== App 全平台下载 ================== */
.download-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.download-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.dl-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
}

.dl-tab-btn.active {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

.dl-content-panel {
  display: none;
}

.dl-content-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.dl-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dl-info-item {
  display: flex;
  gap: 14px;
}

.dl-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.dl-info-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dl-info-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.dl-buttons-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.dl-qr-showcase {
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.dl-qr-showcase .qr-box {
  width: 160px;
  height: 160px;
  background: #ffffff;
  margin: 0 auto 16px;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-qr-showcase .qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.dl-qr-showcase p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ================== FAQ 常见问题手风琴 ================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background: rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer-inner strong {
  color: var(--text-primary);
}

/* ================== 页尾与合规声明 ================== */
.site-footer {
  background: #060708;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 100px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disclaimer-box strong {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ================== 移动端吸底 CTA ================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  z-index: 999;
}

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

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

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

.mobile-code-info .m-code {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  font-family: monospace;
}

.mobile-actions {
  display: flex;
  gap: 8px;
}

.btn-mobile-copy {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-mobile-reg {
  background: var(--primary);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ================== 复制成功的 Toast 弹窗 ================== */
.toast-notice {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1e293b;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.toast-notice svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

/* ================== 响应式适配 (Media Queries) ================== */
@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-card {
    max-width: 540px;
    margin: 0 auto;
  }
  .welfare-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-wrap {
    grid-template-columns: 1fr;
  }
  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-code-pill {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .btn-large {
    width: 100%;
  }
  .welfare-grid,
  .advantage-grid,
  .steps-container,
  .ticker-grid {
    grid-template-columns: 1fr;
  }
  .dl-content-panel.active {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .site-footer {
    padding-bottom: 120px;
  }
}
