/* ===========================
   FALLAOX — ESTILOS GLOBALES
   =========================== */

:root {
  --gold: #c9a84c;
  --gold-light: #e8c56a;
  --gold-dark: #a07830;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --bg-dark: #020f06;
  --bg-card: #061a0c;
  --bg-card2: #081f0f;
  --bg-border: rgba(255, 255, 255, 0.06);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --white: #ffffff;
  --green: #00d09c;
  --red: #ff4d6d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 40px rgba(201, 168, 76, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: linear-gradient(160deg, #0a2e14 0%, #041008 40%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text { color: var(--gold); }

/* ===========================
   BOTONES
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--bg-border);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ===========================
   SECCIÓN HEADERS
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===========================
   NAVBAR
   =========================== */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#siteHeader.scrolled {
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
}

.navbar {
  padding: 20px 0;
  transition: padding var(--transition);
}

.navbar.scrolled {
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* --- Logo mark (SVG container) --- */
.logo-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.logo-svg {
  width: 46px;
  height: 46px;
  animation: logo-idle-glow 4s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-logo:hover .logo-svg {
  transform: scale(1.12) rotate(5deg);
}

/* Diamante exterior: gira suavemente */
.logo-diamond-outer {
  transform-origin: 24px 24px;
  animation: logo-diamond-spin 12s linear infinite;
}

/* Diamante interior: gira al revés, más lento */
.logo-diamond-inner {
  transform-origin: 24px 24px;
  animation: logo-diamond-spin 20s linear infinite reverse;
}

/* Línea de tendencia: se dibuja al cargar */
.logo-line {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: logo-draw-line 1.4s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

/* Punto final: aparece después de la línea con pulso */
.logo-dot-svg {
  opacity: 0;
  animation:
    logo-dot-appear 0.4s ease 1.6s forwards,
    logo-dot-pulse  2s  ease 2s infinite;
}

/* Anillo de glow exterior */
.logo-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%);
  animation: logo-ring-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* --- Wordmark --- */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(90deg,
    #a07830 0%,
    #e8c56a 30%,
    #c9a84c 50%,
    #e8c56a 70%,
    #a07830 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-shimmer 4s linear infinite;
}

.logo-tagline {
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.45);
  padding-left: 2px;
}

/* --- Keyframes --- */
@keyframes logo-diamond-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes logo-draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes logo-dot-appear {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes logo-dot-pulse {
  0%, 100% { opacity: 1;   filter: drop-shadow(0 0 3px rgba(201,168,76,0.8)); }
  50%       { opacity: 0.6; filter: drop-shadow(0 0 7px rgba(201,168,76,1));   }
}

@keyframes logo-idle-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(201,168,76,0.25)); }
  50%       { filter: drop-shadow(0 0 10px rgba(201,168,76,0.55)); }
}

@keyframes logo-ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes logo-shimmer {
  0%   { background-position:  250% center; }
  100% { background-position: -250% center; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-weight: 700;
  padding: 10px 22px;
}

.nav-link.btn-nav:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 170px 24px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 60, 0.1) 0%, rgba(201, 168, 76, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 24px 32px;
  animation: fade-up 0.6s 0.3s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bg-border);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.4s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   TICKER
   =========================== */
.ticker-wrapper {
  background: var(--bg-card);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  height: 46px;
  overflow: hidden;
}

.ticker-wrapper .tradingview-widget-container,
.ticker-wrapper .tradingview-widget-container__widget {
  height: 46px !important;
}

.ticker-wrapper iframe {
  height: 46px !important;
}

/* ===========================
   BENEFICIOS
   =========================== */
.benefits {
  padding: 100px 0;
  background: var(--bg-dark);
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

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

.benefit-card.featured {
  border-color: rgba(201, 168, 76, 0.3);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), var(--bg-card));
}

.benefit-card.featured::before { opacity: 1; }

.featured-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   CÓMO INVERTIR
   =========================== */
.how-invest {
  padding: 100px 0;
  background: var(--bg-card2);
}

.steps-wrapper {
  position: relative;
  margin-bottom: 60px;
}

