/* Block: landing — marketing/landing page components.
 *
 * The signed-out visitor's page: hero, trust strip, proof metrics,
 * steps, testimonial, plans, CTA, and duo cards.
 * Token-driven, theme-overridable. Cinematic, premium feel.
 */

/* ── Hero — cinematic ────────────────────────────────────────── */
.fd-hero {
  padding: 80px 0 48px;
  max-width: 880px;
  position: relative;
}
.fd-hero::before {
  content: '';
  position: absolute;
  top: -20px; left: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.fd-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fd-accent-hover);
  background: var(--fd-accent-soft);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--fd-radius-pill);
  padding: 6px 16px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fd-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fd-accent);
  box-shadow: 0 0 10px var(--fd-accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.fd-hero h1 {
  font-size: 52px; font-weight: 800;
  line-height: 1.06; letter-spacing: -0.035em;
  color: var(--fd-text);
  margin: 0 0 18px;
}
.fd-hero h1 br + * { color: var(--fd-accent-hover); }
.fd-hero p {
  font-size: 18px; color: var(--fd-text-soft);
  line-height: 1.6; margin: 0 0 0;
  max-width: 64ch;
  font-weight: 400;
}
.fd-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.fd-cta-row .gold-btn { padding: 12px 28px; font-size: 15px; }
.fd-cta-row .fd-btn { padding: 12px 28px; font-size: 15px; }

/* ── Hero visual — glassmorphic score cards ──────────────────── */
.fd-hero-visual {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  max-width: 560px;
}
.fd-hero-visual-card {
  background: var(--fd-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fd-glass-border);
  border-radius: var(--fd-radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--fd-tx), box-shadow var(--fd-tx), border-color var(--fd-tx);
}
.fd-hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fd-shadow-md), 0 0 24px -8px var(--fd-accent-glow);
  border-color: rgba(201, 162, 39, 0.3);
  text-decoration: none;
}
.fd-hero-visual-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--fd-accent-gradient);
  opacity: 0.7;
  transition: opacity var(--fd-tx);
}
.fd-hero-visual-card:hover::after { opacity: 1; }
.fd-hero-visual-card .hvc-sym {
  font-family: var(--fd-mono);
  font-size: 13px; font-weight: 700;
  color: var(--fd-text);
  margin-bottom: 10px;
}
.fd-hero-visual-card .hvc-score {
  font-family: var(--fd-mono);
  font-size: 24px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.fd-hero-visual-card .hvc-score.bull { color: #34d399; }
.fd-hero-visual-card .hvc-score.bear { color: #fb7185; }
.fd-hero-visual-card .hvc-score.flat { color: var(--fd-text-dim); }
.fd-hero-visual-card .hvc-bar {
  height: 4px; border-radius: 2px;
  background: var(--fd-bg-subtle);
  overflow: hidden; position: relative;
}
.fd-hero-visual-card .hvc-bar-fill {
  position: absolute; top: 0; bottom: 0;
  border-radius: 2px;
}
.fd-hero-visual-card .hvc-bar-fill.bull { background: var(--fd-bull); box-shadow: 0 0 6px var(--fd-bull-glow); }
.fd-hero-visual-card .hvc-bar-fill.bear { background: var(--fd-bear); box-shadow: 0 0 6px var(--fd-bear-glow); }
.fd-hero-visual-card .hvc-label {
  font-size: 10px; color: var(--fd-text-dim);
  margin-top: 8px; text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Trust strip ─────────────────────────────────────────────── */
.fd-trust {
  display: flex; align-items: center; gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--fd-border);
  border-bottom: 1px solid var(--fd-border);
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.fd-trust-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fd-text-dim);
  white-space: nowrap;
}
.fd-trust-items {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.fd-trust-item {
  font-size: 13px; font-weight: 600;
  color: var(--fd-text-soft);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 6px;
}
.fd-trust-item svg { width: 16px; height: 16px; opacity: 0.6; }

/* ── Proof metrics — premium cards ───────────────────────────── */
.fd-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 40px 0 20px;
}
.fd-proof-card {
  background: var(--fd-surface);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius);
  padding: 26px 22px 26px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--fd-tx), box-shadow var(--fd-tx), transform var(--fd-tx);
}
.fd-proof-card:hover {
  border-color: var(--fd-border-strong);
  box-shadow: var(--fd-shadow-md);
  transform: translateY(-2px);
}
.fd-proof-card::before {
  content: '';
  position: absolute; top: 16px; bottom: 16px; left: 0;
  width: 3px;
  background: var(--fd-accent-gradient);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--fd-accent-glow);
}
.fd-proof-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fd-text-dim);
  margin-bottom: 12px;
}
.fd-proof-v {
  font-family: var(--fd-mono);
  font-size: 36px; font-weight: 800;
  color: var(--fd-text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fd-proof-v.fd-text-accent { color: var(--fd-accent-hover); }
.fd-proof-sub {
  font-size: 12px; color: var(--fd-text-dim);
  margin-top: 8px;
}

/* ── Section heading ─────────────────────────────────────────── */
.section-title-h {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fd-text);
  margin: 0 0 6px;
}
.section-sub {
  font-size: 15px; color: var(--fd-text-soft);
  margin: 0 0 28px;
}

/* ── Steps — premium with connecting accent ─────────────────── */
.fd-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.fd-steps li {
  background: var(--fd-surface);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius);
  padding: 28px 24px;
  position: relative;
  transition: border-color var(--fd-tx), transform var(--fd-tx), box-shadow var(--fd-tx);
}
.fd-steps li:hover {
  border-color: var(--fd-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--fd-shadow-md);
}
.fd-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fd-accent-gradient);
  color: var(--fd-on-accent);
  font-family: var(--fd-mono);
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px -2px var(--fd-accent-glow);
}
.fd-steps li h3 {
  font-size: 17px; font-weight: 600;
  color: var(--fd-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.fd-steps li p {
  font-size: 13.5px; color: var(--fd-text-soft);
  line-height: 1.65; margin: 0;
}

/* ── Read / callout card ─────────────────────────────────────── */
.fd-read {
  background: var(--fd-surface);
  border: 1px solid var(--fd-border);
  border-left: 3px solid var(--fd-accent);
  border-radius: var(--fd-radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.fd-read::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--fd-accent-gradient);
  box-shadow: 0 0 12px var(--fd-accent-glow);
}
.fd-read h2 {
  font-size: 20px; font-weight: 700;
  color: var(--fd-text);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.fd-read p {
  font-size: 14.5px; color: var(--fd-text-soft);
  line-height: 1.65; margin: 0;
  max-width: 60ch;
}

/* ── Testimonial — premium ───────────────────────────────────── */
.fd-quote {
  background: var(--fd-surface);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.fd-quote::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fd-accent) 50%, transparent);
  opacity: 0.5;
}
.fd-quote-mark {
  position: absolute; top: 20px; left: 24px;
  font-size: 56px; line-height: 1;
  color: var(--fd-accent);
  opacity: 0.2;
  font-family: Georgia, serif;
}
.fd-quote-text {
  font-size: 17px; line-height: 1.65;
  color: var(--fd-text);
  font-weight: 500;
  padding-left: 32px;
  margin: 0 0 18px;
}
.fd-quote-author {
  display: flex; align-items: center; gap: 12px;
  padding-left: 32px;
}
.fd-quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fd-accent-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: var(--fd-on-accent);
  flex-shrink: 0;
  box-shadow: 0 2px 12px -2px var(--fd-accent-glow);
}
.fd-quote-name {
  font-size: 14px; font-weight: 600;
  color: var(--fd-text);
}
.fd-quote-role {
  font-size: 12px; color: var(--fd-text-dim);
}

