:root {
  --bg: #08090B;
  --bg-panel: #131417;
  --bg-panel-raised: #1A1C20;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #EDEEF0;
  --text-dim: #8B8E96;
  --text-faint: #5B5E66;
  --accent: #4DD9E8;
  --accent-soft: rgba(77, 217, 232, 0.10);
  --accent-dim: #1E5B62;
  --warn: #D9A441;
  --warn-soft: rgba(217, 164, 65, 0.10);
  --err: #E2636B;
  --err-soft: rgba(226, 99, 107, 0.10);
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--sans);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(77,217,232,0.06), transparent),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.logo-inline { height: 24px; width: auto; display: block; opacity: 0.95; }
.logo-lockup { width: 132px; height: auto; display: block; margin: 0 auto 28px; }
.brand h1 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.subtitle {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 40px;
  max-width: 52ch;
  line-height: 1.55;
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 60%), var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.panel h2 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  color: var(--text);
}

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  color: var(--text-faint);
  font-weight: 500;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.status.completed { background: var(--accent-soft); color: var(--accent); }
.status.pending { background: var(--warn-soft); color: var(--warn); }
.status.error { background: var(--err-soft); color: var(--err); }

button {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
button:hover { filter: brightness(1.08); }
button.primary {
  background: linear-gradient(180deg, #5FE0EC, #2FB9C9);
  color: #04191C;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 20px -8px rgba(45,185,201,0.45);
}
button.ghost { background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text); }
button.ghost:hover { background: rgba(255,255,255,0.06); filter: none; }
button.small { padding: 6px 12px; font-size: 12px; }
button:disabled { opacity: 0.4; cursor: not-allowed; }

input[type="text"], input[type="password"] {
  width: 100%;
  background: var(--bg-panel-raised);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: var(--sans);
}
input:focus { outline: none; border-color: var(--accent-dim); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder { color: var(--text-faint); }

.row { display: flex; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }

.tabs { display: flex; gap: 4px; margin-bottom: 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 4px; width: fit-content; }
.tab {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
}
.tab.active { background: var(--bg-panel-raised); color: var(--text); }

.link-box {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px 14px;
  word-break: break-all;
  color: var(--accent);
}

.gate {
  max-width: 340px;
  margin: 120px auto;
  text-align: center;
}

.hint { font-size: 12px; color: var(--text-faint); margin-top: 9px; line-height: 1.55; }
.empty { color: var(--text-faint); font-size: 13px; padding: 24px 0; text-align: center; }

.center-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  max-width: 420px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 50%), var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.card h1 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
}
.card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 28px; }
.big-btn { width: 100%; padding: 14px; font-size: 14.5px; }

.success-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.success-icon svg { width: 22px; height: 22px; }

/* Listado de beneficios: divisores finos, sin cajas repetidas */
.trust-list { text-align: left; margin: 26px 0; }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.trust-item:last-child { border-bottom: none; }
.trust-icon {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 17px; height: 17px; }
.trust-icon.warn { color: var(--warn); }
.trust-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 3px; letter-spacing: -0.005em; }
.trust-text span { display: block; font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

.trust-footer {
  display: flex; align-items: center; gap: 9px;
  margin-top: 6px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-faint); text-align: left; line-height: 1.5;
}
.trust-footer svg { width: 14px; height: 14px; flex: none; opacity: 0.7; }
