:root {
  /* ===== Trading High-Performance Palette ===== */
  --bg0: #0b0e11; /* Negro azulado profundo (Industrial Dark) */
  --bg1: #161a1e; /* Gris carbón para profundidad */

  /* cards / overlays */
  --card: rgba(30, 35, 41, 0.75); /* Superficie tipo Fintech */
  --card2: rgba(43, 49, 57, 0.65);

  /* text */
  --text: #eaecef; /* Blanco titanio para reducir fatiga visual */
  --muted: #929aa5; /* Gris frío secundario */
  --muted2: #848e9c;

  /* accents (Success Green + Binance Gold) */
  --accent: #02c076; /* Verde Trading (Éxito) */
  --accent2: #f0b90b; /* Naranja/Dorado de Valor */
  --accent3: #00ff94; /* Verde neón para indicadores */

  --stroke: rgba(255, 255, 255, 0.08);
  --stroke2: rgba(255, 255, 255, 0.05);

  --shadow: 0 22px 70px rgba(0, 0, 0, 0.7);
  --shadow2: 0 14px 50px rgba(0, 0, 0, 0.5);

  --radius: 18px;
  --radius2: 22px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    'Noto Sans',
    'Helvetica Neue',
    sans-serif;
  color: var(--text);
  background: var(--bg0);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 720px;
  background:
    radial-gradient(
      900px 450px at 50% 0%,
      rgba(2, 192, 118, 0.15), /* Destello verde superior */
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 15% 10%,
      rgba(240, 185, 11, 0.1), /* Glow naranja lateral */
      transparent 65%
    ),
    radial-gradient(
      900px 520px at 85% 12%,
      rgba(0, 255, 148, 0.08), /* Glow verde lateral */
      transparent 65%
    ),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 60%, var(--bg0) 100%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 64px;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(2, 192, 118, 0.18);
}

h1 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.9px;
}

.accent {
  color: var(--accent2);
  text-shadow: 0 0 28px rgba(240, 185, 11, 0.25);
}

.sub {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.62;
  margin: 8px 0 26px;
}

.sub b {
  color: rgba(255, 255, 255, 0.92);
}

/* ===== Cards ===== */
.cards {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow2);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 148px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    520px 150px at 50% 0%,
    rgba(2, 192, 118, 0.14), /* Brillo verde sutil */
    transparent 62%
  );
  pointer-events: none;
  opacity: 0.9;
}

.icon {
  width: 46px;
  height: 46px;
  margin: 2px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(2, 192, 118, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent2);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.93);
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--muted2);
  line-height: 1.42;
}

/* ===== CTA / Trust ===== */
.ctaRow {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  border: 1px solid rgba(2, 192, 118, 0.4);
  background: linear-gradient(90deg, #02c076 0%, #02a665 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(2, 192, 118, 0.2);
  min-width: 240px;
  transition:
    transform 0.12s ease,
    filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.15);
}

.btn:active {
  transform: translateY(0px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.trustRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 185, 11, 0.25);
  background: rgba(240, 185, 11, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--accent2);
  font-weight: 900;
  font-size: 13px;
}

.trustRow svg {
  width: 16px;
  height: 16px;
  fill: var(--accent2);
}

.divider {
  width: min(860px, 100%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  margin: 12px 0 0;
}

.fineprint {
  margin-top: 10px;
  max-width: 920px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.2px;
  line-height: 1.5;
  text-align: center;
}

.footerNote {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11.7px;
  line-height: 1.45;
  text-align: center;
  max-width: 920px;
}

/* ===== Sección de características ===== */
.featuresBlock {
  width: min(var(--max), 100%);
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.featuresTitle {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.4px;
  color: rgba(255, 255, 255, 0.93);
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--stroke2);
  border-radius: var(--radius2);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow2);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.featureItem {
  padding: 26px 22px;
  position: relative;
  z-index: 1;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 10px;
}

.featureItem:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.featureIcon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(2, 192, 118, 0.08);
  border: 1px solid rgba(240, 185, 11, 0.15);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  margin: 2px auto 6px;
  flex: 0 0 auto;
}

.featureIcon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent2);
}

.featureItem h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.93);
  line-height: 1.15;
}

.featureItem p {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  color: var(--muted2);
  max-width: 36ch;
}

/* ===== Footer legal ===== */
.legalFooter {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg0);
  padding: 26px 0 34px;
}

.legalInner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.legalTop {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  margin-bottom: 12px;
}

.legalLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.legalLinks a {
  font-size: 12px;
  color: rgba(135, 142, 156, 0.92);
  text-decoration: none;
  padding: 6px 10px;
}

.legalBody {
  padding: 18px 18px 16px;
  color: rgba(135, 142, 156, 0.92);
  font-size: 12.2px;
  line-height: 1.55;
}

.legalBody h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.92);
}

.legalBody h4 {
  margin: 16px 0 8px;
  font-size: 12.6px;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.9);
}

.legalBody p {
  margin: 0 0 10px;
}

.legalBody em {
  color: var(--accent2);
  font-style: italic;
  font-weight: 800;
}

.legalList {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(135, 142, 156, 0.92);
}

.legalList li {
  margin: 6px 0;
}

.legalList a {
  color: rgba(135, 142, 156, 0.96);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.28);
}

.legalList a:hover {
  border-bottom-color: var(--accent);
}

/* Botón fijo móvil */
.mobileSticky {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .btn {
    width: min(380px, 92vw);
  }

  .featuresGrid {
    grid-template-columns: 1fr;
    background: var(--bg0);
  }

  .featureItem:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .wrap {
    padding-bottom: 140px;
  }

  .mobileSticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.85) 40%,
      rgba(0, 0, 0, 0.96)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobileStickyInner {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .mobileStickyBtn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(2, 192, 118, 0.4);
    background: linear-gradient(90deg, #02c076 0%, #02a665 100%);
    color: #ffffff;
    font-weight: 950;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 18px 60px rgba(2, 192, 118, 0.18);
    font-size: 18px;
  }

  .mobileStickyBtn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
  }
}

@media (max-width: 520px) {
  h1 {
    letter-spacing: -0.6px;
  }

  .sub {
    margin-bottom: 22px;
  }

  .card {
    min-height: auto;
  }

  .legalBody {
    padding: 16px 14px 14px;
  }
}