/* ============================================================
   css/pages/home.css — 首頁專用樣式
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   § 1  HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--sp-8)) var(--sp-5) var(--sp-16);
  overflow: hidden;
}

/* 粒子 canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 中央光暈 */
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 107, 43, 0.16) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* 極細網格線 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* 內容層 */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  background: rgba(255, 107, 43, 0.10);
  border: 1px solid rgba(255, 107, 43, 0.30);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  color: var(--c-primary-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
  animation: fadeDown 0.6s ease 0.3s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 6px var(--c-primary);
  animation: breathe 2s ease-in-out infinite;
}

/* 主標題 */
.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--c-text-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
  animation: fadeUp 0.7s ease 0.4s both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 副標題 */
.hero-sub {
  font-size: var(--text-base);
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  animation: fadeUp 0.7s ease 0.5s both;
}

/* 按鈕組 */
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
  animation: fadeUp 0.7s ease 0.6s both;
}

.hero-actions .btn-primary {
  min-width: 160px;
  height: 50px;
  font-size: var(--text-base);
}

.hero-actions .btn-outline {
  min-width: 140px;
  height: 50px;
  font-size: var(--text-base);
}

/* 數據橫幅 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: fadeUp 0.7s ease 0.7s both;
}

.hero-stat-item {
  background: rgba(20, 24, 36, 0.92);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  backdrop-filter: blur(12px);
}

.hero-stat-value {
  font-size: var(--text-xl);
  font-weight: 800;
  font-family: var(--font-data);
  color: var(--c-secondary);
  line-height: 1.2;
  display: block;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-top: 3px;
  display: block;
}

/* 向下滾動提示 */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: fadeIn 1s ease 2s both;
  z-index: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}
.hero-scroll-hint:hover {
  opacity: 0.85;
}

.hero-scroll-hint span {
  font-size: 10px;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--c-text-muted);
  border-bottom: 1.5px solid var(--c-text-muted);
  transform: rotate(45deg);
  animation: scrollBob 1.5s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ══════════════════════════════════════════════════════════
   § 2  平台特色 FEATURES
   ══════════════════════════════════════════════════════════ */
.section-features {
  padding: var(--sp-12) var(--sp-5);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-text-primary);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
}

.section-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

/* 確保 section-header 內的所有標題元素置中 */
.section-header .section-title {
  text-align: center;
  border-left: none;
  padding-left: 0;
}

/* 特色卡片橫向捲動 */
.features-scroll {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.features-scroll::-webkit-scrollbar { display: none; }

@keyframes featureCardEnter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-card {
  flex-shrink: 0;
  width: 240px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  scroll-snap-align: start;
  transition: var(--t-base);
  animation: featureCardEnter 0.55s ease both;
}
.feature-card:nth-child(1) { animation-delay: 0.10s; }
.feature-card:nth-child(2) { animation-delay: 0.25s; }
.feature-card:nth-child(3) { animation-delay: 0.40s; }
.feature-card:nth-child(4) { animation-delay: 0.55s; }
.feature-card:nth-child(5) { animation-delay: 0.70s; }

.feature-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-xs);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(255, 107, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(255, 107, 43, 0.20);
}

.feature-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--sp-2);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.65;
}

/* Scroll 指示點 */
.scroll-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--sp-4);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-border-subtle);
  transition: var(--t-base);
}

.scroll-dot.active {
  background: var(--c-primary);
  width: 18px;
  border-radius: var(--r-full);
}

/* ══════════════════════════════════════════════════════════
   § 三大戰略級產業亮點 INSIGHTS
   ══════════════════════════════════════════════════════════ */
.section-insights {
  padding: var(--sp-10) var(--sp-5);
  border-top: 1px solid var(--c-border-subtle);
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.insight-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  transition: var(--t-base);
}
.insight-item:hover {
  border-color: var(--c-border-hover);
  border-left-color: var(--c-primary);
  box-shadow: var(--shadow-glow-xs);
  transform: translateY(-1px);
}

.insight-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-data, 'Inter', sans-serif);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  min-width: 48px;
  padding-top: 2px;
}

.insight-body { flex: 1; }

.insight-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.insight-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   § 3  輪次進度 / 倒數
   ══════════════════════════════════════════════════════════ */
.section-round {
  padding: var(--sp-10) var(--sp-5);
}

