/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff6b6b;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b6b;
    border-radius: 1px;
}

/* Main content */
.main {
    flex: 1;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.software-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.icon {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: transform 0.3s ease;
    padding: 10px;
}

.icon svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
}

.icon:hover {
    transform: scale(1.1);
}

/* Software showcase section */
.software-showcase {
    background: rgba(10, 10, 10, 0.8);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    margin-left: 2rem;
    margin-right: 2rem;
    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.1);
}

.software-showcase h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.software-card {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.software-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b6b;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    background: rgba(15, 15, 15, 0.9);
}

.software-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.software-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.software-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.software-info p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Downloads section */
.downloads-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.software-card {
    background: rgba(10, 10, 10, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    background: rgba(15, 15, 15, 0.95);
}

.software-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.software-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.software-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.software-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
}

.software-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.software-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.software-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.version {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.size {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.download-btn {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .software-icons {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
.software-showcase {
    margin: 1rem;
    padding: 2rem 0;
}
    
.software-showcase h3 {
    font-size: 2rem;
}
    
    .software-grid {
        grid-template-columns: 1fr;
    }
    
    .downloads-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animation pour les téléchargements */
@keyframes downloadPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.download-btn.downloading {
    animation: downloadPulse 1s infinite;
    background: linear-gradient(45deg, #4caf50, #45a049);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pages individuelles des logiciels */
.software-detail {
    padding: 2rem 0;
    min-height: 80vh;
}

.software-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 20px;
    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.1);
}

.software-icon-large {
    width: 96px;
    height: 96px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    flex-shrink: 0;
}

.software-icon-large img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
}

.software-icon-large svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.software-info-large h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.software-tagline {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.software-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.software-meta span {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
}

.features-list li {
    color: #ccc;
    padding: 0.8rem 0;
    border-bottom: 1px solid #222;
    position: relative;
    padding-left: 2rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: rgba(10, 10, 10, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #222;
}

.spec-item h4 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.spec-item p {
    color: #ccc;
    margin: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-card {
    background: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #222;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.download-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.download-btn-large {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    margin-bottom: 1.5rem;
}

.download-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.download-info {
    text-align: left;
}

.download-info p {
    color: #4caf50;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.related-software {
    background: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #222;
}

.related-software h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-item {
    margin-bottom: 1rem;
}

.related-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-item a:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    color: #ffffff;
}

.related-icon {
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
}

.related-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive pour les pages individuelles */
@media (max-width: 768px) {
    .software-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .software-info-large h1 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Logiciels les plus vus */
.most-viewed {
    background: rgba(10, 10, 10, 0.8);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    margin-left: 2rem;
    margin-right: 2rem;
    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.1);
}

.most-viewed h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.most-viewed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.most-viewed-item {
    background: rgba(10, 10, 10, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.most-viewed-item:hover {
    transform: translateY(-5px);
    border-color: #ff6b6b;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
    background: rgba(15, 15, 15, 0.95);
}

.most-viewed-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    margin-bottom: 1rem;
}

.most-viewed-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.most-viewed-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.most-viewed-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.most-viewed-item p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.most-viewed-link {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.most-viewed-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Bouton Voir plus */
.see-more-container {
    text-align: center;
    margin-top: 1rem;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.see-more-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

/* Section Voir plus */
.view-more-section {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.view-more-btn .btn-icon {
    font-size: 1.2rem;
}

/* Responsive pour most-viewed */
@media (max-width: 768px) {
    .most-viewed {
        margin: 1rem;
        padding: 2rem 0;
    }
    
    .most-viewed h3 {
        font-size: 1.5rem;
    }
    
    .most-viewed-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}