/* ── Stack (button container) ────────────────────────────────── */
.fd-stack { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ── Plans — premium tiers ───────────────────────────────────── */
.fd-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.fd-tier {
  background: var(--fd-surface);
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius);
  padding: 28px 24px;
  position: relative;
  transition: border-color var(--fd-tx), transform var(--fd-tx), box-shadow var(--fd-tx);
}
.fd-tier:hover {
  border-color: var(--fd-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--fd-shadow-md);
}
.fd-tier--mid {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 0 24px -8px var(--fd-accent-glow);
}
.fd-tier--mid::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--fd-accent-gradient);
  border-radius: var(--fd-radius) var(--fd-radius) 0 0;
}
.fd-tier-name {
  font-size: 16px; font-weight: 600;
  color: var(--fd-text);
  margin-bottom: 8px;
}
.fd-tier-p {
  font-family: var(--fd-mono);
  font-size: 32px; font-weight: 800;
  color: var(--fd-text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.fd-tier ul {
  list-style: none; padding: 0; margin: 16px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.fd-tier ul li {
  font-size: 13px; color: var(--fd-text-soft);
  padding-left: 20px; position: relative;
}
.fd-tier ul li::before {
  content: '';
  position: absolute; left: 0; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--fd-accent-soft);
  border: 1px solid rgba(201, 162, 39, 0.3);
}
.fd-tier ul li::after {
  content: '';
  position: absolute; left: 4px; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fd-accent);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fd-hero { padding: 48px 0 32px; }
  .fd-hero h1 { font-size: 34px; }
  .fd-hero p { font-size: 16px; }
  .fd-hero-visual { grid-template-columns: 1fr; max-width: 320px; }
  .fd-proof { grid-template-columns: 1fr; }
  .fd-steps { grid-template-columns: 1fr; }
  .section-title-h { font-size: 22px; }
}
