/* ==========================================================================
   Pricing Section Block
   ========================================================================== */

/* --- Section --- */
.prc-section {
  padding: 2.5rem 0;
}

/* --- Header: title pill + subtitle --- */
.prc-header {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.prc-title-wrap {
  background-color: #b9ff66;
  border-radius: 7px;
  padding: 0 7px;
  flex-shrink: 0;
}

.prc-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

.prc-subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  max-width: 323px;
}

/* --- Cards grid --- */
.prc-grid {
  display: grid;
  gap: 26px;
  align-items: start;
  grid-template-columns: repeat(3, 1fr);
}

/* Adjust columns for fewer cards */
.prc-grid--1 { grid-template-columns: 1fr; max-width: 420px; }
.prc-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 840px; }

/* --- Card base --- */
.prc-card {
  position: relative;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #191a23;
  border-bottom: 6px solid #191a23;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* --- Dark variant --- */
.prc-card--dark {
  background: #191a23;
  border: 2px solid #191a23;
  border-bottom: 2px solid #191a23;
}

/* --- Popular badge --- */
.prc-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  background: #b9ff66;
  border-radius: 33px;
  padding: 3px 14px;
  font-family: 'SpaceGrotesk-Medium', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.4;
}

/* --- Plan title --- */
.prc-plan-title {
  font-family: 'SpaceGrotesk-SemiBold', sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 28px 0;
}

.prc-card--dark .prc-plan-title {
  color: #ffffff;
}

/* --- Price row --- */
.prc-price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 32px;
}

.prc-price {
  font-family: 'SpaceGrotesk-Medium', sans-serif;
  font-size: 3.1875rem;
  font-weight: 500;
  line-height: 1;
  color: #000000;
}

.prc-card--dark .prc-price {
  color: #ffffff;
}

.prc-price-label {
  font-family: 'SpaceGrotesk-Regular', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #000000;
  padding-bottom: 8px;
}

.prc-card--dark .prc-price-label {
  color: #ffffff;
}

/* --- Buttons --- */
.prc-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.prc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 68px;
  border-radius: 14px;
  font-family: 'SpaceGrotesk-Medium', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.prc-btn:hover {
  opacity: 0.85;
}

/* Primary — dark bg on light card, green on dark card */
.prc-btn--primary {
  background: #191a23;
  color: #ffffff;
  border: none;
}

.prc-card--dark .prc-btn--primary {
  background: #b9ff66;
  color: #191a23;
}

/* Secondary — outlined */
.prc-btn--secondary {
  background: transparent;
  color: #000000;
  border: 2px solid #191a23;
}

.prc-card--dark .prc-btn--secondary {
  color: #ffffff;
  border-color: #ffffff;
}

/* --- Divider --- */
.prc-divider {
  width: 100%;
  height: 2px;
  background: #191a23;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.prc-card--dark .prc-divider {
  background: #ffffff;
}

/* --- Features list --- */
.prc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'SpaceGrotesk-Regular', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
}

.prc-card--dark .prc-feature-item {
  color: #ffffff;
}

/* Checkmark icon — circle with tick, matches theme aesthetic */
.prc-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' stroke='%23191a23' stroke-width='1.5'/%3E%3Cpath d='M7.5 12l3 3L16.5 9' stroke='%23191a23' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.prc-card--dark .prc-feature-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M7.5 12l3 3L16.5 9' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

@media (max-width: 1199px) {
  .prc-card {
    padding: 40px 32px;
  }
}

@media (max-width: 1023px) {
  .prc-grid,
  .prc-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .prc-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
  }

  .prc-subtitle {
    max-width: 100%;
    text-align: center;
  }

  .prc-grid,
  .prc-grid--2,
  .prc-grid--3 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .prc-grid--1 {
    max-width: 100%;
  }

  .prc-card {
    padding: 40px 30px;
  }

  .prc-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 479px) {
  .prc-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .prc-price {
    font-size: 2.75rem;
  }

  .prc-plan-title {
    font-size: 1.625rem;
  }

  .prc-btn {
    height: 60px;
    font-size: 1.125rem;
  }
}
