/* Home + pricing: product hero + pricing cards (shared) */

.pricing-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 10dvh, 3.5rem) 0 1.5rem;
  text-align: center;
}
@media (min-width: 900px) {
  .pricing-hero {
    padding: clamp(3.5rem, 14dvh, 6rem) 0 2rem;
  }
}
.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-bottom-color: transparent;
  background: rgba(225, 29, 72, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fda4af;
  margin-bottom: 1rem;
}
.pricing-pill svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
  flex-shrink: 0;
}
.pricing-hero h1,
.pricing-hero h2 {
  font-family: var(--display, "Syne", system-ui, sans-serif);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--paper, #f4f4f5);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.pricing-hero p {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  padding: 0 0.5rem;
}
.pricing-hero p em {
  font-style: italic;
  color: var(--paper, #f4f4f5);
  font-weight: 600;
}

.pricing-rule {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}
.pricing-rule span {
  display: block;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-hot, #f43f5e), var(--magenta, #e879a9), transparent);
}

.pricing-products {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2.5rem 0 4rem;
  position: relative;
  z-index: 2;
}
.pricing-products::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(90vw, 52rem);
  height: 14rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(225, 29, 72, 0.14), transparent 70%);
  z-index: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.65rem;
  align-items: end;
  padding: 0 clamp(1rem, 4vw, 2rem);
  max-width: min(96rem, calc(100% - 2rem));
  width: 100%;
  position: relative;
  z-index: 1;
}
.pricing-grid--full {
  max-width: min(74rem, calc(100% - 2rem));
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}
@media (min-width: 1200px) {
  .pricing-grid--full {
    grid-template-columns: repeat(5, 1fr);
  }
}
.pricing-grid--home {
  max-width: min(58rem, calc(100% - 2rem));
}
@media (min-width: 900px) {
  .pricing-grid--home {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    width: 100%;
    align-items: stretch;
  }
  .pricing-grid--full,
  .pricing-grid--home {
    max-width: 24rem;
  }
  .pricing-grid--full .pcard,
  .pricing-grid--full .pcard--popular,
  .pricing-grid--home .pcard,
  .pricing-grid--home .pcard--popular {
    order: unset;
  }
}

.pcard {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: visible;
}
@media (max-width: 1024px) {
  .pricing-grid:not(.pricing-grid--full):not(.pricing-grid--home) .pcard { order: 2; }
  .pricing-grid:not(.pricing-grid--full):not(.pricing-grid--home) .pcard--popular { order: 1; }
}
.pcard--solar {
  border-color: rgba(251, 191, 36, 0.22);
  background: linear-gradient(165deg, rgba(120, 53, 15, 0.2), rgba(255, 255, 255, 0.03));
}
.pcard__ico--solar {
  width: 2rem;
  height: 2rem;
  filter: drop-shadow(0 0 0.55rem rgba(251, 191, 36, 0.45));
}
.pcard--popular {
  margin-top: -1.25rem;
  padding: 1.85rem 1.4rem 1.55rem;
  z-index: 2;
  box-shadow:
    inset 0 0 0 1px rgba(244, 63, 94, 0.14),
    0 28px 72px rgba(0, 0, 0, 0.5);
  background: linear-gradient(165deg, rgba(50, 6, 14, 0.55), rgba(255, 255, 255, 0.04));
}
@media (max-width: 1024px) {
  .pcard--popular {
    margin-top: 0;
    padding: 1.35rem 1.25rem;
  }
}
.pcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pcard__ico {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--red-hot, #f43f5e);
  filter: drop-shadow(0 0 0.5rem rgba(244, 63, 94, 0.35));
  flex-shrink: 0;
}
.pcard__ico--seal {
  width: 1.9rem;
  height: 1.9rem;
  filter: drop-shadow(0 0 0.55rem rgba(244, 63, 94, 0.45));
}
.pcard__ico--star {
  width: 2rem;
  height: 2rem;
  filter: drop-shadow(0 0 0.55rem rgba(244, 63, 94, 0.5));
}
.pcard__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.2), rgba(232, 121, 169, 0.2));
  border: 1px solid rgba(244, 114, 182, 0.25);
  color: var(--paper, #f4f4f5);
  white-space: nowrap;
}
.pcard h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper, #f4f4f5);
}
.pcard .pcard__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(244, 244, 245, 0.72);
}
.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin: 1.25rem 0 1rem;
}
.pcard__price strong {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--paper, #f4f4f5);
  line-height: 1;
}
.pcard__price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute, #9ca3af);
  text-transform: lowercase;
}
.pcard__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, filter 0.2s;
}
a.pcard__cta--solid:hover { filter: brightness(1.08); }
.pcard__cta--invert {
  background: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #0a0a0a;
}
a.pcard__cta--invert:hover {
  filter: brightness(1.04);
  background: #fff;
}
.pcard__cta--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.14);
  color: var(--paper, #f4f4f5);
}
a.pcard__cta--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.pcard__dash {
  margin-top: 1.15rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}
.pcard__foot {
  margin-top: 1rem;
}
.pcard__foot > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(244, 244, 245, 0.55);
  margin-bottom: 0.35rem;
}
.pcard ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pcard li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(244, 244, 245, 0.88);
  line-height: 1.35;
}
.pcard li svg {
  width: 1rem;
  height: 1rem;
  color: var(--red-hot, #f43f5e);
  flex-shrink: 0;
  margin-top: 0.12rem;
}

/* Non-interactive CTA + “Coming soon” (store closed) */
.pcard-cta-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.pcard-cta-wrap .pcard__cta {
  width: 100%;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.9;
}
.pcard-cta-wrap a.pcard__cta:hover,
.pcard-cta-wrap a.pcard__cta--ghost:hover,
.pcard-cta-wrap a.pcard__cta--invert:hover {
  filter: none;
  background: inherit;
}
.pcard-cta-wrap .btn-start-soon {
  right: 0.35rem;
  top: -0.3rem;
}
