/* Support Pro CSS - ESI Informatique - Version Professionnelle avec polices claires et grandes */

:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #60a5fa;
    --success-color: #10b981;
    --success-hover: #059669;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --bg-navbar: rgba(15, 23, 42, 0.95);
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-white);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-attachment: fixed;
    padding-top: 80px;
    min-height: 100vh;
    margin: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.navbar {
    background-color: var(--bg-navbar) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand img.logo {
    height: 55px;
    width: auto;
    max-width: 220px;
    filter: brightness(1.5) contrast(1.2);
    transition: filter 0.3s ease;
}

.navbar-brand img.logo:hover {
    filter: brightness(1.8) contrast(1.3);
}

/* Main Content */
.main-content {
    padding: 3rem 0 4rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Hero Section - Message clair et visible */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.25rem;
    background-color: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.375rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-description strong {
    font-weight: 700;
    color: var(--text-white);
}

/* Download Sections */
.download-section {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.section-icon {
    font-size: 2rem;
    line-height: 1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-weight: 400;
}

/* Download Cards */
.download-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.download-card:hover {
    background-color: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0;
}

.card-description {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* Download Buttons - Grands et clairs */
.btn-download {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    min-height: 56px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(59, 130, 246, 0.4);
}

.btn-download .btn-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-hover);
    color: white;
}

.btn-block {
    width: 100%;
}

/* Info Section */
.info-section {
    margin-top: 3rem;
    padding-top: 2rem;
}

.info-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.info-content {
    max-width: 600px;
    margin: 0 auto;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.ip-display {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background-color: rgba(15, 23, 42, 0.6);
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
}

.ip-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: 'Courier New', 'Consolas', monospace;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    padding: 0;
}

.info-note {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--bg-navbar);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.footer-text {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
        padding-top: 70px;
    }
    
    .main-content {
        padding: 2rem 0 3rem;
    }
    
    .hero-section {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1.0625rem;
    }
    
    .download-card {
        padding: 1.75rem;
    }
    
    .card-title {
        font-size: 1.375rem;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .btn-download {
        font-size: 1.0625rem;
        padding: 0.9375rem 1.5rem;
        min-height: 52px;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .ip-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .btn-download {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        min-height: 48px;
    }
    
    .ip-value {
        font-size: 1.25rem;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour l'accessibilité */
.btn-download:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

