/* ============================================================
   VALIDORA — Pricing-specific styles
   ============================================================ */

.pricing-hero {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero .glow-violet { width: 700px; height: 500px; top: 0; left: 50%; transform: translateX(-50%); opacity: 0.45; }
.pricing-hero h1 { font-size: clamp(40px, 5.6vw, 60px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 600; }
.pricing-hero .lede { max-width: 580px; margin: 18px auto 0; }

/* Toggle */
.toggle-wrap {
  display: inline-flex;
  margin: 40px auto 0;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  position: relative;
  z-index: 2;
}
.toggle-wrap button {
  height: 36px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
}
.toggle-wrap button.active {
  background: linear-gradient(180deg, #8B5CF6, #7C3AED);
  color: white;
  box-shadow: 0 6px 20px -6px rgba(124,58,237,0.55);
}
.toggle-wrap .save-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16,185,129,0.18);
  color: #6EE7B7;
  letter-spacing: 0.08em;
}

/* 3-card grid */
.tri-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 60px auto 0;
  align-items: stretch;
}
@media (max-width: 980px) { .tri-pricing { grid-template-columns: 1fr; max-width: 480px; } }

.tri-pricing .plan { padding: 36px 32px; min-height: 100%; }
.tri-pricing .plan .price-yearly-hint {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 6px;
}

/* Credit bundles inside Credits card */
.bundles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.bundle {
  padding: 12px 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-align: center;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.bundle:hover { border-color: rgba(6, 182, 212, 0.4); }
.bundle.selected { border-color: rgba(6, 182, 212, 0.55); background: rgba(6, 182, 212, 0.06); }
.bundle .bp { font-size: 18px; font-weight: 600; color: white; letter-spacing: -0.02em; }
.bundle .bc { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.bundle .bbadge {
  position: absolute; top: -8px; right: 50%; transform: translateX(50%);
  font-size: 9px;
  font-family: var(--font-mono);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.bundle .bbadge.green { background: rgba(16,185,129,0.18); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.bundle .bbadge.cyan  { background: rgba(6,182,212,0.18); color: #67E8F9; border: 1px solid rgba(6,182,212,0.3); }

/* per-action cost table */
.cost-table {
  width: 100%;
  font-size: 12.5px;
  color: var(--text-body);
  border-collapse: collapse;
  margin-bottom: 20px;
}
.cost-table th {
  text-align: left;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cost-table td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cost-table td:nth-child(2) { font-family: var(--font-mono); color: #67E8F9; text-align: right; padding-right: 12px; }
.cost-table td:nth-child(3) { font-family: var(--font-mono); color: var(--text-muted); text-align: right; }
.cost-table tr:last-child td { border-bottom: none; }

/* ============ Compare table ============ */
.compare {
  margin: 100px auto 0;
  max-width: 980px;
}
.compare-title {
  text-align: center;
  margin-bottom: 40px;
}
.compare-title .h2 { font-size: clamp(28px, 3.5vw, 40px); }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 22px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  background: rgba(255,255,255,0.02);
}
.compare-table thead th.plan-col {
  text-align: center;
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  font-weight: 600;
}
.compare-table thead th.plan-col.pro {
  color: #C4B5FD;
}
.compare-table tbody td { color: var(--text-body); }
.compare-table tbody td:first-child { color: var(--text); font-weight: 500; }
.compare-table tbody td:not(:first-child) { text-align: center; font-family: var(--font-mono); font-size: 13px; }
.compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .ck { color: var(--violet-light); font-size: 16px; }
.compare-table .x { color: var(--text-dim); }

@media (max-width: 720px) {
  .compare-table { font-size: 12.5px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .compare-table thead th:first-child,
  .compare-table tbody td:first-child {
    position: sticky; left: 0; background: var(--bg);
  }
  .compare-wrap { overflow-x: auto; }
}

/* ============ FAQ ============ */
.faq {
  margin: 100px auto 0;
  max-width: 760px;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: border-color 0.18s, background 0.18s;
}
.faq-item.open {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(124, 58, 237, 0.04);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-q .icn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform 0.25s, background 0.18s;
  color: var(--text-body);
  flex-shrink: 0;
}
.faq-item.open .icn {
  transform: rotate(45deg);
  background: rgba(124,58,237,0.18);
  color: #C4B5FD;
  border-color: rgba(124,58,237,0.35);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

/* Bottom strip CTA */
.cta-strip {
  margin: 100px auto 0;
  max-width: 900px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(124,58,237,0.10), rgba(124,58,237,0.02));
  border: 1px solid rgba(167,139,250,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.25);
  border-radius: 50%;
  filter: blur(80px);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-strip .h3 { font-size: 22px; letter-spacing: -0.018em; }
.cta-strip p { color: var(--text-body); font-size: 14px; margin-top: 4px; }
.cta-strip > div { position: relative; z-index: 1; }
.cta-strip .btn { position: relative; z-index: 1; }
