/* Pricing page styles — scoped to /pricing. Does not modify global theme vars. */

/* Nav active state */
.btn-nav-active {
  background: var(--accent) !important;
  color: #0D1B2A !important;
}

/* Pricing hero */
.pricing-main {
  min-height: 100vh;
}

.pricing-hero {
  padding: 80px 40px 60px;
  border-bottom: 1px solid var(--border);
}
.pricing-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 20px 0 24px;
}
.pricing-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.pricing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 24px;
}
.pricing-live-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-glow);
  padding-bottom: 2px;
}
.pricing-live-link:hover { opacity: 0.8; }
.pricing-live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pricing-live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pricing-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Pricing grid */
.pricing-grid-section {
  padding: 80px 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Pricing card */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card--highlight {
  background: var(--bg-2);
  border-color: var(--accent-glow);
  /* Subtle lift */
  margin-top: -8px;
  margin-bottom: -8px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0D1B2A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 32px;
}
.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}
.pricing-period {
  font-size: 16px;
  color: var(--fg-muted);
}
.pricing-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
}

/* Features list */
.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-feature:last-child {
  border-bottom: none;
}
.feature-check {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA button */
.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border: 1px solid var(--border);
  color: var(--fg);
  background: transparent;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.pricing-cta:hover {
  border-color: var(--fg-muted);
  background: rgba(255,255,255,0.03);
}
.pricing-cta--highlight {
  background: var(--accent);
  color: #0D1B2A;
  border-color: var(--accent);
}
.pricing-cta--highlight:hover {
  background: #c9ff6b;
  border-color: #c9ff6b;
}

/* Comparison table */
.pricing-comparison {
  padding: 80px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pricing-comparison-inner {
  max-width: 900px;
  margin: 0 auto;
}
.pricing-comparison h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  background: var(--bg-card);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.comparison-header .comp-col {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row--us {
  background: var(--accent-dim);
}
.comp-col {
  font-size: 14px;
  color: var(--fg-muted);
}
.comp-name { color: var(--fg); }
.comp-muted { opacity: 0.5; font-size: 13px; }
.comp-yes { color: var(--accent); font-weight: 700; font-size: 16px; }
.comp-no { color: #ff6b6b; font-weight: 700; font-size: 16px; }

/* FAQ */
.pricing-faq {
  padding: 80px 40px;
}
.pricing-faq-inner {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-faq h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-hero { padding: 60px 24px 40px; }
  .pricing-grid-section { padding: 60px 24px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card--highlight {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .pricing-comparison { padding: 60px 24px; }
  .comparison-header,
  .comparison-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  /* Hide mobile-first column on very small screens to save space */
  .comparison-header .comp-col:nth-child(3),
  .comparison-row .comp-col:nth-child(3) { display: none; }
  .pricing-faq { padding: 60px 24px; }
}
