/* =========================================================
   Pavati Book — Why Choose, Pricing Plans, ROI/Value,
   Plan Comparison, Plan Finder & Sticky CTA Styles
   ========================================================= */

/* ---------- Why section ---------- */
.why-section { padding: 96px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-grid--6 { grid-template-columns: repeat(3, 1fr); }
.why-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { color: var(--text-light); font-size: 0.92rem; }

/* ---------- Plans ---------- */
.plans-section { padding: 96px 0; background: var(--background); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card--featured { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan-popular--alt { background: var(--blue); }
.plan-name { font-size: 1.1rem; margin-bottom: 8px; }
.plan-tagline { color: var(--primary); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.plan-desc { color: var(--text-light); font-size: 0.85rem; margin-bottom: 18px; min-height: 42px; }
.plan-price { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.plan-price span { font-size: 0.8rem; font-weight: 500; color: var(--text-light); }
.plan-original-price { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; margin-bottom: 18px; }
.plan-includes { font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-light); padding: 7px 12px; border-radius: 8px; margin-bottom: 18px; }
.plan-sabhasad {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 0.82rem; font-weight: 700;
  padding: 8px 14px; border-radius: 10px;
  margin-bottom: 22px;
}
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.83rem; color: var(--text); }
.plan-features i { color: var(--green-dark); margin-top: 3px; }
.plan-note { text-align: center; font-size: 0.78rem; color: var(--text-light); margin-top: 14px; }

/* ---------- ROI / Value ---------- */
.roi-section { padding: 96px 0; background: var(--white); }
.roi-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.roi-card { border-radius: var(--radius-lg); padding: 34px 30px; }
.roi-card--old { background: #fef2f2; border: 1.5px solid #fecaca; }
.roi-card--new { background: rgba(37, 211, 102, 0.08); border: 1.5px solid rgba(18, 140, 74, 0.3); }
.roi-card-title { font-size: 1.15rem; margin-bottom: 20px; }
.roi-card--old .roi-card-title { color: #b91c1c; }
.roi-card--new .roi-card-title { color: var(--green-dark); }
.roi-list { display: flex; flex-direction: column; gap: 14px; }
.roi-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text); }
.roi-card--old .roi-list i { color: #dc2626; margin-top: 3px; }
.roi-card--new .roi-list i { color: var(--green-dark); margin-top: 3px; }
.roi-vs { display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem; }
.roi-highlight {
  margin-top: 44px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  text-align: center;
  background: var(--dark);
  color: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.roi-highlight i { color: var(--primary); }

/* ---------- Plans comparison table ---------- */
.plans-compare { margin-top: 64px; }
.compare-title { font-size: 1.3rem; text-align: center; margin-bottom: 24px; }
.compare-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 14px 18px;
  font-size: 0.86rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text); font-weight: 600; white-space: normal; }
.compare-table thead th { background: var(--dark); color: var(--white); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.compare-table thead th:first-child { border-top-left-radius: var(--radius-lg); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius-lg); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: var(--background); }
.compare-yes { color: var(--green-dark); }
.compare-dash { color: var(--text-light); }

/* ---------- Plan finder ---------- */
.plan-finder-section { padding: 96px 0; background: var(--background); }
.plan-finder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.plan-finder-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan-finder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.plan-finder-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.plan-finder-eyebrow { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.plan-finder-title { font-size: 1.1rem; margin-bottom: 10px; }
.plan-finder-desc { color: var(--text-light); font-size: 0.88rem; margin-bottom: 22px; flex: 1; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(130%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 950;
}
.sticky-cta.visible { transform: translateY(-50%) translateX(0); opacity: 1; visibility: visible; }

.sticky-cta-price { text-align: center; line-height: 1.25; }
.sticky-cta-amount { display: block; font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.sticky-cta-label { display: block; font-size: 0.78rem; color: var(--text-light); }

.sticky-cta-links { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); text-align: center; }
.sticky-cta-link { font-size: 0.82rem; font-weight: 600; color: var(--text); transition: color 0.2s ease; }
.sticky-cta-link:hover { color: var(--primary); }

@media (max-width: 480px) {
  .sticky-cta { width: 156px; padding: 16px; right: 12px; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-6px); }
  .plan-finder-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-6px); }

  .roi-grid { grid-template-columns: 1fr; }
  .roi-vs { display: none; }
  .roi-highlight { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .why-grid, .plan-finder-grid { grid-template-columns: 1fr; }
  .why-section, .plans-section { padding: 64px 0; }
}
