/* ============================================================
   POSTIQUE — Pricing Page Styles
   ============================================================ */

/* ── Pricing Table ─────────────────────────────────────────── */
.pricing-table {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover:not(.pricing-header) { background: var(--white); }
.pricing-header {
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-row span:first-child { font-size: 0.9rem; color: var(--text-primary); }
.price-cell {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
}
.price-cell.free { color: var(--green); }
.price-cell.paid { color: var(--gold); }
.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Service Pricing Cards ─────────────────────────────────── */
.service-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.svc-price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  transition: all var(--t-base);
}
.svc-price-card:hover {
  border-color: rgba(29,185,84,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.svc-price-card.featured-price {
  border-color: rgba(29,185,84,0.3);
  background: linear-gradient(135deg, var(--ink-muted) 0%, rgba(29,185,84,0.04) 100%);
}
.featured-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.spc-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.spc-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.spc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.spc-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
}
.spc-price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}
.spc-includes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.spc-includes li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.spc-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.6;
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.open { border-color: rgba(29,185,84,0.25); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: var(--white);
  transition: background var(--t-fast);
}
.faq-q:hover { background: var(--white); }
.faq-icon {
  flex-shrink: 0;
  transition: transform var(--t-base);
  color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--green); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-xl);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  background: var(--white);
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: var(--space-md) var(--space-xl) var(--space-xl);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-row { grid-template-columns: 2fr 1fr 1fr; }
  .pricing-row span:nth-child(4) { display: none; }
  .pricing-header span:nth-child(4) { display: none; }
}
@media (max-width: 768px) {
  .service-pricing-grid { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .pricing-row span:nth-child(2), .pricing-header span:nth-child(2) { display: none; }
}
