:root {
  --bg-main: #020617;
  --bg-card: rgba(15,23,42,0.94);
  --border-subtle: rgba(148,163,184,0.35);
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #0ea5e9 0, #0f172a 40%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

/* Contenedor general */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem 2.5rem;
}

/* Tarjeta principal del hero */
.card-glass {
  margin-top: 1.4rem;
  margin-bottom: 2.4rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.25), rgba(15,23,42,0.96));
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem 1.8rem;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 24px 70px rgba(15,23,42,0.9);
}

/* Badge superior */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  font-size: .78rem;
  color: #cbd5f5;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.badge span:first-child {
  background: rgba(37,99,235,0.28);
  padding: .15rem .55rem;
  border-radius: 999px;
  font-weight: 600;
}

/* Título principal */
.card-glass h1 {
  margin: 1.1rem 0 .6rem;
  font-size: clamp(2.3rem, 3.8vw, 3.1rem);
}

.gradient {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #eab308);
  -webkit-background-clip: text;
  color: transparent;
}

/* Subtítulo */
.subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* Botones hero */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #06b6d4, #22c55e);
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(34,197,94,0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(34,197,94,0.65);
}

.btn-ghost {
  border-color: rgba(148,163,184,0.75);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.96);
  border-color: rgba(148,163,184,0.95);
}

/* Pills de beneficios */
.pills {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.pill {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: .78rem;
  color: #cbd5f5;
}

/* Sección de columnas bajo el hero */
.columns {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 1.2rem;
}

.card-secondary {
  background: rgba(15,23,42,0.94);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 48px rgba(15,23,42,0.85);
}

.card-secondary h3 {
  margin: 0 0 .45rem;
  font-size: 1.02rem;
}

.card-secondary p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-muted);
}

/* Código tipo bloque */
code.block {
  display: block;
  margin-top: .7rem;
  background: #020617;
  border-radius: 12px;
  padding: .8rem .9rem;
  border: 1px solid rgba(30,64,175,0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .8rem;
  color: #e5e7eb;
  white-space: pre;
  overflow-x: auto;
}

/* Features dentro de card-secondary */
.features {
  margin-top: .4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text-main);
}

.feature-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #22c55e);
}

/* Enlaces generales */
a {
  color: inherit;
}

a:hover {
  color: inherit;
}

/* =========================
   BLOQUE DE PRECIOS DESTACADO
   ========================= */
.pricing-card {
  position: relative;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .6rem;
}

.pricing-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.pricing-badge {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  color: #0f172a;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .7rem;
}

.pricing-plan {
  background: rgba(15,23,42,0.96);
  border-radius: 14px;
  padding: .7rem .7rem .65rem;
  border: 1px solid rgba(148,163,184,0.45);
  text-align: left;
}

.pricing-plan h4 {
  margin: 0 0 .25rem;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-amount {
  margin: 0 0 .1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-amount span {
  font-size: .74rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: .2rem;
}

.pricing-note {
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
}

/* Plan destacado (PRO) */
.pricing-plan-featured {
  border-color: rgba(56,189,248,0.9);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.6),
              0 14px 35px rgba(56,189,248,0.4);
  background: radial-gradient(circle at top left,
              rgba(56,189,248,0.35),
              rgba(15,23,42,0.98));
  transform: translateY(-2px);
}

.pricing-plan-featured h4 {
  color: #e0f2fe;
}

.pricing-plan-featured .pricing-amount {
  color: #f9fafb;
}

.pricing-footnote {
  margin: .1rem 0 0;
  font-size: .8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .card-glass {
    padding: 1.3rem 1.1rem 1.6rem;
  }

  .columns {
    grid-template-columns: 1fr;
  }

  .container {
    padding-inline: 1rem;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .card-glass h1 {
    font-size: 1.9rem;
  }

  .subtitle {
    font-size: .9rem;
  }

  .pills {
    gap: .45rem;
  }

  .pill {
    font-size: .76rem;
  }
}
