/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #06060e;
  --bg-secondary:  #0a0812;
  --bg-card:       #100e1c;
  --fg:            #e8e8f0;
  --fg-muted:      #7a7a9a;
  --fg-dim:        #2d2d45;
  --purple:        #9b5de5;
  --purple-light:  #b87ff0;
  --purple-dim:    rgba(155, 93, 229, 0.12);
  --purple-border: rgba(155, 93, 229, 0.28);
  --purple-glow:   rgba(155, 93, 229, 0.35);
  --lavender:      #c8a8f5;
  --violet:        #7c3aed;
  --green:         #3ecf8e;
  --red:           #e05c5c;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* Animated purple gradient background */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 60%, rgba(155, 93, 229, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(184, 127, 240, 0.07) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(6, 6, 14, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(155, 93, 229, 0.12);
}

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

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(155, 93, 229, 0.25));
}

.nav-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  border: 1px solid var(--purple-border);
  padding: 5px 12px;
  background: var(--purple-dim);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 140px 60px 80px;
  align-items: center;
}

.hero-left { max-width: 560px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple-glow), 0 0 16px rgba(155,93,229,0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--purple-glow), 0 0 16px rgba(155,93,229,0.2); }
  50%       { opacity: 0.5; box-shadow: 0 0 4px var(--purple-glow); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 0 60px rgba(155,93,229,0.2);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--lavender);
  text-shadow: 0 0 20px rgba(200, 168, 245, 0.3);
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--fg-dim);
}

/* === Hero Chart === */
.hero-right { position: relative; }

.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 24px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(155,93,229,0.08) inset,
    0 8px 32px rgba(155,93,229,0.1),
    0 2px 8px rgba(0,0,0,0.4);
}

.chart-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.candlesticks {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding: 12px 0;
}

.candle {
  flex: 1;
  border-radius: 2px 2px 0 0;
  transition: height 0.3s ease;
}

.candle.green { background: var(--green); opacity: 0.7; }
.candle.red   { background: var(--red);   opacity: 0.7; }

.chart-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  text-align: right;
}

.overlay-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  text-shadow: 0 0 12px rgba(155,93,229,0.4);
}

.overlay-sub {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.trade-feed {
  margin-top: 12px;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(155,93,229,0.06);
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(155,93,229,0.08);
  font-size: 13px;
}
.feed-item:last-child { border-bottom: none; }

.feed-pair {
  font-family: var(--font-display);
  font-weight: 600;
  width: 48px;
}

.feed-dir { font-weight: 500; font-size: 12px; }
.feed-dir.up   { color: var(--green); }
.feed-dir.down { color: var(--red); }

.feed-time { color: var(--fg-muted); margin-left: auto; font-size: 11px; }

/* === Crypto Price Tracker === */
.crypto-tracker {
  border-top: 1px solid rgba(155,93,229,0.12);
  border-bottom: 1px solid rgba(155,93,229,0.12);
  background: var(--bg-secondary);
  position: relative;
}

.crypto-tracker::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124,58,237,0.04) 0%,
    transparent 40%,
    rgba(155,93,229,0.04) 100%
  );
  pointer-events: none;
}

.crypto-tracker-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.crypto-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.crypto-card:hover {
  border-color: rgba(155,93,229,0.55);
  background: #16142a;
  box-shadow: 0 0 20px rgba(155,93,229,0.12), 0 4px 12px rgba(0,0,0,0.3);
}

.crypto-left { }

.crypto-symbol {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(184,127,240,0.3);
}

.crypto-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.crypto-right { text-align: right; }

.crypto-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.crypto-change {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.crypto-change.up   { color: var(--green); }
.crypto-change.down { color: var(--red); }

.crypto-updating {
  font-size: 10px;
  color: var(--fg-dim);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.crypto-error {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 8px 0;
}

/* === Market Stats === */
.market {
  border-top: 1px solid rgba(155,93,229,0.12);
  border-bottom: 1px solid rgba(155,93,229,0.12);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.market::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(155,93,229,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.market-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 56px 60px;
}

.market-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--lavender);
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(200,168,245,0.35);
}

.market-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
}

/* === Autonomy === */
.autonomy {
  padding: 120px 60px;
}

