body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A0A;
    color: #E5E7EB;
}
.gradient-text {
    background: linear-gradient(90deg, #38BDF8, #A78BFA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Votre règle de survol personnalisée */
nav ul a.gradient-text:hover {
    background: linear-gradient(90deg, #38BDF8, #A78BFA), rgba(56, 189, 248, 0.2); /* Maintient le dégradé ET ajoute un fond RGBA */
    -webkit-background-clip: text, padding-box; /* Applique chaque fond à sa "boîte" respective */
    background-clip: text, padding-box;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
} 

.cta-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
}
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #38BDF8, #A78BFA);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}
.cta-btn:hover::before {
    transform: scaleX(1);
}
.cta-btn:hover {
    color: #0A0A0A;
}
.card-border {
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-card:hover img {
    transform: scale(1.05);
}
.form-card {
    border: 2px solid #374151;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-card.selected {
    border-color: #38BDF8;
    background-color: rgba(56, 189, 248, 0.1);
}
/* Style de base pour les cartes d'add-on */
.addon-card {
  background-color: #1F2937; /* Correspond à bg-gray-800 */
  padding: 1rem; /* Correspond à p-4 */
  border-radius: 0.5rem; /* Correspond à rounded-lg */
  display: flex;
  align-items: center;
  justify-content: center; /* Ajouté pour centrer le texte */
  text-align: center; /* Ajouté pour centrer le texte */
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  border: 2px solid transparent; /* Bordure transparente par défaut */
  min-height: 7rem; /* Correspond à h-28, pour uniformiser la hauteur */
}

/* Style lorsque la carte d'add-on est sélectionnée */
.addon-card.selected {
  background-color: rgba(74, 222, 128, 0.1); /* Vert clair (green-400 avec 10% opacité) */
  border-color: #4ADE80; /* Vert (green-400) */
}

/* Optionnel : Style au survol (hover) pour un retour visuel */
.addon-card:hover {
   background-color: #374151; /* Correspond à hover:bg-gray-700 */
}

/* Assure que le survol ne masque pas la sélection */
.addon-card.selected:hover {
   background-color: rgba(74, 222, 128, 0.15); /* Légèrement plus foncé au survol */
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Custom slider styles */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #374151;
    border-radius: 5px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #38BDF8;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 10px #38BDF8;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #374151;
    border-radius: 5px;
}
input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #38BDF8;
    cursor: pointer;
    box-shadow: 0 0 10px #38BDF8;
    border: none;
}
