: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-basique: linear-gradient(135deg, #3a7bd5, #00d2ff);
}

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

.tarif-hero {
  background: var(--gradient-basique);
  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;
  color: var(--text-primary);
}

.tarif-hero p {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

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

.tarif-card {
  background: var(--glass-background);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

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

.tarif-header {
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  color: white;
  padding: 2rem;
  text-align: center;
}

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

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

.tarif-description {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

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

.tarif-features {
  padding: 2rem;
}

.tarif-features h3 {
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

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

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

.tarif-features li i {
  color: #3a7bd5;
  margin-right: 1rem;
}

.back-button-container {
  text-align: left;
  padding: 20px;
}

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

.gradient-button,
.back-button {
  position: relative;
  padding: 16px 40px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--background);
  border: 2px solid var(--text-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.gradient-button:hover,
.back-button: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%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, -200% 0%;
  }
}

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

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

  .tarif-hero p {
    font-size: 1rem;
  }

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

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

  .tarif-description p,
  .tarif-features li {
    font-size: 1rem;
  }

  .gradient-button,
  .back-button {
    font-size: 16px;
    padding: 12px 30px;
  }
}

/* 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(0, 0, 0, 0.05);
}

.back-button {
  position: relative;
  padding: 12px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary) !important;
  background-color: transparent;
  border: 2px solid var(--text-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

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

/* Added styles for .section-title and .feature-list */
.section-title {
  color: #3a7bd5;
}

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

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

body.light-theme .forfait-title {
  color: white !important;
}

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

/* Modification des styles pour le mode clair */
body.light-theme .tarif-header h2 {
  color: white !important;
}

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

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

.cta-contact {
  position: relative;
  padding: 12px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--background);
  border: 2px solid transparent !important;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-image: linear-gradient(var(--background), var(--background)),
    linear-gradient(90deg, #3a7bd5, #00d2ff, #3a7bd5, #00d2ff) !important;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 200% 100%;
  animation: gradientMove 3s linear infinite;
  text-decoration: none;
  display: inline-block;
}

.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%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, -200% 0%;
  }
}

