/* ============================================================
   LANDING PAGE — MaB Brand
   Condivide i design tokens globali con style.css (MaB Design System v2)
   Typography: Inter + IBM Plex Mono
   Brand: #E8A020 (unificato)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Typography (duplicato da style.css per pagine landing standalone) */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'JetBrains Mono', Consolas, monospace;
  --font-display: 'Inter', system-ui, sans-serif;

  --fs-xs:      11px;
  --fs-sm:      13px;
  --fs-base:    14px;
  --fs-md:      16px;
  --fs-lg:      20px;
  --fs-xl:      28px;
  --fs-2xl:     40px;
  --fs-3xl:     56px;
  --fs-display: clamp(64px, 8vw, 112px);

  --tracking-tight:  -0.03em;
  --tracking-snug:   -0.015em;
  --tracking-wide:   0.08em;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 56px;
  --space-16: 80px;
  --space-20: 120px;

  /* Brand unificato al resto del SaaS */
  --brand:       #E8A020;
  --brand-hi:    #F5B840;
  --brand-lo:    #C8880A;
  --brand-wash:  rgba(232, 160, 32, 0.08);
  --brand-edge:  rgba(232, 160, 32, 0.22);
  --brand-glow:  rgba(232, 160, 32, 0.35);
  /* Alias legacy per retrocompatibilità landing.css */
  --brand-dark:  var(--brand-lo);
  --brand-light: var(--brand-hi);

  /* Backgrounds a livelli */
  --bg-0: #08090c;
  --bg-1: #0e1016;
  --bg-2: #151821;
  --bg-3: #1c202b;
  /* Alias legacy */
  --black: var(--bg-0);
  --dark:  var(--bg-1);
  --card:  var(--bg-2);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-soft:   rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border:        var(--border-soft);

  /* Text */
  --text-hi:  #f4f5f8;
  --text-md:  #b4b8c5;
  --text-lo:  #6e7385;
  --text:     var(--text-hi);
  --muted:    var(--text-lo);

  /* Semantic */
  --bull:  #2fc77a;
  --bear:  #e85757;
  --green: var(--bull);
  --red:   var(--bear);

  /* Shadows */
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.35);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-lg:    0 12px 32px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
  --shadow-xl:    0 24px 64px rgba(0,0,0,0.6);
  --shadow-brand: 0 8px 28px rgba(232,160,32,0.22);

  /* Radii (unificato al resto) */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius:      var(--radius-md);

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap:   cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --dur-fast:    140ms;
  --dur-base:    220ms;
  --dur-slow:    380ms;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-hi);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01", "ss03";
}

.mono, code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-bracket { color: var(--brand); display: inline-block; }
.logo-word { display: inline-block; }

/* ── Animated logo reveal (navbar only, fires once on page load) ── */
.nav-logo--animated .logo-bracket--left {
  animation: logoBracketLeft 900ms var(--ease-smooth) both;
}
.nav-logo--animated .logo-bracket--right {
  animation: logoBracketRight 900ms var(--ease-smooth) both;
}
.nav-logo--animated .logo-word {
  animation: logoWordReveal 900ms var(--ease-out) both;
  animation-delay: 180ms;
}

@keyframes logoBracketLeft {
  0%   { transform: translateX(0.65em); opacity: 0; }
  45%  { transform: translateX(0.65em); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes logoBracketRight {
  0%   { transform: translateX(-0.65em); opacity: 0; }
  45%  { transform: translateX(-0.65em); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes logoWordReveal {
  0%, 40%  { opacity: 0; transform: scale(0.82) translateY(2px); letter-spacing: -0.15em; }
  100%     { opacity: 1; transform: scale(1) translateY(0); letter-spacing: -0.5px; }
}

/* Rispetta preferenze accessibilità: chi disabilita le animazioni non vede lo stato 0 */
@media (prefers-reduced-motion: reduce) {
  .nav-logo--animated .logo-bracket--left,
  .nav-logo--animated .logo-bracket--right,
  .nav-logo--animated .logo-word {
    animation: none;
  }
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 2px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.lang-btn:hover, .lang-btn.active { color: var(--brand); }
.lang-sep { color: var(--border); font-size: 12px; }

.btn-login {
  background: var(--brand);
  color: var(--black);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-login:hover { background: var(--brand-light); transform: translateY(-1px); }

/* ============================================================
   HERO — editorial asymmetric v2
   ============================================================ */
.hero {
  min-height: 100vh;
  /* Niente padding orizzontale sul section — è il .hero-inner a gestirlo
     per mantenere l'allineamento al pixel con .nav-inner della navbar. */
  padding: 120px 0 var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}

/* Background canvas con candele animate — riabilitato */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-6);   /* stesso padding orizzontale di .nav-inner */
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-12);
  align-items: center;
}

/* Eyebrow: micro-label mono con linea orizzontale */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-lo);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}
.hero-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--text-lo);
}

