/* ============================================================
   Sun-BD stocks.sun-bd.com/marketing — 到達頁專用樣式
   中文：變數、頁尾沿用 ../../assets/css/common.css；本檔只補到達頁版面，
         視覺與首頁一致（深藍底、金／青強調、網格背景、光暈、Noto Serif TC 標題）。
   English: variables and footer come from common.css; this file only adds
            landing-page layout that mirrors the homepage look.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* Grid BG（同首頁）*/
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Orbs（同首頁）*/
.orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 { width: 700px; height: 700px; background: rgba(10,40,100,0.2); top: -200px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: rgba(200,168,75,0.06); bottom: -100px; right: -100px; }
.orb-3 { width: 400px; height: 400px; background: rgba(29,233,182,0.04); top: 50%; left: 60%; }

section { position: relative; z-index: 1; }

/* ── HEADER（只有品牌文字，不可點）── */
.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(4, 7, 15, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand img { height: 32px; width: auto; }
.lp-brand span {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.lp-mode {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26,58,110,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 980px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title .gold { color: var(--accent-gold); }

.hero-desc {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  animation: fadeUp 0.8s 0.2s ease both;
}

.lp-bonus {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 26px;
  border: 1px solid var(--border-bright);
  background: rgba(200,168,75,0.08);
  margin-bottom: 28px;
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  color: var(--accent-gold);
  animation: fadeUp 0.8s 0.25s ease both;
}

.lp-bonus strong {
  font-family: 'Space Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  padding: 18px 48px;
  background: var(--accent-gold);
  color: #04070f;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  -webkit-clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-primary:hover {
  background: #e0c060;
  transform: translateY(-2px);
}

.lp-risk-line {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── SECTION COMMON（同首頁）── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.sec { padding: 88px 0; }
.sec-header { text-align: center; margin-bottom: 48px; }

.sec-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 13px;
}

.sec-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.sec-desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── VIDEO（沿用首頁 tutorial-card 外觀）── */
.lp-video-card {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 26, 48, 0.96), rgba(8, 14, 27, 0.98));
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.lp-video-shell {
  aspect-ratio: 16 / 9;
  background: #02050b;
  border-bottom: 1px solid var(--border);
}

.lp-video { display: block; width: 100%; height: 100%; }

.lp-video-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ── FEATURE（圖＋文）── */
.lp-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.lp-feature.alt .lp-feature-media { order: 2; }

/* 中文：grid 子項 min-width:0，避免 1280px 截圖把版面撐寬（手機版）。English: keep grid children shrinkable so wide screenshots never blow out the layout on mobile. */
.lp-feature > * { min-width: 0; }
.lp-feature-media picture, .lp-feature-media img { max-width: 100%; }
.lp-video-card { min-width: 0; }

.lp-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.lp-caption {
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.lp-feature-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.lp-feature h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.3;
  margin: 10px 0 14px;
}

.lp-feature .lead {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.lp-feature ul { list-style: none; }

.lp-feature li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-primary);
}

.lp-feature li:last-child { border-bottom: 1px solid var(--border); }

.lp-feature li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 13px;
  font-size: 10px;
  color: var(--accent-gold);
}

/* ── STEPS ── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.lp-step:hover { border-color: var(--border-bright); transform: translateY(-3px); }

.lp-step-num {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.lp-step h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* ── BONUS BANNER（只呈現贈送 100 點）── */
.lp-bonus-sec { padding: 40px 0; }

.lp-bonus-banner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  padding: 28px 32px;
  border: 1px solid var(--border-bright);
  background: linear-gradient(145deg, rgba(15, 26, 48, 0.96), rgba(8, 14, 27, 0.98));
  font-family: 'Noto Serif TC', serif;
  color: var(--accent-gold);
}

.lp-bonus-banner-label { font-size: 22px; }
.lp-bonus-banner-unit { font-size: 22px; }

.lp-bonus-banner strong {
  font-family: 'Space Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

/* ── CTA（同首頁）── */
.cta-section {
  text-align: center;
  padding: 88px 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,168,75,0.06) 0%, transparent 70%);
}

.cta-section h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 auto 32px;
  max-width: 520px;
}

.cta-section .lp-risk-line { margin: 18px auto 0; }

/* 中文：免責聲明樣式已移到共用 assets/css/ranking.css（首頁與到達頁共用）。English: disclaimer styles moved to the shared ranking.css. */

/* ── FOOTER：只保留兩個連結，樣式來自 common.css ── */
.site-footer-links { margin-bottom: 16px; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lp-feature { grid-template-columns: 1fr; gap: 28px; }
  .lp-feature.alt .lp-feature-media { order: 0; }
  .lp-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 56px 0; }
  .hero { padding: 110px 20px 56px; }
  .lp-header { padding: 0 16px; }
  .lp-brand span { font-size: 10px; letter-spacing: 0.06em; }
  .lp-mode { display: none; }
  .btn-primary { padding: 16px 32px; font-size: 14px; }
  .lp-bonus-banner strong { font-size: 48px; }
  .lp-bonus-banner-label, .lp-bonus-banner-unit { font-size: 18px; }
}

/* ── LINE 加好友 CTA（下載按鈕下方）/ LINE add-friend CTA below the download button ── */
.lp-line-cta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.btn-line {
  display: inline-block;
  max-width: 480px;
  padding: 15px 34px;
  background: #06c755;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.25s;
  -webkit-clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-line:hover {
  background: #05a948;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .btn-line { padding: 14px 20px; font-size: 13px; }
}

/* ── 整合主題區塊（r18）：原 evidence-loop／auto-trading 兩頁的主題接在 STEPS 之後。
   Merged theme sections (r18): the former evidence-loop / auto-trading pages rendered after STEPS. ── */
.lp-theme .sec-header { margin-bottom: 40px; }
.lp-theme-title { font-size: clamp(26px, 4vw, 48px); line-height: 1.25; }
.lp-theme-title .gold { color: var(--accent-gold); }
.lp-theme .sec-desc { max-width: 760px; margin: 14px auto 0; }
.lp-theme .lp-theme-steps { margin-top: 44px; }

/* hero 三張並列主題卡 / three side-by-side theme cards in the hero */
/* 中文：主題卡樣式已移至站台共用的 assets/css/ranking.css（首頁 hero 也用同一組）。
   English: the theme-card rules now live in the shared assets/css/ranking.css, since the homepage hero uses them too. */

}

/* ── 雙核心區塊（2026-09-09）：台股個股 × 台指期兩張並列卡片 / dual-core section: Taiwan stocks and TAIEX futures side by side ── */
.lp-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.lp-core-card {
  border: 1px solid var(--border);
  background: rgba(13,21,37,0.72);
  padding: 26px 26px 24px;
}
.lp-core-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.lp-core-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
}
.lp-core-badge {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  border: 1px solid var(--border-bright);
  padding: 3px 9px;
  white-space: nowrap;
}
.lp-core-lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.lp-core-card ul { list-style: none; margin: 0; padding: 0; }
.lp-core-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-primary);
}
.lp-core-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}
@media (max-width: 860px) {
  .lp-core-grid { grid-template-columns: 1fr; }
  .lp-core-card { padding: 22px 20px; }
  .lp-core-name { font-size: 19px; }
}
/* 中文：導覽列上的 SIMULATION 標記在窄螢幕收起，避免擠掉語言鍵與漢堡鈕。English: hide the SIMULATION badge on narrow screens. */
@media (max-width: 1240px) {
  .site-nav-right .lp-mode { display: none; }
}

