/* CPF page - scoped styles to avoid impacting other pages */

/* Page top spacing to sit below sticky header (scoped to cpf only) */
html[data-wf-page="cpf"] .container {
  margin-top: 95px; /* adjust if needed */
}
/* Grid specific to CPF page */
.cpf-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 20px;
}

/* Left card */
.cpf-intro {
  grid-column: span 6;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-purple) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

/* Decorative background glow */
.cpf-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.cpf-intro .section-title,
.cpf-intro h1 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cpf-intro p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15px;
}

.cpf-intro .philosophy-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 20px 0;
  padding: 15px;
  border-left: 4px solid var(--secondary);
  background-color: rgba(255, 255, 255, 0.15);
}

.cpf-intro .feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px 0;
}

.cpf-intro .feature-list li {
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}

.cpf-intro .feature-icon {
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.cpf-intro .intro-button-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

/* Right card */
.cpf-video {
  grid-column: span 6;
}

.cpf-video .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .cpf-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .cpf-intro, .cpf-video {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .cpf-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cpf-intro, .cpf-video {
    grid-column: span 1;
    padding: 25px;
  }

  .cpf-intro .section-title,
  .cpf-intro h1 {
    font-size: 24px;
  }
}