.planes-page {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #121620;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(147, 51, 234, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 30%, rgba(249, 115, 22, 0.12), transparent 45%),
    radial-gradient(ellipse 70% 40% at 0% 60%, rgba(37, 99, 235, 0.14), transparent 50%),
    #f8f9ff;
}

.planes-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
}

.planes-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5f6d7e;
  text-decoration: none;
}

.planes-back:hover {
  color: var(--brand-purple, #9333ea);
}

.planes-hero {
  padding: 1.25rem 1rem 0.5rem;
  text-align: center;
}

.planes-logo {
  width: min(220px, 78vw);
}

.planes-hero__tag {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #5f6d7e;
}

.planes-hero__title {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.planes-hero__sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #5f6d7e;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.planes-hero__bar {
  height: 4px;
  margin: 1.25rem auto 0;
  max-width: 12rem;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.planes-main {
  flex: 1;
  padding: 0.75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-card {
  position: relative;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(30, 27, 75, 0.08);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.plan-card:active {
  transform: scale(0.985);
}

.plan-card.is-selected {
  border-color: var(--brand-purple, #9333ea);
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.22);
}

.plan-card--1 { border-top: 4px solid #2563eb; }
.plan-card--2 { border-top: 4px solid #7c3aed; }
.plan-card--3 { border-top: 4px solid #c026d3; }
.plan-card--4 { border-top: 4px solid #ea580c; }
.plan-card--5 { border-top: 4px solid #1e1b4b; }

.plan-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.plan-card__tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5f6d7e;
}

.plan-card__name {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e1b4b;
}

.plan-card__price {
  margin: 0.5rem 0 0;
}

.plan-card__amount {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--brand-gradient-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-card__period {
  font-size: 0.85rem;
  color: #5f6d7e;
}

.plan-card__limit {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #374151;
}

.plan-card__includes {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.88rem;
  color: var(--brand-purple, #9333ea);
  font-weight: 600;
}

.plan-card__features {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #374151;
}

.plan-card__features li {
  margin-bottom: 0.35rem;
}

.plan-card__features code {
  font-size: 0.8em;
  background: #f3f4f8;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.planes-extra {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.planes-extra__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1e1b4b;
}

.planes-extra__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
}

.planes-cta {
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
}

.planes-cta__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e1b4b;
}

.planes-cta__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #5f6d7e;
  line-height: 1.45;
}

.planes-selected {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #374151;
}

.planes-selected.hidden {
  display: none;
}

.planes-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  background: var(--brand-gradient-diagonal);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.planes-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}

.planes-cta__note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.planes-footer {
  margin-top: 0;
}

@media (min-width: 540px) {
  .planes-shell {
    max-width: 560px;
  }
}
