/* =========================================
   BOTÓN ELEGIR PLAN — anillo LED morado (octágono continuo)
   Capa ::before = LED; .zeta-plan-btn__face = interior recortado
   Gana a planes-spec / perma-hero
   ========================================= */

button.zeta-plan-btn.plan-card__btn {
  margin: 0;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card > .plan-button.plan-card__btn.zeta-plan-btn,
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden) > .plan-button.plan-card__btn.zeta-plan-btn,
.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card:not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn,
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden):not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn,
.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > article.plan-card.featured.plan-card--featured.perma-hero-card .plan-button.plan-card__btn.zeta-plan-btn,
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.featured.plan-card--featured.perma-hero-card.plan-card--checkout-focus:not(.plan-card--hidden) .plan-button.plan-card__btn.zeta-plan-btn {
  --zc-ch: 13px;
  --zc-ch-in: max(6px, calc(var(--zc-ch) - 2px));
  --zc-ring: 2px;

  position: absolute !important;
  left: 34px !important;
  right: 34px !important;
  bottom: 28px !important;

  width: auto !important;
  max-width: none !important;
  min-height: 64px !important;
  height: 64px !important;
  max-height: none !important;
  padding: 0 !important;

  box-sizing: border-box !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;

  color: #f4e9ff !important;
  display: block !important;
  overflow: visible !important;
  isolation: isolate !important;
  cursor: pointer !important;
  filter: none !important;
  z-index: 6 !important;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45) !important;

  transition: transform 0.16s ease, box-shadow 0.2s ease !important;
}

/* Capa LED: mismo octágono que el botón, sin huecos en esquinas */
.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;

  clip-path: polygon(
    var(--zc-ch) 0,
    calc(100% - var(--zc-ch)) 0,
    100% var(--zc-ch),
    100% calc(100% - var(--zc-ch)),
    calc(100% - var(--zc-ch)) 100%,
    var(--zc-ch) 100%,
    0 calc(100% - var(--zc-ch)),
    0 var(--zc-ch)
  ) !important;

  background: linear-gradient(
    135deg,
    #faf5ff 0%,
    #e9d5ff 18%,
    #d8b4fe 38%,
    #a855f7 62%,
    #7c3aed 82%,
    #5b21b6 100%
  ) !important;

  box-shadow:
    0 0 10px rgba(200, 130, 255, 0.55),
    0 0 22px rgba(150, 75, 230, 0.35),
    0 0 36px rgba(100, 45, 180, 0.18) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn::after {
  content: none !important;
  display: none !important;
}

/* Interior: deja visible el anillo de ::before (grosor --zc-ring) */
.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face {
  position: absolute !important;
  top: var(--zc-ring) !important;
  left: var(--zc-ring) !important;
  right: var(--zc-ring) !important;
  bottom: var(--zc-ring) !important;
  z-index: 1 !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  padding: 0 56px 0 40px !important;

  clip-path: polygon(
    var(--zc-ch-in) 0,
    calc(100% - var(--zc-ch-in)) 0,
    100% var(--zc-ch-in),
    100% calc(100% - var(--zc-ch-in)),
    calc(100% - var(--zc-ch-in)) 100%,
    var(--zc-ch-in) 100%,
    0 calc(100% - var(--zc-ch-in)),
    0 var(--zc-ch-in)
  ) !important;

  background:
    radial-gradient(ellipse 85% 120% at 50% 45%, rgba(120, 55, 210, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(38, 14, 72, 0.98) 0%, rgba(8, 3, 22, 0.99) 100%) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  transform: translateX(-6px) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__text {
  font-family: var(--font-display, "Rajdhani", "Outfit", system-ui, sans-serif) !important;
  font-size: clamp(12px, 2.1vw, 15px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  color: #faf5ff !important;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.2),
    0 0 18px rgba(180, 110, 255, 0.45),
    0 0 28px rgba(130, 60, 220, 0.25) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__arrow {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__arrow svg {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 5px rgba(190, 150, 255, 0.45))
    drop-shadow(0 0 10px rgba(120, 70, 190, 0.3)) !important;
}

.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card > .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled),
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden) > .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled),
.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card:not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled),
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden):not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled),
.section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > article.plan-card.featured.plan-card--featured.perma-hero-card .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled),
.section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.featured.plan-card--featured.perma-hero-card.plan-card--checkout-focus:not(.plan-card--hidden) .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn:hover:not(:disabled)::before {
  filter: brightness(1.1) saturate(1.08) !important;
  box-shadow:
    0 0 14px rgba(220, 160, 255, 0.65),
    0 0 28px rgba(170, 90, 240, 0.42),
    0 0 44px rgba(110, 50, 190, 0.22) !important;
}

.section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn:focus-visible {
  outline: 2px solid rgba(230, 200, 255, 0.95) !important;
  outline-offset: 3px !important;
}

@media (max-width: 768px) {
  .section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card > .plan-button.plan-card__btn.zeta-plan-btn,
  .section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden) > .plan-button.plan-card__btn.zeta-plan-btn,
  .section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > .plan-card:not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn,
  .section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.plan-card--checkout-focus:not(.plan-card--hidden):not(.featured) > .plan-button.plan-card__btn.zeta-plan-btn,
  .section--planes.plans-section .plans.plans-grid:not(.plans--checkout) > article.plan-card.featured.plan-card--featured.perma-hero-card .plan-button.plan-card__btn.zeta-plan-btn,
  .section--planes.plans-section .plans.plans-grid.plans--checkout > article.plan-card.featured.plan-card--featured.perma-hero-card.plan-card--checkout-focus:not(.plan-card--hidden) .plan-button.plan-card__btn.zeta-plan-btn {
    --zc-ch: 8px;
    --zc-ch-in: max(4px, calc(var(--zc-ch) - 2px));
    --zc-ring: 2px;
    min-height: 46px !important;
    height: 46px !important;
  }

  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face {
    padding: 0 38px 0 20px !important;
  }

  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__text {
    font-size: clamp(11px, 2.8vw, 13px) !important;
    letter-spacing: 0.16em !important;
  }

  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__arrow,
  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__arrow svg {
    width: 24px !important;
    height: 24px !important;
  }

  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__arrow {
    right: 10px !important;
  }

  .section--planes.plans-section .plan-button.plan-card__btn.zeta-plan-btn .zeta-plan-btn__face .zeta-plan-btn__content {
    transform: translateX(-4px) !important;
  }
}
