:root {      
      --card:           hsl(222, 45%, 11%);
      --card-dim:       hsla(222, 45%, 11%, 0.6);
      --foreground:     hsl(40, 30%, 96%);
      --muted-fg:       hsl(220, 15%, 65%);
      --border:         hsl(222, 35%, 22%);
      --primary:        hsl(43, 67%, 56%);
      --primary-fg:     hsl(222, 60%, 10%);
      --secondary:      hsl(222, 40%, 16%);
      --grad-start:     hsl(43, 70%, 60%);
      --grad-end:       hsl(38, 75%, 48%);
      --neon-glow:      0 0 10px hsl(43 67% 56% / 0.55), 0 0 40px hsl(43 67% 56% / 0.25);
      --card-glow:      0 0 40px hsl(43 67% 56% / 0.15);
    }

/* ── MAIN ── */
    main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1.25rem 2rem; 
    }
	.pricingBtm {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted-fg);
    animation: fadeUp 0.5s 0.45s ease both;
    border: 1px solid hsl(43deg 67.25% 55.77% / 30%);
    max-width: 42rem;   
    border-radius: .75rem;
    background-color: hsl(43deg 67% 56% / 6%);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 0 auto;
	 margin-bottom: 1rem;
}
.pricingBtm p strong {
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    color: hsl(40deg 20.07% 92.91%);
}
.pricingBtm p:last-child {
	margin-bottom:0;
}
.pricingBtm p span {
    color: hsl(43deg 69.32% 56.89%);
}

    /* ── HERO ── */
    .page-hero {
      text-align: center;
      margin-bottom: 3rem;
      animation: fadeUp 0.5s ease both;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.4rem 1.1rem;
      border-radius: 9999px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
      color: var(--primary-fg);
      margin-bottom: 1.25rem;
    }
    h1 {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 800;
      line-height: 1.12;
      color: var(--foreground);
      margin-bottom: 1rem;
      letter-spacing: -0.025em;
    }
    h1 .highlight {
      color: var(--primary);
      text-shadow: var(--neon-glow);
    }
    .hero-sub {
      font-size: clamp(0.875rem, 1.5vw, 1rem);
      color: var(--muted-fg);
      max-width: 40rem;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ── ACTIVE PLAN BANNER ── */
    .active-plan-banner {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      max-width: 42rem;
      margin: 0 auto 1.5rem;
      padding: 0.875rem 1.25rem;
      border-radius: 0.75rem;
      border: 1px solid hsla(43, 67%, 56%, 0.3);
      background: hsla(43, 67%, 56%, 0.06);
      color: var(--foreground);
      font-size: 0.8125rem;
      line-height: 1.5;
      animation: fadeUp 0.5s ease both;
    }
    .active-plan-banner svg { flex-shrink: 0; color: var(--primary); }
    .active-plan-banner strong { color: var(--primary); }

    /* ── PRICING GRID ── */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
      margin-bottom: 2.5rem;
      align-items: start;
    }
    @media (max-width: 860px) {
      .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem;}
    }

    .pricing-grid.single-plan {
      grid-template-columns: 1fr;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }
    .pricing-grid.single-plan .plan-card { padding: 2.25rem; }
    .pricing-grid.single-plan .price-number { font-size: 3rem; }

    .plan-card {
      position: relative;
      border-radius: 1rem;
      padding: 1.75rem;
      border: 1px solid hsla(222, 35%, 22%, 0.5);
      background: var(--card-dim);
      transition: border-color 0.2s;
      animation: fadeUp 0.5s ease both;
    }
    .plan-card:hover { border-color: hsla(43, 67%, 56%, 0.3); }

    .plan-card.popular {
      border-color: hsla(43, 67%, 56%, 0.6);
      background: var(--card);
      box-shadow: var(--card-glow);
    }

    .plan-card.current-plan {
      border-color: hsla(142, 71%, 45%, 0.55);
      background: var(--card);
      box-shadow: 0 0 40px hsla(142, 71%, 45%, 0.15);
    }
    .plan-badge.owned {
      background: hsl(142, 71%, 45%);
      color: hsl(222, 60%, 10%);
    }

    /* pill badge on top edge */
    .plan-badge {
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.625rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
      color: var(--primary-fg);
      white-space: nowrap;
    }

    .plan-name {
      font-family: 'Manrope', sans-serif;
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--foreground);
      margin-bottom: 0.25rem;
      letter-spacing: -0.02em;
    }
    .plan-blurb {
      font-size: 0.75rem;
      color: var(--muted-fg);
      margin-bottom: 1.25rem;
      line-height: 1.5;
    }

    .plan-price {
      display: flex;
      align-items: baseline;
      gap: 0.375rem;
      margin-bottom: 0.25rem;
    }
    .star-icon {
      width: 20px; height: 20px;
      color: var(--primary);
      flex-shrink: 0;
      margin-bottom: 2px;
    }
    .price-number {
      font-family: 'Manrope', sans-serif;
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--foreground);
      line-height: 1;
      letter-spacing: -0.03em;
    }
    .plan-period {
      font-size: 0.75rem;
      color: var(--muted-fg);
      margin-bottom: 1.5rem;
    }

    .plan-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.625rem;
      margin-bottom: 1.5rem;
	  padding: 0;
    }
    .plan-features li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.875rem;
      color: hsla(40, 30%, 96%, 0.8);
      line-height: 1.4;
    }
    .check-icon {
      width: 16px; height: 16px;
      color: var(--primary);
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* Buttons */
    .btn-subscribe {
      width: 100%;
      padding: 0.75rem 1rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      cursor: pointer;
      transition: opacity 0.15s, border-color 0.15s;
      border: none;
    }
    .btn-subscribe.primary {
      background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
      color: var(--primary-fg);
      animation: pulseglow 2.5s ease-in-out infinite;
    }
    .btn-subscribe.primary:hover { opacity: 0.9; }

    .btn-subscribe.ghost {
      background: transparent;
      border: 1px solid hsla(222, 35%, 22%, 0.6);
      color: var(--foreground);
    }
    .btn-subscribe.ghost:hover { border-color: hsla(43, 67%, 56%, 0.5); }

    .btn-subscribe.disabled {
      background: var(--secondary);
      color: var(--muted-fg);
      cursor: not-allowed;
      border: none;
    }

    .btn-subscribe.owned {
      background: hsla(142, 71%, 45%, 0.12);
      color: hsl(142, 71%, 55%);
      border: 1px solid hsla(142, 71%, 45%, 0.4);
      cursor: not-allowed;
    }

    /* footer note */
    .footer-note {
      text-align: center;
      font-size: 0.75rem;
      color: var(--muted-fg);
      animation: fadeUp 0.5s 0.45s ease both;
    }

    /* ── SUBSCRIBE POPUP ── */
    .sub-popup-overlay {
      position: fixed; inset: 0; z-index: 300;
      background: hsla(222,47%,8%,0.75);
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
      display: flex; align-items: center; justify-content: center;
      padding: 1rem;
    }
    .sub-popup {
      background: hsl(222, 45%, 12%);
      border: 1px solid hsla(222,35%,22%,0.5);
      border-radius: 1.25rem; padding: 1.75rem;
      width: 100%; max-width: 380px;
      box-shadow: 0 32px 80px hsla(0,0%,0%,0.5);
      animation: scaleIn 0.2s ease;
    }
    @keyframes scaleIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
    .sub-popup-title {
      font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 800;
      color: var(--foreground); margin-bottom: 0.5rem; letter-spacing: -0.02em;
    }
    .sub-popup-desc { font-size: 0.8125rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1.25rem; }
    .sub-popup-rows { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }
    .sub-popup-row {
      display: flex; align-items: center; justify-content: space-between;
      font-size: 0.875rem; padding: 0.625rem 0.875rem; border-radius: 0.625rem;
      background: var(--secondary);
    }
    .sub-popup-row.highlight { background: hsla(43,67%,56%,0.1); border: 1px solid hsla(43,67%,56%,0.3); }
    .sub-popup-row span { color: var(--muted-fg); font-size: 0.8125rem; }
    .sub-popup-row strong { color: var(--foreground); }
    .sub-popup-row.highlight strong { color: var(--primary); }
    .sub-popup-actions { display: flex; gap: 0.75rem; }
    .btn-ghost-popup {
      flex: 1; padding: 0.75rem; border-radius: 9999px; border: 1px solid hsla(222,35%,22%,0.7);
      background: transparent; color: var(--foreground); font-size: 0.875rem; font-weight: 600;
      font-family: inherit; cursor: pointer;
    }
    .btn-ghost-popup:hover { border-color: hsla(43,67%,56%,0.5); }
    .btn-primary-popup {
      flex: 1.4; padding: 0.75rem; border-radius: 9999px; border: none;
      background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
      color: var(--primary-fg); font-size: 0.875rem; font-weight: 600;
      font-family: inherit; cursor: pointer;
    }
    .btn-primary-popup:disabled { opacity: 0.6; cursor: not-allowed; }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes pulseglow {
      0%, 100% { box-shadow: 0 0 18px hsla(43, 67%, 56%, 0.3); }
      50%       { box-shadow: 0 0 32px hsla(43, 67%, 56%, 0.6); }
    }

    .plan-card:nth-child(1) { animation-delay: 0.05s; }
    .plan-card:nth-child(2) { animation-delay: 0.15s; }
    .plan-card:nth-child(3) { animation-delay: 0.25s; }