:root {
  --background: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-pink: #ff1f8e;
  --accent-purple: #7047eb;
  --glass-background: rgba(26, 26, 26, 0.8);
  --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);
}

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

/* Styles pour le bouton de thème */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle i {
  font-size: 1.2rem;
  color: var(--text-primary);
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-toggle .fa-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-toggle .fa-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* État du bouton en mode clair */
body.light-theme .theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

body.light-theme .theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* État du bouton en mode sombre */
body.dark-theme .theme-toggle .fa-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

body.dark-theme .theme-toggle .fa-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Styles pour le thème clair */
body.light-theme {
  --background: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --accent-pink: #e91e63;
  --accent-purple: #9c27b0;
  --glass-background: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}

body.light-theme header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.light-theme .desktop-menu a {
  color: #666666;
  font-weight: 500;
}

body.light-theme .desktop-menu a:hover,
body.light-theme .desktop-menu a.active {
  color: var(--accent-purple);
}

body.light-theme footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

body.light-theme .footer-section h3 {
  color: #333333;
}

body.light-theme .footer-section p,
body.light-theme .footer-section ul li a {
  color: #666666;
}

body.light-theme .footer-section ul li a:hover {
  color: var(--accent-purple);
}

body.light-theme .footer-bottom {
  background: #eeeeee;
  border-top: 1px solid #e0e0e0;
  color: #666666;
}

body.light-theme .theme-toggle {
  color: var(--text-primary);
}
body.light-theme .logo {
  color: #333333;
}

/* Header et Navigation */
header {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--accent-purple);
  border-radius: 50%;
}

.desktop-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.desktop-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.desktop-menu a:hover,
.desktop-menu a.active {
  color: var(--text-primary);
}

/* Theme Toggle */
.theme-toggle-container {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.new-badge {
  background: var(--accent-pink);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.theme-label {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.toggle-track {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

body.light-theme .toggle-track {
  background: var(--accent-purple);
}

body.light-theme .toggle-thumb {
  transform: translateX(20px);
}

/* Button Styles */
.cta-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: gradientMove 3s linear infinite;
}

.cta-button {
  background: var(--button-gradient);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.back-button {
  background-color: var(--background);
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.back-button:hover {
  background-color: var(--text-secondary);
  color: var(--background);
}

body.light-theme .cta-button {
  background: var(--button-gradient);
  color: white;
}

body.light-theme .back-button {
  background-color: white;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

body.light-theme .back-button:hover {
  background-color: var(--text-secondary);
  color: white;
}

/* Footer */
footer {
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 1rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li:not(:last-child) {
  margin-bottom: 0.5rem;
}

.footer-section ul li a:hover {
  color: var(--accent-purple);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

/* Main Content */
main {
  padding-top: 80px;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.gradient-button,
.cta-button,
.back-button {
  animation: gradientMove 3s linear infinite;
}

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

/* Added styles */
.hero-section {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--glass-background);
  border-radius: 10px;
  margin-bottom: 4rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.gradient-text {
  font-size: 1.5rem;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .gradient-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .gradient-text {
    font-size: 1.1rem;
  }
}

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

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

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

  .gradient-text {
    font-size: 1.4rem;
  }
}

/* New style to remove underline from gradient buttons */
.gradient-button {
  text-decoration: none;
}

