/* === Pricing page === */

/* Hero */
.pr-hero { padding-top: 40px; padding-bottom: 80px; position: relative; overflow: hidden; }
.pr-hero::before {
  content: "";
  position: absolute; inset: -10% -20% auto -20%; height: 600px;
  background:
    radial-gradient(50% 60% at 60% 20%, rgba(64,204,191,0.12), transparent 60%),
    radial-gradient(40% 50% at 20% 50%, rgba(99,102,241,0.07), transparent 60%);
  pointer-events: none; z-index: 0;
}
.pr-hero .container { position: relative; z-index: 1; text-align: center; }
.pr-hero h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; margin-top: 16px; }
.pr-hero h1 .accent { color: var(--teal-600); }
.pr-hero .lede { color: var(--muted); font-size: 18px; margin: 20px auto 0; max-width: 52ch; text-wrap: pretty; }

/* Billing toggle */
.pr-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.pr-toggle-wrap .opt { font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .2s; }
.pr-toggle-wrap .opt.active { color: var(--ink); }
.pr-toggle { position: relative; width: 44px; height: 24px; background: var(--teal-500); border-radius: 999px; cursor: pointer; border: none; transition: background .2s; flex-shrink: 0; }
.pr-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform .2s; }
.pr-toggle.monthly::after { transform: translateX(0); }
.pr-toggle.yearly::after { transform: translateX(20px); }
.pr-save-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }

/* Pricing cards */
.pr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 40px auto 0; }
.pr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.pr-card.featured { background: var(--ink); border-color: var(--ink); color: white; position: relative; }
.pr-card-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: var(--teal-500); color: white; }
.pr-card .plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.pr-card.featured .plan-name { color: var(--teal-400); }
.pr-card .plan-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pr-card.featured .plan-desc { color: rgba(255,255,255,0.6); }
.pr-card .pr-price { display: flex; align-items: baseline; gap: 4px; }
.pr-card .pr-price .cur { font-size: 22px; font-weight: 700; }
.pr-card .pr-price .amt { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-feature-settings: "tnum"; }
.pr-card .pr-price .per { font-size: 13px; color: var(--muted); }
.pr-card.featured .pr-price .per { color: rgba(255,255,255,0.55); }
.pr-old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pr-card .pr-cta { display: block; width: 100%; padding: 13px; border-radius: var(--radius); font-weight: 700; font-size: 15px; text-align: center; cursor: pointer; border: none; text-decoration: none; transition: background .2s, transform .15s; }
.pr-card .pr-cta:hover { transform: translateY(-1px); }
.pr-card .pr-cta.outline { background: var(--line-2); color: var(--ink); }
.pr-card .pr-cta.outline:hover { background: var(--line); }
.pr-card .pr-cta.solid { background: var(--teal-500); color: white; }
.pr-card .pr-cta.solid:hover { background: var(--teal-600); }
.pr-card .pr-features-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pr-card .pr-features-list li { font-size: 14px; display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); }
.pr-card.featured .pr-features-list li { color: rgba(255,255,255,0.82); }
.pr-card .pr-features-list li svg { flex-shrink: 0; color: var(--teal-500); margin-top: 2px; }
.pr-card.featured .pr-features-list li svg { color: var(--teal-400); }
.pr-card .pr-divider { border: none; border-top: 1px solid var(--line); margin: 0; }
.pr-card.featured .pr-divider { border-top-color: rgba(255,255,255,0.12); }

/* Trust note below cards */
.pr-trust { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.pr-trust span { display: flex; align-items: center; gap: 6px; }

/* All features section */
.pr-features { padding: var(--gutter) 0; background: var(--bg); }
.pr-features .section-header { text-align: center; margin-bottom: 48px; }
.pr-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.pr-feat-item { background: var(--surface); padding: 28px 26px; transition: background .2s; }
.pr-feat-item:hover { background: var(--bg); }
.pr-feat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-50); display: grid; place-items: center; margin-bottom: 16px; color: var(--teal-600); }
.pr-feat-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.pr-feat-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* Stats strip */
.pr-stats { background: var(--ink); padding: 56px 0; }
.pr-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.pr-stat-val { font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: white; line-height: 1; }
.pr-stat-val span { color: var(--teal-400); }
.pr-stat-lbl { font-size: 15px; color: rgba(255,255,255,0.65); margin-top: 8px; }

/* FAQ */
.pr-faq { padding: var(--gutter) 0; }
.pr-faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.pr-faq-left h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
.pr-faq-left p { color: var(--muted); font-size: 16px; margin-top: 16px; line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) {
  .pr-cards { grid-template-columns: 1fr; max-width: 440px; }
  .pr-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pr-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .pr-features-grid { grid-template-columns: 1fr; }
  .pr-stats-grid { grid-template-columns: 1fr; }
}