.steps-line {
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.step:hover .step-icon {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.center-cta {
  text-align: center;
}

/* ===========================
   NOSOTROS
   =========================== */
.about {
  padding: 100px 0;
  background: var(--bg-dark);
}

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

.about-visual {
  position: relative;
  height: 400px;
}

.about-card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.1);
}

.about-stat-big {
  text-align: center;
}

.big-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.big-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 8px;
}

.about-card-secondary {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  box-shadow: var(--shadow);
}

.about-card-secondary.top { top: 20px; right: 0; }
.about-card-secondary.bottom { bottom: 20px; left: 0; }

.about-card-secondary i {
  font-size: 1.4rem;
  color: var(--gold);
}

.about-card-secondary strong {
  display: block;
  font-size: 0.9rem;
}

.about-card-secondary span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-list li i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===========================
   ESTRATEGIAS / PLANES
   =========================== */
.strategies {
  padding: 100px 0;
  background: var(--bg-card2);
}

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

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-card.popular {
  border-color: rgba(201, 168, 76, 0.4);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.07), var(--bg-card));
  transform: scale(1.04);
  box-shadow: var(--shadow-gold);
}

.popular-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 28px; }

.plan-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-from {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
}

.price-currency {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features li i.fa-check { color: var(--gold); }
.plan-features li.disabled { opacity: 0.4; }
.plan-features li.disabled i.fa-times { color: var(--text-muted); }

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  transition: var(--transition);
}

.btn-plan:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn-plan-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border-color: transparent;
}

.btn-plan-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.plans-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   BROKERS & REGULACIONES
   =========================== */
.brokers {
  padding: 100px 0;
  background: var(--bg-dark);
}

/* Fila de entes reguladores */
.regulators-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.regulator-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.regulator-badge:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.reg-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reg-info {
  display: flex;
  flex-direction: column;
}

.reg-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.reg-country {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Grid de broker cards */
.brokers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.broker-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.broker-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}

.broker-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

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

.broker-card.featured-broker {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(160deg, rgba(201,168,76,0.06), var(--bg-card));
}

.broker-card.featured-broker::before { opacity: 1; }

.broker-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.broker-logo-box {
  width: 52px;
  height: 52px;
  background: var(--bg-card2);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.broker-logo-box.gold-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-color: rgba(201,168,76,0.3);
}

.broker-card:hover .broker-logo-box {
  border-color: rgba(201,168,76,0.3);
  background: var(--gold-glow);
}

.broker-initials {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--gold);
}

.broker-name {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.broker-type {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.broker-years {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.10), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
}

.broker-years i {
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.years-count {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.5px;
}

.years-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.broker-card.featured-broker .broker-years {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.06));
  border-color: rgba(201,168,76,0.4);
}

.broker-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.broker-regs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reg-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.reg-tag.gold-tag {
  background: var(--gold-glow);
  border-color: rgba(201,168,76,0.25);
  color: var(--gold);
}

.reg-tag.fca-tag {
  background: rgba(0, 120, 212, 0.1);
  border-color: rgba(0, 120, 212, 0.25);
  color: #4da6ff;
}

.broker-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
  border-top: 1px solid var(--bg-border);
}

.broker-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.broker-features span i {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Aviso de seguridad */
.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  max-width: 820px;
  margin: 0 auto;
}

