.pricing { padding: 96px 0; background: linear-gradient(180deg, #f4fbf9 0%, #eaf6f3 100%); }
.pricing-inner { width: min(1220px, calc(100% - 64px)); margin: auto; text-align: center; }
.pricing-inner h2 { margin-bottom: 10px; color: var(--navy); font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.1; }
.pricing-subtitle { margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.pricing-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: #e6f0ee; box-shadow: inset 0 0 0 1px rgba(2,38,82,.06); }
.billing-toggle button { min-width: 112px; padding: 12px 26px; border: 0; border-radius: 999px; background: transparent; color: #425767; font: 700 14px "DM Sans", sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease; }
.billing-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(2,38,82,.25); }
.billing-badge { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: #d4f5ec; color: #0b6b5e; font-size: 13px; font-weight: 700; transition: opacity .2s ease; }
.billing-badge[hidden] { display: none; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; text-align: left; }
.plan-card { display: flex; flex-direction: column; padding: 32px 30px; border-radius: 14px; background: var(--white); box-shadow: 0 10px 30px rgba(2,38,82,.08); }
.plan-card h3 { margin-bottom: 18px; color: var(--navy); font-size: 26px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 6px; color: var(--navy); font-family: Manrope, sans-serif; }
.plan-price .currency { font-size: 22px; font-weight: 800; }
.plan-price .amount { font-size: 54px; font-weight: 800; line-height: 1; }
.plan-price .period { color: var(--muted); font-size: 18px; font-weight: 500; }
.plan-billed { min-height: 22px; margin: 8px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.plan-features { flex: 1; margin: 22px 0 28px; padding: 0; list-style: none; }
.plan-features li { position: relative; padding: 0 0 0 34px; margin-bottom: 14px; font-size: 15px; line-height: 1.4; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #d4f5ec; color: #0b6b5e; font-size: 13px; font-weight: 800; }
.plan-card .button { width: 100%; min-height: 54px; border-radius: 10px; background: var(--navy); color: var(--white); font-size: 15px; }
.plan-card .button:hover { background: #0a3a73; }

.plan-featured { position: relative; margin: -14px 0; padding-top: 46px; padding-bottom: 46px; background: linear-gradient(160deg, #06305f, #022652); color: #e8f1f6; box-shadow: 0 22px 50px rgba(2,38,82,.35); }
.plan-featured h3, .plan-featured .plan-price { color: var(--white); }
.plan-featured .plan-price .period, .plan-featured .plan-billed { color: #a9bfd0; }
.plan-featured .plan-billed { border-color: rgba(255,255,255,.16); }
.plan-featured .plan-features li::before { background: #dff8f1; }
.plan-featured .button { background: #2ee6c3; color: #022652; }
.plan-featured .button:hover { background: #5bf0d4; }
.plan-flag { position: absolute; top: 14px; right: 18px; padding: 4px 12px; border-radius: 999px; background: rgba(46,230,195,.18); color: #2ee6c3; font-size: 12px; font-weight: 700; }

.pricing-notes { margin-top: 36px; color: var(--muted); font-size: 14px; }
.pricing-notes p { margin-bottom: 8px; }
.pricing-notes a { color: var(--green-dark); text-decoration: underline; }

@media (max-width: 960px) {
  .pricing { padding: 64px 0; }
  .pricing-inner { width: calc(100% - 32px); }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: auto; }
  .plan-featured { margin: 0; order: -1; }
}
