/* ======================================================
   BTC Bottom Compass — Blockchain Tech + Finance Theme
   ====================================================== */

:root {
  --bg-main: #05080d;
  --bg-card: rgba(12, 17, 28, 0.85);
  --bg-glass: rgba(10, 15, 25, 0.65);
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.15);
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --gold: #f0b90b;
  --gold-dim: rgba(240, 185, 11, 0.12);
  --gold-glow: rgba(240, 185, 11, 0.35);
  --text: #e8ecf1;
  --text-muted: rgba(180, 195, 215, 0.72);
  --border: rgba(0, 212, 255, 0.12);
  --border-hover: rgba(0, 212, 255, 0.4);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

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

body {
  min-width: 320px;
  background: var(--bg-main);
  color: var(--text);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Particle Canvas (background) ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── Glass Card Pattern ── */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Top Nav ── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 8, 13, 0.8);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-logo { flex-shrink: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.45);
  transform: translateY(-1px);
}

/* ── Layout ── */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 80px 0;
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.02), transparent);
}

/* ── Pulse Dot ── */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.pulse-dot-sm {
  width: 7px;
  height: 7px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--cyan-glow); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--cyan-glow); }
}

/* ── HERO ── */
.hero {
  overflow: hidden;
  text-align: left;
  padding-top: 100px;
  background: radial-gradient(ellipse 80% 50% at 30% 40%, rgba(0, 212, 255, 0.06), transparent),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(240, 185, 11, 0.04), transparent),
              var(--bg-main);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(0, 212, 255, 0.1), transparent 50%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black, transparent);
  pointer-events: none;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.hero-copy { padding-top: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-lockup { margin-top: 20px; }

.brand-cn {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.05;
}

.brand-en {
  margin-top: 6px;
  background: linear-gradient(90deg, var(--gold), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ticker-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--gold), #ffd54f, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  -webkit-text-fill-color: var(--text);
}

.lead {
  max-width: 760px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

/* Proof pills */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin-top: 26px;
}

.proof-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  min-height: 52px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.proof-pill:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
}

.icon-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.proof-pill span:last-child { flex: 1; }

/* CTA Row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #fff;
}

.btn-primary.glow-btn {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5), 0 0 80px rgba(0, 212, 255, 0.15); }
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Hero Panel */
.hero-panel-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.hero-panel {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-inner { position: relative; }

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.list-card {
  padding: 14px 16px 14px 40px;
  color: var(--text);
  font-size: 0.92rem;
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.03);
  border-radius: var(--radius-sm);
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.list-card::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.list-card:hover {
  border-color: var(--border-hover);
  background: rgba(0, 212, 255, 0.06);
}

/* Signal Preview */
.signal-preview {
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 8, 13, 0.8);
  padding: 16px;
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.signal-time {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.signal-image-wrap {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.signal-image {
  display: block;
  width: 100%;
  height: auto;
}

.signal-body {
  margin-top: 14px;
  color: var(--text);
  line-height: 1.75;
  font-size: 0.92rem;
}

.signal-body strong { color: var(--gold); }

/* ── Data Ticker ── */
.data-ticker {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.02);
  padding: 14px 0;
}

.data-ticker::before,
.data-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.data-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-main), transparent);
}

.data-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-main), transparent);
}

.data-ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Stats Bar ── */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  border-radius: var(--radius);
  text-align: left;
}

.stat-card svg { flex-shrink: 0; }

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Section Shared ── */
.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text);
  letter-spacing: -0.03em;
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-brand {
  background: linear-gradient(90deg, var(--gold), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Split Grid (Value + Profile) ── */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.quant-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.quant-card {
  padding: 24px;
  border-radius: var(--radius);
}

.quant-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 16px;
}

.quant-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.quant-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.profile-card {
  border-radius: var(--radius);
  padding: 28px;
  min-height: 100%;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-copy { margin-top: 20px; }

.profile-copy p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.85;
  padding-left: 16px;
  border-left: 2px solid rgba(0, 212, 255, 0.2);
}

.profile-copy p:first-child { margin-top: 0; }

/* ── Longform Grid (Journey Cards) ── */
.longform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Animated gradient border on hover */
.journey-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), transparent, var(--gold), transparent, var(--cyan));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: borderGlow 6s linear infinite;
}

.journey-card:hover::before { opacity: 1; }

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.journey-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  height: 34px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.journey-card h3 {
  margin: 16px 0 0;
  font-size: 1.18rem;
  color: var(--text);
}

.journey-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.82;
}

.detail-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.85;
}

.detail-list li {
  margin-top: 6px;
  position: relative;
}

.detail-list li::marker {
  color: var(--cyan);
}

/* ── QR / Join Section ── */
.compact-entry {
  display: flex;
  justify-content: center;
}

.qr-panel {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Glow accent behind QR */
.qr-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.qr-panel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.qr-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin: 18px auto 0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  padding: 14px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(0, 212, 255, 0.05);
}

.qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.qr-card-meta { margin-top: 18px; }

.qr-meta-cn {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.qr-meta-en {
  margin-top: 4px;
  background: linear-gradient(90deg, var(--gold), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-action { margin-top: 22px; }
.qr-action .btn { width: 100%; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 5, 8, 0.9);
  padding: 36px 0 40px;
  position: relative;
  z-index: 1;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(160px, 0.5fr) minmax(0, 1.2fr);
  gap: 32px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo { flex-shrink: 0; }

.footer-brand-cn {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.footer-brand-en {
  margin-top: 3px;
  background: linear-gradient(90deg, var(--gold), #ffd54f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-legal p {
  margin: 14px 0 0;
  color: rgba(180, 195, 215, 0.55);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-title {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(180, 195, 215, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

/* ══════════════════════
   RESPONSIVE
   ══════════════════════ */
@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .longform-grid,
  .site-footer-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-wrap { justify-content: flex-start; }
  .hero-panel, .qr-panel { max-width: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .container { width: min(calc(100% - 24px), var(--container)); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .btn { width: 100%; }
  .cta-row { flex-direction: column; }

  .hero { padding-top: 80px; }

  .hero-panel, .profile-card, .qr-panel { padding: 20px; }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.14;
  }

  .brand-cn { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .brand-en { font-size: 0.92rem; }

  .lead { font-size: 1rem; }

  .journey-card { padding: 20px; }

  .nav-brand span { display: none; }

  .data-ticker-track { gap: 24px; }
}