/* Titolo display editoriale */
.hero-title--display {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: var(--fw-semibold);
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
  color: var(--text-hi);
  margin-bottom: var(--space-10);
  text-wrap: balance;
}
/* Lingue verbose (IT/ES): il titolo wrappa su 5 righe visuali invece di 4
   ("che si muova." / "que se mueva." spezzano in 2 righe). Per mantenere
   identica la tipografia ma far entrare la CTA in viewport, compattiamo
   gli spazi VERTICALI attorno al titolo. Font-size, font-weight,
   letter-spacing del titolo restano IDENTICI all'EN. */
:lang(it) .hero,
:lang(es) .hero {
  padding-top: 88px;
  padding-bottom: var(--space-5);
}
:lang(it) .hero-eyebrow,
:lang(es) .hero-eyebrow {
  margin-bottom: var(--space-5);
}
:lang(it) .hero-title--display,
:lang(es) .hero-title--display {
  margin-bottom: var(--space-5);
  line-height: 0.92;
}
:lang(it) .hero-subtitle,
:lang(es) .hero-subtitle {
  margin-bottom: var(--space-5);
}
.hero-line {
  display: block;
}
.hero-line--italic {
  font-style: italic;
  font-weight: var(--fw-regular);
  color: var(--text-md);
}
.hero-line-accent {
  color: var(--brand);
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-md);
  margin-bottom: var(--space-8);
  max-width: 460px;
  line-height: var(--lh-relaxed);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* Primary CTA hero — più grande, elevated, con micro-animazione */
.btn-primary {
  background: var(--brand);
  color: var(--bg-0);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  letter-spacing: var(--tracking-snug);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-fast) var(--ease-out);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-brand);
}
.btn-primary--hero {
  padding: 16px 32px;
  font-size: var(--fs-md);
}

/* Sign in — text-link secondario, non bottone */
.hero-signin-link {
  background: transparent;
  border: none;
  color: var(--text-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  cursor: pointer;
  padding: 0;
  position: relative;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.hero-signin-link::after {
  /* sottolineatura rimossa: il link "Acquista su Whop" non è sottolineato */
  display: none;
}
.hero-signin-link:hover {
  color: var(--text-hi);
}
.hero-signin-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.btn-outline {
  /* Kept for non-hero usages but reset dalla nuova hero */
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-md);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.btn-outline:hover {
  border-color: var(--brand-edge);
  color: var(--text-hi);
  background: var(--brand-wash);
}

.hero-cta-note {
  font-size: var(--fs-xs);
  color: var(--text-lo);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* === Visual column (right): avatar + dots + glow === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
}

/* Griglia puntinata architettonica attorno all'avatar */
.avatar-dots {
  position: absolute;
  inset: -40px -60px -40px -60px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, #000 30%, transparent 85%);
}

.hero-avatar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  /* Bordo principale giallo + anello esterno trasparente che "stacca" dallo sfondo */
  border: 3px solid var(--brand);
  box-shadow:
    0 0 0 2px rgba(232, 160, 32, 0.06),   /* fascia interna trasparente */
    0 0 0 12px rgba(232, 160, 32, 0.12),  /* anello esterno ben visibile */
    var(--shadow-xl);
  transition: transform var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out);
}

.hero-avatar:hover {
  transform: translateY(-4px);
  border-color: var(--brand-hi);
  box-shadow:
    0 0 0 2px rgba(232, 160, 32, 0.1),
    0 0 0 16px rgba(232, 160, 32, 0.16),
    var(--shadow-xl),
    var(--shadow-brand);
}

.avatar-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: avatarGlowPulse 5s ease-in-out infinite;
}

@keyframes avatarGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

