:root {
  --background: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-pink: #ff1f8e;
  --accent-purple: #7047eb;
  --glass-background: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --button-gradient: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  --glow-pink: 0 0 20px rgba(255, 31, 142, 0.3);
  --glow-purple: 0 0 20px rgba(112, 71, 235, 0.3);
  --gradient-standard: linear-gradient(135deg, #ff8008, #ffc837);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tarif-hero {
  background: var(--gradient-standard);
  color: var(--text-primary);
  text-align: center;
  padding: 6rem 2rem;
  margin-bottom: 2rem;
  margin-top: -80px;
}

.tarif-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tarif-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.tarif-details {
  padding: 4rem 2rem;
}

.tarif-card {
  background-color: var(--glass-background);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #ffc837;
  position: relative;
}

.tarif-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tarif-header {
  background: var(--gradient-standard);
  color: var(--text-primary);
  padding: 2rem;
  text-align: center;
}

.tarif-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tarif-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.tarif-description {
  padding: 2rem;
  background-color: rgba(255, 128, 8, 0.1);
}

.tarif-description p {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.tarif-features {
  padding: 2rem;
}

.tarif-features h3 {
  color: #ffc837;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.tarif-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tarif-features li {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tarif-features li:last-child {
  border-bottom: none;
}

.tarif-features li::before {
  content: "\2713"; /* Unicode pour le symbole de coche (✓) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffc837;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Supprimez ou commentez la règle suivante si elle existe */
/* .tarif-features li i {
  color: #ffc837;
  margin-right: 1rem;
  font-size: 1.2rem;
} */

.back-button-container {
  text-align: left;
  padding: 20px;
  background-color: var(--background);
}

.back-button {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary) !important;
  background-color: transparent;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 25px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  margin-left: 20px;
  border: 2px solid var(--text-primary);
}

.back-button:hover {
  transform: translateY(-2px);
}

.back-button i {
  margin-right: 8px;
}

.button-container {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .tarif-hero {
    padding: 4rem 1.5rem;
  }

  .tarif-hero h1 {
    font-size: 2.5rem;
  }

  .tarif-card {
    margin: 0 1rem;
  }
}

.cta-contact {
  position: relative;
  padding: 12px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
}

.button-container .cta-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(90deg, #ff8008, #ffc837, #ff8008, #ffc837);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.button-container .cta-contact:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.button-container .cta-contact::before {
  animation: gradientMove 3s linear infinite;
  background-size: 200% 100%;
}

/* Light theme adjustments */
body.light-theme {
  --background: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --glass-background: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}

body.light-theme .tarif-card {
  background: var(--glass-background);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .tarif-description {
  background: rgba(255, 128, 8, 0.05);
}

body.light-theme .back-button,
body.dark-theme .back-button {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.forfait-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white !important;
}

.forfait-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: white !important;
}

.tarif-header h2,
.tarif-header i,
.tarif-hero h1,
.tarif-hero p {
  color: white !important;
}

body.light-theme .tarif-header h2,
body.light-theme .tarif-header i,
body.light-theme .forfait-title {
  color: white !important;
}

