/* ================================================================
   Mon Salon — Pricing Page Styles
   ================================================================ */

/* ── Hero ──────────────────────────────────────────────────────── */
.pricing-hero {
  position: relative; min-height: 50vh; display: flex; align-items: center;
  justify-content: center; padding: 140px 0 80px; overflow: hidden;
}
.pricing-hero-content {
  position: relative; z-index: 2; text-align: center;
}
.pricing-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--slate-900); margin-bottom: 16px;
}
.pricing-hero-subtitle {
  font-size: 18px; color: var(--slate-500); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* ── Pricing Section ───────────────────────────────────────────── */
.pricing-section {
  padding: 80px 0 60px; margin-top: -40px; position: relative; z-index: 3;
}
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 900px; margin: 0 auto; align-items: start;
}
.pricing-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1200px; gap: 24px;
}

/* ── Pricing Card Base ─────────────────────────────────────────── */
.pricing-card {
  background: white; border-radius: var(--radius-xl); padding: 40px 32px;
  border: 1px solid var(--slate-200); position: relative; overflow: hidden;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ── Free Card ─────────────────────────────────────────────────── */
.pricing-card-free {
  border-color: var(--brand-200);
  box-shadow: 0 4px 24px rgba(85,129,72,0.08);
}
.pricing-card-free::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
}

/* ── Essentiel Card (featured, middle) ─────────────────────────── */
.pricing-card-essential {
  border: 2px solid var(--brand-500);
  box-shadow: 0 12px 40px rgba(85,129,72,0.18);
  background: white;
  position: relative;
  z-index: 2;
}
.pricing-card-essential::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-400));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.pricing-card-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.pricing-card-badges .pricing-badge {
  margin-bottom: 0;
}
.pricing-badge-popular {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: white; border: none;
  box-shadow: 0 2px 8px rgba(85,129,72,0.25);
}
.pricing-badge-trial {
  background: #FEF3C7; color: #D97706;
  border: 1px solid #FDE68A;
}
.pricing-cta-essential {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: white; box-shadow: 0 6px 28px rgba(85,129,72,0.35);
}
.pricing-cta-essential:hover {
  transform: translateY(-2px); box-shadow: 0 10px 36px rgba(85,129,72,0.45);
}

/* ── Cap indicator feature (Free plan) ─────────────────────────── */
.pricing-feature-cap span {
  color: #B45309; font-weight: 500;
}
.pricing-feature-cap strong {
  color: #D97706;
}

/* ── Business Card (new — light amber accent, readable) ────────── */
.pricing-card-business-new {
  background: white;
  border: 1px solid #FDE68A;
  box-shadow: 0 4px 24px rgba(217,119,6,0.10);
}
.pricing-card-business-new::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(135deg, #D97706, #F59E0B);
}
.pricing-card-business-new .pricing-feature strong { color: #D97706; }
.pricing-badge-business-new {
  background: #FEF3C7; color: #B45309;
  border: 1px solid #FDE68A;
}
.pricing-cta-business-new {
  background: linear-gradient(135deg, #D97706, #F59E0B);
  color: white; box-shadow: 0 6px 28px rgba(217,119,6,0.35);
}
.pricing-cta-business-new:hover {
  transform: translateY(-2px); box-shadow: 0 10px 36px rgba(217,119,6,0.45);
}

/* Currency + compact price layout */
.pricing-currency {
  font-family: 'Inter', sans-serif; font-size: 20px;
  font-weight: 700; color: var(--slate-500); margin-left: 4px;
}

/* ── Business Card (greyed out) ────────────────────────────────── */
.pricing-card-business {
  background: var(--slate-50); border-color: var(--slate-200);
}
.pricing-card-overlay {
  position: absolute; inset: 0; background: rgba(255,255,255,0.3);
  z-index: 1; border-radius: var(--radius-xl); pointer-events: none;
}
.pricing-card-business .pricing-card-header,
.pricing-card-business .pricing-features,
.pricing-card-business .pricing-cta-business {
  position: relative; z-index: 2;
}
.pricing-card-business .pricing-amount,
.pricing-card-business .pricing-period {
  color: var(--slate-400);
}
.pricing-card-business h3 {
  color: var(--slate-500);
}
.pricing-card-business .pricing-desc {
  color: var(--slate-400);
}
.pricing-card-business .pricing-feature span {
  color: var(--slate-400);
}
.pricing-card-business .pricing-feature svg {
  stroke: var(--slate-300) !important;
}
.pricing-card-business .pricing-feature-highlight svg {
  stroke: var(--brand-300) !important;
}
.pricing-card-business .pricing-feature-highlight span {
  color: var(--slate-500);
}

/* ── Card Header ───────────────────────────────────────────────── */
.pricing-card-header {
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid var(--slate-100);
}
.pricing-card-header h3 {
  font-family: 'Inter', sans-serif; font-size: 24px;
  margin-bottom: 12px; color: var(--slate-900);
}

/* ── Badge ─────────────────────────────────────────────────────── */
.pricing-badge {
  display: inline-block; padding: 4px 14px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 16px;
}
.pricing-badge-free {
  background: var(--brand-50); color: var(--brand-600);
  border: 1px solid var(--brand-200);
}
.pricing-badge-business {
  background: var(--slate-100); color: var(--slate-500);
  border: 1px solid var(--slate-200);
}

/* ── Price ──────────────────────────────────────────────────────── */
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Inter', sans-serif; font-size: 42px;
  font-weight: 800; color: var(--slate-900); line-height: 1;
}
.pricing-period {
  font-size: 16px; color: var(--slate-500); font-weight: 500;
}
.pricing-desc {
  font-size: 14px; color: var(--slate-500); line-height: 1.6;
}

/* ── Features List ─────────────────────────────────────────────── */
.pricing-features {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px;
}
.pricing-feature {
  display: flex; align-items: flex-start; gap: 12px;
}
.pricing-feature svg {
  flex-shrink: 0; margin-top: 2px;
}
.pricing-feature span {
  font-size: 14px; color: var(--slate-700); line-height: 1.5;
}
.pricing-feature strong {
  color: var(--brand-600); font-weight: 600;
}
.pricing-feature-info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px;
  margin-left: 6px; flex-shrink: 0;
  color: var(--brand-600); background: var(--brand-50);
  border: 1px solid var(--brand-200);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.pricing-feature-info:hover {
  background: var(--brand-100);
  transform: scale(1.06);
}

/* ── CTA Buttons ───────────────────────────────────────────────── */
.pricing-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 15px; transition: all var(--transition);
  text-align: center; width: 100%;
}
.pricing-cta-free {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: white; box-shadow: 0 4px 24px rgba(85,129,72,0.3);
}
.pricing-cta-free:hover {
  transform: translateY(-2px); box-shadow: 0 8px 32px rgba(85,129,72,0.4);
}
.pricing-cta-business {
  background: var(--slate-200); color: var(--slate-400);
  cursor: default;
}

