/* ─────────────────────────────────────────────────────────────
   Pricing page — pricing.css
   ───────────────────────────────────────────────────────────── */

/* ── Hero ───────────────────────────────────────────────────── */
.pricing-hero {
  padding: 80px 24px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pricing-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iq);
}

.pricing-hero__h1-plain {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-hero__h1-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--text2);
}

.pricing-hero__sub {
  font-size: 1rem;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.65;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Currency toggle ────────────────────────────────────────── */
.currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin: 8px 0 0;
}

.currency-toggle__btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.currency-toggle__btn:hover {
  color: var(--text);
  background: var(--bg3);
}
.currency-toggle__btn[aria-pressed="true"] {
  color: var(--text);
  background: var(--bg3);
  border-color: var(--border2);
}

/* ── Plan cards grid ────────────────────────────────────────── */
.plans-section {
  padding: 0 24px 80px;
}

#plans-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ── Plan card ──────────────────────────────────────────────── */
.plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.2s;
}
.plan-card:hover {
  border-color: var(--border2);
}
.plan-card--free {
  border-color: rgba(245, 158, 11, 0.25);
}

.plan-card__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text3);
}

.plan-card__price {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  line-height: 1;
}
.plan-price__free {
  font-size: 2rem;
  color: var(--iq);
}
.plan-price__amount {
  font-size: 2rem;
  color: var(--text);
}
.plan-price__period {
  font-size: 0.875rem;
  color: var(--text3);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}

/* Features list */
.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feat-label {
  font-size: 0.8125rem;
  color: var(--text3);
}

.feat-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text2);
  text-align: right;
}

.feat-value--yes { color: var(--iq); }

/* CTA button */
.btn-cta {
  display: block;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0a0a0a;
  background: var(--iq);
  padding: 11px 20px;
  border-radius: 9px;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Skeleton ───────────────────────────────────────────────── */
.plan-card--skeleton {
  gap: 16px;
  pointer-events: none;
}
.plan-card--skeleton .skeleton-bar { margin-top: 0; }

/* ── Comparison table ───────────────────────────────────────── */
.compare-section {
  padding: 0 24px 80px;
}

.compare-section h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.compare-wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table thead th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--bg2);
}

.compare-table thead th:first-child { border-radius: 8px 0 0 0; }
.compare-table thead th:last-child  { border-radius: 0 8px 0 0; }

.compare-table tbody tr:hover td {
  background: var(--bg2);
}

.compare-table td:first-child {
  color: var(--text2);
  font-weight: 500;
}

.compare-table td:not(:first-child) {
  color: var(--text);
  font-weight: 600;
  text-align: center;
}
.compare-table th:not(:first-child) {
  text-align: center;
}

.check { color: var(--iq); }
.dash  { color: var(--text3); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  padding: 0 24px 80px;
}

.faq-section h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question:hover { color: var(--iq); }

.faq-question__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text3);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--iq);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  #plans-grid { grid-template-columns: 1fr; }
}
