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

:root {
  --bg: #020617;
  --bg-elevated: #02091f;
  --bg-alt: #020b23;
  --border-subtle: rgba(148, 163, 184, 0.2);

  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.12);

  --accent: #22c55e;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text: var(--text-main); /* FIX: antes se usaba --text y no existía */

  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);

  /* ✅ Brand button gradient */
  --btn-grad: linear-gradient(135deg, #2789ff, #0067e2);
  --btn-grad-hover: linear-gradient(135deg, #2f93ff, #005fd4);
  --btn-shadow: 0 18px 35px rgba(0, 103, 226, 0.35);
  --btn-shadow-hover: 0 22px 45px rgba(0, 103, 226, 0.45);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #020b23 0, #020617 55%);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

/* ✅ Brand (logo) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand:visited {
  color: inherit;
}
.brand-logo {
  height: 45px; /* ✅ pedido */
  width: auto;
  display: block;
}

/* (si aún usas logo en texto en algunos lugares) */
.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* ✅ Buttons (TODOS con el gradiente) */

.btn,
a.btn,
a.button,
.button,
.nav-cta,
.hero-cta,
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: block;
  text-align: center;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
  white-space: nowrap;
  color: #fff !important;
  text-decoration: none !important;
}

.btn:hover,
a.btn:hover,
a.button:hover,
.button:hover,
.nav-cta:hover,
.hero-cta:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}

.btn:active,
a.btn:active,
a.button:active,
.button:active,
.nav-cta:active,
.hero-cta:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active {
  transform: translateY(0px);
}

.btn:disabled,
input:disabled,
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Tamaños */
.btn-lg {
    padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* (Compat) si tu HTML aún usa estas clases */
.btn-primary,
.btn-ghost {
  background: var(--btn-grad);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--btn-shadow);
  justify-content: center;
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(to right, #e5e7eb, #a5b4fc, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 460px;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.hero-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding-top: 20px;
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border-radius: 26px;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1.3rem;
  color: var(--text-muted);
}

.pill {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.72rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.3);
}

/* Metrics */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.metric {
  background: rgba(15, 23, 42, 0.86);
  border-radius: 18px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.metric-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 600;
}

.metric-trend {
  font-size: 0.75rem;
}

.metric-trend.up {
  color: var(--accent);
}

.metric-trend.neutral {
  color: #e5e7eb;
}

/* Timeline */

.hero-timeline {
  margin-bottom: 0.9rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
}

.timeline-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.4rem 0;
}

.timeline-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.24rem;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3);
}

.timeline-title {
  font-size: 0.82rem;
}

.timeline-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* Trust strip */

.trust {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: radial-gradient(circle at center, #020b23 0, #020617 60%);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.trust-logos span {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.35rem 0.9rem;
}

/* Grid & cards */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.card ul {
  list-style: none;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
}

.card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--primary);
}

/* Steps */

.steps {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #c7d2fe;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Waitlist */

.waitlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.waitlist-copy h2 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.waitlist-copy p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.waitlist-bullets {
  list-style: none;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.waitlist-bullets li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.waitlist-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Form */

.waitlist-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.waitlist-form h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.9rem;
  margin-bottom: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}

input {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.48rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.4);
  background: rgba(15, 23, 42, 1);
}

.form-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.form-success,
.form-error {
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.form-success {
  color: #4ade80;
}

.form-error {
  color: #f97373;
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

details {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.7rem 0.9rem;
}

summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  margin-bottom: 0.4rem;
}

details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 0 2rem;
  background: radial-gradient(circle at bottom, #020617 0, #000 65%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-main p {
  max-width: 340px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--text-main);
  border-bottom-color: rgba(148, 163, 184, 0.35);
}

/* ===== Page layouts ===== */
.page-hero {
  padding: 7rem 0 2.2rem;
}
.page-hero .breadcrumb {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.page-hero p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 760px;
}

.legal {
  padding: 2.2rem 0 3.2rem;
}
.legal .container {
  max-width: 980px;
}
.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}
.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.75;
}
.legal ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}
.legal a {
  color: var(--text-main);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.compare {
  margin-top: 2.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(2, 11, 35, 0.35);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 1rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  vertical-align: top;
}

.compare th {
  text-align: left;
  color: var(--text-main);
  background: rgba(79, 70, 229, 0.08);
}

.compare td {
  color: var(--text-muted);
}

.compare tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-main);
  background: rgba(2, 11, 35, 0.4);
}

/* ===== Pricing cards ===== */
.card-top {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.card-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.card-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.25rem 0 1.1rem;
}
.price {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-main);
}
.period {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0;
}
.card-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.4;
}
.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}
.featured {
  border-color: rgba(79, 70, 229, 0.55);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.18);
}
.hint {
  margin-top: 0.85rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .waitlist-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    gap: 0.8rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-card {
    margin-top: 1rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