.round-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  backdrop-filter: blur(16px);
}

.round-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.round-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-text-primary);
}

.round-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.30);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  color: var(--c-success);
  font-weight: 600;
}

.round-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  animation: breathe 2s ease-in-out infinite;
}

/* 進度 */
.round-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.round-progress-sold {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
}

.round-progress-sold strong {
  color: var(--c-text-primary);
  font-family: var(--font-data);
}

.round-progress-pct {
  font-size: var(--text-sm);
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--c-primary);
}

.round-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}

.round-progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(255, 107, 43, 0.40);
  width: 0%;
  transition: width 1.2s ease;
}

/* 倒數 */
.round-countdown-label {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  text-align: center;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.round-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 107, 43, 0.08);
  border: 1px solid rgba(255, 107, 43, 0.20);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-3);
  min-width: 60px;
}

.countdown-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  font-family: var(--font-data);
  color: var(--c-primary);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}

.countdown-lbl {
  font-size: 10px;
  color: var(--c-text-muted);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.countdown-sep {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-primary);
  opacity: 0.5;
  margin-bottom: 14px;
  animation: breathe 1s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   § 4  購買方案
   ══════════════════════════════════════════════════════════ */
.section-plans {
  padding: var(--sp-10) var(--sp-5);
}

.buy-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

/* 首頁購買方案卡片（精簡版） */
.home-plan-card {
  background: var(--c-bg-card);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: var(--t-base);
  cursor: pointer;
  text-align: center;
}

.home-plan-card:hover,
.home-plan-card:active {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-xs);
}

.home-plan-card.is-hot {
  border-color: rgba(255, 107, 43, 0.55);
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.06) 0%, rgba(255, 184, 0, 0.03) 100%);
  box-shadow: var(--shadow-glow-xs);
}

/* HOT ribbon */
.home-plan-card.is-hot::before {
  content: 'HOT';
  position: absolute;
  top: 10px;
  right: -20px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 22px;
  transform: rotate(35deg);
}

.home-plan-label {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.home-plan-usdt {
  font-size: var(--text-2xl);
  font-weight: 900;
  font-family: var(--font-data);
  color: var(--c-text-primary);
  line-height: 1.1;
  margin-bottom: 3px;
}

.home-plan-usdt em {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  font-style: normal;
}

.home-plan-gai {
  font-size: var(--text-sm);
  color: var(--c-secondary);
  font-family: var(--font-data);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.home-plan-cta {
  display: block;
  width: 100%;
  padding: var(--sp-2) 0;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.30);
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-primary);
  transition: var(--t-fast);
  cursor: pointer;
}

.home-plan-card.is-hot .home-plan-cta {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.home-plan-card:hover .home-plan-cta {
  background: rgba(255, 107, 43, 0.20);
}

.home-plan-card.is-hot:hover .home-plan-cta {
  filter: brightness(1.08);
}

/* ══════════════════════════════════════════════════════════
   § 5  如何開始 STEP FLOW（首頁版）
   ══════════════════════════════════════════════════════════ */
.section-steps {
  padding: var(--sp-10) var(--sp-5);
}

.home-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  position: relative;
  animation: featureCardEnter 0.55s ease both;
}
.home-step:nth-child(1) { animation-delay: 0.05s; }
.home-step:nth-child(2) { animation-delay: 0.18s; }
.home-step:nth-child(3) { animation-delay: 0.31s; }
.home-step:nth-child(4) { animation-delay: 0.44s; }

/* 連接線 */
.home-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: calc(var(--sp-5) + 40px);
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, rgba(255, 107, 43, 0.40), rgba(255, 107, 43, 0.08));
}

.home-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.12);
  border: 1.5px solid rgba(255, 107, 43, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: var(--font-data);
  color: var(--c-primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.home-step-body {
  padding-top: 6px;
  flex: 1;
}

.home-step-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: 4px;
}

.home-step-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   § 6  質押方案（首頁預覽）
   ══════════════════════════════════════════════════════════ */
.section-staking {
  padding: var(--sp-10) var(--sp-5);
}

.staking-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.staking-preview-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  text-align: center;
  position: relative;
  transition: var(--t-base);
  cursor: pointer;
  overflow: hidden;
}

.staking-preview-card:hover,
.staking-preview-card:active {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-glow-xs);
  transform: translateY(-1px);
}