section { padding: 80px 0; }
.product-section { padding-bottom: 60px; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { background: var(--dark); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillars-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.pillar-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.pillar-card:hover {
  border-color: var(--brand-edge);
  background: var(--bg-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pillar-card:hover::before {
  transform: scaleY(1);
}

.pillar-card.featured {
  border-color: var(--brand-edge);
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--brand-wash) 100%);
}

.pillar-icon {
  margin-bottom: var(--space-5);
  line-height: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.05);
}
.pillar-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--space-3);
}
.pillar-card p {
  font-size: var(--fs-base);
  color: var(--text-md);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.pillar-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand);
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.pillar-card:hover .pillar-more {
  transform: translateX(4px);
}

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.product-section { background: var(--black); }
.macro-section {
  background: var(--dark);
  /* Separator visivo tra Indicator (sopra) e Scanner (sotto). Il border-top
     definisce chiaramente la fine della sezione precedente, replicando
     l'effetto che si vede sopra Tutorials. */
  border-top: 1px solid var(--border-subtle);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.product-tag {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.product-title-accent {
  color: var(--brand);
}

.product-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.feature-title {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 3px;
}

.feature-desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Pallini arancioni coerenti con .benefit-list (sezione Scanner) */
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 1.5px solid var(--brand);
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.indicator-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}

.indicator-video-wrap {
  width: 100%;
  margin-bottom: 28px;
}

.indicator-video-wrap .indicator-video {
  max-height: none;
}

.indicator-techname,
.scanner-techname {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 16px;
  margin-top: -8px;
  opacity: 0.7;
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--brand);
  color: var(--black);
}

/* ============================================================
   SCREEN MOCKUP
   ============================================================ */
.screen-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.mockup-bar {
  background: #222;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-bar span:nth-child(1) { background: #ef4444; }
.mockup-bar span:nth-child(2) { background: #f59e0b; }
.mockup-bar span:nth-child(3) { background: #10b981; }

.mockup-content { padding: 20px; }

.chart-svg { width: 100%; height: auto; }

.video-mockup { padding-bottom: 0; }

.indicator-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.tv-widget-container {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  height: 460px;
}


.macro-preview { display: flex; flex-direction: column; gap: 12px; }

.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-label {
  font-size: 12px;
  font-weight: 600;
  width: 60px;
  flex-shrink: 0;
  color: var(--muted);
}

.score-bar-wrap {
  flex: 1;
  background: var(--border);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--brand);
  transition: width 1s ease;
}

.bullish-bar { background: var(--green); }
.bearish-bar { background: var(--red); }
.neutral-bar { background: var(--brand); }

.score-val { font-size: 12px; font-weight: 700; width: 24px; text-align: right; }
.bullish-text { color: var(--green); }
.bearish-text { color: var(--red); }
.score-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--black); }

.about-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-avatar-wrap { flex-shrink: 0; }

.about-avatar {
  width: 200px;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 6px rgba(232,160,32,0.1);
}

.about-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 580px;
}

.social-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.social-label { font-size: 13px; color: var(--muted); font-weight: 500; }

.social-icons { display: flex; gap: 12px; align-items: center; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--brand);
  color: var(--black);
  border-color: var(--brand);
}

.whop-link { font-family: 'Inter', sans-serif; }

/* ============================================================
   PLANS
   ============================================================ */
.plans-section { background: var(--dark); }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.plan-card:hover {
  border-color: var(--brand-edge);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.plan-featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, #1a1a1a 0%, rgba(232,160,32,0.06) 100%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-header p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.plan-features li.plan-feature-excluded {
  color: var(--text-lo);
  opacity: 0.55;
}

.plan-features li.plan-feature-excluded::before {
  content: '✗';
  color: var(--text-lo);
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
}

.btn-plan:hover { border-color: var(--brand); color: var(--brand); }

.btn-plan-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--black);
}

.btn-plan-primary:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  color: var(--black);
}

/* Variante dei btn-plan usata fuori dalla sezione Plans (Indicator/Scanner):
   nelle plan-card i btn sono full-width, qui invece sono inline-block con
   padding orizzontale ampio per occupare la giusta dimensione. */
.btn-plan.indicator-btn {
  display: inline-block;
  padding: 14px 28px;
  min-width: 180px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
}

.footer-social {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--brand); }

.footer-disclaimer {
  font-size: 11px;
  color: #444;
  max-width: 600px;
  line-height: 1.6;
}

