/* Viewpoint Plans - front-end styles */

/* ========== Plans Section Container ========== */
.vp-plans {
  padding: 10px 20px;  
  background: transparent;
}

.vp-plans-inner {
  max-width: 1500px;
  margin: 0 auto;
}

/* Header */
.vp-plans-header {
  text-align: center;
  margin-bottom: 48px;
}

.vp-plans-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.vp-plans-header p {
  font-size: 16px;
  color: #4b5563;
}

/* ========== Grid Layout ========== */
.vp-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1000px) {
  .vp-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vp-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Plan Cards ========== */
.vp-plan-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 20px 20px;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

/* Featured (Premium) */
.vp-plan-card.vp-plan-featured {
  border: 2px solid #3057a4;
  box-shadow: 0 18px 40px rgba(48, 87, 164, 0.22);
  transform: translateY(-4px);
}

/* Card header */
.vp-plan-header {
  margin-bottom: 16px;
}
.vp-plan-header{ padding-right: 0; }

@media (min-width: 1100px){
  .vp-plan-header{ padding-right: 10px; } 
}



.vp-plan-name {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.vp-plan-tagline {
  font-size: 16px;
  margin-top: 6px;
  color: #6b7280;
  margin: 0;
}
.vp-plan-card{ position: relative; }

/* MOST POPULAR badge in Viewpoint Blue */
.vp-plan-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(48, 87, 164, 0.08);
  color: #3057a4;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 4px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.vp-plan-badge{ max-width: 140px; }

/* ========== Feature List ========== */
.vp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.vp-feature {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
  padding: 10px 0;
  color: #374151;
}

/* Icons (check / cross) using ::before */
.vp-feature::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  margin-top: 2px;
  border-radius: 999px;
  box-sizing: border-box;
}

/* Included feature */
.vp-feature.is-included::before {
  content: "✓";
  font-size: 11px;
  text-align: center;
  line-height: 16px;
  background: #e0ebff;
  color: #3057a4;
}

/* Not included feature */
.vp-feature.is-not-included {
  color: #9ca3af;
}

.vp-feature.is-not-included::before {
  content: "✕";
  font-size: 11px;
  text-align: center;
  line-height: 16px;
  background: #f3f4f6;
  color: #9ca3af;
}

/* ========== Footer & Buttons ========== */
.vp-plan-footer {
  margin-top: auto;
  padding-top: 12px;
}

.vp-plan-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  border-radius: 999px;
  padding: 16px 24px;
  border: 1px solid #3057a4;
  background: #ffffff;
  color: #3057a4;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.1s ease;
}

/* Primary CTA (Premium) */
.vp-plan-cta-primary {
  background: #3057a4;
  color: #ffffff;
}

/* Ghost CTA (Business) */
.vp-plan-cta-ghost {
  background: transparent;
}

.vp-plan-cta:hover,
.vp-plan-cta:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.vp-plan-cta-primary:hover,
.vp-plan-cta-primary:focus {
  background: #26437c;
}

/* ========== Footnotes ========== */
.vp-plan-notes {
  margin-top: 32px;
  font-size: 12px;
  color: #6b7280;
  max-width: 800px;
}
/* Center the Enroll text perfectly inside the button */
.vp-plan-footer {
  display: flex;
  justify-content: center;
}

.vp-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

/* When popup is open, lock body scroll */
body.vp-modal-open {
  overflow: hidden;
}
/* Desktop widescreen: 4 columns */
.vp-plan-grid{
  display:grid;
  gap:24px;
  align-items:stretch;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

/* Normal desktop/laptop: 3 columns (prevents “mushed”) */
@media (max-width: 1320px){
  .vp-plan-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

/* Tablet: 2 columns */
@media (max-width: 980px){
  .vp-plan-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .vp-plan-grid{
    grid-template-columns:1fr;
  }
}

/* Prevent content forcing weird widths */
.vp-plan-card{ min-width:0; }

