/* Styles Généraux et Typographie */
body {
    font-family: 'Inter', sans-serif; /* Une police moderne */
    background-color: #121212; /* Fond principal sombre, moins "noir pur" */
    color: #e0e0e0; /* Texte clair par défaut */
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Police d'en-tête */
    font-weight: 700;
    color: #4dc0b5; /* Un turquoise/cyan plus doux pour les titres */
}
a {
    color: #4dc0b5; /* Liens turquoise/cyan */
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #38a49c;
    text-decoration: underline;
}
/* Couleurs personnalisées pour le texte, basées sur des teintes vives et complémentaires */
.text-primary-custom { color: #4dc0b5 !important; } /* Turquoise */
.text-success-custom { color: #a0d87a !important; } /* Vert pastel */
.text-info-custom { color: #64b5f6 !important; } /* Bleu clair */
.text-warning-custom { color: #ffca28 !important; } /* Jaune orangé */
.text-danger-custom { color: #ef5350 !important; } /* Rouge vif */
.text-secondary-custom { color: #bdbdbd !important; } /* Gris moyen */

/* Section Héro (Bannière principale) */
.hero-section {
    background: linear-gradient(45deg, #2c3e50, #34495e); /* Dégradé de bleu-gris profond */
    color: white;
    padding: 80px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6); /* Ombre plus forte */
}
.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); /* Ombre de texte plus prononcée */
}
.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95; /* Légèrement plus opaque */
}
.hero-section .btn {
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
}
.hero-section .btn-light-custom {
    background-color: #e0e0e0;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.hero-section .btn-light-custom:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.6);
}

/* Section de Rotation de Texte */
.crypto-features-section {
    background-color: #1e1e1e; /* Fond légèrement plus clair que le body */
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: -30px;
    margin-bottom: 50px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    color: #ffffff;
}
.crypto-features-section h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4dc0b5; /* Titre turquoise/cyan */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.rotating-text-container h3 {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 25px 0;
    margin-bottom: 0;
    color: #f0f0f0; /* Texte des mots tournants en blanc cassé */
}
.rotating-text-container .highlight-word {
    display: inline-block;
    min-width: 200px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.9);
}
.rotating-text-container .highlight-word.visible {
    opacity: 1;
    transform: scale(1);
}

/* Section Fonctionnalités / Avantages */
.features-section {
    padding: 60px 0;
    background-color: #121212; /* Fond identique au body pour l'intégration */
    color: #e0e0e0;
}
.features-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: #e0e0e0; /* Titre blanc/clair */
}
.feature-item {
    background-color: #1e1e1e; /* Fond des cartes légèrement plus clair que le body */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #333333; /* Bordure légèrement plus visible */
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.feature-item .icon {
    font-size: 3rem;
    color: #a0d87a; /* Icônes vert pastel */
    margin-bottom: 20px;
}
.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #4dc0b5; /* Titres des cartes en turquoise/cyan */
}
.feature-item p {
    font-size: 1rem;
    color: #bdbdbd; /* Texte des cartes en gris moyen */
}

/* Section Derniers Articles */
.recent-posts-section {
    padding: 50px 0;
    background-color: #121212; /* Fond identique au body */
    color: #e0e0e0;
}
.recent-posts-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: #e0e0e0;
}
.recent-posts-section .btn-primary {
    background-color: #4dc0b5; /* Bouton turquoise/cyan */
    border-color: #4dc0b5;
    color: #121212; /* Texte sombre sur bouton clair */
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.recent-posts-section .btn-primary:hover {
    background-color: #38a49c;
    border-color: #38a49c;
    transform: translateY(-2px);
}


/* Section Appel à l'Action (CTA) */
.cta-section {
    background: linear-gradient(90deg, #6a0572, #8e2de2); /* Dégradé de violet profond (conservé) */
    color: white;
    padding: 70px 0;
    text-align: center;
    margin-top: 50px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 -8px 15px rgba(0, 0, 0, 0.5);
}
.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}
.cta-section .btn-primary-cta {
    background-color: #ffeb3b; /* Bouton jaune éclatant */
    color: #6a0572; /* Texte violet foncé */
    font-size: 1.3rem;
    padding: 15px 40px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: none;
}
.cta-section .btn-primary-cta:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 { font-size: 3rem; }
    .hero-section p { font-size: 1.2rem; }
    .crypto-features-section h2 { font-size: 2rem; }
    .rotating-text-container h3 { font-size: 2rem; }
    .features-section h2 { font-size: 2.2rem; }
    .feature-item { margin-bottom: 30px; }
    .cta-section h2 { font-size: 2.5rem; }
    .cta-section p { font-size: 1.1rem; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 60px 0; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-section p { font-size: 1rem; }
    .crypto-features-section { margin-top: -20px; border-radius: 8px; }
    .crypto-features-section h2 { font-size: 1.8rem; }
    .rotating-text-container h3 { font-size: 1.6rem; min-width: 120px; }
    .features-section { padding: 40px 0; }
    .features-section h2 { font-size: 2rem; }
    .cta-section { padding: 50px 0; border-top-left-radius: 30px; border-top-right-radius: 30px; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1rem; }
    .cta-section .btn-primary-cta { font-size: 1.1rem; padding: 12px 25px; }
}