.footer-copy { font-size: 11px; color: #333; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: left;
  }
  .hero-visual { order: -1; }
  .avatar-wrapper { max-width: 280px; margin: 0 auto; }
  .hero-avatar { max-width: 280px; }
  .hero-eyebrow { margin-bottom: var(--space-10); }
  .hero-subtitle { margin: 0 0 var(--space-8); }
  .hero-cta-group { align-items: flex-start; }
  .hero-cta-buttons { justify-content: flex-start; gap: var(--space-5); }
  .pillars-grid,
  .pillars-grid.two-cols { grid-template-columns: 1fr; max-width: 100%; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .indicator-text-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-inner { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-inner { padding: 0 16px; } /* allineato a .nav-inner */
  .hero-title--display {
    font-size: clamp(44px, 14vw, 72px);
    letter-spacing: -0.02em;
  }
  /* lang switcher resta visibile anche su mobile: utenti non-IT devono
     poter cambiare lingua. La versione compatta usa font ridotto. */
  .lang-switcher { gap: 4px; }
  .lang-btn { font-size: 12px; padding: 4px 6px; }
  .lang-sep { font-size: 12px; }
  .nav-actions { gap: 10px; }
  .btn-login { padding: 6px 12px; font-size: 12px; }
}

/* ============================================================
   ADDITIONS — rebrand 2026-05 (plan price, tutorials, btn-row,
   scroll-margin, footer-legal, auth-forgot)
   ============================================================ */

/* Sticky navbar non deve coprire gli H2 quando si arriva via anchor */
.product-section,
.about-section,
.tutorials-section,
.plans-section {
  scroll-margin-top: 88px;
}
.section-title,
.product-title {
  scroll-margin-top: 88px;
}

/* Reusable button row (sostituisce style inline) */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-4);
}

/* PLAN PRICE — visualizzazione prominente sotto plan-header */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--space-4) 0 var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}
.plan-price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-featured .plan-price-amount { color: var(--brand); }

/* PLAN ALT — opzioni 6 mesi / annuale, secondarie rispetto al prezzo mensile */
.plan-alt {
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: var(--space-2);
}
.plan-alt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.plan-alt-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-alt-option {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.plan-alt-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.plan-alt-period {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-alt-save {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  background: rgba(232,160,32,0.12);
  border: 1px solid var(--brand-edge);
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-featured .plan-alt-amount { color: var(--brand); }

/* TUTORIALS SECTION */
.tutorials-section {
  background: var(--bg-1);
}
.tutorials-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.tutorials-header {
  text-align: center;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.tutorials-eyebrow {
  justify-content: center;
}
.tutorials-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.tutorials-tabs {
  display: inline-flex;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px;
}
.tutorials-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tutorials-tab:hover { color: var(--text-primary); }
.tutorials-tab.active {
  background: var(--brand);
  color: #0a0a0a;
}
.tutorials-player {
  width: 100%;
  max-width: 960px;
  position: relative;
}
.tutorials-video-wrap {
  width: 100%;
}
.tutorials-video-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.tutorials-video-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tutorials-coming-soon {
  position: absolute;
  inset: 28px 0 0 0; /* sotto mockup-bar */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Auth modal — sostituisce style inline */
.auth-forgot-row {
  text-align: right;
  margin-top: 4px;
}
.auth-forgot-link {
  color: var(--brand);
  font-size: 0.85rem;
  text-decoration: none;
}
.auth-forgot-link:hover { text-decoration: underline; }

/* Footer legal links — sostituisce style inline */
.footer-legal {
  margin-top: 8px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--text-primary); }
.footer-legal-sep { color: var(--text-muted); opacity: 0.6; }

@media (max-width: 720px) {
  .tutorials-tab { padding: 8px 16px; font-size: 13px; }
  .plan-price-amount { font-size: 32px; }
}

/* ============================================================
   SCANNER SECTION — Best Opportunities showcase + benefit copy
   ============================================================ */

/* Subtitle lead variant — pi peso e colore brand per headline emozionale */
.product-subtitle--lead {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: var(--space-6);
}

/* Lead benefits (3 bullet emozionali, formato grosso) */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.benefit-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-md);
}
.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 1.5px solid var(--brand);
}
.benefit-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Feature secondary — griglia compatta sotto i benefit */
.feature-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.feature-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-mini-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.feature-mini-desc {
  font-size: 13px;
  color: var(--text-md);
  line-height: 1.5;
}

/* SHOWCASE — card LIVE letta da /api/dashboard/public/showcase
   (replica visiva semplificata di una card della dashboard reale,
    cliccabile per espandere il dettaglio) */
.showcase-wrap {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.showcase-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
  opacity: 0.6;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.showcase-title { display: flex; flex-direction: column; gap: 4px; }
.showcase-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
/* Hint sotto eyebrow: "Sample preview — log in to unlock all assets" */
.showcase-eyebrow-hint {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-md);
  font-style: italic;
  letter-spacing: 0;
}
.showcase-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-lo);
}
.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--bull);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.showcase-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bull);
  box-shadow: 0 0 8px var(--bull);
  animation: showcasePulse 2s infinite ease-in-out;
}
@keyframes showcasePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-dot { animation: none; }
}

