/* pricing.css — styles for /pricing and /welcome pages */

/* ---- PRICING HERO ---- */
.pricing-hero {
  padding: 80px 0 48px;
  text-align: center;
  background: var(--parchment);
  border-bottom: 1px solid var(--rule);
}

.pricing-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.pricing-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 16px;
}

.pricing-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink-light);
  margin-bottom: 40px;
}

/* ---- BILLING TOGGLE ---- */
.billing-toggle {
  display: inline-flex;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 40px;
  padding: 4px;
  gap: 0;
}

.toggle-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 24px;
  border: none;
  border-radius: 36px;
  background: transparent;
  color: var(--ink-light);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.active {
  background: var(--forest);
  color: white;
}

.annual-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--amber);
  color: var(--forest);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---- TIER CARDS ---- */
.pricing-tiers {
  padding: 64px 0;
  background: var(--parchment);
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.tier-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.tier-card--featured {
  border-color: var(--forest);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(14,43,29,0.1);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: var(--amber-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-header {
  margin-bottom: 24px;
}

.tier-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}

.tier-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
}

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

.price-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.price-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink-light);
}

.price-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0;
}

.tier-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin: 20px 0 24px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--parchment-dark);
  color: var(--forest);
  border: 1px solid var(--rule);
  transition: background 0.15s, border-color 0.15s;
}

.tier-cta:hover {
  background: var(--parchment);
  border-color: var(--forest);
}

.tier-cta--featured {
  background: var(--forest);
  color: var(--amber-light);
  border-color: var(--forest);
}

.tier-cta--featured:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  color: var(--amber-light);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.tier-features li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 12px;
  top: 7px;
}

.coming-soon {
  font-size: 11px;
  color: var(--ink-light);
  font-style: italic;
}

/* ---- COMPARISON TABLE ---- */
.comparison-section {
  padding: 80px 0;
  background: white;
}

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 40px;
  text-align: center;
}

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  min-width: 560px;
}

.comparison-table thead th {
  font-weight: 600;
  color: var(--ink-light);
  padding: 12px 16px;
  text-align: center;
  border-bottom: 2px solid var(--rule);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.comparison-table thead th.col-featured {
  background: rgba(14,43,29,0.04);
  color: var(--forest);
  border-bottom-color: var(--forest);
}

.comparison-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
  color: var(--ink);
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--ink-light);
  font-size: 13px;
}

.comparison-table tbody .col-featured {
  background: rgba(14,43,29,0.03);
  font-weight: 500;
  color: var(--forest);
}

.comparison-table .group-row td {
  background: var(--parchment);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 10px 16px;
  text-align: left;
}

/* ---- FAQ ---- */
.faq-section {
  padding: 80px 0;
  background: var(--parchment);
  border-top: 1px solid var(--rule);
}

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

@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
  border-top: 2px solid var(--forest);
  padding-top: 20px;
}

.faq-q {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
}

.faq-a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
}

.faq-a a {
  color: var(--forest);
  text-decoration: underline;
}

/* ---- FOOTER CTA ---- */
.pricing-footer-cta {
  padding: 48px 0;
  background: var(--forest);
  text-align: center;
}

.footer-cta-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

.footer-cta-text a {
  color: var(--amber-light);
  text-decoration: underline;
  font-weight: 500;
}

/* ---- NAV LINKS ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-light);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--forest);
}
