@import url('https://fonts.googleapis.com/css2?family=Catamaran&display=swap');

:root {
  --dark-bg: #0a0a0a;
  --dark-surface: #1a1a1a;
  --dark-card: #222222;
  --dark-border: #333333;
  --crimson: #b30064;
  --crimson-light: #ff1a8c;
  --crimson-glow: rgba(179, 0, 100, 0.3);
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --text-muted: #6b6b6b;
  --success-green: #ff1a8c;
}

body {
   font-family: 'Catamaran', sans-serif; 
  font-weight: 400;
  background-color: var(--dark-bg);
  color: var(--text-white);
  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: var(--dark-card);
  border-radius: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 520px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.card.active {
  border-color: var(--crimson);
  box-shadow: 0 0 20px var(--crimson-glow);
}

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

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

.badge {
  position: absolute;
  top: 250px;
  right: 15px;
  background: var(--crimson);
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 19px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(179, 0, 100, 0.4);
}

.progress-tracker {
  background: var(--dark-surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-border);
  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: var(--dark-border);
  color: var(--text-white);
  font-weight: 700;
  border: 2px solid var(--dark-border);
  margin-bottom: 8px;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.progress-step.active .step-number {
  background-color: var(--crimson);
  border-color: var(--crimson);
  color: var(--text-white);
}

.progress-step.completed .step-number {
  background-color: var(--success-green);
  color: var(--text-white);
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.active .step-label {
  color: var(--text-white);
}

.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-weight: 700;
  color: var(--crimson);
  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;
  color: var(--text-gray);
}

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

.features li.check::before {
  content: "✓";
  color: var(--success-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.std-title {
  font-weight: 600;
  color: var(--text-white);
  font-size: 32px;
  margin-bottom: 30px;
}

.duration-card {
  background: var(--dark-surface);
  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.3);
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.duration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(179, 0, 100, 0.2);
  border-color: var(--crimson);
}

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

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

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(--text-white);
  min-width: 110px;
}

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

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

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

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

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

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

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

.btn-blue {
    font-family:'Catamaran', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  background-color: var(--crimson);
  padding: 16px 50px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-blue:hover {
  opacity: 0.85;
  background-color: var(--crimson-light);
  box-shadow: 0 4px 12px rgba(179, 0, 100, 0.4);
  transform: translateY(-1px);
}

.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(--dark-border);
    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;
  }
}
  @media (max-width: 480px) {
    .datepicker-container label {
      font-size: 14px;
    }
    #start-date-picker {
      font-size: 14px !important;
      padding: 3px !important; 
      margin-top: 4px !important; 
    }
  }

  #nextButtonWrapper {
    display: none !important;
  }

  @media (max-width: 767px) {
    #nextButtonWrapper {
      display: flex !important;
    }
  }

    .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px 10px 10px;
  }
  
  .top-logo {
    max-width: 150px;
    height: auto;
    display: block;
  }

  @media (max-width: 767px) {
    .top-logo {
      max-width: 120px;
    }
  }