/* ============================================
   热股 Stock Heat Tracker — 推广页样式
   设计语言：App 同款红黑主题，A 股红涨绿跌
   ============================================ */

:root {
  --bg: #0b0606;
  --bg-alt: #120a0a;
  --surface: #1a1010;
  --surface-2: #221515;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3eaea;
  --text-2: #c9b8b8;
  --muted: #8a7878;
  --primary: #e53935;
  --primary-2: #ff5252;
  --primary-dark: #b71c1c;
  --accent: #ff7043;
  --up: #ef5350;       /* A 股红涨 */
  --down: #26a69a;     /* A 股绿跌 */
  --gold: #ffc107;
  --silver: #b0bec5;
  --bronze: #d77a3d;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 56px rgba(229, 57, 53, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-2); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 6, 6, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #ffffff;
  padding: 4px;
  box-sizing: border-box;
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--text-2);
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.nav-cta) {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(229, 57, 53, 0.25), transparent 70%),
    radial-gradient(600px 300px at 0% 50%, rgba(255, 112, 67, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.35);
  color: var(--primary-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.grad {
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 36px;
  max-width: 560px;
}
.lede strong { color: var(--text); font-weight: 600; }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.35);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(229, 57, 53, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.btn-lg { padding: 18px 32px; font-size: 16px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 520px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-stats strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-2);
  line-height: 1;
}
.hero-stats span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame {
  position: absolute;
  width: 240px;
  border-radius: 36px;
  overflow: hidden;
  border: 6px solid #1f1414;
  background: #000;
  box-shadow: var(--shadow-lg);
  transition: transform .4s ease;
}
.phone-frame img {
  width: 100%;
  display: block;
}
.phone-frame:nth-child(1) {
  transform: rotate(-8deg) translateX(-90px);
  z-index: 2;
}
.phone-frame-2 {
  transform: rotate(6deg) translateX(90px) translateY(40px);
  z-index: 1;
  width: 220px;
  opacity: 0.92;
}
.phone-frame:hover { transform: rotate(0deg) translate(0, -6px) scale(1.04); z-index: 3; }
.glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, rgba(229, 57, 53, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/* ===== Trust 条 ===== */
.trust {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-title {
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trust-pill {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .2s ease;
}
.trust-pill:hover {
  color: var(--primary-2);
  border-color: rgba(229, 57, 53, 0.5);
  transform: translateY(-2px);
}

/* ===== Section 通用 ===== */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-2);
  margin: 0;
}

/* ===== 卡片网格 ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.2), rgba(255, 112, 67, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 700;
}
.card p {
  color: var(--text-2);
  margin: 0 0 16px;
  font-size: 14.5px;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
}

/* ===== 截图区 ===== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  justify-items: center;
}
.shot {
  margin: 0;
  text-align: center;
  max-width: 280px;
}
.phone {
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  border: 5px solid #1f1414;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  transition: transform .3s ease;
}
.phone:hover { transform: translateY(-6px) scale(1.02); }
.phone img { width: 100%; display: block; }
.shot figcaption {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

/* ===== 步骤 ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-2);
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(229, 57, 53, 0.12);
  border-radius: 6px;
}
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { color: var(--text-2); font-size: 14px; margin: 0; }

/* ===== CTA Section ===== */
.section-cta { background: var(--bg-alt); }
.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.12) 0%, transparent 60%);
  border: 1px solid rgba(229, 57, 53, 0.25);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.2), transparent 70%);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
.cta-text > p { color: var(--text-2); font-size: 16px; margin: 0 0 28px; max-width: 480px; }
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cta-hint { font-size: 13px; color: var(--muted); margin: 0; }
.cta-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.cta-visual .phone {
  max-width: 240px;
  border-radius: 36px;
  transform: rotate(4deg);
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color .2s ease;
}
.faq details[open] {
  border-color: rgba(229, 57, 53, 0.4);
  background: var(--surface-2);
}
.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--primary-2);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq details a { color: var(--primary-2); text-decoration: underline; }

/* ===== Footer ===== */
.footer {
  background: #070404;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  padding: 5px;
  box-sizing: border-box;
}
.footer-brand strong { font-size: 16px; }
.footer-brand p { color: var(--text-2); font-size: 13px; margin: 4px 0 0; }
.footer-meta { text-align: right; }
.footer-meta p { font-size: 13px; color: var(--text-2); margin: 0 0 6px; }
.footer-meta .muted { color: var(--muted); font-size: 12px; }
.footer-meta a:hover { color: var(--primary-2); }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 460px; }
  .phone-frame:nth-child(1) { transform: rotate(-6deg) translateX(-50px); }
  .phone-frame-2 { transform: rotate(5deg) translateX(50px) translateY(30px); }
  .cta-card { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .cta-visual { order: -1; }
  .cta-visual .phone { transform: rotate(0); max-width: 220px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; flex-direction: column; }
  .footer-meta { text-align: center; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-links { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-visual { height: 420px; }
  .phone-frame { width: 200px; }
  .phone-frame:nth-child(1) { transform: rotate(-6deg) translateX(-30px); }
  .phone-frame-2 { transform: rotate(5deg) translateX(30px) translateY(30px); width: 180px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .hero-stats strong { font-size: 22px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .cta-card { padding: 28px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}