:root {
  --navy: #004595;
  --text-dark: #1d293d;
  --green-light: #dcfce7;
  --green-dark: #016630;
  --gray-line: #e2e8f0;
  --gray-text: #64748b;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  background-color: #f8fafc;
  color: var(--text-dark);
  margin: 0;
  padding: 30px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.card {
  background: #fff;
  border-radius: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 520px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.card.active {
  border-color: var(--green-light);
}

.card-image {
  height: 280px;
  overflow: hidden;
  background-color: #f0f0f0;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.badge {
  position: absolute;
  top: 250px;
  right: 15px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 16px 24px;
  border-radius: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 19px;
  z-index: 10;
}

.progress-tracker {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 30px;
  border-radius: 20px;
}

.progress-wrapper {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 60px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  margin-bottom: 8px;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.progress-step.active .step-number {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--green-light);
}

.progress-step.completed .step-number {
  background-color: var(--green-dark);
  border-color: var(--green-light);
  color: var(--gray-line);
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.active .step-label {
  color: #000;
}

.step-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.step-link.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.membership-grid .card:first-child .card-image img {
  transform: scale(1.3);
  object-position: center;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.membership-grid .card:first-child:hover .card-image img {
  transform: scale(1.4);
}

.card-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.comm-title {
  font-family: "Anybody", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 60px;
}

.features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features li.check::before {
  content: "✓";
  color: #22c55e;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.selection-circle {
  width: 32px;
  height: 32px;
  border: 2px solid var(--green-light);
  border-radius: 50%;
  position: absolute;
  bottom: 25px;
  right: 25px;
  transition: all 0.2s ease;
}

.selection-circle.selected {
  background-color: var(--green-dark);
  border-color: var(--green-light);
  box-shadow: inset 0 0 0 4px #fff;
}

.std-title {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 32px;
  margin-bottom: 30px;
}

.duration-card {
  background: #fff;
  margin-bottom: 16px;
  padding: 24px 40px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.duration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.radio-custom {
  width: 30px;
  height: 30px;
  border: 2px solid var(--green-light);
  border-radius: 50%;
  margin-right: 25px;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.2s ease;
}

input[type="radio"]:checked + .radio-custom {
  background-color: var(--green-dark);
  border-color: var(--green-light);
  box-shadow: inset 0 0 0 4px #fff;
}

input[type="radio"] {
  display: none;
}

.duration-main-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.duration-label {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  min-width: 110px;
}

.vertical-divider {
  width: 1px;
  height: 45px;
  background-color: var(--gray-line);
  margin: 0 30px;
}

.duration-details-text {
  display: flex;
  flex-direction: column;
}

.opzegbaar-text {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
}

.inschrijfgeld-text {
  margin: 4px 0 0 0;
  color: var(--gray-text);
  font-size: 14px;
}

.price-container {
  text-align: right;
  min-width: 150px;
}

.price-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-top: 5px;
}

.btn-blue {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--navy);
  padding: 16px 50px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-blue:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 69, 149, 0.2);
}

.button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .progress-tracker {
    padding: 15px 0;
    margin-bottom: 20px;
  }

  .progress-wrapper {
    gap: 20px;
    padding: 0 10px;
  }

  .progress-step::before {
    left: calc(-50% + 20px);
    right: calc(50% + 20px);
    top: 20px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .step-label {
    font-size: 11px;
    padding: 0 2px;
    word-break: break-word;
    max-width: 80px;
  }

  .std-title {
    font-size: 26px;
  }

  .duration-card {
    padding: 20px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .vertical-divider {
    margin: 0 15px;
  }

  .duration-label {
    font-size: 22px;
    min-width: auto;
  }

  .price-container {
    width: 100%;
    text-align: left;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-line);
    padding-left: 55px;
  }

  .btn-blue {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .progress-tracker {
    padding: 12px 0;
  }

  .progress-wrapper {
    gap: 10px;
    padding: 0 5px;
  }

  .progress-step {
    flex: 1;
    min-width: 70px;
  }

  .progress-step::before {
    left: calc(-50% + 18px);
    right: calc(50% + 18px);
    top: 18px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .step-label {
    font-size: 10px;
    font-weight: 600;
    max-width: 70px;
    line-height: 1.1;
  }

  .duration-card {
    align-items: flex-start;
  }

  .vertical-divider {
    display: none;
  }

  .duration-main-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .price-container {
    padding-left: 45px;
  }
}

@media (max-width: 400px) {
  .progress-step::before {
    display: none;
  }

  .progress-step {
    min-width: 60px;
  }

  .step-label {
    font-size: 9px;
    max-width: 60px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}
