/* Pricing page */

/* ── Status bar ──────────────────────────────────── */
.status-bar {
  background: rgba(34,197,94,0.08);
  border-bottom: 0.5px solid rgba(34,197,94,0.18);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  padding: 8px 24px;
  text-align: center;
}
.status-bar a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.status-bar__dot {
  animation: pulse-green 2s infinite;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  height: 6px;
  margin-right: 8px;
  width: 6px;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Pricing hero ────────────────────────────────── */
.pricing-hero {
  padding: var(--space-2xl) 0 var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-hero__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.pricing-hero__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ── Pricing grid ────────────────────────────────── */
.pricing-tiers {
  padding: var(--space-2xl) 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.pricing-card {
  background: linear-gradient(160deg, #1c1c1c 0%, #131313 100%);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 200ms ease;
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.12);
}
.pricing-card--featured {
  border-color: rgba(192,192,248,0.22);
  background: linear-gradient(160deg, #1a1a22 0%, #131318 100%);
  box-shadow: 0 0 0 1px rgba(192,192,248,0.08), 0 0 40px rgba(192,192,248,0.04);
}
.pricing-card--enterprise {
  border-style: dashed;
}
.pricing-card__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(192,192,248,0.08);
  border: 0.5px solid rgba(192,192,248,0.2);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  align-self: flex-start;
}
.pricing-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-card__price {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.pricing-card__period {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card__usd {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: -var(--space-1);
}
.pricing-card__calls {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}
.pricing-card__tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  border-top: 0.5px solid var(--border-subtle);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}
.pricing-card__features li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: var(--space-4);
  position: relative;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}
.pricing-card__usecase {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}
.pricing-card__meter {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: var(--space-1);
}
.pricing-card__meter-fill {
  height: 100%;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: width 600ms ease;
}
.pricing-card__meter-fill--accent {
  background: var(--accent);
}
.pricing-card__meter-fill--full {
  background: linear-gradient(90deg, var(--accent), rgba(192,192,248,0.4));
}
.pricing-card__meter-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.pricing-card__footnote {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}
.pricing-card__cta {
  text-align: center;
  margin-top: auto;
}
.pricing-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

/* ── Comparison table ────────────────────────────── */
.pricing-compare {
  padding: var(--space-2xl) 0;
  border-top: 0.5px solid var(--border-subtle);
  background: #0a0a0a;
}
.pricing-section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}
.pricing-table-wrap {
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.pricing-table th,
.pricing-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 0.5px solid var(--border-subtle);
}
.pricing-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-table tbody th {
  font-weight: 600;
  color: var(--text-primary);
}
.pricing-table tbody td {
  color: var(--text-secondary);
}
.pricing-table__featured th,
.pricing-table__featured td {
  background: rgba(192,192,248,0.04);
  color: var(--accent);
}
.pricing-table__featured th {
  color: var(--accent);
}
.pricing-table-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-6);
  line-height: var(--leading-relaxed);
  max-width: 72ch;
}
.pricing-compare__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  margin-top: calc(-1 * var(--space-4));
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.included-item {
  background: linear-gradient(160deg, #1c1c1c 0%, #131313 100%);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 200ms ease;
}
.included-item:hover {
  border-color: rgba(192,192,248,0.2);
}
.included-item__icon {
  color: var(--accent);
  display: flex;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(192,192,248,0.06);
  border: 0.5px solid rgba(192,192,248,0.15);
  border-radius: var(--radius-md);
  overflow: visible;
}
.included-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.included-item__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.included-table-wrap {
  overflow-x: auto;
  margin-top: var(--space-6);
}

/* ── FAQ ─────────────────────────────────────────── */
.pricing-faq {
  padding: var(--space-2xl) 0;
  border-top: 0.5px solid var(--border-subtle);
}
.accordion__item {
  border-bottom: 0.5px solid var(--border-subtle);
}
.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color 150ms ease;
}
.accordion__trigger:hover {
  color: var(--accent);
}
.accordion__icon {
  color: var(--text-muted);
  font-size: var(--text-xl);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}
.accordion__panel {
  padding-bottom: var(--space-5);
}
.accordion__panel p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.accordion__panel code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  color: var(--accent);
}

/* ── CTA ─────────────────────────────────────────── */
.pricing-cta {
  padding: var(--space-xl) 0;
  border-top: 0.5px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-cta__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.pricing-cta__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.pricing-cta__btn {
  font-size: var(--text-base);
  padding: 14px 32px;
  margin-bottom: var(--space-5);
}
.pricing-cta__trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-cta__trust span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .included-grid {
    grid-template-columns: 1fr;
  }
  .pricing-table th:nth-child(n+4),
  .pricing-table td:nth-child(n+4) {
    display: none;
  }
}
