/* Eduloo's pricing skin - the mascot hero and the page background, nothing else.

   This file used to be 911 lines: a full Material token bridge plus a repaint
   of every card, badge, button, tab, table and trust row, each rule !important
   because it was fighting a base component that painted its own palette. The
   base pricing component now derives everything from the project's own tokens
   (--primary-blue, --card-bg, --border-color) and inherits the project font,
   so all of that is the default. What is left is genuinely Eduloo's: the
   ribbon/orb scene and Loo. */

.eduloo-page.pricing-main {
  background: var(--surface-container-low) !important;
}

.pricing-page.epr-page .epr-hero {
  position: relative;
  overflow: hidden;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: calc(var(--nb-height, 0px) + clamp(54px, 8vw, 104px)) 0
    clamp(50px, 6vw, 80px) !important;
  text-align: left;
}

.pricing-page.epr-page .epr-hero-scene {
  top: 50% !important;
  right: -60px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: min(840px, 60vw) !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
  -webkit-mask-image: radial-gradient(
    470px 196px at 56% 50%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    470px 196px at 56% 50%,
    #000 30%,
    transparent 80%
  );
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page.epr-page .hero-ribbon,
  .pricing-page.epr-page .hero-orb-a,
  .pricing-page.epr-page .hero-orb-b {
    animation: none !important;
  }
}

.pricing-page.epr-page .epr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 901px) {
  .pricing-page.epr-page .epr-hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 52px;
  }
}

.pricing-page.epr-page .epr-hero-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.pricing-page.epr-page .epr-hero .pricing-hero-title,
.pricing-page.epr-page .epr-hero h1.pricing-hero-title {
  margin: 0 !important;
  max-width: 18ch;
  text-align: left !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(40px, 5.4vw, 66px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.02 !important;
  color: var(--on-surface) !important;
  text-wrap: balance;
}

.pricing-page.epr-page .epr-hero .pricing-hero-sub {
  margin: 0 !important;
  max-width: 52ch;
  text-align: left !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--on-surface-variant) !important;
}

.pricing-page.epr-page .epr-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pricing-page.epr-page .epr-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--on-surface);
  background: var(--surface-bright);
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  box-shadow: 0 8px 18px -14px
    color-mix(in srgb, var(--on-surface) 40%, transparent);
}

.pricing-page.epr-page .epr-hero-pill svg {
  color: var(--primary);
  flex: 0 0 auto;
}

.pricing-page.epr-page .epr-hero-mascot {
  position: relative;
  justify-self: center;
  width: clamp(190px, 27vw, 264px);
}

@media (min-width: 901px) {
  .pricing-page.epr-page .epr-hero-mascot {
    justify-self: end;
    margin-right: -6px;
  }
}

.pricing-page.epr-page .epr-hero-mascot::before {
  content: '';
  position: absolute;
  inset: -14% -12%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 46%,
    color-mix(in srgb, var(--primary) 26%, transparent) 0%,
    color-mix(in srgb, var(--tertiary) 12%, transparent) 38%,
    transparent 68%
  );
  filter: blur(34px);
  pointer-events: none;
}

.pricing-page.epr-page .epr-hero-loo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(
    0 26px 42px color-mix(in srgb, var(--primary) 28%, transparent)
  );
}

.pricing-page.epr-page .epr-hero-bubble {
  position: absolute;
  top: -4%;
  right: -4%;
  z-index: 2;
  padding: 11px 17px;
  border-radius: 18px;
  background: var(--surface-bright);
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 900;
  transform: rotate(-10deg);
  white-space: nowrap;
  box-shadow: 0 18px 38px -12px
    color-mix(in srgb, var(--on-surface) 22%, transparent);
}

.pricing-page.epr-page .epr-hero-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 22px;
  width: 14px;
  height: 14px;
  background: var(--surface-bright);
  transform: rotate(45deg);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .pricing-page.epr-page .epr-hero {
    padding: 32px 18px 20px !important;
    text-align: center;
  }
  .pricing-page.epr-page .epr-hero-inner {
    gap: 18px;
    justify-items: center;
  }
  .pricing-page.epr-page .epr-hero-copy {
    justify-items: center;
  }
  .pricing-page.epr-page .epr-hero .pricing-hero-title,
  .pricing-page.epr-page .epr-hero h1.pricing-hero-title {
    text-align: center !important;
    max-width: 18ch;
    margin: 0 auto !important;
  }
  .pricing-page.epr-page .epr-hero .pricing-hero-sub {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .pricing-page.epr-page .epr-hero-pills {
    justify-content: center;
  }
  .pricing-page.epr-page .epr-hero-mascot {
    order: -1;
    width: clamp(150px, 46vw, 210px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page.epr-page .epr-hero-loo,
  .pricing-page.epr-page .epr-hero-bubble {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
