/* ── Pricing Page ── */

.pricing-hero {
  text-align: center;
  padding: 128px 0 64px;
  position: relative;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-muted) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing-hero > .container {
  position: relative;
  z-index: 1;
}

.pricing-hero .section-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  color: var(--accent, #b8ff57);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: block;
}

.pricing-hero h1 {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary, #ededed);
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 18px;
  color: var(--text-secondary, #737373);
  line-height: 1.6;
}

/* ── Pricing Cards ── */

.pricing-cards-section {
  padding: 0 0 96px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-surface, #141414);
  border: 1px solid var(--border, #1f1f1f);
  border-radius: var(--radius-lg, 16px);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.15s;
}

.pricing-card:hover {
  border-color: var(--border-hover, #2a2a2a);
}

.pricing-card.featured {
  border-color: var(--accent, #b8ff57);
}

.pricing-card.featured:hover {
  border-color: var(--accent-hover, #cdff85);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent, #b8ff57);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-header h3 {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary, #ededed);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary, #737373);
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-amount {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary, #ededed);
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--text-tertiary, #525252);
  font-weight: 400;
}

.pricing-billing {
  font-size: 13px;
  color: var(--text-tertiary, #525252);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary, #737373);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border, #1f1f1f);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent, #b8ff57);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
  text-align: center;
  display: inline-flex;
}

/* ── Comparison Table ── */

.pricing-comparison {
  padding: 96px 0;
  border-top: 1px solid var(--border, #1f1f1f);
}

.pricing-comparison h2 {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-primary, #ededed);
  text-align: center;
  margin-bottom: 48px;
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead th {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary, #ededed);
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border, #1f1f1f);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table tbody td {
  padding: 14px 24px;
  color: var(--text-secondary, #737373);
  border-bottom: 1px solid var(--border, #1f1f1f);
  text-align: center;
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--text-primary, #ededed);
  font-weight: 500;
}

.comparison-table .featured-col {
  background: var(--accent-muted, rgba(184, 255, 87, 0.12));
  color: var(--text-primary, #ededed);
}

.comparison-table thead .featured-col {
  color: var(--accent, #b8ff57);
}

/* ── Pricing FAQ ── */

.pricing-faq {
  padding: 96px 0;
  border-top: 1px solid var(--border, #1f1f1f);
}

.pricing-faq h2 {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-primary, #ededed);
  text-align: center;
  margin-bottom: 48px;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pricing-faq-item {
  background: var(--bg-surface, #141414);
  border: 1px solid var(--border, #1f1f1f);
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
}

.pricing-faq-item h4 {
  font-family: var(--font-display, "Satoshi", sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #ededed);
  margin-bottom: 12px;
}

.pricing-faq-item p {
  font-size: 14px;
  color: var(--text-secondary, #737373);
  line-height: 1.7;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    order: -1;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 96px 0 48px;
  }

  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 16px;
  }
}