.showcase-card-container { min-height: 220px; }

/* Skeleton loading */
.showcase-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}
.showcase-skeleton-bar {
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: showcaseShimmer 1.4s infinite linear;
}
.showcase-skeleton-bar:nth-child(2) { width: 70%; }
.showcase-skeleton-bar:nth-child(3) { width: 50%; }
@keyframes showcaseShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.showcase-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-lo);
  font-size: 13px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

/* Card collapsed */
.showcase-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.showcase-card:hover,
.showcase-card:focus {
  border-color: var(--brand-edge);
  background: rgba(232, 160, 32, 0.04);
  outline: none;
}
.showcase-card--collapsed { padding: 18px; }

.showcase-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.showcase-card-head-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.showcase-asset-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.showcase-asset {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.02em;
}
.showcase-flags {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.showcase-tf {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-wash);
  border: 1px solid var(--brand-edge);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.showcase-close {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-lo);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: color var(--dur-base), border-color var(--dur-base);
}
.showcase-close:hover { color: var(--bear); border-color: var(--bear); }

.showcase-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.showcase-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.showcase-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.showcase-stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
}
.showcase-stat-value--brand { color: var(--brand); }

.showcase-card-cta {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
}
.showcase-expand-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Expanded panel */
.showcase-card--expanded {
  padding: 20px;
  gap: 18px;
}

.showcase-stats-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase-section-head {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.showcase-trend-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.showcase-trend-big {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}
.showcase-phase-row {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-md);
  font-size: 12px;
}
.showcase-phase-label { color: var(--text-lo); }
.showcase-phase-value { color: var(--text-hi); margin-left: 4px; }
.showcase-phase-desc {
  font-size: 12px;
  color: var(--text-md);
  line-height: 1.55;
  margin: 8px auto 0;
  max-width: 480px;
}

/* Today's context */
.showcase-ctx {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}
.showcase-ctx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.showcase-ctx-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.showcase-ctx-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.showcase-ctx-ccy {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-hi);
}
.showcase-ctx-bias {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.showcase-ctx-bias--bullish,
.showcase-ctx-bias--strong_bullish {
  color: var(--bull);
  background: rgba(47, 199, 122, 0.12);
  border: 1px solid rgba(47, 199, 122, 0.3);
}
.showcase-ctx-bias--bearish,
.showcase-ctx-bias--strong_bearish {
  color: var(--bear);
  background: rgba(232, 87, 87, 0.12);
  border: 1px solid rgba(232, 87, 87, 0.3);
}
.showcase-ctx-bias--neutral {
  color: var(--text-md);
  background: rgba(180, 184, 197, 0.08);
  border: 1px solid rgba(180, 184, 197, 0.2);
}
.showcase-ctx-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-md);
  margin: 0;
}

/* Daily AI briefing block (testo lungo, news-based) */
.showcase-global {
  background: rgba(232, 160, 32, 0.04);
  border: 1px solid var(--brand-edge);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.showcase-global-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-md);
  margin: 0;
}

.showcase-actions {
  display: flex;
  justify-content: center;
}
.showcase-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.showcase-link:hover { text-decoration: underline; }

/* Unlock CTA dentro la card espansa */
.showcase-unlock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-edge);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.showcase-unlock-text {
  font-size: 12px;
  color: var(--text-md);
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}
.showcase-unlock-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  transition: background var(--dur-base), color var(--dur-base);
}
.showcase-unlock-cta:hover {
  background: var(--brand);
  color: var(--bg-0);
}