.security-notice i {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-notice p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.security-notice strong {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .brokers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .brokers-grid { grid-template-columns: 1fr; }
  .regulators-row { gap: 10px; }
  .regulator-badge { padding: 10px 14px; }
}

/* ===========================
   TESTIMONIOS
   =========================== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-dark);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.15);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0a0a0a;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   FAQ
   =========================== */
.faq {
  padding: 100px 0;
  background: var(--bg-card2);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(201, 168, 76, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  color: var(--gold);
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===========================
   CONTACTO
   =========================== */
.contact {
  padding: 100px 0;
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateX(4px);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-icon.whatsapp { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.method-icon.email { background: var(--gold-glow); color: var(--gold); }
.method-icon.instagram { background: rgba(225, 48, 108, 0.12); color: #e1306c; }

.contact-method strong { display: block; font-size: 0.9rem; }
.contact-method span { font-size: 0.8rem; color: var(--text-muted); }

/* Formulario */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.03);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(0, 208, 156, 0.1);
  border: 1px solid rgba(0, 208, 156, 0.2);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--bg-border);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .logo-text {
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card2);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.social-link.whatsapp-icon:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  color: #25d366;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.footer-links ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-contact p i { color: var(--gold); width: 16px; }

.btn-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 20px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 50px;
  color: #25d366;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-footer-wa:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--bg-border);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom .footer-disclaimer {
  max-width: 480px;
  text-align: right;
  color: #c8c8dc;
}

.disc-risk {
  color: #f5c518;
  font-weight: 700;
}

/* ===========================
   WHATSAPP FLOTANTE
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===========================
   SCROLL TOP
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 104px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 32px;
  }

  .nav-link.btn-nav {
    margin-top: 8px;
    padding: 14px 32px;
  }

  .nav-toggle { display: flex; z-index: 1000; }

  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-divider { width: 60px; height: 1px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }

  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info .section-title { text-align: center; }
  .contact-info { text-align: center; }
  .contact-info p { margin: 0 auto 36px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .footer-disclaimer { text-align: left; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }

  .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { justify-content: center; }

  .about-card-secondary { display: none; }
}

/* ===========================
   ESTRATEGIAS AUDITADAS
   =========================== */
.audited-header {
  text-align: center;
  margin: 64px 0 32px;
}

.audited-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 8px 0 10px;
}

.audited-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.strategy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.strategy-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.strategy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strategy-pair {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pair-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.pair-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
}

.pair-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.strategy-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 208, 156, 0.1);
  border: 1px solid rgba(0, 208, 156, 0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.3px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 1.6s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.badge-audited {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

/* Grid de estadísticas */
.strategy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: var(--bg-card2);
  text-align: center;
  transition: background 0.2s;
}

.stat-box:hover { background: rgba(201,168,76,0.04); }

.stat-box-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.stat-box-val.green-val { color: var(--green); }
.stat-box-val.gold-val  { color: var(--gold); }
.stat-box-val.red-val   { color: #ff6b6b; }

.stat-box-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer de la card */
.strategy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--bg-border);
}

.mfx-updated {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-myfxbook {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-myfxbook:hover {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.5);
}

@media (max-width: 600px) {
  .strategy-cards { grid-template-columns: 1fr; }
  .strategy-stats { grid-template-columns: repeat(2, 1fr); }
  .strategy-card-header { flex-wrap: wrap; }
}

/* ===========================
   CALCULADORA DE INTERÉS COMPUESTO
   =========================== */
.calculator {
  padding: 100px 0;
  position: relative;
}

.calc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Panel inputs */
.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card2);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.calc-input-wrap:focus-within {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.calc-prefix {
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border-right: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  min-height: 48px;
  flex-shrink: 0;
}

.calc-suffix {
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  min-height: 48px;
  flex-shrink: 0;
  white-space: nowrap;
}

.calc-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 12px 10px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.calc-input-wrap input::-webkit-outer-spin-button,
.calc-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input-wrap input[type=number] { -moz-appearance: textfield; }

.calc-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Resultados */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Tarjetas resumen */
.calc-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.summary-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-2px);
}

.summary-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.summary-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.summary-value.gold-val  { color: var(--gold); }
.summary-value.green-val { color: var(--green); }

/* Gráfico */
.calc-chart-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 24px 24px 16px;
  height: 300px;
  position: relative;
  overflow: hidden;
}

#calcChart {
  display: block;
}

/* Tabla */
.calc-table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--bg-border);
  overflow: hidden;
  overflow-x: auto;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 540px;
  table-layout: fixed;
}

.calc-table thead th {
  background: var(--bg-card2);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  text-align: right;
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
}

.calc-table thead th:first-child { text-align: center; }

.calc-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}

.calc-table tbody tr:hover { background: rgba(201, 168, 76, 0.04); }

.calc-table tbody tr.total-row {
  background: rgba(201, 168, 76, 0.06);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: none;
}

.calc-table td {
  padding: 11px 18px;
  text-align: right;
  color: var(--text-secondary);
  overflow: hidden;
}

.calc-table td:first-child {
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
}

