/* =====================================================
   TradeVyzr Landing — Full-Bleed Hero + Brand Identity
   ===================================================== */

:root {
  --tv-bg: #050507;
  --tv-surface: #0c0c0f;
  --tv-surface-2: #111114;
  --tv-border: rgba(255,255,255,0.06);
  --tv-text: #f0f0f2;
  --tv-text-2: rgba(255,255,255,0.6);
  --tv-text-3: rgba(255,255,255,0.35);
  --tv-teal: #06b6d4;
  --tv-green: #10b981;
  --tv-purple: #8b5cf6;
  --tv-blue: #3b82f6;
  --tv-pink: #ec4899;
  --tv-amber: #f59e0b;
  --tv-grad: linear-gradient(135deg, #06b6d4, #10b981);
}

/* ---- Reset & Base ---- */
.landing-page {
  margin: 0;
  padding: 0;
  background: var(--tv-bg);
  color: var(--tv-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.landing-page *, .landing-page *::before, .landing-page *::after { box-sizing: border-box; }

.landing-container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---- Brand topline (teal-to-green gradient) ---- */
.landing-topline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tv-grad);
  z-index: 200;
}

/* =====================================================
   NAV
   ===================================================== */
.landing-nav {
  position: fixed;
  top: 3px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.35s ease;
}

.landing-nav.landing-nav--scrolled {
  background: rgba(5,5,7,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--tv-border);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0;
  padding: 0 40px;
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.landing-nav-logo img { height: 36px; width: auto; }
.landing-nav-logo img.landing-nav-owl { height: 56px; }

.landing-nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.landing-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.landing-nav-links a:hover { color: #fff; }

.landing-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

/* Log In — purple glass with border */
.landing-btn--ghost {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(139,92,246,0.12);
  color: #fff;
  border: 1px solid rgba(139,92,246,0.5);
  border-radius: 8px;
}
.landing-btn--ghost:hover {
  background: rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.8);
  transform: translateY(-1px);
}

/* Get Started nav — glass style */
.landing-btn--cta-nav {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.landing-btn--cta-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}

/* Primary CTA — gradient button */
.landing-btn--cta {
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--tv-grad);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(6,182,212,0.25);
}
.landing-btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(6,182,212,0.35);
}
.landing-btn--cta:active { transform: translateY(0); }

/* Outline — teal tint */
.landing-btn--outline {
  padding: 14px 28px;
  font-size: 14px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--tv-teal);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
}
.landing-btn--outline:hover {
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(6, 182, 212, 0.15);
}

/* ---- Hamburger ---- */
.landing-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.landing-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.landing-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.landing-hamburger.active span:nth-child(2) { opacity: 0; }
.landing-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.landing-mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  background: rgba(5,5,7,0.97);
  backdrop-filter: blur(20px);
  padding: 24px 28px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--tv-border);
  z-index: 99;
}
.landing-mobile-menu.active { display: flex; }
.landing-mobile-menu a { color: var(--tv-text-2); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 0; }
.landing-mobile-menu a:hover { color: #fff; }

/* =====================================================
   HERO — Full Viewport Bleed
   ===================================================== */
.landing-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 40px;
}

/* Background image */
.landing-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.landing-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* Dark overlay */
.landing-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.85) 100%);
}

/* Bottom fade */
.landing-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 0%, var(--tv-bg) 100%);
}

/* Hero text */
.landing-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: 0 28px;
}

/* Glass panel — transparent wrapper, no visible card */
.landing-hero-glass {
  padding: 0;
}

.landing-hero-content h1 {
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  white-space: nowrap;
}

.landing-hero-content h1 span {
  background: var(--tv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 30px rgba(6,182,212,0.3));
}

.landing-hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0 0 40px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.landing-hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

/* Beta badges */
.landing-beta-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tv-teal);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.landing-beta-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tv-teal);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* Email capture form */
.landing-email-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 4px;
  transition: border-color 0.2s;
}
.landing-email-form:focus-within {
  border-color: var(--tv-teal);
}

.landing-email-form input[type="email"] {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tv-text);
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}
.landing-email-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.landing-email-form .landing-btn {
  flex-shrink: 0;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 14px;
  white-space: nowrap;
}

/* Scroll indicator */
.landing-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.25);
  font-size: 16px;
  animation: landing-bounce 2s ease infinite;
}

@keyframes landing-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   STATS STRIP
   ===================================================== */
.landing-stats {
  position: relative;
  z-index: 4;
  padding: 64px 0;
  border-bottom: 1px solid var(--tv-border);
}

.landing-stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.landing-stat { text-align: center; }
.landing-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--tv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.landing-stat span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tv-text-3);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.landing-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tv-teal);
  text-align: center;
  margin-bottom: 16px;
}

.landing-section-heading {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 72px;
  color: var(--tv-text);
}

/* =====================================================
   FEATURES — 3D Perspective Carousel
   ===================================================== */
.landing-features {
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}

.landing-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/images/featurebackdrop.png') center center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.landing-features::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--tv-bg) 0%, transparent 20%, transparent 80%, var(--tv-bg) 100%);
  pointer-events: none;
  z-index: 0;
}

.landing-features > * {
  position: relative;
  z-index: 2;
}

/* Carousel container — perspective origin */
.fc-carousel {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Track — the cylinder viewport */
.fc-track {
  position: relative;
  height: 700px;
  perspective: 1400px;
  transform: scale(1.35);
  transform-origin: center top;
  perspective-origin: 50% 50%;
  overflow: visible;
}

/* Rotating cylinder that holds all slides */
.fc-cylinder {
  position: absolute;
  width: 500px;
  height: 100%;
  left: 50%;
  margin-left: -250px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Each slide sits on the cylinder surface */
.fc-slide {
  position: absolute;
  width: 500px;
  top: 0;
  left: 0;
  cursor: pointer;
  backface-visibility: visible;
  transition: opacity 0.6s ease;
  opacity: 0;
}

/* The card frame */
.fc-slide-card {
  position: relative;
  border-radius: 14px;
  background: var(--tv-surface);
  border: 1px solid rgba(6,182,212,0.2);
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  box-shadow:
    0 0 20px -5px rgba(6,182,212,0.1),
    0 15px 40px -15px rgba(0,0,0,0.5);
}

.fc-slide.active .fc-slide-card {
  border-color: rgba(6,182,212,0.5);
  box-shadow:
    0 0 40px -5px rgba(6,182,212,0.3),
    0 0 80px -10px rgba(6,182,212,0.15),
    0 25px 60px -15px rgba(0,0,0,0.6),
    0 0 0 1px rgba(6,182,212,0.15) inset;
}

.fc-slide.adjacent-left .fc-slide-card,
.fc-slide.adjacent-right .fc-slide-card {
  border-color: rgba(6,182,212,0.15);
  box-shadow:
    0 0 25px -5px rgba(6,182,212,0.12),
    0 15px 40px -15px rgba(0,0,0,0.5);
}

/* Glow overlay on cards */
.fc-slide-glow {
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: linear-gradient(135deg, rgba(6,182,212,0.12), transparent 40%, transparent 60%, rgba(6,182,212,0.08));
  pointer-events: none;
  z-index: 0;
}

.fc-slide.active .fc-slide-glow {
  opacity: 1;
}

.fc-slide.adjacent-left .fc-slide-glow,
.fc-slide.adjacent-right .fc-slide-glow {
  opacity: 0.5;
}

/* Card header with icon + title */
.fc-slide-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-text-2);
  border-bottom: 1px solid var(--tv-border);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.fc-slide.active .fc-slide-header {
  color: var(--tv-teal);
}

.fc-slide-header i {
  font-size: 12px;
}

/* Screenshot area */
.fc-slide-img {
  height: 286px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.fc-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder — legacy icon fallback */
.fc-slide-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6,182,212,0.04), rgba(59,130,246,0.04));
}

