/* ============================================
   TELECHARGEMENTS PAGE STYLES
   Design-system aligned
   ============================================ */

/* Hero Section */
.tech-hero {
    background: linear-gradient(135deg, var(--se-navy) 0%, var(--se-navy-dark) 100%);
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: none;
}

.tech-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.tech-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tech-hero h1 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 3.5rem;
    letter-spacing: 0.02em;
    color: white;
    margin-bottom: 20px;
}

.tech-hero h1 span {
    color: var(--se-orange);
}

.tech-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--se-orange);
}

.hero-badge span {
    color: white;
    font-weight: 600;
}

/* Encryption Section */
.encryption-section {
    padding: var(--space-2xl) 0;
    background: var(--se-offwhite);
}

.encryption-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    color: var(--se-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--se-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.encryption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.encryption-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.encryption-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.encryption-card .icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.encryption-card .icon i {
    font-size: 1.5rem;
    color: var(--se-orange);
}

.encryption-card h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--se-navy);
    margin-bottom: 15px;
}

.encryption-card p {
    color: var(--se-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.aes-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--se-navy) 0%, var(--se-navy-light) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Downloads Section */
.downloads-section {
    padding: var(--space-2xl) 0;
    background: white;
}

.downloads-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-card {
    background: var(--se-offwhite);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.download-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.download-card.required {
    border: 2px solid var(--se-orange);
    background: linear-gradient(135deg, rgba(238, 101, 37, 0.03) 0%, rgba(238, 101, 37, 0.08) 100%);
}

.download-card .logo-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.download-card .logo-wrapper img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.download-card .logo-wrapper i {
    font-size: 2.5rem;
    color: var(--se-orange);
}

.download-info h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--se-navy);
    margin-bottom: 10px;
}

.download-info p {
    color: var(--se-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.version-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.version-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--se-gray);
    font-size: 0.85rem;
}

.version-info i {
    color: var(--se-orange);
    font-size: 0.8rem;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--se-gray);
}

.platform-badge i {
    color: #0078D4;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.btn-download {
    background: linear-gradient(135deg, var(--se-orange) 0%, var(--se-orange-dark) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition-base);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-lg);
    color: white;
}

.btn-help {
    background: transparent;
    color: var(--se-gray);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.btn-help:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--se-orange);
    border-color: var(--se-orange-border);
}

.required-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--se-orange);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Combined Card Styles */
.combined-card {
    display: block !important;
    grid-template-columns: none !important;
}

.combined-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.combined-title h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: var(--se-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.combined-title h3 i {
    color: #0078D4;
    font-size: 1.4rem;
}

.combined-title p {
    color: var(--se-gray);
    font-size: 0.95rem;
    margin: 0;
}

.combined-downloads {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
}

.combo-item {
    flex: 1;
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.combo-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.combo-item.required-item {
    border: 2px solid var(--se-orange);
    background: var(--se-orange-bg);
}

.combo-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.combo-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.combo-info {
    flex: 1;
    margin-bottom: 15px;
}

.combo-info h4 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: var(--se-navy);
    margin-bottom: 5px;
}

.combo-info p {
    color: var(--se-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.combo-info .version-info {
    justify-content: center;
    font-size: 0.75rem;
}

.required-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--se-orange);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.required-mini i {
    font-size: 0.6rem;
}

.combo-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.combo-plus span {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--se-orange) 0%, var(--se-orange-dark) 100%);
    color: white;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-orange-lg);
}

.btn-download-mini {
    background: linear-gradient(135deg, var(--se-orange) 0%, var(--se-orange-dark) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition-base);
}

.btn-download-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-lg);
    color: white;
}

.combined-help {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .combined-downloads {
        flex-direction: column;
    }

    .combo-plus span {
        transform: rotate(90deg);
    }
}

/* SDK Section */
.sdk-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--se-navy) 0%, var(--se-navy-dark) 100%);
}

.sdk-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.sdk-content {
    text-align: center;
}

.sdk-content h2 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 2.5rem;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 20px;
}

.sdk-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.sdk-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.sdk-card h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 1.5rem;
    color: var(--se-orange);
    margin-bottom: 15px;
}

.sdk-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.sdk-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-nuget {
    background: linear-gradient(135deg, #004880 0%, #512BD4 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.btn-nuget:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-docs {
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.btn-docs:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-card .logo-wrapper {
        margin: 0 auto;
    }

    .download-actions {
        width: 100%;
    }

    .version-info {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-unified {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .header-menu {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        gap: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        flex-direction: column;
        align-items: flex-start;
    }

    .header-logo img {
        height: 40px;
    }

    .tech-hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        padding: 25px;
    }
}

/* Mobile Responsive Fixes - Avril 2026 */
@media (max-width: 767.98px) {
    .tech-hero h1 {
        font-size: 2rem;
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-card .logo-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .sdk-buttons {
        flex-direction: column;
    }

    .encryption-grid {
        grid-template-columns: 1fr;
    }

    .download-actions {
        min-width: auto;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tech-hero h1 {
        font-size: 1.5rem;
    }

    .download-card .logo-wrapper {
        width: 50px;
        height: 50px;
    }
}
