/* ==========================================================================
   Blueva Pass
   The one page where the Pass purple leads instead of accenting: a violet
   hero with the visitor's own skin on a glowing stage, glass cards tinted
   violet, the catalogue as Pass-included cards and the plans at the end.

   Link and button rules carry body.blueva-theme: store.css paints every link
   with the accent colour, which would otherwise win.
   ========================================================================== */

.bp {
  --bp-1: #9333ea;
  --bp-2: #4f46e5;
  --bp-3: #2563eb;
  --bp-soft: #c4b5fd;
  --bp-grad: linear-gradient(135deg, var(--bp-1), var(--bp-2) 60%, var(--bp-3));
  --bp-grad-hover: linear-gradient(135deg, #a855f7, #6366f1 60%, #3b82f6);
  --bp-border: rgba(168, 85, 247, 0.28);
  --bp-tint: rgba(147, 51, 234, 0.1);
  position: relative;
  padding-bottom: var(--space-16);
  overflow-x: clip;
}

.blueva-pass-name {
  font-family: 'Viga', sans-serif;
  font-size: 1.08em;
}

.bp-flash {
  position: fixed;
  top: calc(var(--navbar-height) + 12px);
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #16a34a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-weight: var(--font-semibold);
}

/* ----------------------------------------------------------------- hero -- */

.bp-hero {
  position: relative;
  margin-top: calc(var(--navbar-height) * -1);
  padding: calc(var(--navbar-height) + 64px) 0 56px;
}

/* A violet bloom behind the hero, laid over the site mesh. */
.bp-hero__aura {
  position: absolute;
  inset: 0 0 -120px;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(147, 51, 234, 0.35), transparent 70%),
    radial-gradient(40% 50% at 15% 30%, rgba(79, 70, 229, 0.22), transparent 70%);
  pointer-events: none;
}

.bp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.bp-hero__copy {
  animation: bp-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 15px;
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  background: var(--bp-tint);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bp-soft);
  font-size: 0.82rem;
  font-weight: var(--font-semibold);
}

.bp-hero__title {
  margin: 0 0 18px;
  font-family: 'Viga', sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #e9d5ff 0%, #c084fc 35%, #818cf8 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(147, 51, 234, 0.35));
}

.bp-hero__lead {
  max-width: 540px;
  margin: 0 0 30px;
  color: var(--theme-text-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: var(--leading-relaxed);
}

.bp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

/* Each fact sits in its own glass capsule, so they read as a set. */
.bp-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  background: var(--bp-tint);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--theme-text-secondary);
  font-size: 0.9rem;
}

.bp-hero__facts i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--bp-grad);
  color: #fff;
  font-size: 0.72rem;
}

.bp-hero__facts strong {
  color: var(--theme-text-primary);
  font-weight: var(--font-extrabold);
}

.bp-hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  animation: bp-rise 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bp-hero__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), rgba(79, 70, 229, 0.18) 55%, transparent 70%);
  filter: blur(10px);
  animation: bp-breathe 6s ease-in-out infinite;
}

/* The glowing disc the character stands on. */
.bp-hero__ring {
  position: absolute;
  bottom: 30px;
  width: 58%;
  height: 56px;
  border: 2px solid rgba(196, 181, 253, 0.55);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.55), transparent 70%);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), inset 0 0 30px rgba(168, 85, 247, 0.5);
}

.bp-hero__character {
  position: relative;
  width: auto;
  height: 460px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  animation: bp-float 5s ease-in-out infinite;
}

.bp-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  background: rgba(20, 12, 40, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: var(--font-semibold);
  white-space: nowrap;
  animation: bp-float 6s ease-in-out infinite;
}

.bp-float i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bp-grad);
  font-size: 0.75rem;
}

.bp-float--one { top: 16%; left: 0; animation-delay: -1s; }
.bp-float--two { top: 44%; right: 0; animation-delay: -3s; }
.bp-float--three { bottom: 16%; left: 6%; animation-delay: -4.5s; }

@keyframes bp-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bp-breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ------------------------------------------------------------- buttons -- */