.autonomy-inner { max-width: 1100px; margin: 0 auto; }

.autonomy-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(184,127,240,0.3);
}

.autonomy-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(155,93,229,0.15);
}

.autonomy-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 72px;
}

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

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 36px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pillar:hover {
  border-color: rgba(155,93,229,0.55);
  background: #16142a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(155,93,229,0.12), 0 2px 8px rgba(0,0,0,0.3);
}

.pillar-icon { margin-bottom: 20px; }

.pillar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === Risk === */
.risk {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(155,93,229,0.12);
  border-bottom: 1px solid rgba(155,93,229,0.12);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.risk::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.risk-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.risk-visual { display: flex; justify-content: center; }

.risk-rings { position: relative; width: 280px; height: 280px; }

.ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ring-outer {
  width: 280px;
  height: 280px;
  top: 0; left: 0;
  border: 1px solid var(--purple-border);
  background: radial-gradient(ellipse at center, rgba(155,93,229,0.06) 0%, transparent 70%);
  box-shadow: 0 0 30px rgba(155,93,229,0.08) inset;
}

.ring-mid {
  width: 200px;
  height: 200px;
  top: 40px; left: 40px;
  border: 1px solid var(--purple-border);
  background: var(--bg);
}

.ring-inner {
  width: 120px;
  height: 120px;
  top: 80px; left: 80px;
  border: 1px solid var(--purple);
  background: var(--purple-dim);
  box-shadow: 0 0 24px rgba(155,93,229,0.2), 0 0 8px rgba(155,93,229,0.1) inset;
}

.ring-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.ring-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--lavender);
  text-shadow: 0 0 16px rgba(200,168,245,0.4);
}

.ring-inner .ring-value { font-size: 26px; color: var(--purple-light); }

.risk-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(184,127,240,0.3);
}

.risk-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(155,93,229,0.15);
}

.risk-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.risk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.risk-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.risk-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple-glow);
}

/* === Rendimiento === */
.rendimiento {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(155,93,229,0.12);
  border-bottom: 1px solid rgba(155,93,229,0.12);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.rendimiento::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(155,93,229,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.rendimiento-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.rendimiento-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(184,127,240,0.3);
}

.rendimiento-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 56px;
  text-shadow: 0 0 40px rgba(155,93,229,0.15);
}

.rend-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 24px;
}

.rend-tile {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 36px 32px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.rend-tile:hover {
  border-color: rgba(155,93,229,0.55);
  background: #16142a;
  box-shadow: 0 0 20px rgba(155,93,229,0.12), 0 4px 12px rgba(0,0,0,0.3);
}

.rend-kpi {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(200,168,245,0.35);
}

.rend-kpi.positive { color: var(--green); }
.rend-kpi.negative { color: var(--red); }

.rend-sub {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.rend-secondary {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 24px 36px;
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-top: none;
}

.rend-sec-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rend-sec-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--lavender);
}

.rend-sec-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* === Portfolio === */
.portfolio {
  padding: 120px 60px;
}

.portfolio-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.portfolio-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(184,127,240,0.3);
}

.portfolio-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(155,93,229,0.15);
}

.portfolio-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.portfolio-allocation { display: flex; flex-direction: column; gap: 20px; }

.alloc-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.alloc-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  width: 48px;
  color: var(--purple-light);
}

.alloc-track {
  flex: 1;
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.alloc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--purple-light));
  border-radius: 2px;
  opacity: 0.75;
  box-shadow: 0 0 8px rgba(155,93,229,0.4);
}

.alloc-pct {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--lavender);
  width: 36px;
  text-align: right;
  text-shadow: 0 0 8px rgba(200,168,245,0.3);
}

