﻿/* Compact pricing page with one free entry point and three paid plan cards. */
.pricing-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 34px; border-bottom: 0; background: #fff; text-align: center; }
.pricing-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(26,26,26,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,.055) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.82) 72%, transparent 100%); }
.pricing-hero::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -300px; width: 820px; height: 430px; border-radius: 50%; background: rgba(33,90,232,.14); filter: blur(84px); transform: translateX(-50%); }
.pricing-hero-inner { position: relative; width: min(920px, calc(100% - 40px)); }
.pricing-hero h1 { max-width: 880px; margin: 0 auto; color: var(--color-text); font-family: inherit; font-size: clamp(2.7rem, 4vw, 3.8rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.pricing-hero > .pricing-hero-inner > p { max-width: 820px; margin: 18px auto 0; color: var(--color-text-muted); font-size: 1rem; line-height: 1.6; text-wrap: balance; }
.pricing-plans-section { position: relative; padding: 18px 0 88px; background: linear-gradient(180deg, #f4f7ff 0, #fff 58%); }
.pricing-plans-section > .container, .pricing-faq-section > .container { width: min(1080px, calc(100% - 64px)); }
.pricing-free-strip { display: grid; grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 1fr) auto; align-items: center; gap: 24px; margin: 0 0 18px; padding: 18px 20px; border: 1px solid #d7deed; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(33,65,145,.055); }
.pricing-free-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pricing-free-summary h2 { margin: 0; color: var(--color-text); font-size: 1.05rem; }
.pricing-free-summary p { margin: 4px 0 0; color: var(--color-text-muted); font-size: .78rem; }
.pricing-free-strip .pricing-card-price span { font-size: 2rem; }
.pricing-free-features { display: grid; gap: 7px; }
.pricing-free-benefit, .pricing-free-detail-list li { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--color-text-muted); font-size: .78rem; line-height: 1.4; }
.pricing-free-benefit span, .pricing-free-detail-list span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #e8efff; color: var(--color-primary); font-size: .7rem; font-weight: 800; }
.pricing-free-detail-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pricing-free-action { display: grid; justify-items: stretch; min-width: 180px; }
.pricing-free-strip .button { min-width: 180px; min-height: 44px; box-shadow: none; }
.pricing-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pricing-plan-pro_monthly { order: 1; }
.pricing-plan-pro_yearly { order: 2; }
.pricing-plan-project_pass { order: 3; }
.pricing-page-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 28px 26px 24px; border: 1px solid #d7deed; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(33,65,145,.065); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pricing-page-card:hover { border-color: #aebfeb; box-shadow: 0 20px 48px rgba(33,65,145,.12); transform: translateY(-3px); }
.pricing-page-card.is-selected { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(33,90,232,.14), 0 20px 48px rgba(33,65,145,.14); }
.pricing-page-card-featured { z-index: 1; border: 2px solid var(--color-primary); background: linear-gradient(180deg, #edf3ff 0, #fff 48%); box-shadow: 0 22px 52px rgba(33,90,232,.18); }
.pricing-recommended-badge { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; background: var(--color-primary); color: #fff; box-shadow: 0 7px 18px rgba(33,90,232,.24); font-size: .66rem; font-weight: 750; }
.pricing-selected-badge { display: inline-flex; align-items: center; justify-self: center; gap: 6px; width: fit-content; margin: 0 auto 10px; padding: 5px 10px; border: 1px solid #b9ccff; border-radius: 999px; background: #e8efff; color: var(--color-primary-hover); font-size: .68rem; font-weight: 750; line-height: 1.2; }
.pricing-selected-badge[hidden] { display: none; }
.pricing-selected-badge > span { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: .62rem; }
.pricing-card-header { min-height: 132px; text-align: left; }
.pricing-page-card h3 { margin: 0 0 14px; color: var(--color-text); font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.pricing-card-price { display: flex; align-items: baseline; justify-content: flex-start; gap: 7px; color: var(--color-text); font-variant-numeric: tabular-nums; }
.pricing-card-price span { font-family: inherit; font-size: clamp(2.8rem, 4vw, 3.35rem); font-weight: 750; letter-spacing: -.055em; line-height: .95; }
.pricing-card-price small { color: var(--color-text-muted); font-size: .82rem; line-height: 1.3; }
.pricing-billing-line { min-height: 20px; margin: 9px 0 0; color: var(--color-text-muted); font-size: .76rem; line-height: 1.45; }
.pricing-savings-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #d7e5ff; color: var(--color-primary-hover); font-size: .66rem; font-weight: 750; }
.pricing-feature-list { margin: 0; padding: 0; list-style: none; }
.pricing-feature-list-primary { margin-top: 20px; padding-top: 17px; border-top: 1px solid #e4e8f1; }
.pricing-feature-list-secondary { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #dce2ee; }
.pricing-feature-list li { display: flex; gap: 9px; margin: 10px 0; color: #42495d; font-size: .8rem; line-height: 1.42; }
.pricing-feature-list li span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #e8efff; color: var(--color-primary); font-size: .7rem; font-weight: 800; }
.pricing-card-action { display: grid; margin-top: auto; padding-top: 18px; }
.pricing-page-card .button { width: 100%; min-height: 46px; box-shadow: none; text-align: center; }
.pricing-page-card button.button { --checkout-spinner-color: #24170f; --checkout-spinner-track: rgba(36,23,15,.25); position: relative; cursor: pointer; font: inherit; }
.pricing-page-card button.button:disabled { cursor: not-allowed; opacity: .68; }
.pricing-page-card button.button-secondary { --checkout-spinner-color: #fff6eb; --checkout-spinner-track: rgba(255,246,235,.28); }
.pricing-page-card button.button.is-loading { color: transparent; }
.pricing-page-card button.button.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; border: 3px solid var(--checkout-spinner-track); border-top-color: var(--checkout-spinner-color); border-radius: 50%; animation: pricing-checkout-spin .72s linear infinite; transform: translate(-50%, -50%); }
.pricing-page-card-featured .button { box-shadow: 0 10px 25px rgba(33,90,232,.2); }
.pricing-cta-note { display: block; min-height: 18px; margin-top: 8px; color: var(--color-text-muted); font-size: .67rem; line-height: 1.4; text-align: center; }
.pricing-page-note { max-width: 900px; margin: 22px auto 0; color: var(--color-text-muted); font-size: .74rem; line-height: 1.55; text-align: center; }
.pricing-checkout-status { min-height: 1.5em; margin: 12px auto 0; color: var(--color-text-muted); text-align: center; }
.pricing-checkout-status.is-error { color: #b42318; }
.pricing-faq-section { padding-top: 72px; }
.pricing-faq-section .section-heading-block { margin-bottom: 24px; }
@media (max-width: 1040px) {
  .pricing-free-strip { grid-template-columns: 1fr auto; }
  .pricing-free-features { grid-column: 1 / -1; grid-row: 2; }
  .pricing-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .pricing-page-card { padding-inline: 20px; }
}
@media (max-width: 860px) {
  .pricing-page-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-card-header { min-height: 0; }
}
@media (max-width: 620px) {
  .pricing-hero { padding: 42px 0 26px; }
  .pricing-hero-inner { width: calc(100% - 28px); }
  .pricing-hero h1 { font-size: 2.35rem; }
  .pricing-hero > .pricing-hero-inner > p { margin-top: 14px; font-size: .94rem; line-height: 1.55; }
  .pricing-plans-section { padding: 18px 0 64px; }
  .pricing-plans-section > .container, .pricing-faq-section > .container { width: calc(100% - 28px); }
  .pricing-free-strip { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .pricing-free-features { grid-column: auto; grid-row: auto; }
  .pricing-free-action { min-width: 0; }
  .pricing-free-strip .button { width: 100%; }
  .pricing-page-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-page-card, .pricing-page-card-featured { padding: 25px 22px 22px; }
  .pricing-card-header { min-height: 0; }
  .pricing-recommended-badge { top: 16px; right: 16px; }
  .pricing-faq-section { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-page-card { transition: none; }
  .pricing-page-card:hover { transform: none; }
  .pricing-page-card button.button.is-loading::after { animation-duration: 1.5s; }
}
@keyframes pricing-checkout-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