body.blueva-theme .bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--bp-border);
  border-radius: 15px;
  background: var(--bp-tint);
  color: var(--theme-text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--font-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, gap 0.2s ease;
}

body.blueva-theme .bp-btn:hover {
  background: rgba(147, 51, 234, 0.18);
  color: var(--theme-text-primary);
  transform: translateY(-1px);
}

body.blueva-theme .bp-btn--primary,
body.blueva-theme .bp-btn--primary:hover {
  border-color: transparent;
  background: var(--bp-grad);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
}

body.blueva-theme .bp-btn--primary:hover {
  gap: 12px;
  background: var(--bp-grad-hover);
  box-shadow: 0 16px 38px rgba(124, 58, 237, 0.6);
}

body.blueva-theme .bp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

body.blueva-theme .bp-btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.bp-btn--block {
  width: 100%;
}

/* ---------------------------------------------------------- value strip -- */

.bp-value {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  margin-bottom: 88px;
  padding: 32px 38px;
  border: 1px solid var(--bp-border);
  border-radius: 28px;
  background:
    radial-gradient(80% 140% at 0% 50%, rgba(147, 51, 234, 0.22), transparent 60%),
    var(--theme-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.bp-value__number {
  display: grid;
  justify-items: center;
}

.bp-value__number strong {
  font-family: 'Viga', sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(160deg, #f5f3ff, #c084fc 55%, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bp-value__number span {
  color: var(--bp-soft);
  font-size: 0.85rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bp-value__copy h2 {
  margin: 0 0 8px;
  color: var(--theme-text-primary);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.02em;
}

.bp-value__copy p {
  margin: 0;
  color: var(--theme-text-secondary);
  line-height: var(--leading-relaxed);
}

.bp-value__compare {
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border: 1px solid var(--bp-border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  text-align: right;
}

.bp-value__compare span {
  color: var(--theme-text-tertiary);
  font-size: 0.78rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bp-value__compare del {
  margin-bottom: 8px;
  color: var(--theme-text-secondary);
  font-size: 1.15rem;
  font-weight: var(--font-bold);
}

.bp-value__compare strong {
  color: #fff;
  font-size: 1.7rem;
  font-weight: var(--font-extrabold);
}

.bp-value__compare small {
  color: var(--bp-soft);
  font-size: 0.9rem;
  font-weight: var(--font-semibold);
}

/* ------------------------------------------------------------- sections -- */

.bp-section {
  margin-bottom: 88px;
}

.bp-section__head {
  margin-bottom: 28px;
}

.bp-section__head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.bp-kicker {
  display: inline-block;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.8rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bp-section__head h2,
.bp-showcase__copy h2,
.bp-pricing__copy h2 {
  margin: 0;
  color: var(--theme-text-primary);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bp-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bp-benefit {
  padding: 24px 22px;
  border: 1px solid var(--theme-glass-border);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(147, 51, 234, 0.12), transparent 55%),
    var(--theme-glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.bp-benefit:hover {
  border-color: var(--bp-border);
  box-shadow: 0 20px 50px -20px rgba(124, 58, 237, 0.55);
  transform: translateY(-4px);
}

.bp-benefit__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--bp-grad);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.4);
  color: #fff;
  font-size: 1.1rem;
}

.bp-benefit h3 {
  margin: 0 0 8px;
  color: var(--theme-text-primary);
  font-size: 1.08rem;
  font-weight: var(--font-bold);
}

.bp-benefit p {
  margin: 0;
  color: var(--theme-text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------- showcase -- */

.bp-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 88px;
  padding: 24px;
  border: 1px solid var(--theme-glass-border);
  border-radius: 28px;
  background: var(--theme-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bp-showcase__copy {
  padding: 12px 0 12px 16px;
}

.bp-showcase__copy p {
  margin: 16px 0 0;
  color: var(--theme-text-secondary);
  line-height: var(--leading-relaxed);
}

.bp-showcase__media {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.bp-showcase__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* The shared store cards, tinted for the Pass. */
.bp-grid .sx-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(168, 85, 247, 0.15), 0 20px 60px -20px rgba(124, 58, 237, 0.55);
}

.bp-grid .sx-card:hover .sx-card__go {
  background: var(--bp-grad);
}

.sx-price .sx-price__pass {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--bp-grad, linear-gradient(135deg, #9333ea, #4f46e5, #2563eb));
  color: #fff;
  font-size: 0.85rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------- pricing -- */

.bp-pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--bp-border);
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(147, 51, 234, 0.26), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, rgba(37, 99, 235, 0.22), transparent 60%),
    var(--theme-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  scroll-margin-top: calc(var(--navbar-height) + 24px);
}

.bp-pricing__copy p {
  margin: 14px 0 22px;
  color: var(--theme-text-secondary);
  line-height: var(--leading-relaxed);
}

.bp-checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--theme-text-primary);
  font-weight: var(--font-medium);
}

.bp-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-checks i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--bp-grad);
  color: #fff;
  font-size: 0.7rem;
}

.bp-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.bp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 24px;
  border: 1px solid var(--theme-glass-border);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.18);
}

.bp-plan--wide {
  grid-column: 1 / -1;
}

/* A gradient border drawn with a masked pseudo-element, so the card keeps
   its glass fill inside. */
.bp-plan--featured {
  border-color: transparent;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(147, 51, 234, 0.3), transparent 70%),
    rgba(20, 12, 40, 0.55);
  box-shadow: 0 24px 60px -18px rgba(124, 58, 237, 0.7);
}

.bp-plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(160deg, #c084fc, #6366f1, #3b82f6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bp-plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--bp-grad);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  white-space: nowrap;
  transform: translateX(-50%);
}

.bp-plan__name {
  color: var(--bp-soft);
  font-size: 0.85rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bp-plan__price strong {
  color: var(--theme-text-primary);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.03em;
}

.bp-plan__price span {
  color: var(--theme-text-tertiary);
  font-weight: var(--font-semibold);
}

.bp-plan__note {
  flex: 1;
  margin: 0 0 12px;
  color: var(--theme-text-secondary);
  font-size: 0.92rem;
}

/* ----------------------------------------------------------- light mode -- */

:root[data-theme="light"] .bp {
  --bp-soft: #7c3aed;
  --bp-tint: rgba(147, 51, 234, 0.08);
}

:root[data-theme="light"] .bp-hero__title {
  background: linear-gradient(120deg, #7e22ce 0%, #9333ea 35%, #4f46e5 70%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-theme="light"] .bp-value__number strong {
  background: linear-gradient(160deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-theme="light"] .bp-value__compare,
:root[data-theme="light"] .bp-plan {
  background: rgba(255, 255, 255, 0.6);
}

:root[data-theme="light"] .bp-value__compare strong {
  color: var(--theme-text-primary);
}

:root[data-theme="light"] .bp-plan--featured {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(147, 51, 234, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.85);
}

:root[data-theme="light"] .bp-float {
  background: rgba(255, 255, 255, 0.8);
  color: #1e1b4b;
}

:root[data-theme="light"] .bp-value,
:root[data-theme="light"] .bp-pricing {
  box-shadow: 0 24px 60px rgba(76, 29, 149, 0.1);
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 1100px) {
  .bp-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bp-value__compare {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 960px) {
  .bp-hero__inner,
  .bp-showcase,
  .bp-pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-hero__stage {
    min-height: 420px;
  }

  .bp-hero__character {
    height: 370px;
  }

  .bp-showcase__copy {
    padding: 8px;
  }

  .bp-pricing {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .bp-hero {
    padding-top: calc(var(--navbar-height) + 32px);
  }

  .bp-hero__facts {
    gap: 8px;
  }

  .bp-float {
    font-size: 0.75rem;
  }

  .bp-float--one { left: 0; }
  .bp-float--two { right: 0; }

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

  .bp-plans {
    gap: 26px;
  }

  .bp-value {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 26px 22px;
    text-align: center;
  }

  .bp-value__compare {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-hero__copy,
  .bp-hero__stage,
  .bp-hero__halo,
  .bp-hero__character,
  .bp-float {
    animation: none;
  }

  .bp-benefit {
    transition: none;
  }

  .bp-benefit:hover {
    transform: none;
  }
}