.showcase-footer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-lo);
  text-align: center;
  letter-spacing: 0.02em;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   SCANNER + INDICATOR SECTIONS — header a tutta larghezza +
   text-grid a 2 colonne; lo Scanner ha lo showcase full-width sotto
   ============================================================ */
/* Header sezione (Scanner / Indicator) — titolo + eyebrow a tutta larghezza,
   sopra la griglia a 2 colonne. Le due colonne sotto restano top-aligned tra
   loro grazie ad align-items:start su .indicator-text-grid. */
.scanner-header {
  margin-bottom: var(--space-8);
}
.scanner-header .indicator-techname {
  margin-bottom: 0;
}
.macro-section .indicator-text-grid {
  margin-bottom: var(--space-12);
}
.macro-section .feature-list {
  margin-bottom: var(--space-6);
}
/* Subtitle leggermente più spaziato per assomigliare al testo Indicator */
.macro-section .product-subtitle {
  margin-bottom: var(--space-6);
}

/* Value proposition block — sezioni Scanner e Indicator.
   La domanda gialla vive nello .scanner-header, sotto l'eyebrow e sopra la
   griglia a 2 colonne: piccolo spazio sopra (stacco dall'eyebrow) e sotto. */
.scanner-value-question {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: var(--space-4);
  margin-bottom: 0;
}
.scanner-value {
  margin-bottom: var(--space-6);
}
.scanner-value-p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.scanner-value-p:last-of-type {
  margin-bottom: 0;
}
.showcase-wrap--full {
  width: 100%;
}
.showcase-wrap--full .showcase-subtitle {
  font-size: 13px;
  color: var(--text-md);
  margin-top: 4px;
}

/* Tabs visivi 4H · SWING / 5min · INTRADAY (non cliccabili, solo informativi) */
.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.showcase-tab-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.showcase-tab-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
/* Tab visivi static (legacy, non più usati con i nuovi tab cliccabili) */
.showcase-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-edge);
  color: var(--brand);
}

/* Tab cliccabili (4H / 5min mutually exclusive) — stile dashboard */
.showcase-tab-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-md);
  cursor: pointer;
  transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base);
}
.showcase-tab-btn:hover {
  border-color: var(--brand-edge);
  color: var(--text-hi);
}
.showcase-tab-btn--active {
  background: var(--brand-wash);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand-edge);
}

.showcase-tab-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

/* Card singola centrata (mostriamo 1 card alla volta in base al tab attivo) */
.showcase-cards-single {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.showcase-cards-single .top-asset-card {
  width: 100%;
  max-width: 340px;
}
.showcase-cards-single .showcase-card-placeholder {
  width: 100%;
  max-width: 340px;
}

.showcase-card-placeholder {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MACRO SCORE COMPLETO — scheda con 3 gauge + tabella parametri
   (replica "Composizione Score" della dashboard)
   ============================================================ */
.showcase-macro-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 16px 0;
}
.showcase-macro-full {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Riga con i 3 gauge (base / pair / quote) */
.showcase-gauges-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}
.showcase-gauge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.showcase-gauge-head {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-md);
  display: inline-flex;
  align-items: center;
}
.showcase-gauge-head strong {
  color: var(--text-hi);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.showcase-gauge-col--pair .showcase-gauge-head strong {
  font-size: 14px;
}
.showcase-gauge-raw {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-lo);
  margin-top: 4px;
  text-align: center;
}
.showcase-gauge-na {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-lo);
}

/* Tabella 6 parametri */
.showcase-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
.showcase-params-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.showcase-params-table thead th.showcase-param-label {
  color: var(--brand);
  letter-spacing: 0.06em;
}
.showcase-params-table thead th img {
  margin-right: 4px;
}
.showcase-params-table thead th span {
  color: var(--text-hi);
  font-weight: 700;
}

.showcase-param-row {
  border-bottom: 1px solid var(--border-subtle);
}
.showcase-param-row:last-child {
  border-bottom: none;
}

.showcase-params-table td {
  padding: 10px 8px;
  vertical-align: middle;
}
.showcase-param-mot {
  color: var(--text-md);
  line-height: 1.45;
  width: 35%;
}
.showcase-param-mot--base { text-align: right; padding-right: 14px; }
.showcase-param-mot--quote { text-align: left; padding-left: 14px; }
.showcase-param-label {
  width: 14%;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-hi);
}
.showcase-param-score {
  width: 8%;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}
