/* Pricing, shared by the landing page and the account panel. Uses the brand
   tokens from app.css (dark ground, gold accent). */

.pricing-v2 { --pv-line: var(--line, #26262c); --pv-line-2: var(--line-2, #33333b); --pv-card: var(--bg-2, #131316);
  --blue: #86a8ff; --purple: #b99cff; --cyan: #6fd6e8; --goldt: var(--gold-2, #f5c542); color: var(--ink, #f4f2ec); }

.pv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.pv-title { font-size: clamp(56px, 9vw, 104px); line-height: .9; letter-spacing: -0.045em; margin: 0; font-weight: 800; }
.pv-title span { color: var(--goldt); }
.pv-intro { text-align: right; max-width: 380px; }
.pv-intro p { margin: 0 0 8px; color: var(--ink-2, #b9b6ad); font-size: 15px; line-height: 1.5; }
.pv-start { color: var(--goldt); font-weight: 700; font-size: 14px; text-decoration: none; }
.pv-start:hover { text-decoration: underline; }

/* passes: full-width rows */
.pv-passes { display: flex; flex-direction: column; gap: 18px; }
.pv-row { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 26px 30px; border: 1px solid var(--pv-line-2); border-radius: 22px; background: var(--pv-card); }
.pv-row.hl { background: linear-gradient(135deg, rgba(245, 197, 66, .12), rgba(192, 138, 44, .05)); border-color: rgba(245, 197, 66, .45); }
.pv-row-main { min-width: 0; flex: 1; }
.pv-row h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.pv-row h3 b { font-weight: 700; }
.pv-row h3 i { font-family: "Instrument Serif", "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; color: var(--goldt); font-size: 20px; }
.pv-row.a-cyan h3 b { color: var(--cyan); }
.pv-row.hl h3 b { color: var(--goldt); }
.pv-blurb { margin: 0 0 12px; color: var(--ink-3, #7d7a72); font-size: 13.5px; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.pv-chips li { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2, #b9b6ad); font-size: 13.5px; }
.pv-row-buy { display: flex; align-items: center; gap: 16px; flex: none; }
.pv-price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.pv-price small { font-size: 12px; font-weight: 500; color: var(--ink-3, #7d7a72); margin-left: 4px; letter-spacing: 0; }

.pv-check { width: 15px; height: 15px; flex: none; }
.pv-check circle { fill: var(--goldt); }
.pv-check path { stroke: #111; }
.pv-tick { width: 16px; height: 16px; flex: none; }
.pv-tick circle { fill: rgba(245, 197, 66, .14); }
.pv-tick path { stroke: var(--goldt); }

/* buttons */
.pv-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--pv-line-2); background: transparent; color: var(--ink, #f4f2ec); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; font-family: inherit; }
.pv-btn:hover { background: rgba(255, 255, 255, .06); border-color: #4a4a55; }
.pv-btn.primary { background: var(--goldt); border-color: var(--goldt); color: #111; }
.pv-btn.primary:hover { background: #ffd35a; }
.pv-btn.accent { border-color: rgba(245, 197, 66, .55); }
.pv-btn.accent:hover { border-color: var(--goldt); background: rgba(245, 197, 66, .08); }
.pv-btn.two { flex-direction: column; height: auto; min-height: 56px; padding: 9px 16px; gap: 2px; }
.pv-btn-main { font-size: 14px; font-weight: 700; }
.pv-btn-sub { font-size: 10.5px; font-weight: 500; opacity: .62; }
.pv-btn.wide { width: 100%; border-radius: 12px; }
.pv-btn:disabled { opacity: .45; cursor: not-allowed; }
.pv-current { color: var(--ink-3, #7d7a72); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* monthly plans */
.pv-grid-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 44px 0 16px; }
.pv-grid-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.pv-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--pv-line-2); border-radius: 999px; background: var(--pv-card); }
.pv-toggle button { border: 0; background: transparent; color: var(--ink-2, #b9b6ad); font: inherit; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.pv-toggle button.on { background: #24242a; color: var(--ink, #f4f2ec); }
.pv-toggle em { font-style: normal; color: var(--goldt); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-left: 6px; }

.pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-card { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid var(--pv-line-2); border-radius: 22px; background: var(--pv-card); }
.pv-card.popular { border-color: rgba(245, 197, 66, .6); box-shadow: 0 0 0 1px rgba(245, 197, 66, .25) inset; }
.pv-card.current { box-shadow: 0 0 0 2px var(--goldt) inset; }
.pv-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pv-card h3 { margin: 0; font-size: 19px; }
.pv-card.a-blue h3 { color: var(--blue); }
.pv-card.a-purple h3 { color: var(--purple); }
.pv-card.a-gold h3 { color: var(--goldt); }
.pv-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--goldt); color: #111; }
.pv-badge svg { width: 11px; height: 11px; }
.pv-badge.mine { background: transparent; border: 1px solid var(--goldt); color: var(--goldt); }
.pv-save { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(245, 197, 66, .12); color: var(--goldt); }
.pv-note { display: flex; flex-direction: column; gap: 3px; margin: 10px 0 16px; color: var(--ink-3, #7d7a72); font-size: 12.5px; }
.pv-amount { font-size: 46px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.pv-amount small { font-size: 13px; font-weight: 500; color: var(--ink-3, #7d7a72); margin-left: 4px; letter-spacing: 0; }
.pv-billed { margin: 6px 0 0; color: var(--ink-3, #7d7a72); font-size: 12px; min-height: 16px; }
.pv-card hr { border: 0; border-top: 1px solid var(--pv-line); margin: 18px 0; width: 100%; }
.pv-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pv-list li { display: flex; align-items: center; gap: 9px; color: var(--ink-2, #b9b6ad); font-size: 14px; }


/* top-up */
.pv-topup { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 22px; border: 1px solid var(--pv-line-2); border-radius: 18px; background: var(--pv-card); }
.pv-topup-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(245, 197, 66, .12); color: var(--goldt); flex: none; }
.pv-topup-icon svg { width: 20px; height: 20px; }
.pv-topup-text { flex: 1; min-width: 0; }
.pv-topup-text b { font-size: 16px; }
.pv-topup-text p { margin: 2px 0 0; color: var(--ink-2, #b9b6ad); font-size: 13.5px; }

.pv-fine { margin: 26px 0 0; color: var(--ink-3, #7d7a72); font-size: 12.5px; line-height: 1.6; max-width: 720px; }

/* narrow screens */
@media (max-width: 900px) {
  .pv-grid { grid-template-columns: 1fr; }
  .pv-row { flex-direction: column; align-items: stretch; }
  .pv-row-buy { justify-content: space-between; }
  .pv-intro { text-align: left; }
}
@media (max-width: 520px) {
  .pv-row { padding: 18px; }
  .pv-price { font-size: 32px; }
  .pv-topup { flex-wrap: wrap; }
  .pv-topup .pv-btn { width: 100%; }
}

/* compact variant inside the account panel */
.pricing-v2.compact .pv-grid-head { margin-top: 22px; }
.pricing-v2.compact .pv-row { padding: 16px 18px; }
.pricing-v2.compact .pv-price { font-size: 28px; }
.pricing-v2.compact .pv-amount { font-size: 36px; }
.pricing-v2.compact .pv-grid { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .pricing-v2.compact .pv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
