.credit-pricing {
  --pc-ink: #101326;
  --pc-muted: #5b6178;
  --pc-line: rgba(16, 19, 38, 0.09);
  --pc-purple: #5046e6;
  --pc-green: #1eb0a3;
  --pc-green-dark: #0e8579;
  --pc-bg: #f6f8fc;
  color: var(--pc-ink);
  background: #fff;
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.credit-pricing *,
.credit-pricing *::before,
.credit-pricing *::after { box-sizing: border-box; }
.credit-pricing h1,
.credit-pricing h2,
.credit-pricing h3 { margin: 0; font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; line-height: 1.08; }
.credit-pricing p { margin: 0; }
.pc-wrap { width: min(1180px, 92vw); margin: 0 auto; }
.pc-kicker { color: var(--pc-purple); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.pc-hero { padding: clamp(60px, 7vw, 96px) 0 clamp(48px, 6vw, 76px); background: var(--pc-bg); }
.pc-hero__head { max-width: 820px; margin: 0 auto clamp(28px, 4vw, 42px); text-align: center; }
.pc-hero h1 { margin-top: 0.65rem; font-size: clamp(2.3rem, 5.2vw, 3.7rem); text-wrap: balance; }
.pc-hero__lead { max-width: 680px; margin: 1rem auto 0; color: var(--pc-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }

.pc-calculator { display: grid; grid-template-columns: 1.1fr 0.9fr; max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid var(--pc-line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -38px rgba(36, 30, 120, 0.45); }
.pc-calculator > * { min-width: 0; }
.pc-calculator__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 4vw, 36px); }
.pc-field { display: grid; align-content: start; gap: 8px; }
.pc-field label { font-size: 0.9rem; font-weight: 700; }
.pc-field input { width: 100%; min-height: 52px; padding: 11px 13px; border: 1px solid #d9dce6; border-radius: 10px; color: var(--pc-ink); background: #fff; font: inherit; font-size: 1.08rem; font-weight: 700; }
.pc-field input:focus { outline: 3px solid rgba(80, 70, 230, 0.14); border-color: var(--pc-purple); }
.pc-field small { color: var(--pc-muted); line-height: 1.45; }
.pc-result { display: grid; align-content: center; padding: clamp(24px, 4vw, 36px); border-left: 1px solid var(--pc-line); background: var(--pc-bg); transform-origin: center; }
.pc-result.is-updating { animation: pc-result-pulse 0.24s cubic-bezier(.2,.7,.2,1); }
.pc-result__label { color: var(--pc-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.pc-result__credits { margin-top: 0.65rem !important; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(1.7rem, 3vw, 2.25rem); font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.pc-result__plan { margin-top: 1rem !important; color: var(--pc-muted); }
.pc-result__plan strong { color: var(--pc-green-dark); }
.pc-result__formula { margin-top: 0.45rem !important; color: var(--pc-muted); font-size: 0.82rem; }

.pc-section { padding: clamp(46px, 6vw, 76px) 0; }
.pc-section--tint { background: var(--pc-bg); }
.pc-head { max-width: 740px; margin: 0 auto clamp(28px, 4vw, 42px); text-align: center; }
.pc-head h2 { margin-top: 0.6rem; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.pc-head > h2:first-child { margin-top: 0; }
.pc-head > p:last-child { margin-top: 0.9rem; color: var(--pc-muted); font-size: 1.05rem; line-height: 1.6; }

.pc-trial { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding: 24px 26px; border: 1px solid var(--pc-line); border-radius: 16px; background: var(--pc-bg); }
.pc-trial strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.12rem; }
.pc-trial span { display: block; margin-top: 5px; color: var(--pc-muted); font-size: 0.92rem; line-height: 1.5; }

.pc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.85rem 1.35rem; border: 1px solid transparent; border-radius: 11px; color: #fff; background-color: #1eb0a3; background-image: linear-gradient(120deg, #1eb0a3 0%, #23c9b2 52%, #0e8579 100%); background-size: 160% 160%; background-position: 0 0; box-shadow: 0 14px 30px -14px rgba(14, 133, 121, 0.55); font-weight: 700; text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-position 0.18s ease; }
.pc-btn:hover { background-position: 100% 0; transform: translateY(-2px); }
.pc-btn--ghost { color: var(--pc-ink); border-color: var(--pc-line); background: #fff; box-shadow: none; }
.pc-btn--ghost:hover { border-color: rgba(30, 176, 163, 0.48); }
.pc-btn--primary { color: #fff; }

.pc-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pc-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 25px 20px 21px; border: 1px solid var(--pc-line); border-radius: 16px; background: #fff; box-shadow: 0 20px 42px -38px rgba(36, 30, 120, 0.38); transition: transform 0.22s cubic-bezier(.2,.7,.2,1), box-shadow 0.22s ease, border-color 0.22s ease; }
.pc-plan:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -34px rgba(36, 30, 120, 0.4); }
.pc-plan--featured { border-color: rgba(30, 176, 163, 0.62); box-shadow: 0 22px 44px -32px rgba(14, 133, 121, 0.42); }
.pc-plan__badge { position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; min-height: 22px; padding: 0.22rem 0.48rem; border: 1px solid rgba(30, 176, 163, 0.2); border-radius: 6px; color: var(--pc-green-dark); background: rgba(30, 176, 163, 0.1); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.055em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.pc-plan h3 { font-size: 1.25rem; }
.pc-plan__for { min-height: 42px; margin-top: 0.55rem !important; color: var(--pc-muted); font-size: 0.83rem; line-height: 1.45; }
.pc-plan__price { margin-top: 1.25rem !important; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; white-space: nowrap; }
.pc-plan__price span { color: var(--pc-muted); font-family: Inter, sans-serif; font-size: 0.72rem; font-weight: 500; }
.pc-plan__limit { margin-top: 0.45rem !important; color: var(--pc-green-dark); font-size: 0.84rem; font-weight: 800; }
.pc-plan ul { display: grid; gap: 9px; margin: 1.25rem 0 1.5rem; padding: 1.15rem 0 0; border-top: 1px solid var(--pc-line); list-style: none; }
.pc-plan li { display: flex; gap: 7px; color: #3a3f55; font-size: 0.82rem; line-height: 1.4; }
.pc-plan li::before { content: "✓"; flex: 0 0 auto; color: var(--pc-green-dark); font-weight: 800; }
.pc-plan .pc-btn { width: 100%; margin-top: auto; padding-right: 0.7rem; padding-left: 0.7rem; font-size: 0.85rem; }
.pc-note { max-width: 820px; margin: 22px auto 0 !important; color: var(--pc-muted); font-size: 0.84rem; line-height: 1.55; text-align: center; }

.pc-rules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line); }
.pc-rule { padding: 30px; }
.pc-rule + .pc-rule { border-left: 1px solid var(--pc-line); }
.pc-rule > strong { display: inline-block; color: var(--pc-green-dark); font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.55rem; transition: transform 0.2s cubic-bezier(.2,.7,.2,1); }
.pc-rule:hover > strong { transform: translateY(-2px); }
.pc-rule h3 { margin-top: 0.65rem; font-size: 1.15rem; }
.pc-rule p { margin-top: 0.55rem; color: var(--pc-muted); font-size: 0.92rem; line-height: 1.55; }

.pc-table-wrap { overflow-x: auto; border: 1px solid var(--pc-line); border-radius: 14px; background: #fff; }
.pc-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 0.88rem; }
.pc-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pc-table th,
.pc-table td { padding: 16px 15px; border-bottom: 1px solid var(--pc-line); text-align: center; }
.pc-table th:first-child,
.pc-table td:first-child { position: sticky; left: 0; z-index: 1; min-width: 220px; background: #fff; font-weight: 700; text-align: left; }
.pc-table thead th { background: var(--pc-bg); font-family: "Space Grotesk", Inter, sans-serif; }
.pc-table thead th:first-child { background: var(--pc-bg); }
.pc-table tr:last-child td { border-bottom: 0; }
.pc-table .is-highlighted { background: rgba(30, 176, 163, 0.07); }
.pc-table .pc-table__group td { position: static; padding-top: 12px; padding-bottom: 12px; color: var(--pc-muted); background: var(--pc-bg); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; text-align: left; text-transform: uppercase; }

.pc-faq { display: grid; max-width: 780px; margin: 0 auto; border-top: 1px solid var(--pc-line); }
.pc-faq details { border-bottom: 1px solid var(--pc-line); }
.pc-faq summary { position: relative; padding: 20px 42px 20px 4px; cursor: pointer; font-weight: 700; list-style: none; }
.pc-faq summary::-webkit-details-marker { display: none; }
.pc-faq summary::before,
.pc-faq summary::after { content: ""; position: absolute; top: 50%; right: 8px; width: 14px; height: 2px; border-radius: 2px; background: var(--pc-green-dark); transition: transform 0.25s ease; }
.pc-faq summary::after { transform: rotate(90deg); }
.pc-faq details[open] summary::after { transform: rotate(0); }
.pc-faq p { padding: 0 42px 20px 4px; color: var(--pc-muted); line-height: 1.6; }

.pc-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.38s cubic-bezier(.2,.7,.2,1), transform 0.38s cubic-bezier(.2,.7,.2,1); transition-delay: var(--pc-reveal-delay, 0s); }
.pc-reveal.is-visible { opacity: 1; transform: none; }
.pc-plan.pc-reveal.is-visible:hover { transform: translateY(-3px); }

@keyframes pc-result-pulse {
  0% { opacity: 0.82; transform: scale(0.992); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1080px) {
  .pc-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pc-wrap { width: min(1180px, calc(100% - 28px)); }
  .pc-hero { padding-top: 54px; }
  .pc-calculator { grid-template-columns: 1fr; }
  .pc-calculator__inputs { grid-template-columns: 1fr; }
  .pc-result { border-top: 1px solid var(--pc-line); border-left: 0; }
  .pc-plans { grid-template-columns: 1fr; }
  .pc-plan__for { min-height: 0; }
  .pc-trial { align-items: stretch; flex-direction: column; }
  .pc-trial .pc-btn { width: 100%; }
  .pc-rules { grid-template-columns: 1fr; }
  .pc-rule + .pc-rule { border-top: 1px solid var(--pc-line); border-left: 0; }
  .pc-rule { padding: 26px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-btn { transition: none; }
  .pc-plan,
  .pc-rule > strong,
  .pc-reveal { opacity: 1; transform: none; transition: none; }
  .pc-result.is-updating { animation: none; }
}