.calc-table td.td-gain  { color: var(--green); font-weight: 600; }
.calc-table td.td-final { color: var(--gold);  font-weight: 700; }
.calc-table tr.total-row td { font-weight: 800; color: var(--text-primary); }
.calc-table tr.total-row td.td-gain  { color: var(--green); }
.calc-table tr.total-row td.td-final { color: var(--gold); font-size: 0.95rem; }

/* Responsive calculadora */
@media (max-width: 900px) {
  .calc-inputs   { grid-template-columns: repeat(2, 1fr); }
  .calc-summary  { grid-template-columns: repeat(2, 1fr); }
  .calc-chart-box { height: 240px; }
}

@media (max-width: 560px) {
  .calc-inputs   { grid-template-columns: 1fr; }
  .calc-panel    { padding: 24px 18px; }
  .calc-chart-box { height: 200px; }
}

/* Animaciones de entrada al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

a.broker-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.broker-card-link:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.15);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================
   MOBILE OPTIMIZATION
   =========================== */

/* --- Tablet (≤ 768px) --- */
.estrategias-auditadas-sec { padding: 80px 0; background: transparent; }

@media (max-width: 768px) {

  /* Padding de secciones */
  .benefits,
  .how-invest,
  .about,
  .strategies,
  .brokers,
  .plans,
  .testimonials,
  .faq,
  .contact,
  .calculator,
  .estrategias-auditadas-sec { padding: 64px 0; }

  /* Hero — padding-top debe superar navbar (~80px) + ticker (46px) = 126px */
  .hero { padding: 150px 16px 56px; }

  /* Pasos: separador horizontal desaparece, ya cubierto */
  .steps-grid { gap: 16px; }

  /* Estrategia auditada: stats en 2 col */
  .strategy-stats { grid-template-columns: repeat(2, 1fr); }

  /* Calculadora: resumen en 2 col */
  .calc-summary { grid-template-columns: repeat(2, 1fr); }

  /* Footer top */
  .footer-top { padding: 56px 0 40px; }

  /* Broker card años badge más pequeño */
  .broker-years { padding: 6px 12px; font-size: 0.75rem; }
  .years-count  { font-size: 1.1rem; }
}

/* --- Móvil (≤ 480px) --- */
@media (max-width: 480px) {

  /* Padding de secciones más compacto */
  .benefits,
  .how-invest,
  .about,
  .strategies,
  .brokers,
  .plans,
  .testimonials,
  .faq,
  .contact,
  .calculator,
  .estrategias-auditadas-sec { padding: 48px 0; }

  /* Hero */
  .hero { padding: 145px 16px 48px; }

  /* Steps: 1 sola columna en pantallas muy pequeñas */
  .steps-grid { grid-template-columns: 1fr; }

  /* Calculadora: todo en 1 col */
  .calc-summary  { grid-template-columns: 1fr; }
  .calc-inputs   { grid-template-columns: 1fr; }

  /* Section subtitle más corto */
  .section-subtitle { font-size: 0.95rem; }

  /* Botones CTA apilados */
  .hero-cta { gap: 12px; }
  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; font-size: 0.9rem; padding: 14px 20px; }

  /* Footer */
  .footer-top   { padding: 40px 0 32px; }
  .footer-bottom .container { gap: 12px; }

  /* Broker grid: asegurar 1 col */
  .brokers-grid { grid-template-columns: 1fr; }

  /* Stats del hero apiladas */
  .hero-stats { padding: 20px 16px; gap: 16px; }
  .stat-val   { font-size: 1.6rem; }

  /* Estrategia auditada: 1 col en muy pequeño */
  .strategy-stats { grid-template-columns: 1fr 1fr; }
  .strategy-card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .btn-myfxbook { width: 100%; text-align: center; }

  /* Tabla calculadora: scroll horizontal */
  .calc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .calc-table      { min-width: 420px; font-size: 0.75rem; }
  .calc-table thead th, .calc-table td { padding: 10px 10px; }
}

@media (max-width: 420px) {
  .calc-table { min-width: 0; font-size: 0.68rem; }
  .calc-table thead th, .calc-table td { padding: 8px 6px; }
}

/* =====================================================
   SEÑALES EN VIVO — SIGNALS DASHBOARD
===================================================== */
.signals-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