.showcase-score-positive { color: var(--bull); }
.showcase-score-negative { color: var(--bear); }
.showcase-score-zero { color: var(--text-lo); }

/* Triangoli/pallini direzionali (sostituiscono i numeri +1/-1/0 nella tabella
   e nei gauge laterali — protezione del modello di scoring proprietario) */
.showcase-dir {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}
.showcase-dir-pos { color: var(--bull); }
.showcase-dir-neg { color: var(--bear); }
.showcase-dir-zero { color: var(--text-lo); font-size: 12px; opacity: 0.7; }

@media (max-width: 720px) {
  .showcase-gauges-row { grid-template-columns: 1fr; gap: 20px; }
  .showcase-params-table { font-size: 11px; }
  .showcase-params-table thead th { font-size: 9px; padding: 6px 4px; }
  .showcase-params-table td { padding: 8px 4px; }
  .showcase-param-mot { width: auto; font-size: 11px; }
}

/* Macro Score box semplificato (fallback se breakdown non disponibile) */
.showcase-macro-box {
  padding: 14px 16px;
}
.showcase-macro-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.showcase-macro-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.showcase-macro-max {
  font-size: 14px;
  color: var(--text-lo);
  font-weight: 500;
  margin-left: 2px;
}
.showcase-macro-level {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sub-label dentro card-context-block (es. "BULLISH" sotto al numero macro) */
.card-context-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   TOP ASSET CARD — replica esatta dello stile dashboard.html
   (classes .top-asset-card, .card-asset-name, .card-cr, ecc.)
   ============================================================ */
.top-asset-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  min-height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow: hidden;
}
.top-asset-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur-base) var(--ease-smooth);
}
.top-asset-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.top-asset-card:hover::before { transform: scaleY(1); }
.top-asset-card.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
}
.top-asset-card.selected::before { transform: scaleY(1); }

.top-asset-card .card-asset-name {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.5px;
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  color: var(--text-hi);
}
.card-flags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 0 6px;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-asset-card .card-cr {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-top: 4px;
}

/* Trend + Context blocks dentro la card collapsed */
.card-trend-block,
.card-context-block {
  text-align: center;
  width: 100%;
}
.card-trend-label,
.card-context-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.card-trend-value,
.card-context-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.card-trading-hours {
  color: var(--text-md);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.3;
  text-align: center;
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
  width: 100%;
}

/* ============================================================
   TOP EXPANDED PANEL — replica esatta stile dashboard
   ============================================================ */
.top-expanded-panel {
  background: var(--bg-2);
  border: 1px solid var(--brand-edge);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 12px;
  animation: showcasePanelIn 0.25s ease-out;
  box-shadow: var(--shadow-md);
}
@keyframes showcasePanelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.expanded-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.expanded-header h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin: 0;
  color: var(--text-hi);
}
.expanded-close {
  background: none;
  border: 1px solid var(--border-soft);
  color: var(--text-lo);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-base), color var(--dur-base);
}
.expanded-close:hover { border-color: var(--bear); color: var(--bear); }
.expanded-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-md);
}
.expanded-stat strong { color: var(--text-hi); font-family: var(--font-mono); }

/* Recommended hours nella expanded panel */
.showcase-rec-hours {
  font-size: 13px;
  color: var(--text-md);
  padding: 10px 14px;
  background: rgba(232, 160, 32, 0.06);
  border: 1px solid var(--brand-edge);
  border-radius: var(--radius-md);
  margin: 12px 0;
}
.showcase-rec-hours strong { color: var(--brand); }
.showcase-tz { color: var(--text-lo); font-size: 11px; }

/* TradingView iframe wrap dentro expanded panel */
.tv-widget-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
}
.tv-widget-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive */
@media (max-width: 720px) {
  .feature-grid-mini { grid-template-columns: 1fr; }
  .product-subtitle--lead { font-size: 18px; }
  .showcase-wrap { padding: 18px; }
  .showcase-card { padding: 14px; }
  .showcase-card--expanded { padding: 16px; }
  .showcase-card-body { grid-template-columns: 1fr; }
  .showcase-ctx-grid { grid-template-columns: 1fr; }
  .showcase-trend-big { font-size: 20px; }
  .showcase-asset { font-size: 16px; }
}