/* === Closing === */
.closing {
  padding: 120px 60px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(155,93,229,0.12);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(124,58,237,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(155,93,229,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.closing-inner { max-width: 1100px; margin: 0 auto; }

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  max-width: 700px;
  margin-bottom: 28px;
  text-shadow: 0 0 60px rgba(155,93,229,0.2);
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* === Footer === */
.footer {
  border-top: 1px solid rgba(155,93,229,0.12);
  padding: 40px 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-dim);
}

/* === Signals === */
.signals {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(155,93,229,0.12);
  border-bottom: 1px solid rgba(155,93,229,0.12);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.signals::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(155,93,229,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.signals-inner { max-width: 1100px; margin: 0 auto; }

.signals-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(184,127,240,0.3);
}

.signals-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 56px;
  text-shadow: 0 0 40px rgba(155,93,229,0.15);
}

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

.signals-tile {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  padding: 36px 32px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.signals-tile:hover {
  border-color: rgba(155,93,229,0.55);
  background: #16142a;
  box-shadow: 0 0 20px rgba(155,93,229,0.12), 0 4px 12px rgba(0,0,0,0.3);
}

.signals-kpi {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--lavender);
  text-shadow: 0 0 24px rgba(200,168,245,0.35);
}

.signals-kpi.positive { color: var(--green); }
.signals-kpi.negative { color: var(--red); }

.signals-sub {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.signal-history {
  background: var(--bg-card);
  border: 1px solid var(--purple-border);
  border-top: none;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 36px;
  border-bottom: 1px solid rgba(155,93,229,0.08);
  font-size: 13px;
}

.signal-item:last-child { border-bottom: none; }

.signal-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.signal-badge.buy  { color: var(--green); background: rgba(62,207,142,0.1);  border: 1px solid rgba(62,207,142,0.25); }
.signal-badge.sell { color: var(--red);   background: rgba(224,92,92,0.1);   border: 1px solid rgba(224,92,92,0.25);  }

.signal-pair   { font-family: var(--font-display); font-weight: 600; color: #fff; }
.signal-source { color: var(--fg-muted); font-size: 12px; }
.signal-time   { color: var(--fg-dim); font-size: 11px; margin-left: auto; }
.signal-empty  { padding: 24px 36px; font-size: 13px; color: var(--fg-muted); }

/* === Signal Performance Chart === */
.sig-chart-wrap { }

#sig-chart-wrap canvas {
  width: 100% !important;
}

/* === Signal Filters === */
.sig-pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid rgba(155, 93, 229, 0.28);
  background: rgba(155, 93, 229, 0.06);
  color: #7a7a9a;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: var(--font-body);
}

.sig-pill:hover {
  border-color: rgba(155, 93, 229, 0.55);
  background: rgba(155, 93, 229, 0.12);
  color: #c8a8f5;
}

.sig-pill.active {
  border-color: rgba(155, 93, 229, 0.7);
  background: rgba(155, 93, 229, 0.2);
  color: #c8a8f5;
  font-weight: 600;
}

/* === Source Leaderboard === */
.sig-leaderboard-wrap { }

.sig-leaderboard-header {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(155, 93, 229, 0.15);
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a7a9a;
  font-weight: 500;
}

.sig-leaderboard-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(155, 93, 229, 0.07);
  font-size: 12px;
  align-items: center;
}

.sig-leaderboard-row:last-child { border-bottom: none; }

.sig-leaderboard-source {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.sig-leaderboard-trades {
  color: #7a7a9a;
  font-size: 11px;
}

.sig-leaderboard-pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}

.sig-leaderboard-pct.positive { color: var(--green); }
.sig-leaderboard-pct.negative { color: var(--red); }

/* === Responsive === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 60px;
    gap: 48px;
  }
  .hero-left { max-width: 100%; }

  .market-inner {
    flex-direction: column;
    gap: 32px;
    padding: 48px 32px;
  }

  .autonomy { padding: 80px 32px; }
  .autonomy-pillars { grid-template-columns: 1fr; }

  .risk-inner,
  .portfolio-inner { grid-template-columns: 1fr; gap: 48px; }
  .risk { padding: 80px 32px; }
  .portfolio { padding: 80px 32px; }
  .closing { padding: 80px 32px; }

  .nav { padding: 16px 32px; }
  .footer { padding: 32px; }
  .footer-inner { flex-direction: column; gap: 16px; }

  .risk-visual { display: none; }

  .crypto-tracker { padding: 24px 32px; }
  .crypto-tracker-inner { grid-template-columns: 1fr; gap: 8px; }
  .crypto-card:hover { background: var(--bg-card); }

  .market { padding: 24px 32px; }
}