/* KPI Grid */
.sig-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sig-kpi-card {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s;
}
.sig-kpi-card:hover { border-color: rgba(201,168,76,0.25); }
.sig-kpi-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sig-icon-green { background: rgba(0,208,156,0.12); color: var(--green); }
.sig-icon-gold  { background: rgba(201,168,76,0.12); color: var(--gold); }
.sig-kpi-body   { display: flex; flex-direction: column; }
.sig-kpi-val    { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.1; }
.sig-kpi-label  { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Charts Row */
.sig-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sig-chart-box {
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1rem;
}
.sig-chart-full { margin-bottom: 1.5rem; }
.sig-chart-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Bottom Row: Last Signal + CTA */
.sig-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Last Signal Card */
.sig-last-card {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sig-last-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.sig-badge {
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sig-buy  { background: rgba(0,208,156,0.15); color: var(--green); }
.sig-sell { background: rgba(255,77,109,0.15); color: var(--red); }
.sig-pair-name { font-weight: 600; font-size: 0.95rem; }
.sig-rr-tag { margin-left: auto; font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.sig-last-price {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.sig-last-levels {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.sig-level-item { display: flex; flex-direction: column; gap: 0.15rem; }
.sig-level-label { font-size: 0.68rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.05em; }
.sig-level-val { font-size: 0.92rem; font-weight: 600; font-family: monospace; }
.sig-level-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }
.sig-mtf-pills { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.sig-pill {
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
}
.pill-bull    { background: rgba(0,208,156,0.14); color: var(--green); }
.pill-bear    { background: rgba(255,77,109,0.14); color: var(--red); }
.pill-neutral { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }
.sig-refresh-info {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* CTA Box */
.sig-cta-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, rgba(0,208,156,0.04) 100%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sig-cta-telegram-icon { font-size: 2.2rem; color: var(--gold); }
.sig-cta-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.sig-cta-desc  { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }
.sig-cta-steps { display: flex; flex-direction: column; gap: 0.55rem; }
.sig-cta-step  { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.83rem; color: rgba(255,255,255,0.75); }
.sig-step-num  {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: #000;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.05rem;
}

/* History Table */
.sig-history-box {
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
}
.sig-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sig-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.81rem;
  table-layout: fixed;
}
.sig-table th {
  color: rgba(255,255,255,0.38);
  text-align: left;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  overflow: hidden;
}
.sig-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  overflow: hidden;
}
.sig-table tr:last-child td { border-bottom: none; }
.sig-table tr:hover td { background: rgba(255,255,255,0.02); }
.sig-table-empty {
  text-align: center;
  color: rgba(255,255,255,0.28);
  padding: 2rem !important;
  font-style: italic;
}
.sig-td-date { color: rgba(255,255,255,0.38) !important; }

/* Monthly PnL — Power BI style */
.sig-monthly-box {
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.sig-monthly-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #a07830, #c9a84c, #e8c56a, #c9a84c, #a07830);
}
.sig-monthly-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 1rem;
}
.sig-monthly-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.2rem;
}
.sig-annual-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  background: rgba(0,208,156,0.06);
  border: 1px solid rgba(0,208,156,0.18);
  border-radius: 12px;
  padding: 0.5rem 1rem;
}
.sig-annual-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.sig-annual-val {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .sig-monthly-box     { padding: 1rem 1rem 0.5rem; }
  .sig-monthly-header  { flex-direction: column; gap: 0.75rem; }
  .sig-annual-badge    { align-self: flex-start; flex-direction: row; align-items: center; gap: 0.6rem; padding: 0.4rem 0.85rem; }
  .sig-annual-val      { font-size: 1.15rem; }
}

/* Signal card — estructura enriquecida */
.sig-last-card {
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sig-card-top {
  padding: 1.25rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.sig-card-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.buy-top::before  { background: linear-gradient(90deg, #004422, var(--green), #004422); }
.sell-top::before { background: linear-gradient(90deg, #5a0015, var(--red),   #5a0015); }

.sig-last-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.sig-last-pair {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sig-dir-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.sig-dir-icon.buy-icon  { background: rgba(0,208,156,0.12); color: var(--green); }
.sig-dir-icon.sell-icon { background: rgba(255,77,109,0.12); color: var(--red); }

.sig-pair-sub { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 0.1rem; }

/* Badge con live-dot */
.sig-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sig-buy  { background: rgba(0,208,156,0.12); color: var(--green); border: 1px solid rgba(0,208,156,0.25); }
.sig-sell { background: rgba(255,77,109,0.12); color: var(--red);   border: 1px solid rgba(255,77,109,0.25); }

/* Grid de 3 precios */
.signal-prices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.signal-price-box { text-align: center; }
.signal-price-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.signal-price-val { font-size: 0.92rem; font-weight: 700; font-family: monospace; }
.entry-val { color: rgba(255,255,255,0.9); }
.tp-val    { color: var(--green); }
.sl-val    { color: var(--red); }

/* Stats row */
.sig-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 0.5rem;
}
.sig-stat-box    { text-align: center; }
.sig-stat-label  { font-size: 0.62rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.2rem; }
.sig-stat-val    { font-size: 0.9rem; font-weight: 700; }

/* Card footer */
.sig-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  background: rgba(255,255,255,0.015);
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sig-card-time    { font-size: 0.7rem; color: rgba(255,255,255,0.35); white-space: nowrap; }
.sig-status-badge { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 20px; white-space: nowrap; }
.status-active  { background: rgba(0,208,156,0.1);  color: var(--green); }
.status-win     { background: rgba(0,208,156,0.1);  color: var(--green); }
.status-loss    { background: rgba(255,77,109,0.1); color: var(--red); }
.status-expired { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }

/* Responsive Signals */
/* ── Tablet (≤960px) ── */
@media (max-width: 960px) {
  .sig-kpi-grid   { grid-template-columns: repeat(2, 1fr); }
  .sig-charts-row { grid-template-columns: 1fr; }
  .sig-bottom-row { grid-template-columns: 1fr; }

  /* Stats row: 2×2 en tablet */
  .sig-card-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤600px) ── */
@media (max-width: 600px) {
  .signals-section { padding: 60px 0; }

  /* KPI cards */
  .sig-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .sig-kpi-val  { font-size: 1.15rem; }
  .sig-kpi-card { padding: 0.9rem 1rem; gap: 0.65rem; }
  .sig-kpi-icon { width: 36px; height: 36px; font-size: 0.95rem; }

  /* Charts */
  .sig-chart-box { padding: 1rem 1rem 0.75rem; }

  /* Signal card top */
  .sig-card-top  { padding: 1rem 1rem 0.85rem; }

  /* Pair header: stack icon+name and badge vertically if needed */
  .sig-last-header { align-items: flex-start; }
  .sig-pair-name   { font-size: 0.9rem; }

  /* Price grid — reduce font on small phones */
  .signal-price-val   { font-size: 0.82rem; }
  .signal-price-label { font-size: 0.58rem; }

  /* Stats row: 2×2 */
  .sig-card-stats  { grid-template-columns: 1fr 1fr; padding: 0.75rem 1rem; }
  .sig-stat-val    { font-size: 0.82rem; }
  .sig-stat-label  { font-size: 0.58rem; }

  /* Footer: stack si hay poco espacio */
  .sig-card-footer { padding: 0.6rem 1rem; gap: 0.35rem; }
  .sig-card-time   { font-size: 0.65rem; }
  .sig-status-badge { font-size: 0.65rem; padding: 0.18rem 0.55rem; }
  .sig-refresh-info { font-size: 0.65rem; }

  /* CTA box */
  .sig-cta-box   { padding: 1.25rem; }

  /* History box */
  .sig-history-box { padding: 1rem; }

  /* Trade history table */
  .sig-table { font-size: 0.68rem; }
  .sig-table th, .sig-table td { padding: 0.45rem 0.4rem; }
}

/* ── Very small (≤400px) ── */
@media (max-width: 400px) {
  .sig-kpi-val      { font-size: 1rem; }
  .sig-badge        { font-size: 0.66rem; padding: 0.22rem 0.55rem; }
  .signal-price-val { font-size: 0.78rem; }
  .sig-dir-icon     { width: 32px; height: 32px; font-size: 0.8rem; }

  /* Trade history table — very compact */
  .sig-table { font-size: 0.6rem; }
  .sig-table th, .sig-table td { padding: 0.35rem 0.25rem; }
}
