:root {
  --bg-main: #f8f8f8;
  --bg-soft: #ffffff;  
  --border: #e5e5e5;  
  --text-main: #000;
  --text-muted: rgb(68, 68, 68);
  --accent: rgb(0, 200, 150);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }


/* ================= NAV ================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 28px;
}

.logo strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}
/* ================= LAYOUT ================= */
.section {
  padding: 40px 0;
}

.alt-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg-alt);
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 32px;
}

/* ================= TITLES ================= */
.category-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}

/* ================= STATS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
background: linear-gradient(
  to right,
  rgba(255,255,255,0.85) 0%,
  rgba(255,255,255,0.75) 45%,
  rgba(255,255,255,0.50) 70%,
  rgba(255,255,255,0.35) 100%
);

  border-radius: 28px;
  border: 2px solid #dcdcdc;
  padding: 28px 24px;
  text-align: center;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 8px 28px rgba(0,0,0,0.06);
}
.stat-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.stat-card p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;   /* negro sólido */
}


/* ================= DESCRIPTION ================= */
.description p {
  max-width: 1300px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.key-points {
  padding-left: 20px;
  margin-bottom: 20px;
}

.key-points li {
  margin-bottom: 8px;
}

.figures {
  font-size: 0.8rem;
  color: #777;
}

/* ================= BOT ================= */
.bot-block {
  background: #fff;
  border-radius: 28px;
  border: 2px solid #dcdcdc; 
  padding: 10px;
  box-shadow: 0 0px 30px rgba(0,0,0,0.06);
}

.bot-title {
  font-size: 2.2rem;      /* ⬅️ tamaño grande */
  font-weight: 800;       /* ⬅️ bien contundente */
  margin-bottom: 6px;
  letter-spacing: -0.5px; /* ⬅️ look premium */
}

.bot-description p {
  text-align: justify;
}
/* ================= BOT HEADER IMAGE ================= */

.bot-header {
  width: 1000%;
  height: 130px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
}

/* ====== IMAGES PER BOT ====== */

.bot-header.sp500 {
  background-image: url("Fotos/sp500ok.png");
}

.bot-header.nasdaq {
  background-image: url("Fotos/nasok.png");
}

.bot-header.dax {
  background-image: url("Fotos/daxok.png");
}

.bot-header.fr40 {
  background-image: url("Fotos/frok.png");
}

.bot-header.eth {
  background-image: url("Fotos/ethok.png");
}

.bot-tagline {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.bot-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: #f3f3f3;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.metric-card span {
  font-size: 1rem;
  text-transform: uppercase;
  color: #666;
}

.metric-card strong {
  font-size: 1.1rem;
}

/* ================= DETAILS ================= */
.bot-details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 20px;
}

.bot-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 24px;
}

/* ================= CTA ================= */
.bot-cta {
  margin-top: 24px;
}
.license-select {
  margin-right: 50px;  /* ajusta 20–40px a gusto */
}

.license-label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: #666;
}

.license-select {
  width: 100%;
  max-width: 180px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
}
S
/* ================= FOOTER ================= */

.footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 50px 0;
}

/* Contenedor centrado pero texto alineado izquierda */
.footer .legal-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;   /* 🔥 clave */
}

/* Copyright centrado */
.footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 30px;
}

/* Párrafos */
.footer .legal-text p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}


/* ================= BOT SEPARATION ================= */

.bot-block {
  margin-bottom: 64px;
}

.bot-block:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 64px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.15),
    transparent
  );
}

/* ================= PREMIUM CARD BASE ================= */

.premium-card {
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e6e6e6 40%,
    #fdfdfd 50%,
    #ececec 60%,
    #f0f0f0 100%
  );
  border: 1px solid #cccccc;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 6px 18px rgba(0,0,0,0.06);
}

.stat-card {
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e6e6e6 40%,
    #fdfdfd 50%,
    #ececec 60%,
    #f0f0f0 100%
  );
  border: 1px solid #ccc;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 6px 18px rgba(0,0,0,0.06);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.metric-card {
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e6e6e6 40%,
    #fdfdfd 50%,
    #ececec 60%,
    #f0f0f0 100%
  );
  border: 1px solid #ccc;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 6px 18px rgba(0,0,0,0.06);
}