.staking-preview-card.is-hot {
  border-color: rgba(255, 107, 43, 0.40);
}

/* HOT tag */
.staking-hot-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}

.staking-preview-days {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.staking-preview-rate {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-top: 2px;
}

.staking-preview-apy {
  font-size: var(--text-2xl);
  font-weight: 900;
  font-family: var(--font-data);
  color: var(--c-secondary);
  line-height: 1.1;
}

/* ══════════════════════════════════════════════════════════
   § 7  代理獎勵亮點
   ══════════════════════════════════════════════════════════ */
.section-referral {
  padding: var(--sp-10) var(--sp-5);
}

.referral-highlight {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}

/* 背景光暈裝飾 */
.referral-highlight::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.referral-hl-icon {
  font-size: 36px;
  margin-bottom: var(--sp-3);
}

.referral-hl-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-text-primary);
  margin-bottom: var(--sp-2);
}

.referral-hl-bonus {
  font-size: var(--text-3xl);
  font-weight: 900;
  font-family: var(--font-data);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.referral-hl-bonus span {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  font-weight: 500;
  font-family: var(--font-sans);
}

.referral-conditions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.referral-condition {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
}

.referral-condition i {
  color: var(--c-primary);
  font-size: var(--text-sm);
  width: 16px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   § 8  小區等級 A1~A8
   ══════════════════════════════════════════════════════════ */
.section-community {
  padding: var(--sp-10) var(--sp-5);
}

.community-levels-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.community-level-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--r-lg);
  transition: var(--t-fast);
}

.community-level-row:hover {
  border-color: var(--c-border);
}

.community-level-badge-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid currentColor;
}

/* A1~A8 色階 */
.lvl-A1 { color: #9CA3AF; background: rgba(156, 163, 175, 0.08); }
.lvl-A2 { color: #60A5FA; background: rgba(96, 165, 250, 0.08); }
.lvl-A3 { color: #34D399; background: rgba(52, 211, 153, 0.08); }
.lvl-A4 { color: #FBBF24; background: rgba(251, 191, 36, 0.08); }
.lvl-A5 { color: #F97316; background: rgba(249, 115, 22, 0.08); }
.lvl-A6 { color: #EF4444; background: rgba(239, 68, 68, 0.08); }
.lvl-A7 { color: #A78BFA; background: rgba(167, 139, 250, 0.08); }
.lvl-A8 { color: #FF6B2B; background: rgba(255, 107, 43, 0.12); box-shadow: 0 0 10px rgba(255, 107, 43, 0.20); }

.community-level-info {
  flex: 1;
}

.community-level-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: 2px;
}

.community-level-req {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-family: var(--font-data);
}

.community-level-reward {
  font-size: var(--text-sm);
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--c-secondary);
  text-align: right;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   § 9  FAQ
   ══════════════════════════════════════════════════════════ */
.section-faq {
  padding: var(--sp-10) var(--sp-5);
}

/* ══════════════════════════════════════════════════════════
   § 10  底部 CTA
   ══════════════════════════════════════════════════════════ */
.section-cta {
  padding: var(--sp-10) var(--sp-5) var(--sp-20);
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.10) 0%, rgba(255, 184, 0, 0.06) 100%);
  border: 1px solid rgba(255, 107, 43, 0.30);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-6);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-text-primary);
  margin-bottom: var(--sp-3);
}

.cta-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: var(--text-sm);
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.cta-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   § 11  RWD — 平板 ≥ 768px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    height: 54px;
    min-width: 180px;
  }

  .hero-stats {
    max-width: 540px;
  }

  .hero-stat-value {
    font-size: var(--text-2xl);
  }

  .features-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }

  .feature-card {
    width: auto;
  }

  .buy-plans-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
  }

  .staking-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
  }

  .home-step {
    flex-direction: column;
    padding: var(--sp-5);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
  }

  .home-step:not(:last-child)::after {
    display: none;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .community-levels-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    padding-top: calc(var(--header-h) + var(--sp-12));
    padding-bottom: var(--sp-16);
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-sub {
    font-size: var(--text-lg);
  }

  .section-features,
  .section-round,
  .section-plans,
  .section-steps,
  .section-staking,
  .section-referral,
  .section-community,
  .section-faq,
  .section-cta {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }
}
