/* ========================================
   STYLES MODERNES POUR PAGE VEILLE
   ======================================== */

/* Intro Box Moderne */
.intro-box-modern {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 30px;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(52, 132, 143, 0.3);
}

.intro-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.intro-content p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Section Header Moderne */
.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin-top: 10px;
}

/* Theme Cards Moderne */
.themes-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.theme-card-modern {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.theme-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.theme-card-modern:hover::before {
    transform: scaleX(1);
}

.theme-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.theme-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.theme-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.theme-card-modern:hover .theme-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.cyber-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.windows-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cloud-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.theme-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
}

.theme-card-modern>p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Article Preview Moderne */
.article-preview-modern {
    margin-top: 25px;
    position: relative;
}

.article-badge {
    display: inline-block;
    background: rgba(52, 132, 143, 0.1);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(52, 132, 143, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.article-link:hover {
    background: rgba(52, 132, 143, 0.1);
    transform: translateX(5px);
}

.article-link>i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.article-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.article-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.article-meta {
    font-size: 0.8rem;
    color: #999;
}

.article-arrow {
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.article-link:hover .article-arrow {
    transform: translateX(5px);
}

/* Tools Grid Moderne */
.tools-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.tool-card-modern {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.tool-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feedly-color {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.linkedin-color {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.newsletter-color {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.tool-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tool-info p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Benefits Grid Moderne */
.benefits-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.benefit-card-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a3a 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card-modern:hover::before {
    opacity: 1;
}

.benefit-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.benefit-card-modern h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.benefit-card-modern p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .intro-box-modern {
        flex-direction: column;
        padding: 35px 25px;
        text-align: center;
    }

    .intro-content h2 {
        font-size: 1.5rem;
    }

    .themes-grid-modern,
    .tools-grid-modern,
    .benefits-grid-modern {
        grid-template-columns: 1fr;
    }

    .tool-card-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}