/* ===================================
   STYLES SPÉCIFIQUES - INDEX OUTILS
   =================================== */

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 40px 0;
    margin-bottom: 50px;
    border-radius: 20px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
}

/* Catégories */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #b5c1f4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: #b5c1f4;
}

/* Grille d'outils */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Carte d'outil */
.tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

/* Icône de l'outil */
.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contenu de la carte */
.tool-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.tool-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Footer de la carte */
.tool-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Badges */
.tool-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-available {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-new {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
}

.badge-coming {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Boutons */
.btn-tool {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-tool-disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.btn-tool-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Carte coming soon */
.tool-card.coming-soon {
    opacity: 0.7;
    background: #fafafa;
}

.tool-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.tool-card.coming-soon .tool-icon {
    background: rgba(108, 117, 125, 0.1);
}

.tool-card.coming-soon .tool-icon i {
    background: #6c757d;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    margin: 60px 0 40px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.btn-cta {
    background: white;
    color: #667eea;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #764ba2;
}

/* Stats section */
.stats-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-item p {
    color: #6c757d;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
}