.inscription-section {
  position: relative;
  overflow: hidden;
}

.inscription-container {
  position: relative;
  z-index: 2;
}

.inscription-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.inscription-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.inscription-steps {
  counter-reset: step;
  padding: 0;
  margin: 30px 0;
}

.inscription-step {
  position: relative;
  list-style: none;
  padding: 20px 30px 20px 70px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.inscription-step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: var(--accent-color, #006400);
  color: var(--contrast-color, #fff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.inscription-step:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.pricing-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pricing-period {
  color: var(--accent-color, #006400);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent-color, #006400), transparent 85%);
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--heading-color, #2b2b2b);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.pricing-amount small {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color, #666), transparent 30%);
  margin-left: 6px;
}

.pricing-btn,
.pricing .cta-btn,
.inscription-card .btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--accent-color, #006400);
  color: var(--contrast-color, #fff);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid color-mix(in srgb, var(--accent-color, #006400), transparent 5%);
  margin-top: 18px;
  font-weight: 600;
}

.pricing-btn:hover,
.pricing .cta-btn:hover,
.inscription-card .btn:hover {
  /* Darken accent on hover to preserve text contrast */
  background: color-mix(in srgb, var(--accent-color, #006400), black 12%);
  color: var(--contrast-color, #fff);
  border-color: color-mix(in srgb, var(--accent-color, #006400), black 8%);
}

/* Focus styles for keyboard accessibility */
.pricing-btn:focus,
.pricing-btn:focus-visible,
.pricing .cta-btn:focus,
.pricing .cta-btn:focus-visible,
.inscription-card .btn:focus,
.inscription-card .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color, #006400), transparent 80%);
}

.important-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

/* Pricing section wrapper to better match other sections */
.pricing-section {
  background: color-mix(in srgb, var(--background-color, #fff), var(--accent-color, #447d57) 6%);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.pricing-section .pricing-item {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color, #447d57), transparent 82%), var(--surface-color, #fff));
  color: color-mix(in srgb, var(--default-color, #444), transparent 10%);
  padding: 28px;
  border-radius: 12px;
  min-height: 180px;
}

/* Ensure cta buttons inside pricing are clearly visible on any background */
.pricing-section .cta-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--accent-color, #447d57);
  color: var(--contrast-color, #fff);
  border: 1px solid color-mix(in srgb, var(--accent-color, #447d57), transparent 5%);
}

.pricing-section .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color, #447d57), black 12%);
  color: var(--contrast-color, #fff);
  border-color: color-mix(in srgb, var(--accent-color, #447d57), black 8%);
}

@media (max-width: 768px) {
  .inscription-card {
    padding: 20px;
  }
  
  .pricing-cards {
    flex-direction: column;
  }
  
  .pricing-card {
    min-width: 100%;
  }
}