/* ============================================================
   Pricing page — exclusive styles
   ============================================================ */

.pricing-hero {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-mid) 100%);
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pricing-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Balance widget (placeholder, JS-injectable later) ---- */
.balance-widget {
  max-width: 1080px;
  margin: -1.25rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.balance-widget .label { color: var(--text-muted); font-size: .95rem; }
.balance-widget .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.balance-widget .hint { color: var(--text-muted); font-size: .85rem; }

/* ---- Pricing card grid ---- */
.pricing-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-soft);
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 28px var(--shadow-card);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: .25rem .9rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.pricing-card .name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .25rem;
}
.pricing-card .quota {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0 0 1.5rem;
}
.pricing-card .price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin: 0 0 .25rem;
}
.pricing-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-card .per {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0 0 1.5rem;
}
.pricing-card .btn { width: 100%; margin-bottom: 1.25rem; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-primary);
  font-size: .95rem;
  line-height: 1.7;
}
.pricing-card ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: .5rem;
}

/* ---- Trust strip ---- */
.trust-strip {
  text-align: center;
  padding: 1rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.trust-strip span { margin: 0 1rem; white-space: nowrap; }
.trust-strip strong { color: var(--text-primary); }

/* ---- FAQ ---- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.faq h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 2rem;
  color: var(--text-primary);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq summary {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--accent); }
.faq details p {
  margin: .75rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Payment widget (small) ---- */
.payment-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.payment-strip img { height: 28px; opacity: .85; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-hero h1 { font-size: 2rem; }
  .trust-strip span { display: block; margin: .25rem 0; }
}