.fc-slide-placeholder i {
  font-size: 48px;
  opacity: 0.1;
  background: linear-gradient(135deg, var(--tv-teal), var(--tv-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(2);
}

.fc-slide-img.no-img img { display: none; }
.fc-slide-img.no-img .fc-slide-placeholder { display: flex; }

/* =====================================================
   FEATURE SHOWCASE — single large panel with fading slides
   Text overlay (left 40%) with gradient fade + tab strip below
   ===================================================== */
.landing-features .fc-carousel { display: none; }
.landing-features {
  padding: 100px 0 100px;
}

.showcase {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.showcase-viewport {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0b0e;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 40px 100px -30px rgba(0,0,0,0.7);
}

/* Slides stacked — only active is visible via opacity.
   NB: override the base .fc-slide rule's hardcoded width: 500px from the
   old 3D carousel — in showcase mode each slide fills the viewport. */
.showcase-viewport .showcase-slide {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
  pointer-events: none;
  transform: none !important;
  cursor: default;
}
.showcase-viewport .showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide card fills the viewport */
.showcase-viewport .fc-slide-card {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.showcase-viewport .fc-slide-glow { display: none; }

/* Media fills the entire viewport */
.showcase-viewport .fc-slide-img.fc-mock,
.showcase-viewport .fc-slide-img.fc-video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  border-radius: 0;
  padding: 0;
}

/* Scale mockup content up for the bigger canvas */
.showcase-viewport .fc-slide-img.fc-mock {
  padding: 40px 48px 40px 45%;  /* left padding makes room for text overlay */
  justify-content: center;
}
.showcase-viewport .fc-mock-eyebrow { font-size: 11px; padding-bottom: 14px; }
.showcase-viewport .fc-mock-chart { height: 120px; }
.showcase-viewport .fc-mock-row { padding: 10px 0; }
.showcase-viewport .fc-mock-sym { font-size: 14px; }
.showcase-viewport .fc-mock-val { font-size: 14px; }
.showcase-viewport .fc-mock-pill { font-size: 10px; padding: 3px 9px; }
.showcase-viewport .fc-mock-stat-v { font-size: 20px; }
.showcase-viewport .fc-mock-stat-l { font-size: 9px; }
.showcase-viewport .fc-mock-code { font-size: 14px; }
.showcase-viewport .fc-mock-code-indent { padding-left: 18px; }
.showcase-viewport .fc-mock-sym--big { font-size: 24px; }
.showcase-viewport .fc-mock-val--big { font-size: 20px; }
.showcase-viewport .fc-mock-note { font-size: 12px; }
.showcase-viewport .fc-mock-tag { font-size: 10px; padding: 4px 10px; }
.showcase-viewport .fc-mock-bars { height: 180px; }
.showcase-viewport .fc-mock-bar-col span { font-size: 10px; }
.showcase-viewport .fc-mock-bar-col em { font-size: 11px; top: -16px; }
.showcase-viewport .fc-mock-mc { padding: 12px 14px; }
.showcase-viewport .fc-mock-mc-name { font-size: 14px; }
.showcase-viewport .fc-mock-mc-stats { font-size: 12px; }

/* Video: fill viewport but keep the tilted frame styling */
.showcase-viewport .fc-slide-img.fc-video {
  padding: 50px 50px 50px 46%;  /* left gap for text overlay */
  background:
    linear-gradient(175deg, #0d0e12 0%, #07080a 100%);
}
.showcase-viewport .fc-slide-img.fc-video::before {
  /* Move the glow backdrop right so it doesn't compete with the text overlay */
  top: -10%; left: 72%;
  width: 60%; height: 120%;
  transform: translateX(-50%);
}
.showcase-viewport .fc-video-frame {
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.8),
    0 20px 40px -15px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px -15px color-mix(in srgb, var(--fc-video-accent) 45%, transparent);
}
.showcase-viewport .fc-video-label {
  display: none;  /* eyebrow moves to overlay */
}
.showcase-viewport .fc-video-corners {
  inset: 40px 40px 40px 44%;
}

/* ---- TEXT OVERLAY — left 45% with gradient fade ---- */
.showcase-viewport .fc-slide-text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  padding: 70px 60px 70px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg,
    rgba(7,8,10,0.98) 0%,
    rgba(7,8,10,0.94) 40%,
    rgba(7,8,10,0.75) 65%,
    rgba(7,8,10,0.35) 85%,
    transparent 100%);
  text-align: left;
  z-index: 10;
  pointer-events: none;
}

.showcase-viewport .fc-slide-text::before {
  content: attr(data-feature-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--showcase-accent, #22d3ee);
  margin-bottom: 18px;
}

/* Per-slide accent driven by data-feature on the parent */
.showcase-viewport .showcase-slide[data-feature="signals"]     { --showcase-accent: #22d3ee; }
.showcase-viewport .showcase-slide[data-feature="editor"]      { --showcase-accent: #60a5fa; }
.showcase-viewport .showcase-slide[data-feature="screener"]    { --showcase-accent: #a78bfa; }
.showcase-viewport .showcase-slide[data-feature="backtest"]    { --showcase-accent: #34d399; }
.showcase-viewport .showcase-slide[data-feature="forward"]     { --showcase-accent: #f5d76e; }
.showcase-viewport .showcase-slide[data-feature="tracking"]    { --showcase-accent: #f472b6; }
.showcase-viewport .showcase-slide[data-feature="journal"]     { --showcase-accent: #fbbf24; }
.showcase-viewport .showcase-slide[data-feature="analytics"]   { --showcase-accent: #22d3ee; }
.showcase-viewport .showcase-slide[data-feature="marketplace"] { --showcase-accent: #a78bfa; }

.showcase-viewport .fc-slide-text h3 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--tv-text);
}

.showcase-viewport .fc-slide-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tv-text-2);
  margin: 0;
  max-width: 420px;
}

/* Special gold treatment for the Forward Testing feature title */
.showcase-viewport .showcase-slide[data-feature="forward"] .fc-slide-text h3 {
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 45%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Tab strip below the viewport ---- */
.showcase-tabs {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  padding: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-tabs::-webkit-scrollbar { display: none; }

.showcase-tab {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--tv-text-3);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.25s, color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
}
.showcase-tab i { font-size: 13px; opacity: 0.8; }

.showcase-tab:hover {
  color: var(--tv-text-2);
  background: rgba(255,255,255,0.025);
}
.showcase-tab.is-active {
  background: rgba(255,255,255,0.06);
  color: var(--tv-text);
}

/* Auto-advance progress bar on active tab */
.showcase-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--tv-teal);
  border-radius: 1px;
  transform-origin: left;
  animation: fc-tab-progress 8s linear forwards;
}
@keyframes fc-tab-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.showcase-viewport .showcase-slide[data-feature="forward"].is-active ~ .showcase-tabs .showcase-tab.is-active::after {
  background: linear-gradient(90deg, #f5d76e, #b8860b);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .showcase-viewport { height: 640px; }
  .showcase-viewport .fc-slide-text {
    width: 100%;
    top: auto;
    bottom: 0;
    height: auto;
    padding: 28px 28px 32px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(7,8,10,0.6) 20%,
      rgba(7,8,10,0.95) 55%,
      rgba(7,8,10,1) 100%);
  }
  .showcase-viewport .fc-slide-text h3 { font-size: 32px; margin-bottom: 12px; }
  .showcase-viewport .fc-slide-text p { font-size: 14px; max-width: 100%; }

  .showcase-viewport .fc-slide-img.fc-video,
  .showcase-viewport .fc-slide-img.fc-mock {
    padding: 30px 30px 260px;
  }
  .showcase-viewport .fc-video-corners { inset: 20px 20px 260px 20px; }
}
@media (max-width: 640px) {
  .showcase { padding: 0 16px; }
  .showcase-viewport { height: 580px; border-radius: 14px; }
  .showcase-viewport .fc-slide-text h3 { font-size: 26px; }
  .showcase-tab { padding: 10px 12px; font-size: 12px; }
  .showcase-tab i { display: none; }
}

/* =====================================================
   FC VIDEO FRAME — real product screen recordings
   Magazine-style composition: tilted browser frame,
   glowing backdrop, floating data chips, corner marks,
   scan-line pulse. Transforms a raw clip into a hero shot.
   ===================================================== */
.fc-slide-img.fc-video {
  --fc-video-accent: #22d3ee;
  --fc-video-accent-2: #06b6d4;
  position: relative;
  background:
    linear-gradient(175deg, #0d0e12 0%, #07080a 100%);
  padding: 28px 24px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  perspective: 1400px;
}

/* Ambient glow backdrop — tone-colored radial bloom */
.fc-slide-img.fc-video::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 140%;
  height: 140%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 30%,
    color-mix(in srgb, var(--fc-video-accent) 22%, transparent) 0%,
    transparent 55%);
  filter: blur(30px);
  pointer-events: none;
}

/* Grid pattern overlay — very subtle */
.fc-slide-img.fc-video::after {
  content: '';
  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: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  pointer-events: none;
}

/* Per-tone accents drive the glow */
.fc-slide-img.fc-video[data-tone="teal"]   { --fc-video-accent: #22d3ee; --fc-video-accent-2: #06b6d4; }
.fc-slide-img.fc-video[data-tone="blue"]   { --fc-video-accent: #60a5fa; --fc-video-accent-2: #3b82f6; }
.fc-slide-img.fc-video[data-tone="purple"] { --fc-video-accent: #a78bfa; --fc-video-accent-2: #8b5cf6; }
.fc-slide-img.fc-video[data-tone="green"]  { --fc-video-accent: #34d399; --fc-video-accent-2: #10b981; }
.fc-slide-img.fc-video[data-tone="gold"]   { --fc-video-accent: #f5d76e; --fc-video-accent-2: #b8860b; }
.fc-slide-img.fc-video[data-tone="pink"]   { --fc-video-accent: #f472b6; --fc-video-accent-2: #ec4899; }
.fc-slide-img.fc-video[data-tone="amber"]  { --fc-video-accent: #fbbf24; --fc-video-accent-2: #f59e0b; }

/* Browser window frame — tilted for magazine-style composition */
.fc-video-frame {
  position: relative;
  flex: 1;
  border-radius: 8px;
  background: #0a0b0e;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: 2;
  transform: perspective(1200px) rotateX(2deg) rotateY(-3deg);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.8),
    0 15px 30px -15px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 40px -10px color-mix(in srgb, var(--fc-video-accent) 40%, transparent);
}

.feature-grid .fc-slide-card:hover .fc-video-frame {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1.02);
}

/* Glowing scan-line sweeping the frame edge */
.fc-video-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(125deg,
    transparent 40%,
    color-mix(in srgb, var(--fc-video-accent) 80%, transparent) 50%,
    transparent 60%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.fc-slide.in-view .fc-video-frame::before,
.feature-grid .fc-slide-card:hover .fc-video-frame::before {
  animation: fc-scanline 4s ease-in-out infinite;
}
@keyframes fc-scanline {
  0%, 100% { opacity: 0; background-position: 0% 0%; }
  50% { opacity: 0.8; background-position: 100% 100%; }
}

/* Browser chrome */
.fc-video-chrome {
  height: 24px;
  background: #13141a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 3;
}

.fc-video-lights { display: flex; gap: 5px; }
.fc-video-lights span {
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
}
.fc-video-lights span:nth-child(1) { background: #ff5f57; }
.fc-video-lights span:nth-child(2) { background: #febc2e; }
.fc-video-lights span:nth-child(3) { background: #28c840; }

.fc-video-url {
  flex: 1;
  text-align: center;
  padding: 2px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
  max-width: 220px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Video body */
.fc-video-body {
  position: relative;
  width: 100%;
  height: calc(100% - 24px);
  overflow: hidden;
  background: #0a0b0e;
}
.fc-video-body video,
.fc-video-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* In showcase mode, use contain so non-16:9 clips aren't cropped */
.showcase-viewport .fc-video-body video,
.showcase-viewport .fc-video-body img {
  object-fit: contain;
  object-position: center;
  background: #0a0b0e;
}

/* Subtle vignette on the video so edges fade into the frame */
.fc-video-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ---------- Floating data chips ---------- */
.fc-video-chip {
  position: absolute;
  z-index: 5;
  padding: 7px 12px;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow:
    0 8px 20px -6px rgba(0,0,0,0.6),
    0 0 0 1px color-mix(in srgb, var(--fc-video-accent) 30%, transparent) inset;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fc-slide.in-view .fc-video-chip,
.feature-grid .fc-slide-card:hover .fc-video-chip {
  transform: translateY(0);
  opacity: 1;
}
.fc-slide.in-view .fc-video-chip:nth-of-type(1),
.feature-grid .fc-slide-card:hover .fc-video-chip:nth-of-type(1) { transition-delay: 0.6s; }
.fc-slide.in-view .fc-video-chip:nth-of-type(2),
.feature-grid .fc-slide-card:hover .fc-video-chip:nth-of-type(2) { transition-delay: 0.9s; }
.fc-slide.in-view .fc-video-chip:nth-of-type(3),
.feature-grid .fc-slide-card:hover .fc-video-chip:nth-of-type(3) { transition-delay: 1.2s; }

/* Chip accent dot */
.fc-video-chip::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fc-video-accent);
  box-shadow: 0 0 8px currentColor;
}
.fc-video-chip--live::before {
  background: #10b981;
  animation: fc-mock-pulse 1.8s ease-out infinite;
}
.fc-video-chip--gold::before { background: #f5d76e; }

/* Chip positions */
.fc-video-chip--tl { top: 10px; left: 12px; }
.fc-video-chip--tr { top: 10px; right: 12px; }
.fc-video-chip--bl { bottom: 14px; left: 12px; }
.fc-video-chip--br { bottom: 14px; right: 12px; }

/* Chip value styling */
.fc-video-chip strong {
  color: var(--fc-video-accent);
  font-weight: 700;
}
.fc-video-chip--gold strong {
  background: linear-gradient(135deg, #f5d76e, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Corner accent marks ---------- */
.fc-video-corners {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  z-index: 3;
}
.fc-video-corners::before,
.fc-video-corners::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid color-mix(in srgb, var(--fc-video-accent) 60%, transparent);
}
.fc-video-corners::before {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}
.fc-video-corners::after {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}

/* ---------- Eyebrow label above the video ---------- */
.fc-video-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fc-video-accent);
  padding: 4px 12px;
  background: rgba(13,15,20,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--fc-video-accent) 35%, transparent);
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.fc-slide.in-view .fc-video-label,
.feature-grid .fc-slide-card:hover .fc-video-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.3s;
}

/* =====================================================
   FC MOCK CARDS — Real trading platform dashboards
   Terminal aesthetic: dense, monospaced, grid-aligned
   ===================================================== */
.fc-slide-img.fc-mock {
  position: relative;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    linear-gradient(180deg, #0f1014 0%, #08090c 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'SF Mono', 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
  overflow: hidden;
}

/* Subtle grid pattern overlay — like a Bloomberg terminal */
.fc-slide-img.fc-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.fc-slide-img.fc-mock > * { position: relative; z-index: 1; }

/* Eyebrow label — looks like a terminal panel title */
.fc-mock-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fc-accent, #22d3ee);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fc-mock-eyebrow i { font-size: 10px; opacity: 0.85; }

/* Per-tone accent colors (drive eyebrow + highlights) */
.fc-mock[data-tone="teal"]   { --fc-accent: #22d3ee; }
.fc-mock[data-tone="blue"]   { --fc-accent: #60a5fa; }
.fc-mock[data-tone="purple"] { --fc-accent: #a78bfa; }
.fc-mock[data-tone="green"]  { --fc-accent: #34d399; }
.fc-mock[data-tone="gold"]   { --fc-accent: #f5d76e; }
.fc-mock[data-tone="pink"]   { --fc-accent: #f472b6; }
.fc-mock[data-tone="amber"]  { --fc-accent: #fbbf24; }

/* Live pulsing dot for Forward Test card */
.fc-mock-livedot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: fc-mock-pulse 1.8s ease-out infinite;
}
@keyframes fc-mock-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ---- Shared primitives ---- */
.fc-mock-chart {
  width: 100%;
  height: 72px;
}

.fc-mock-sym {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  font-family: inherit;
}
.fc-mock-sym--big { font-size: 18px; letter-spacing: -0.01em; }

.fc-mock-val {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.fc-mock-val--pos { color: #22c55e; }
.fc-mock-val--neg { color: #ef4444; }
.fc-mock-val--big { font-size: 16px; font-weight: 700; }

.fc-mock-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
  text-align: center;
  min-width: 36px;
}
.fc-mock-pill--buy {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.35);
}
.fc-mock-pill--sell {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.35);
}

.fc-mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fc-mock-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fc-mock-stat-l {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.fc-mock-stat-v {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.fc-mock-stat-v--pos { color: #22c55e; }
.fc-mock-stat-v--gold {
  background: linear-gradient(135deg, #f5d76e, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Signals card rows ---- */
.fc-mock-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-mock-row {
  display: grid;
  grid-template-columns: 48px auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fc-mock-row:last-child { border-bottom: none; }

/* ---- Strategy editor code ---- */
.fc-mock-code {
  font-size: 11px;
  line-height: 1.5;
  font-family: inherit;
}
.fc-mock-code-line {
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-mock-code-indent { padding-left: 14px; }
.fc-code-k { color: #60a5fa; }                /* keywords */
.fc-code-s { color: #22d3ee; }                /* identifiers */
.fc-code-n { color: #fbbf24; }                /* numbers */
.fc-code-v { color: #a78bfa; }                /* values */

/* ---- Screener mini table ---- */
.fc-mock-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-mock-tr {
  display: grid;
  grid-template-columns: 52px 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}
.fc-mock-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.fc-mock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fc-accent), #fff);
  opacity: 0.85;
  border-radius: 1px;
}

/* ---- Position tracking card ---- */
.fc-mock-position {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.fc-mock-position-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.fc-mock-position-bar {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin: 8px 0 4px;
}
.fc-mock-pb-stop, .fc-mock-pb-entry, .fc-mock-pb-current, .fc-mock-pb-target {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 10px;
  border-radius: 1px;
}
.fc-mock-pb-stop    { left: 0%;   background: #ef4444; }
.fc-mock-pb-entry   { left: 17%;  background: rgba(255,255,255,0.7); }
.fc-mock-pb-current { left: 72%;  background: var(--fc-accent); height: 14px; top: -5px; box-shadow: 0 0 6px currentColor; }
.fc-mock-pb-target  { left: 100%; background: #22c55e; transform: translateX(-2px); }
.fc-mock-position-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
}
.fc-mock-position-now {
  color: var(--fc-accent);
  font-weight: 700;
}

/* ---- Journal card ---- */
.fc-mock-journal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-mock-journal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fc-mock-journal-grade i {
  color: var(--fc-accent);
  font-size: 11px;
  margin-left: 1px;
}
.fc-mock-journal-grade i.far { color: rgba(255,255,255,0.15); }
.fc-mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fc-mock-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}
.fc-mock-note {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- Analytics bars ---- */
.fc-mock-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
  height: 130px;
  padding-top: 8px;
}
.fc-mock-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.fc-mock-bar-v {
  width: 80%;
  background: linear-gradient(180deg, var(--fc-accent), rgba(34,211,238,0.2));
  border-radius: 2px 2px 0 0;
  position: relative;
}
.fc-mock-bar-col span {
  font-size: 8px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.fc-mock-bar-col em {
  position: absolute;
  top: -14px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: var(--fc-accent);
}
.fc-mock-bar-v em { /* relative parent */ }

/* ---- Marketplace cards ---- */
.fc-mock-marketcards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-mock-mc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 11px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}
.fc-mock-mc--featured {
  background: linear-gradient(135deg, rgba(230,184,74,0.1), rgba(184,134,11,0.05));
  border-color: rgba(230,184,74,0.35);
}
.fc-mock-mc-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.fc-mock-mc--featured .fc-mock-mc-name {
  background: linear-gradient(135deg, #f5d76e, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fc-mock-mc-stats {
  display: flex;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  font-variant-numeric: tabular-nums;
}
.fc-mock-mc-stats span:first-child { color: #22c55e; }

/* Text below card */
.fc-slide-text {
  padding: 16px 4px 0;
  text-align: center;
}

.fc-slide-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tv-text);
}

.fc-slide-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tv-text-2);
  margin: 0;
  max-width: 320px;
  margin: 0 auto;
}

/* Navigation dots */
.fc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.fc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tv-text-3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.fc-dot:hover {
  background: var(--tv-text-2);
}

.fc-dot.active {
  background: var(--tv-teal);
  width: 24px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1023px) {
  .fc-slide { flex: 0 0 280px; }
  .fc-slide-img { height: 180px; }
  .fc-track { gap: 20px; }
}

@media (max-width: 767px) {
  .fc-slide { flex: 0 0 260px; }
  .fc-slide-img { height: 160px; }
  .fc-slide.active { transform: scale(1); }
  .fc-slide.adjacent { transform: scale(0.88); }
  .fc-track { gap: 12px; }
  .fc-slide-text p { font-size: 13px; }
}

/* =====================================================
   PRICING
   ===================================================== */
.landing-pricing {
  padding: 120px 0 120px;
  background: var(--tv-surface);
  position: relative;
  overflow: hidden;
}

/* Curved top divider */
.landing-pricing-curve {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--tv-surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* 4-tier layout — Starter, Pro (pop), Elite, Elite+ (flagship) */
.landing-pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  max-width: 1280px;
  gap: 20px;
}
.landing-pricing-grid--4 .landing-pcard:not(.landing-pcard--pop):not(.landing-pcard--eliteplus) {
  height: auto;
  padding: 34px 26px;
}
.landing-pricing-grid--4 .landing-pcard--pop {
  height: auto;
  padding: 40px 28px;
}
/* 3-tier while Elite+ is hidden (2026-10-08) — same card styling, three columns */
@media (min-width: 1101px) {
  .landing-pricing-grid--4.landing-pricing-grid--3up {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}
.landing-pricing-grid--4 .landing-pcard--eliteplus {
  padding: 34px 26px;
}
.landing-pricing-grid--4 .landing-pcard h3 { font-size: 15px; margin-bottom: 12px; }
.landing-pricing-grid--4 .landing-pcard-price { font-size: 46px; }
.landing-pricing-grid--4 .landing-pcard-price span:not(.landing-price-monthly):not(.landing-price-yearly):not(.landing-price-strike) {
  font-size: 15px;
}
.landing-pricing-grid--4 .landing-pcard-desc {
  font-size: 13px;
  min-height: 38px;
  margin-bottom: 18px;
}
.landing-pricing-grid--4 .landing-pcard ul {
  font-size: 13px;
}
.landing-pricing-grid--4 .landing-pcard ul li {
  padding: 6px 0;
  gap: 10px;
}
.landing-pricing-grid--4 .landing-pcard { min-height: 620px; }
.landing-pricing-grid--4 .landing-pcard ul { margin: 0 0 14px; padding: 0; }
.landing-pricing-grid--4 .landing-pcard .landing-btn {
  padding: 12px 18px;
  font-size: 13px;
}

/* ---- Free-tier banner (above the paid grid) ---- */
.landing-pricing-free {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 22px 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.landing-pricing-free::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--tv-grad);
}

.landing-pricing-free-left {
  flex: 1;
}

.landing-pricing-free-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tv-teal);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.landing-pricing-free h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--tv-text);
}

.landing-pricing-free p {
  margin: 0;
  font-size: 14px;
  color: var(--tv-text-2);
  line-height: 1.5;
}

.landing-pricing-free .landing-btn {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .landing-pricing-free {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
  }
  .landing-pricing-free .landing-btn {
    width: 100%;
    justify-content: center;
  }
}

.landing-pricing-sub {
  text-align: center;
  color: var(--tv-text-2);
  margin: -48px auto 48px;
  font-size: 15px;
}

/* Starter & Elite — exact same dimensions, smaller than Pro */
.landing-pricing-grid:not(.landing-pricing-grid--5) .landing-pcard:not(.landing-pcard--pop) {
  height: 540px;
}

/* ---- Elite+ flagship card (gold) ---- */
.landing-pcard--eliteplus {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(230,184,74,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #1a1612 0%, #120f0a 100%);
  border: 1px solid rgba(230,184,74,0.4);
  padding: 28px 22px;
  box-shadow:
    0 1px 0 rgba(245,215,110,0.1) inset,
    0 20px 40px -20px rgba(0,0,0,0.5),
    0 0 40px -15px rgba(230,184,74,0.25);
}
.landing-pcard--eliteplus::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 50%, #b8860b 100%);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 20px rgba(245,215,110,0.4);
}
.landing-pcard--eliteplus:hover {
  border-color: rgba(230,184,74,0.5);
  transform: translateY(-4px);
}
.landing-pcard--eliteplus h3 {
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 45%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-plus {
  font-weight: 900;
  background: linear-gradient(135deg, #f5d76e, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 1px;
}

/* ---- Featured inclusion box (Gold Plan, Pre-Close) ---- */
.landing-pcard-featured {
  position: relative;
  margin: 10px 0 14px;
  padding: 12px 12px;
  background:
    linear-gradient(135deg, rgba(230,184,74,0.1) 0%, rgba(184,134,11,0.04) 100%);
  border: 1px solid rgba(230,184,74,0.3);
  border-radius: 10px;
  box-shadow:
    0 0 24px -8px rgba(230,184,74,0.3),
    0 0 0 1px rgba(245,215,110,0.05) inset;
}

.landing-pcard-featured::before {
  content: '';
  position: absolute;
  top: -1px; left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,215,110,0.7), transparent);
}

.landing-pcard-featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.landing-pcard-featured--stacked .landing-pcard-featured-item + .landing-pcard-featured-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(230,184,74,0.15);
}

.landing-pcard-featured-item i {
  font-size: 18px;
  background: linear-gradient(135deg, #f5d76e, #e6b84a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(245,215,110,0.5));
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.landing-pcard-featured-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.landing-pcard-featured-item strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 50%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-pcard-featured-item span {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Gold feature line items (legacy inline variant — still used for bullets) */
.landing-pcard-gold {
  color: #f5d76e !important;
  font-weight: 600;
}
.landing-pcard-gold i {
  color: #f5d76e !important;
  text-shadow: 0 0 8px rgba(245,215,110,0.4);
}
.landing-pcard-gold strong {
  background: linear-gradient(135deg, #f5d76e, #e6b84a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Gold badge variant */
.landing-pcard-badge--gold {
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 50%, #b8860b 100%);
  color: #1a1408;
  box-shadow: 0 4px 20px rgba(230,184,74,0.35);
}

/* Gold button variant — matches .landing-btn--cta shape */
.landing-btn--gold {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1408 !important;
  background: linear-gradient(135deg, #f5d76e 0%, #e6b84a 50%, #b8860b 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(230,184,74,0.25);
  transition: all 0.3s ease;
}
.landing-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(230,184,74,0.45);
}
.landing-btn--gold:active { transform: translateY(0); }

/* Responsive — collapse 4-card layout on narrower screens */
@media (max-width: 1100px) {
  .landing-pricing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 740px;
  }
}
@media (max-width: 640px) {
  .landing-pricing-grid--4 {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

.landing-pcard {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(180deg, #12131a 0%, #0d0e14 100%);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 20px 40px -20px rgba(0,0,0,0.5);
}
.landing-pcard:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 40px -15px rgba(6,182,212,0.2);
}
.landing-pcard ul {
  flex: 1;
}
.landing-pcard .landing-btn {
  margin-top: auto;
}

/* Featured card — gradient border, larger, with background glow */
.landing-pcard--pop {
  background:
    radial-gradient(ellipse at top, rgba(6,182,212,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #13161f 0%, #0d0e14 100%);
  border: none;
  padding: 48px 36px;
  position: relative;
  height: 600px;
}
.landing-pcard--pop::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--tv-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.landing-pcard--pop::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.1) 0%, rgba(16,185,129,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.landing-pcard--pop:hover {
  transform: translateY(-4px);
}

.landing-pcard-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tv-grad);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 9999px;
  letter-spacing: 0.06em;
  z-index: 1;
}

.landing-pcard h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-pcard-price {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.04em;
}
.landing-pcard-price span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

.landing-price-strike {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.3) !important;
  text-decoration: line-through;
  margin-right: 8px;
  vertical-align: middle;
}

.landing-pcard-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 28px;
}

.landing-pcard ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}
.landing-pcard li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.landing-pcard li:last-child { border-bottom: none; }
.landing-pcard li i { color: var(--tv-green); font-size: 11px; flex-shrink: 0; }

/* Excluded features — dimmed with X icon */
.landing-pcard-excluded {
  opacity: 0.4;
}
.landing-pcard-excluded i {
  color: var(--tv-text-3) !important;
}

.landing-pcard .landing-btn { width: 100%; }

/* ---- Billing toggle ---- */
.landing-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.landing-toggle-pill {
  position: relative;
  display: inline-flex;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 100px;
  padding: 4px;
}

.landing-toggle-btn {
  position: relative;
  z-index: 1;
  padding: 10px 32px;
  border: none;
  background: transparent;
  color: var(--tv-text-3);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.25s;
  user-select: none;
  white-space: nowrap;
}
.landing-toggle-btn.active {
  color: #fff;
  font-weight: 700;
}

.landing-toggle-indicator {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--tv-grad);
  border-radius: 100px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.3);
}

.landing-toggle-save {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

/* =====================================================
   END CTA
   ===================================================== */
.landing-endcta {
  padding: 120px 0;
}

.landing-endcta-box {
  text-align: center;
  padding: 80px 40px;
  border-radius: 24px;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  position: relative;
  overflow: hidden;
}

.landing-endcta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.landing-endcta-box h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  position: relative;
}

.landing-endcta-box p {
  font-size: 18px;
  color: var(--tv-text-2);
  margin: 0 0 36px;
  position: relative;
}

/* =====================================================
   FOOTER
   ===================================================== */
.landing-footer {
  padding: 32px 0;
  border-top: 1px solid var(--tv-border);
}

.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.landing-footer-brand { display: flex; align-items: center; gap: 6px; }
.landing-footer-copy { font-size: 13px; color: var(--tv-text-3); }
.landing-footer-links { display: flex; gap: 20px; }
.landing-footer-links a { font-size: 13px; color: var(--tv-text-3); text-decoration: none; transition: color 0.2s; }
.landing-footer-links a:hover { color: var(--tv-text-2); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
.landing-fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.landing-fade-in.landing-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


/* =====================================================
   RESPONSIVE — Tablet
   ===================================================== */
@media (max-width: 1023px) {
  .landing-hero-content h1 { font-size: 60px; }
  .landing-hero-glass { padding: 40px 32px; }

  .landing-stats-grid { gap: 48px; }
  .landing-stat strong { font-size: 32px; }

  .landing-section-heading { font-size: 36px; }

  .landing-scroll-features {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .landing-scroll-visual { height: 360px; }

  .landing-pricing-grid { grid-template-columns: 1fr 1fr; }
  .landing-pcard:not(.landing-pcard--pop) { height: auto; }
  .landing-pcard:last-child { grid-column: 1 / -1; max-width: 380px; margin: 0 auto; }
}

/* =====================================================
   RESPONSIVE — Mobile
   ===================================================== */
@media (max-width: 767px) {
  .landing-nav-links { display: none; }
  /* Keep Log In visible on mobile, hide only the Early Access CTA */
  .landing-nav-actions { display: flex; gap: 8px; }
  .landing-nav-actions .landing-btn--cta-nav { display: none; }
  .landing-nav-actions .landing-btn--ghost {
    padding: 8px 14px;
    font-size: 13px;
  }
  .landing-nav-inner { padding: 0 16px; }
  .landing-hamburger { display: flex; }

  .landing-hero { min-height: 600px; padding-bottom: 32px; }
  .landing-hero-content { max-width: 100%; padding: 0 20px; }
  .landing-hero-content h1 {
    font-size: 52px;
    white-space: normal;
    line-height: 1;
  }
  .landing-hero-glass { padding: 32px 24px; }
  .landing-hero-sub { font-size: 16px; }
  .landing-hero-sub br { display: none; }
  .landing-hero-actions { flex-direction: column; gap: 12px; }
  .landing-email-form { flex-direction: column; border-radius: 16px; padding: 8px; }
  .landing-email-form .landing-btn { width: 100%; border-radius: 12px; }
  .landing-hero-image img { object-position: center 65%; }

  .landing-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .landing-stat strong { font-size: 30px; }

  .landing-section-heading { font-size: 30px; margin-bottom: 48px; }

  /* Sticky scroll — stack on mobile */
  .landing-scroll-features {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .landing-scroll-visual {
    position: relative;
    top: auto;
    transform: none;
    height: 280px;
    margin-bottom: 40px;
    order: -1;
  }
  .landing-scroll-item { padding: 32px 0 32px 24px; }
  .landing-scroll-item { opacity: 1; }
  .landing-scroll-accent { opacity: 1; }

  .landing-pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .landing-pcard:not(.landing-pcard--pop) { height: auto; }
  .landing-pcard:last-child { max-width: none; }
  .landing-pcard--pop { transform: none; }
  .landing-pcard--pop:hover { transform: translateY(-4px); }

  .landing-endcta-box { padding: 48px 24px; }
  .landing-endcta-box h2 { font-size: 30px; }

  .landing-footer-inner { flex-direction: column; text-align: center; }
}

/* =====================================================
   LIVE FORWARD TEST WIDGET
   ===================================================== */
:root {
  --tv-gold: #e6b84a;
  --tv-gold-bright: #f5d76e;
  --tv-gold-deep: #b8860b;
  --tv-gold-grad: linear-gradient(135deg, #f5d76e 0%, #e6b84a 45%, #b8860b 100%);
}

.landing-live {
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(180deg, var(--tv-bg) 0%, #0a0805 50%, var(--tv-bg) 100%);
  overflow: hidden;
}

.landing-live::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  width: 900px; height: 500px;
  margin-left: -450px;
  background: radial-gradient(ellipse, rgba(184,134,11,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.landing-live > * { position: relative; z-index: 1; }

.landing-live .landing-section-eyebrow {
  color: var(--tv-gold);
}

.landing-live-lede {
  max-width: 720px;
  margin: -48px auto 56px;
  text-align: center;
  color: var(--tv-text-2);
  font-size: 17px;
  line-height: 1.6;
}

.live-widget {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse at top, rgba(230,184,74,0.08) 0%, transparent 55%),
    linear-gradient(145deg, rgba(28,24,18,0.95), rgba(14,12,10,0.97));
  border: 1px solid rgba(230,184,74,0.22);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(230,184,74,0.06),
    0 30px 100px rgba(0,0,0,0.7),
    0 0 60px rgba(230,184,74,0.12),
    0 0 140px rgba(184,134,11,0.10),
    inset 0 1px 0 rgba(245,215,110,0.10);
  overflow: hidden;
}

/* Ambient gold glow — sits behind the card */
.live-widget::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  width: 600px; height: 300px;
  margin-left: -300px;
  background: radial-gradient(ellipse, rgba(230,184,74,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.live-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--tv-gold-grad);
  opacity: 1;
  box-shadow: 0 0 20px rgba(245,215,110,0.5);
}

.live-widget-state { display: none; }
.live-widget[data-state="loading"] .live-widget-loading { display: flex; }
.live-widget[data-state="not_launched"] .live-widget-notlaunched { display: block; }
.live-widget[data-state="live"] .live-widget-live { display: block; }

/* ---- Loading state ---- */
.live-widget-loading {
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  color: var(--tv-text-2);
  font-size: 15px;
}

.live-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--tv-teal);
  border-radius: 50%;
  animation: live-spin 0.8s linear infinite;
}

@keyframes live-spin { to { transform: rotate(360deg); } }

/* ---- Not-launched state ---- */
.live-widget-notlaunched {
  text-align: center;
  padding: 24px 0;
}

.live-notlaunched-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(230,184,74,0.12);
  border: 1px solid rgba(230,184,74,0.45);
  color: var(--tv-gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(230,184,74,0.18);
}

.live-widget-notlaunched h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--tv-text);
}

.live-widget-notlaunched p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--tv-text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Live state ---- */
.live-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.live-widget-title h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tv-text);
}

.live-widget-title h3 .live-name {
  background: var(--tv-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--tv-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.live-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--tv-green);
  letter-spacing: 0.12em;
}

.live-widget-since {
  display: block;
  font-size: 12px;
  color: var(--tv-text-3);
  font-weight: 500;
}

.live-widget-link {
  color: var(--tv-gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.live-widget-link:hover { color: var(--tv-gold-bright); }
.live-widget-link i { font-size: 11px; }

.live-widget-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: end;
}

.live-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.live-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--tv-text-3);
  text-transform: uppercase;
}

.live-stat-value {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tv-text);
  font-variant-numeric: tabular-nums;
}

.live-stat-value--secondary {
  font-size: 28px;
  color: var(--tv-text-2);
}

.live-stat--primary .live-stat-label { color: var(--tv-gold); }

.live-stat--primary .live-stat-value {
  background: var(--tv-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(245,215,110,0.25));
}

.live-stat--perf .live-stat-value { color: var(--tv-green); }
.live-stat--perf .live-stat-value.is-negative { color: #ef4444; }

.live-widget-sparkline {
  width: 100%;
  height: 80px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.live-widget-sparkline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.live-widget-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}

.live-ministat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.live-ministat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--tv-text-3);
  text-transform: uppercase;
}

.live-ministat-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--tv-text);
  font-variant-numeric: tabular-nums;
}

.live-widget-lasttrade {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 16px;
}

.live-lasttrade-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tv-text-3);
  text-transform: uppercase;
}

.live-lasttrade-content {
  font-size: 14px;
  font-weight: 600;
  color: var(--tv-text);
  font-variant-numeric: tabular-nums;
}

.live-widget-foot {
  text-align: center;
  font-size: 11px;
  color: var(--tv-text-3);
  letter-spacing: 0.02em;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .live-widget {
    padding: 28px 20px;
    border-radius: 20px;
    margin: 0 -4px;  /* tiny negative margin to maximize usable width on small screens */
  }
  .live-widget-body {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }
  .live-stat-value { font-size: 36px; }
  .live-stat-value--secondary { font-size: 22px; }
  .live-widget-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .live-widget-header { flex-direction: column; align-items: flex-start; }
  .live-widget-link { font-size: 12px; }
  .live-widget-lasttrade {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .live-lasttrade-content { font-size: 13px; }
  .landing-live { padding: 80px 0 40px; }
  .landing-live-lede {
    margin-top: -32px;
    margin-bottom: 40px;
    font-size: 15px;
    padding: 0 4px;
  }
  .landing-live::before {
    width: 100%;
    margin-left: 0;
    left: 0;
  }
  .live-widget::after {
    width: 100%;
    margin-left: 0;
    left: 0;
  }
}

@media (max-width: 480px) {
  .landing-hero-content h1 { font-size: 42px; }
  .live-stat-value { font-size: 32px; }
  .live-stat-value--secondary { font-size: 20px; }
  .live-widget-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .live-ministat-value { font-size: 15px; }
}

/* =====================================================
   FC MOCK ANIMATIONS — scroll-triggered reveals + hover replay
   Cards play a ~2s reveal sequence when they enter the viewport
   and replay the sequence on hover. GPU-only (transform/opacity).
   ===================================================== */

/* All animated elements start hidden until .in-view is added */
.fc-slide .fc-mock-chart path[stroke],
.fc-slide .fc-mock-chart circle,
.fc-slide .fc-mock-row,
.fc-slide .fc-mock-code-line,
.fc-slide .fc-mock-tr,
.fc-slide .fc-mock-tr .fc-mock-bar span,
.fc-slide .fc-mock-stats > div,
.fc-slide .fc-mock-position-head,
.fc-slide .fc-mock-pb-stop,
.fc-slide .fc-mock-pb-entry,
.fc-slide .fc-mock-pb-current,
.fc-slide .fc-mock-pb-target,
.fc-slide .fc-mock-position-labels,
.fc-slide .fc-mock-journal-head,
.fc-slide .fc-mock-journal-grade i,
.fc-slide .fc-mock-tag,
.fc-slide .fc-mock-note,
.fc-slide .fc-mock-bar-col .fc-mock-bar-v,
.fc-slide .fc-mock-bar-col em,
.fc-slide .fc-mock-mc {
  will-change: transform, opacity;
}

.fc-slide .fc-mock-chart path[fill]:not([stroke]) { opacity: 0; }

/* Chart line draw-in */
.fc-slide .fc-mock-chart path[stroke] {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.fc-slide.in-view .fc-mock-chart path[stroke],
.feature-grid .fc-slide-card:hover .fc-mock-chart path[stroke] {
  animation: fc-draw 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes fc-draw {
  from { stroke-dashoffset: 600; }
  to   { stroke-dashoffset: 0; }
}

/* Chart fill fade-in */
.fc-slide.in-view .fc-mock-chart path[fill]:not([stroke]),
.feature-grid .fc-slide-card:hover .fc-mock-chart path[fill]:not([stroke]) {
  animation: fc-fade 1.2s ease-out 0.8s forwards;
}
@keyframes fc-fade {
  to { opacity: 1; }
}

/* Signal dots — pop in after chart draws */
.fc-slide .fc-mock-chart circle {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transform-box: fill-box;
}
.fc-slide.in-view .fc-mock-chart circle:nth-of-type(1),
.feature-grid .fc-slide-card:hover .fc-mock-chart circle:nth-of-type(1) {
  animation: fc-pop 0.5s cubic-bezier(0.22, 1.4, 0.42, 1) 0.9s forwards;
}
.fc-slide.in-view .fc-mock-chart circle:nth-of-type(2),
.feature-grid .fc-slide-card:hover .fc-mock-chart circle:nth-of-type(2) {
  animation: fc-pop 0.5s cubic-bezier(0.22, 1.4, 0.42, 1) 1.3s forwards;
}
.fc-slide.in-view .fc-mock-chart circle:nth-of-type(3),
.feature-grid .fc-slide-card:hover .fc-mock-chart circle:nth-of-type(3) {
  animation: fc-pop 0.5s cubic-bezier(0.22, 1.4, 0.42, 1) 1.7s forwards;
}
@keyframes fc-pop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* Signal ticker rows — slide in staggered */
.fc-slide .fc-mock-row {
  opacity: 0;
  transform: translateX(-12px);
}
.fc-slide.in-view .fc-mock-row:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-row:nth-child(1) {
  animation: fc-slide-in 0.5s ease-out 1.9s forwards;
}
.fc-slide.in-view .fc-mock-row:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-row:nth-child(2) {
  animation: fc-slide-in 0.5s ease-out 2.1s forwards;
}
.fc-slide.in-view .fc-mock-row:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-row:nth-child(3) {
  animation: fc-slide-in 0.5s ease-out 2.3s forwards;
}
@keyframes fc-slide-in {
  to { opacity: 1; transform: translateX(0); }
}

/* Strategy editor — type in lines */
.fc-slide .fc-mock-code-line {
  opacity: 0;
  transform: translateX(-8px);
}
.fc-slide.in-view .fc-mock-code-line,
.feature-grid .fc-slide-card:hover .fc-mock-code-line {
  animation: fc-slide-in 0.35s ease-out forwards;
}
.fc-slide.in-view .fc-mock-code-line:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(1) { animation-delay: 0.1s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(2) { animation-delay: 0.3s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(3) { animation-delay: 0.5s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(4),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(4) { animation-delay: 0.7s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(5),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(5) { animation-delay: 0.9s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(6),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(6) { animation-delay: 1.1s; }
.fc-slide.in-view .fc-mock-code-line:nth-child(7),
.feature-grid .fc-slide-card:hover .fc-mock-code-line:nth-child(7) { animation-delay: 1.3s; }

/* Screener rows */
.fc-slide .fc-mock-tr { opacity: 0; transform: translateX(-8px); }
.fc-slide .fc-mock-tr .fc-mock-bar span {
  transform: scaleX(0);
  transform-origin: left;
}
.fc-slide.in-view .fc-mock-tr:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(1) { animation: fc-slide-in 0.4s ease-out 0.1s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(2) { animation: fc-slide-in 0.4s ease-out 0.25s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(3) { animation: fc-slide-in 0.4s ease-out 0.4s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(4),
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(4) { animation: fc-slide-in 0.4s ease-out 0.55s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(5),
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(5) { animation: fc-slide-in 0.4s ease-out 0.7s forwards; }

.fc-slide.in-view .fc-mock-tr:nth-child(1) .fc-mock-bar span,
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(1) .fc-mock-bar span { animation: fc-grow-x 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(2) .fc-mock-bar span,
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(2) .fc-mock-bar span { animation: fc-grow-x 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(3) .fc-mock-bar span,
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(3) .fc-mock-bar span { animation: fc-grow-x 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(4) .fc-mock-bar span,
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(4) .fc-mock-bar span { animation: fc-grow-x 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards; }
.fc-slide.in-view .fc-mock-tr:nth-child(5) .fc-mock-bar span,
.feature-grid .fc-slide-card:hover .fc-mock-tr:nth-child(5) .fc-mock-bar span { animation: fc-grow-x 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards; }

@keyframes fc-grow-x {
  to { transform: scaleX(1); }
}

/* Backtesting + Forward Testing stats fade in after chart */
.fc-slide .fc-mock-stats > div { opacity: 0; transform: translateY(6px); }
.fc-slide.in-view .fc-mock-stats > div:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-stats > div:nth-child(1) {
  animation: fc-rise 0.5s ease-out 2.0s forwards;
}
.fc-slide.in-view .fc-mock-stats > div:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-stats > div:nth-child(2) {
  animation: fc-rise 0.5s ease-out 2.2s forwards;
}
.fc-slide.in-view .fc-mock-stats > div:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-stats > div:nth-child(3) {
  animation: fc-rise 0.5s ease-out 2.4s forwards;
}
@keyframes fc-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Position tracking card */
.fc-slide .fc-mock-position-head { opacity: 0; transform: translateY(-6px); }
.fc-slide .fc-mock-pb-stop,
.fc-slide .fc-mock-pb-entry,
.fc-slide .fc-mock-pb-target { opacity: 0; }
.fc-slide .fc-mock-pb-current {
  opacity: 0;
  left: 17% !important;  /* start at entry */
}
.fc-slide .fc-mock-position-labels { opacity: 0; }

.fc-slide.in-view .fc-mock-position-head,
.feature-grid .fc-slide-card:hover .fc-mock-position-head {
  animation: fc-rise 0.5s ease-out 0.2s forwards;
}
.fc-slide.in-view .fc-mock-pb-stop,
.feature-grid .fc-slide-card:hover .fc-mock-pb-stop { animation: fc-fade 0.4s ease-out 0.5s forwards; }
.fc-slide.in-view .fc-mock-pb-entry,
.feature-grid .fc-slide-card:hover .fc-mock-pb-entry { animation: fc-fade 0.4s ease-out 0.7s forwards; }
.fc-slide.in-view .fc-mock-pb-target,
.feature-grid .fc-slide-card:hover .fc-mock-pb-target { animation: fc-fade 0.4s ease-out 0.9s forwards; }
.fc-slide.in-view .fc-mock-pb-current,
.feature-grid .fc-slide-card:hover .fc-mock-pb-current {
  animation: fc-current-move 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
@keyframes fc-current-move {
  0%   { opacity: 0; left: 17%; }
  15%  { opacity: 1; left: 17%; }
  100% { opacity: 1; left: 72%; }
}
.fc-slide.in-view .fc-mock-position-labels,
.feature-grid .fc-slide-card:hover .fc-mock-position-labels {
  animation: fc-fade 0.5s ease-out 1.5s forwards;
}

/* Journal — stars fill in, tags pop in, note fades */
.fc-slide .fc-mock-journal-head { opacity: 0; transform: translateY(-4px); }
.fc-slide .fc-mock-journal-grade i {
  opacity: 0;
  transform: scale(0.3);
}
.fc-slide .fc-mock-tag { opacity: 0; transform: scale(0.8); }
.fc-slide .fc-mock-note { opacity: 0; }

.fc-slide.in-view .fc-mock-journal-head,
.feature-grid .fc-slide-card:hover .fc-mock-journal-head { animation: fc-rise 0.4s ease-out 0.15s forwards; }

.fc-slide.in-view .fc-mock-journal-grade i:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-journal-grade i:nth-child(1) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 0.5s forwards; }
.fc-slide.in-view .fc-mock-journal-grade i:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-journal-grade i:nth-child(2) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 0.65s forwards; }
.fc-slide.in-view .fc-mock-journal-grade i:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-journal-grade i:nth-child(3) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 0.80s forwards; }
.fc-slide.in-view .fc-mock-journal-grade i:nth-child(4),
.feature-grid .fc-slide-card:hover .fc-mock-journal-grade i:nth-child(4) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 0.95s forwards; }
.fc-slide.in-view .fc-mock-journal-grade i:nth-child(5),
.feature-grid .fc-slide-card:hover .fc-mock-journal-grade i:nth-child(5) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 1.10s forwards; }

.fc-slide.in-view .fc-mock-tag:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-tag:nth-child(1) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 1.3s forwards; }
.fc-slide.in-view .fc-mock-tag:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-tag:nth-child(2) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 1.45s forwards; }
.fc-slide.in-view .fc-mock-tag:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-tag:nth-child(3) { animation: fc-pop 0.4s cubic-bezier(0.22, 1.4, 0.42, 1) 1.6s forwards; }

.fc-slide.in-view .fc-mock-note,
.feature-grid .fc-slide-card:hover .fc-mock-note { animation: fc-fade 0.6s ease-out 1.9s forwards; }

/* Analytics bars — grow from bottom sequentially */
.fc-slide .fc-mock-bar-col .fc-mock-bar-v {
  transform: scaleY(0);
  transform-origin: bottom;
}
.fc-slide .fc-mock-bar-col em { opacity: 0; transform: translateY(4px); }

.fc-slide.in-view .fc-mock-bar-col:nth-child(1) .fc-mock-bar-v,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(1) .fc-mock-bar-v { animation: fc-grow-y 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(2) .fc-mock-bar-v,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(2) .fc-mock-bar-v { animation: fc-grow-y 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(3) .fc-mock-bar-v,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(3) .fc-mock-bar-v { animation: fc-grow-y 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(4) .fc-mock-bar-v,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(4) .fc-mock-bar-v { animation: fc-grow-y 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards; }

.fc-slide.in-view .fc-mock-bar-col:nth-child(1) em,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(1) em { animation: fc-rise 0.4s ease-out 0.9s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(2) em,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(2) em { animation: fc-rise 0.4s ease-out 1.05s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(3) em,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(3) em { animation: fc-rise 0.4s ease-out 1.2s forwards; }
.fc-slide.in-view .fc-mock-bar-col:nth-child(4) em,
.feature-grid .fc-slide-card:hover .fc-mock-bar-col:nth-child(4) em { animation: fc-rise 0.4s ease-out 1.35s forwards; }

@keyframes fc-grow-y {
  to { transform: scaleY(1); }
}

/* Marketplace cards slide up staggered */
.fc-slide .fc-mock-mc { opacity: 0; transform: translateY(8px); }
.fc-slide.in-view .fc-mock-mc:nth-child(1),
.feature-grid .fc-slide-card:hover .fc-mock-mc:nth-child(1) { animation: fc-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards; }
.fc-slide.in-view .fc-mock-mc:nth-child(2),
.feature-grid .fc-slide-card:hover .fc-mock-mc:nth-child(2) { animation: fc-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards; }
.fc-slide.in-view .fc-mock-mc:nth-child(3),
.feature-grid .fc-slide-card:hover .fc-mock-mc:nth-child(3) { animation: fc-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards; }

/* Gold marketplace card gets a continuous subtle shimmer */
.fc-mock-mc--featured {
  position: relative;
  overflow: hidden;
}
.fc-mock-mc--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(245,215,110,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
}
.fc-slide.in-view .fc-mock-mc--featured::before,
.feature-grid .fc-slide-card:hover .fc-mock-mc--featured::before {
  animation: fc-shimmer 2.8s ease-in-out 1s infinite;
}
@keyframes fc-shimmer {
  0%, 20% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fc-slide .fc-mock * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