/* ── FAQ Section ───────────────────────────────────────────────── */
.pricing-faq {
  padding: 80px 0;
}
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 900px; margin: 40px auto 0;
}
.faq-item {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--brand-200);
  box-shadow: 0 4px 20px rgba(85,129,72,0.06);
}
.faq-item h3 {
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--slate-900); margin-bottom: 10px;
}
.faq-item p {
  font-size: 14px; color: var(--slate-500); line-height: 1.7;
}

/* ── Bottom CTA Section ────────────────────────────────────────── */
.pricing-cta-section {
  position: relative; padding: 80px 0; overflow: hidden;
}
.pricing-cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.pricing-cta-content {
  position: relative; z-index: 2; text-align: center;
}
.pricing-cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--slate-900); margin-bottom: 16px;
}
.pricing-cta-content p {
  font-size: 17px; color: var(--slate-500);
  max-width: 500px; margin: 0 auto 32px; line-height: 1.7;
}

/* ── Compare Section ──────────────────────────────────────────── */
.compare-section {
  padding: 80px 0;
  background: white;
}
.compare-subtitle {
  font-size: 16px; color: var(--slate-500); max-width: 520px;
  margin: 12px auto 0; line-height: 1.7;
}
.compare-table-wrapper {
  max-width: 960px; margin: 40px auto 0; overflow-x: auto;
  border-radius: var(--radius-xl); border: 1px solid var(--slate-200);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.compare-table thead {
  background: var(--slate-50);
}
.compare-table th {
  padding: 18px 16px; text-align: center; font-weight: 600;
  color: var(--slate-500); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.3px; border-bottom: 2px solid var(--slate-200);
  white-space: nowrap;
}
.compare-feature-col {
  text-align: left !important; min-width: 200px;
}
.compare-table th.compare-us {
  background: var(--brand-50); color: var(--brand-700);
  border-bottom-color: var(--brand-200);
}
.compare-table td {
  padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
}
.compare-table td:first-child {
  text-align: left; font-weight: 500; color: var(--slate-700);
}
.compare-table td.compare-us {
  background: var(--brand-50); font-weight: 600;
}
.compare-table tbody tr:hover {
  background: rgba(85,129,72,0.02);
}
.compare-table tbody tr:hover td.compare-us {
  background: var(--brand-100);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-logo {
  width: 28px; height: 28px; border-radius: 8px; display: block;
  margin: 0 auto 6px;
}
.compare-check {
  color: var(--brand-500); font-size: 18px; font-weight: 700;
}
.compare-cross {
  color: var(--slate-300); font-size: 18px;
}
.compare-partial {
  color: var(--slate-400); font-size: 16px; font-weight: 600;
}
.compare-free {
  color: var(--brand-600); font-size: 15px;
}
.compare-soon {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
  background: var(--brand-50); color: var(--brand-600); font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
  border: 1px solid var(--brand-200);
}
.compare-note {
  text-align: center; font-size: 13px; color: var(--slate-400);
  margin-top: 20px; max-width: 960px; margin-left: auto; margin-right: auto;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr; max-width: 480px;
  }
  .pricing-card-essential {
    order: -1;
  }
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr; max-width: 480px;
  }
  .pricing-card { padding: 32px 24px; }
  .pricing-amount { font-size: 36px; }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero { padding: 120px 0 60px; min-height: auto; }
  .pricing-hero-content h1 { font-size: 2rem; }
  .compare-section { padding: 60px 0; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-feature-col { min-width: 140px; }
}

@media (max-width: 480px) {
  .pricing-card { padding: 24px 20px; }
  .pricing-amount { font-size: 32px; }
  .pricing-hero-subtitle { font-size: 15px; }
}
