/* pricing.css — Styles for /pricing page only */

/* Nav overrides for pricing page */
.nav-spacer { flex: 1; }
.nav-link, .nav-link-active {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-link-active { color: var(--fg); }

/* Page layout */
.pricing-main {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* Hero */
.pricing-hero {
  text-align: center;
  padding: 80px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pricing-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.pricing-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pricing-lede {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 540px;
  line-height: 1.65;
}

/* Cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-2px);
}
.pricing-card--highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245,166,35,0.06) 0%, var(--bg-alt) 100%);
}
.pricing-card--highlight:hover {
  border-color: var(--accent);
}

.plan-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0E0E0F;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.plan-header {
  margin-bottom: 24px;
}
.plan-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.plan-tagline {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  color: var(--fg);
}
.plan-price-period {
  font-size: 16px;
  color: var(--fg-dim);
}

.plan-trial-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 24px;
}

/* Plan CTA button */
.btn-plan {
  display: block;
  width: 100%;
  padding: 13px 20px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-bottom: 28px;
}
.btn-plan:hover {
  background: rgba(240, 237, 232, 0.06);
  border-color: rgba(240, 237, 232, 0.25);
}
.btn-plan--accent {
  background: var(--accent);
  color: #0E0E0F;
  border-color: var(--accent);
}
.btn-plan--accent:hover {
  background: #f5b84a;
  border-color: #f5b84a;
  color: #0E0E0F;
}

/* Feature list */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.plan-features li strong {
  color: var(--fg);
  font-weight: 600;
}
.feat-check {
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Compare table */
.compare-section {
  margin-bottom: 80px;
}
.compare-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--fg-dim);
}
.compare-table th {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  background: var(--bg-alt);
  line-height: 1.4;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table td:first-child {
  color: var(--fg);
}
.compare-highlight-col {
  background: rgba(245, 166, 35, 0.04);
  color: var(--fg) !important;
}
.compare-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-dim);
}

/* FAQ */
.faq-section {
  margin-bottom: 80px;
}
.faq-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.faq-q:hover {
  background: rgba(240, 237, 232, 0.03);
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--fg-dim);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
}
details[open] .faq-q::after {
  content: '−';
}
.faq-a {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.7;
  padding: 0 24px 20px;
}
.faq-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Closing CTA */
.pricing-closing {
  text-align: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pricing-closing h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pricing-closing p {
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-main { padding-left: 24px; padding-right: 24px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .pricing-hero { padding: 48px 0 40px; }
  .plan-price { font-size: 40px; }
}
