/* ═══════════════════════════════════════════════
   MORPHOME — pricing.css
   ═══════════════════════════════════════════════ */

.page-wrap { max-width: 1080px; }
.page-head { text-align: center; }
.page-head p { max-width: 400px; margin: 0 auto; }

/* ── BILLING TOGGLE ── */
.billing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 44px;
}
.bl-label { font-size: 13px; color: var(--muted); font-weight: 400; }
.bl-label.on { color: var(--text); font-weight: 500; }
.bl-switch {
  width: 46px; height: 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  transition: .2s;
  flex-shrink: 0;
}
.bl-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
  box-shadow: 0 1px 5px rgba(0,0,0,.18);
}
.bl-switch.annual .bl-thumb { left: calc(100% - 21px); }
.save-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.26);
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
}

/* ── PLANS ── */
.plans {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(10,20,40,.10); }
.plan.featured {
  border-color: rgba(53,96,240,.32);
  box-shadow: 0 0 0 1px rgba(53,96,240,.16), 0 16px 48px rgba(53,96,240,.13);
}
.feat-badge {
  position: absolute; top: 0; right: 26px;
  padding: 5px 13px;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 11px; font-weight: 500;
}
.plan-name {
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 5px; }
.price-num  { font-size: 38px; font-weight: 500; }
.price-per  { font-size: 13px; color: var(--muted); }
.price-note { font-size: 12px; color: var(--muted); margin-bottom: 18px; min-height: 17px; }
.plan-credits-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.credits-big {
  font-size: 24px; font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.credits-lbl { font-size: 12px; color: var(--muted); }
.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}
.feat      { display: flex; gap: 9px; font-size: 13px; color: var(--text); line-height: 1.45; }
.feat-check { color: var(--accent); flex-shrink: 0; }
.plan-btn  { width: 100%; padding: 12px; border-radius: 11px; border: none; cursor: pointer; font: 500 13px 'DM Sans', sans-serif; transition: .18s; }
.plan-btn.outline { background: transparent; border: 1.5px solid var(--line); color: var(--text); }
.plan-btn.outline:hover { background: var(--line); }
.plan-btn.fill { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 22px rgba(53,96,240,.26); }
.plan-btn.fill:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(53,96,240,.36); }

/* ── CREDIT PACKS ── */
.packs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.pack:hover { border-color: rgba(53,96,240,.38); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(53,96,240,.11); }
.pack-credits { font-size: 26px; font-weight: 600; margin-bottom: 2px; }
.pack-label   { font-size: 11px; color: var(--muted); margin-bottom: 11px; }
.pack-price   { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.pack-per     { font-size: 11px; color: var(--muted); margin-bottom: 13px; }
.pack-btn {
  width: 100%; padding: 8px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: 400 12px 'DM Sans', sans-serif;
  cursor: pointer;
  transition: .16s;
}
.pack-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* crypto-btn v1 — secondary "Pay with crypto" button. Inherits the
   .pack-btn base (set in JS as "pack-btn crypto-btn"); we add spacing
   and a distinct, calmer hover so it reads as the alternative option. */
.crypto-btn { margin-top: 7px; }
.crypto-btn:hover { background: rgba(247,147,26,.14); border-color: rgba(247,147,26,.55); color: var(--text); }
.crypto-note { font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 7px; }
.faq-item {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.faq-q {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 400 14px 'DM Sans', sans-serif;
  color: var(--text);
  gap: 12px;
}
.faq-arrow { color: var(--muted); font-size: 15px; transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  transition: max-height .28s, padding .28s;
}
.faq-item.open .faq-a { max-height: 180px; padding: 0 20px 16px; }

/* ── SEC TITLE (local override — smaller than homepage) ── */
.sec-title { font-size: 20px; font-weight: 600; margin-bottom: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 380px; }
  .packs { grid-template-columns: 1fr 1fr; }
}
