body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100vw;
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #f9fafc;
  color: #111;
}

.plans-page {
  margin: 0 auto;
  padding: 60px 20px;
  background: #f9fafc;
}

.plans-page__header {
  text-align: center;
  margin-bottom: 40px;
}

.plans-section { margin-block: 2rem; }
.plans-section__title { font-size: 1.25rem; margin: 0 0 1rem; }
.plans-list--subs, .plans-list--courses { display: grid; gap: 1rem; }
.plans-group__title {text-align: center;}

.plans-page__title {
  font-family: 'my-alt-Medium', sans-serif;
  font-size: 32px;
  font-weight: 600;
}

.plans-page__subtitle {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.plans-page__toggle {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  margin-top: 24px;
  box-shadow: 0 0 0 1px #ddd;
}

.plans-page__toggle-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.plans-page__toggle-btn--active {
  background: #111;
  color: #fff;
}

.plans-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  padding: 32px;
  width: 200px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: #e1ecff;
  color: #1a73e8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.plan-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.plan-card__tagline {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.plan-card__price {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.plan-card__button {
    background-color: #eb870f;
    color: #ffffff;
    padding: 12px 32px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.06s ease;
    cursor: pointer;
    margin-bottom: 24px;
}

.plan-card__button:hover {
  background: #c7730e;
  color: #fff;
}

.plan-card__button--highlight {
  background: #ec8711;
  border: none;
  color: #fff;
}

.plan-card__button--highlight:hover {
  background: #c7730e;
}

.plan-card__divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 0 20px 0;
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card__feature {
  font-size: 13px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #333;
  line-height: 1.4;
}

.plan-card__feature::before {
  content: "âœ”";
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 0;
  color: #1a73e8;
  font-weight: bold;
}

.plan-card--selected {
  border: 2px solid #1a73e8;
  background: #f0f4ff;
}

.redeem-code {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.redeem-code__label {
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.redeem-code__input {
  padding: 10px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 250px;
  max-width: 90%;
}

.redeem-code__button {
  padding: 10px 16px;
  font-size: 16px;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.redeem-code__button:hover {
  background: #1558c3;
  color: white;
}

.plan-save {
    position: absolute;
    top: 140px;
    left: -8px;
    background: #Eb870f;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .plans-list {
    flex-direction: column;
    align-items: center;
  }

  .plan-card {
    width: 90%;
    max-width: 360px;
  }

  .redeem-code {
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
  }

  .redeem-code__input,
  .redeem-code__button {
    width: 100%;
    max-width: 300px;
  }

  .plans-page__toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  .plans-page__title {
    font-size: 24px;
  }

  .plan-card__price {
    font-size: 22px;
  }
}