.metric-card strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
}

/* ================= BACKGROUND FULL ================= */

/* Base común */
.bot-bg-combo,
.bot-bg-sp500,
.bot-bg-nasdaq,
.bot-bg-dax,
.bot-bg-fr40,
.bot-bg-eth {
  position: relative;
  overflow: hidden;
}

/* Fondo real (impacto visual) */
.bot-bg-combo::before,
.bot-bg-sp500::before,
.bot-bg-nasdaq::before,
.bot-bg-dax::before,
.bot-bg-fr40::before,
.bot-bg-eth::before {
  content: "";
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-size: 100%;          /* ⬅️ ZOOM OUT REAL */
  background-position: right center;
 

  filter: saturate(0.9) contrast(0.95) brightness(1.05);
  z-index: 0;
}

/* Overlay elegante (clave) */

.bot-bg-sp500::after,
.bot-bg-nasdaq::after,
.bot-bg-dax::after,
.bot-bg-fr40::after,
.bot-bg-eth::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.90) 45%,
    rgba(255,255,255,0.70) 70%,
    rgba(255,255,255,0.55) 70%
  );

  z-index: 1;
}

/* Contenido por encima */
.bot-bg-combo > *,
.bot-bg-sp500 > *,
.bot-bg-nasdaq > *,
.bot-bg-dax > *,
.bot-bg-fr40 > *,
.bot-bg-eth > * {
  position: relative;
  z-index: 2;
}

/* Imágenes */
.bot-bg-combo::before { background-image: url("Fotos/fondocombo.png"); }
.bot-bg-sp500::before { background-image: url("Fotos/fondosp2.png"); }
.bot-bg-nasdaq::before { background-image: url("Fotos/fondons2.png"); }
.bot-bg-dax::before { background-image: url("Fotos/fondojp.png"); }
.bot-bg-fr40::before { background-image: url("Fotos/fondouk.png"); }
.bot-bg-eth::before { background-image: url("Fotos/fondoeth2.png"); }

.vision-bg{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* full width real */
  width: 100vw;
  margin-left: calc(50% - 50vw);

  background: #fff; /* por si acaso */
}
.bot-bg-combo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.90) 45%,
    rgba(255,255,255,0.70) 70%,
    rgba(255,255,255,0.55) 100%
  );
  z-index: 1;
}
/* FONDO: que cubra todo, pero con zoom-out mediante transform */
.vision-bg::before{
  content: "";
  position: absolute;

  /* inset negativo para que al hacer scale no aparezcan bordes */
  inset: -80px;

  background-image: url("Fotos/fondo.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover; /* ✅ llena todo el bloque */

  /* ✅ zoom out real */
  transform: scale(1);
  transform-origin: right center;

  z-index: 0;
  filter: saturate(0.9) contrast(0.95) brightness(1.05);
}



/* Contenido encima */
.vision-bg > .container{
  position: relative;
  z-index: 2;
}

.bot-bg-combo::before,
.bot-bg-sp500::before,
.bot-bg-nasdaq::before,
.bot-bg-dax::before,
.bot-bg-fr40::before,
.bot-bg-eth::before,
.bot-bg-sp500::after,
.bot-bg-nasdaq::after,
.bot-bg-dax::after,
.bot-bg-fr40::after,
.bot-bg-eth::after {
  pointer-events: none;
}

/* ================= AUTH MODAL PREMIUM ================= */

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.auth-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: fadeInScale 0.25s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-box input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-buttons button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-buttons button:hover {
  opacity: 0.85;
}

.auth-toggle-text {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
}

.register-pill {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 6px;
}

.close-btn {
  background: transparent;
  border: none;
  color: #666;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}
.auth-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.auth-message.success {
  color: #2ecc71;
}

.auth-message.error {
  color: #e74c3c;
}

