/* Dedicated pricing page layer for MindsUP. */
.pricing-page { min-height: 100vh; background: #f7faf8; color: var(--black); }
.pricing-main { max-width: 1240px; margin: 0 auto; padding: 54px 28px 90px; }
.pricing-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: end; margin-bottom: 34px; }
.pricing-hero h1 { margin: 0 0 14px; max-width: 650px; font-size: clamp(32px, 5vw, 58px); line-height: 1.18; letter-spacing: -.04em; }
.pricing-hero h1 span { color: var(--purple); }
.pricing-hero p { max-width: 650px; margin: 0; color: #66726a; font-size: 15px; line-height: 2; }
.pricing-hero-note { padding: 20px; border: 1px solid rgba(116,16,84,.14); border-radius: 20px; background: linear-gradient(145deg, rgba(116,16,84,.08), rgba(255,255,255,.9)); }
.pricing-hero-note strong { display: block; margin-bottom: 7px; color: var(--purple); font-size: 14px; }
.pricing-hero-note p { font-size: 12px; line-height: 1.9; }
.pricing-switch { display: flex; gap: 8px; width: max-content; margin: 0 auto 25px; padding: 5px; border-radius: 999px; background: #e8eeea; }
.pricing-switch span { padding: 9px 17px; border-radius: 999px; color: #68736c; font-size: 12px; font-weight: 800; }
.pricing-switch span:first-child { background: var(--black); color: var(--white); }
.billing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 74px; }
.billing-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 25px 20px 20px; border: 1px solid #dfe7e1; border-radius: 21px; background: #fff; box-shadow: 0 14px 38px rgba(31,39,27,.055); }
.billing-card.featured { border: 1.5px solid var(--purple); box-shadow: 0 18px 48px rgba(116,16,84,.15); transform: translateY(-8px); }
.billing-badge { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 10px; font-weight: 800; }
.billing-name { margin-bottom: 7px; font-size: 18px; font-weight: 900; }
.billing-desc { min-height: 40px; color: #748078; font-size: 11px; line-height: 1.8; }
.billing-price { margin: 19px 0 4px; font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.billing-price small { color: #78847c; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.billing-credit { color: var(--purple); font-size: 11px; font-weight: 800; }
.billing-list { display: grid; gap: 10px; margin: 20px 0 22px; padding: 0; list-style: none; color: #5d6a62; font-size: 11px; line-height: 1.65; }
.billing-list li::before { content: '✓'; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 7px; border-radius: 50%; background: #edf5ef; color: #3d8a60; font-size: 10px; font-weight: 900; }
.billing-action { display: block; margin-top: auto; padding: 12px; border: 1px solid #d5dfd7; border-radius: 11px; color: var(--black); text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; transition: .2s ease; }
.billing-action:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.billing-card.featured .billing-action { border-color: var(--purple); background: var(--purple); color: #fff; }
.billing-card.featured .billing-action:hover { background: #5d0c43; }
.pricing-block { margin-top: 70px; }
.pricing-block-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pricing-block-head h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); }
.pricing-block-head p { max-width: 470px; margin: 0; color: #6a766e; font-size: 12px; line-height: 1.9; }
.credit-table { overflow: hidden; border: 1px solid #dfe7e1; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(31,39,27,.045); }
.credit-row { display: grid; grid-template-columns: 1.25fr .85fr .85fr .9fr; align-items: center; gap: 15px; padding: 16px 20px; border-bottom: 1px solid #edf1ed; font-size: 12px; }
.credit-row:last-child { border-bottom: 0; }
.credit-row.header { background: #f2f6f3; color: #68736c; font-size: 10px; font-weight: 800; }
.credit-model { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.credit-model img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.credit-muted { color: #768179; font-size: 11px; }
.credit-value { color: var(--purple); font-weight: 900; }
.payg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.payg-card { padding: 22px; border-radius: 19px; background: var(--black); color: #fff; box-shadow: 0 14px 35px rgba(31,39,27,.12); }
.payg-card:nth-child(2) { background: linear-gradient(145deg, #741054, #3c0b2e); }
.payg-card h3 { margin: 0 0 8px; font-size: 16px; }
.payg-card p { margin: 0 0 17px; color: #c8d0ca; font-size: 11px; line-height: 1.8; }
.payg-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); }
.payg-price strong { font-size: 24px; }
.payg-price span { color: #f3b5de; font-size: 11px; }
.pricing-footnote { margin-top: 18px; color: #87928a; font-size: 10px; line-height: 1.9; }
@media (max-width: 1000px) {
  .billing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-hero { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .pricing-main { padding-inline: 18px; }
  .pricing-hero h1 { font-size: 35px; }
  .billing-grid, .payg-grid { grid-template-columns: 1fr; }
  .billing-card.featured { transform: none; }
  .pricing-block-head { display: grid; }
  .credit-table { overflow-x: auto; }
  .credit-row { min-width: 640px; }
}
