/* Pricing page — ported from mockups/pricing.html (nav/footer come from site.css). */

/* HERO */
.pricing-hero { text-align: center; padding: 5rem 1.5rem 3rem; }
.pricing-hero .badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 9999px;
  background: rgba(42,42,42,0.08); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; color: #555;
  margin-bottom: 1.5rem;
}
.pricing-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--brand-primary, #2a2a2a);
  margin-bottom: 1rem;
}
.pricing-hero p {
  color: #6b6b6b; font-size: 1.1rem; max-width: 36rem; margin: 0 auto;
  line-height: 1.7;
}

/* PRICING CARDS */
.pricing-grid {
  max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  border-radius: 1.5rem; padding: 2.5rem 2rem;
  background: #fff; border: 1px solid #eee;
  position: relative;
}
.pricing-card.featured {
  background: var(--brand-primary, #2a2a2a); color: #fff;
  border: none;
  box-shadow: 0 20px 40px rgba(42,42,42,0.25);
  transform: scale(1.03);
}
.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .feature-item { color: rgba(255,255,255,0.7); }
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-card.featured .feature-check { color: #6ee7b7; }
.pricing-card.featured .feature-x { color: rgba(255,255,255,0.3); }

.popular-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 1rem; border-radius: 9999px;
  background: #fff; color: var(--brand-primary, #2a2a2a);
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pricing-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: #888; margin-bottom: 0.75rem;
}
.pricing-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem; font-weight: 700; color: var(--brand-primary, #2a2a2a);
  margin-bottom: 0.25rem;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: #888; }
.pricing-desc {
  font-size: 0.875rem; color: #6b6b6b; line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-pricing {
  display: block; width: 100%; padding: 0.875rem;
  border-radius: 0.75rem; font-weight: 700; font-size: 1rem;
  cursor: pointer; text-align: center; transition: all 0.2s;
  margin-bottom: 2rem; border: none; text-decoration: none;
}
.btn-pricing-dark {
  background: var(--brand-primary, #2a2a2a); color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-pricing-dark:hover { background: #1a1a1a; }
.btn-pricing-white {
  background: #fff; color: var(--brand-primary, #2a2a2a);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-pricing-white:hover { background: var(--brand-cream, #f8f7f2); }
.btn-pricing-outline {
  background: transparent; color: var(--brand-primary, #2a2a2a);
  border: 2px solid #ddd;
}
.btn-pricing-outline:hover { border-color: #aaa; }

.features-list { list-style: none; padding: 0; }
.feature-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0; font-size: 0.875rem; color: #555;
}
.feature-check { color: #16a34a; flex-shrink: 0; }
.feature-x { color: #ddd; flex-shrink: 0; }

/* VAGARO COMPARISON */
.comparison { max-width: 64rem; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.comparison h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem; font-weight: 700; text-align: center;
  margin-bottom: 0.75rem;
}
.comparison > p {
  text-align: center; color: #6b6b6b; margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.comparison-table th {
  padding: 1rem 1.25rem; text-align: left;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; background: #fafafa;
  border-bottom: 1px solid #eee;
}
.comparison-table th:first-child { width: 40%; }
.comparison-table td {
  padding: 0.875rem 1.25rem; font-size: 0.875rem;
  border-bottom: 1px solid #f5f5f5;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: #16a34a; font-weight: 700; }
.comparison-table .extra { color: #dc2626; font-weight: 600; font-size: 0.8rem; }
.comparison-table .highlight-col { background: rgba(42,42,42,0.03); }
/* Featured column reads as one continuous band, header included (not stepped). */
.comparison-table th.highlight-col { background: rgba(42,42,42,0.06); }
/* Center the two comparison columns so short values don't strand a ragged left
   edge with trailing whitespace. Desktop only — the mobile block stacks rows. */
@media (min-width: 769px) {
  .comparison-table th:nth-child(2),
  .comparison-table th:nth-child(3),
  .comparison-table td:nth-child(2),
  .comparison-table td:nth-child(3) { text-align: center; }
}

/* ADD-ONS */
.addons { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem 5rem; }
.addons h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; font-weight: 700; text-align: center;
  margin-bottom: 0.5rem;
}
.addons > p {
  text-align: center; color: #6b6b6b; margin-bottom: 2rem;
  font-size: 0.9rem;
}
.addon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.addon-card {
  padding: 1.5rem; border-radius: 1rem;
  background: #fff; border: 1px solid #eee;
}
.addon-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.addon-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; color: var(--brand-primary, #2a2a2a); margin-bottom: 0.5rem;
}
.addon-desc { font-size: 0.8rem; color: #6b6b6b; line-height: 1.6; }

/* CTA */
.cta-section { padding: 0 1.5rem 5rem; }
.cta-card {
  max-width: 64rem; margin: 0 auto;
  background: linear-gradient(135deg, var(--brand-primary, #2a2a2a), var(--brand-secondary, #3a3a3a));
  border-radius: 2rem; padding: 4rem 3rem; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700; margin-bottom: 1rem;
}
.cta-card p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.btn-cta {
  display: inline-block;
  padding: 1rem 2rem; background: #fff; color: var(--brand-primary, #2a2a2a);
  border: none; border-radius: 1rem; font-weight: 700; font-size: 1rem;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-decoration: none;
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }

  .pricing-hero { padding: 2.5rem 20px 2rem; }
  .pricing-hero h1 { font-size: 30px; line-height: 1.2; }
  .pricing-hero p { font-size: 15px; }

  /* PRICING CARDS — stack */
  .pricing-grid { grid-template-columns: 1fr; padding: 1rem 16px 2rem; gap: 16px; }
  .pricing-card {
    border-radius: 1.25rem; padding: 28px 24px; margin-bottom: 0;
  }
  .pricing-card.featured { transform: none; }
  .popular-badge { top: -12px; }
  .pricing-price { font-size: 40px; }
  .pricing-price span { font-size: 16px; }
  .btn-pricing { min-height: 52px; font-size: 16px; }

  /* COMPARISON — stacked rows (Feature heading + two space-between value lines)
     instead of a 3-column table, per the mockup's Vagaro-vs-LOCLbox card. */
  .comparison { padding: 2rem 16px 2rem; }
  .comparison-table, .comparison-table tbody, .comparison-table tr {
    display: block; width: 100%;
  }
  .comparison-table {
    border-radius: 1.25rem; padding: 24px 20px;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3); box-shadow: none;
  }
  .comparison-table thead { display: none; }
  .comparison-table tr {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
    padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px;
  }
  .comparison-table tr:last-child { border-bottom: none; }
  .comparison-table td { padding: 0; border-bottom: none; background: none !important; }
  .comparison-table td:first-child { flex: 1 1 100%; font-weight: 600; color: #333; margin-bottom: 4px; }
  .comparison-table td:nth-child(2), .comparison-table td:nth-child(3) { font-size: 13px; }
  .comparison-table td:nth-child(3) { text-align: right; }
  .comparison-table tr:last-child td:first-child { font-size: 16px; }
  .comparison-table tr:last-child td:nth-child(3) { color: #16a34a; font-weight: 700; font-size: 16px; }
  .comparison-table .extra { color: #dc2626; }

  /* ADD-ONS — stack */
  .addons { padding: 0 16px 2rem; }
  .addon-grid { grid-template-columns: 1fr; gap: 12px; }
  .addon-card { padding: 18px 20px; }

  /* BOTTOM CTA — button capped, not full-width (mockup exception) */
  .cta-section { padding: 0 16px 2rem; }
  .cta-card { padding: 40px 20px; border-radius: 1.5rem; }
  .cta-card h2 { font-size: 24px; }
  .btn-cta { max-width: 300px; width: 100%; margin: 0 auto; display: block; }
}
