/* Y'ello PME - Styles de base partagés */

/* Import des polices MTN Brighter Sans */
@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-ExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans-Regular';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MTNBrighterSans';
    src: url('../MTNBrighterSans_Latin_OTF/MTNBrighterSans-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS pour la cohérence */
:root {
    --primary-yellow: #FFCC00;
    --secondary-yellow: #FFB300;
    --text-primary: #000;
    --text-secondary: #666;
    --border-color: #e5e5e5;
    --border-radius: 10px;
    --border-radius-large: 25px;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #FFCC00 0%, #FFB300 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    --transition: all 0.3s ease;
    --background-light: #f8f9fa;
}

/* Style de base pour le body */
body {
    font-family: 'MTNBrighterSans', 'Arial', sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* padding: 20px; */
#landing-page {
    background: white;
    padding: 0;
}

/* Barre de navigation supérieure */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mtn-logo {
    width: 100px;
    height: 50px;
    background: url('../logos/MTN_2022_Logo_Black_RGB.png') center/contain no-repeat;
}

.yello-text {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
}

.yello-text .pme {
    font-style: italic;
}

.support-link {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.support-link a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Contenu principal */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.left-section {
    color: var(--text-primary);
}

.main-title {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.highlight {
    font-style: italic;
}

/* Cartes principales */
.login-card, .register-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 45px 40px;
    box-shadow: var(--shadow);
    width: 100%;
}

.card-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 35px;
    text-align: center;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

/* Section OTP */
.otp-section {
    margin-bottom: 25px;
}

.otp-instruction {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.otp-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.otp-inputs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.otp-input {
    width: 35px;
    height: 45px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 20px;
    font-weight: bold;
    transition: border-color 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.otp-button {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 15px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.otp-button:hover {
    transform: translateY(-2px);
}

.otp-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.otp-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.countdown {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 25px;
}

/* Boutons principaux */
.login-button, .next-button, .continue-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 18px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-bottom: 25px;
}

.login-button:hover, .next-button:hover, .continue-button:hover {
    transform: translateY(-2px);
}

.login-button:disabled, .next-button:disabled, .continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Options de formulaire */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.forgot-password {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 500;
}

/* Liens */
.register-link {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.register-link a {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 600;
}

.terms {
    font-size: 13px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms a {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Barre de progression (pour register) */
.progress-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 33.33%;
    transition: width 0.3s ease;
}

.progress-fill.step-2 {
    width: 66.66%;
}

.progress-fill.step-3 {
    width: 100%;
}

/* Contenu des étapes */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Design responsif */
@media (max-width: 1200px) {
    .container {
        max-width: 900px;
        gap: 60px;
    }

    .main-title {
        font-size: 44px;
    }

    .mtn-logo {
        width: 70px;
        height: 35px;
    }

    .yello-text {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .top-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 0 30px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .mtn-logo {
        width: 60px;
        height: 30px;
    }

    .yello-text {
        font-size: 24px;
    }

    .login-card, .register-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .support-link {
        font-size: 14px;
    }

    .container {
        gap: 30px;
    }

    .login-card, .register-card {
        padding: 35px 25px;
        max-width: 400px;
    }

    .main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .card-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .otp-inputs {
        gap: 6px;
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .otp-row {
        gap: 10px;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .logo-section {
        gap: 10px;
    }

    .mtn-logo {
        width: 50px;
        height: 25px;
    }

    .yello-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-card, .register-card {
        padding: 30px 20px;
        max-width: none;
    }

    .main-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .card-title {
        font-size: 22px;
    }

    .otp-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .otp-inputs {
        gap: 5px;
        justify-content: center;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .otp-button {
        padding: 12px 20px;
        font-size: 13px;
    }

    .form-group input {
        padding: 14px;
        font-size: 15px;
    }

    .logo-section {
        flex-direction: column;
        gap: 5px;
    }

    .mtn-logo {
        width: 45px;
        height: 22px;
    }

    .yello-text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .otp-input {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .otp-inputs {
        gap: 3px;
    }

    .main-title {
        font-size: 20px;
    }

    .yello-text {
        font-size: 16px;
    }
}

/* =====================================================
   STYLES SPÉCIFIQUES LANDING PAGE
   ===================================================== */

/* Header de la landing page */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    background: white;
    box-shadow: var(--shadow-light);
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
}

.logo .pme {
    font-style: italic;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-yellow);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Section Hero */
.hero {
    background: #fff;
    padding: 80px 100px;;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 65px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.6;
    width: 70%;
}

.hero-button {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-family: MTNBrighterSans-Regular;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-image {
    background: url('../images/image-heroes.png') center/cover no-repeat;
    height: 450px;
    border-radius: 20px;
}

/* Sections communes */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 60px;
}

/* Section Packs */
.packs-section {
    padding: 80px 5%;
    background: var(--background-light);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pack-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pack-card:hover {
    transform: translateY(-5px);
}

.pack-card.featured {
    border: none;
    background: white;
    transform: none;
    box-shadow: var(--shadow);
}

.pack-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.pack-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pack-features li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    border: none;
}

.pack-features li:before {
    content: "✓";
    color: var(--primary-yellow);
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
}

.pack-price {
    text-align: left;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin-right: 5px;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: normal;
}

.pack-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-image{
    width: 120px;
    height: auto;
}

.pack-button:hover {
    transform: translateY(-2px);
}

/* Section Services */
.services-section {
    padding: 80px 10%;
    background: white;
}

.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.tab-button {
    background: none;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-family: MTNBrighterSans-Regular;
}

.tab-button:first-child {
    border-right: 2px solid var(--border-color);
}

.tab-button.active {
    color: var(--text-primary);
}

.tab-button.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Grille de services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--background-light);
    border-radius: 15px;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.service-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 80px 5%;
    background: var(--background-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 20px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    font-family: MTNBrighterSans-Regular;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question:after {
    content: "▼";
    transition: transform 0.3s ease;
}

.faq-question.active:after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--background-light);
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
}

.footer-cta {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* Styles spécifiques aux lignes supplémentaires */
.lignes-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.lignes-info {
    background: white;
    padding: 0;
}

.lignes-info h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
}

.lignes-info h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
}

.lignes-features {
    list-style: none;
    margin-bottom: 40px;
}

.lignes-features li {
    padding: 20px 0;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.lignes-features li:before {
    content: "📍";
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

.lignes-features li strong {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.steps-section {
    margin-bottom: 40px;
}

.steps-section h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--text-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.lignes-cta {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-transform: uppercase;
}

.lignes-cta:hover {
    transform: translateY(-2px);
}

.nouvelle-ligne {
    background: var(--background-light);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    min-height: 350px;
}

.nouvelle-ligne h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: normal;
}

.nouvelle-ligne .highlight {
    color: var(--primary-yellow);
    font-weight: bold;
}

.collaborateur-info {
    list-style: none;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.collaborateur-info li {
    padding: 8px 0;
}

.collaborateur-info li:before {
    content: "• ";
    color: var(--primary-yellow);
    font-weight: bold;
    margin-right: 8px;
}

.collaborateur-avatar {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   RESPONSIVE POUR LA LANDING PAGE
   ===================================================== */

@media (max-width: 1024px) {
    .packs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lignes-content {
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .packs-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        flex-direction: column;
    }

    .tab-button {
        padding: 15px 20px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 20px;
        flex:1;
    }

    .hero {
        padding: 40px 5%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pack-card.featured {
        transform: none;
    }
}

/* =====================================================
   STYLES SPÉCIFIQUES PAGE LOGIN
   ===================================================== */

/* Styles spécifiques pour la page de login pour éviter les conflits */
.login-page .illustration {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: url('../images/IMAGE\ Y\ 1.svg') center/contain no-repeat;
}

/* Media queries spécifiques pour la page login */
@media (max-width: 1200px) {
    .login-page .container {
        max-width: 900px;
        gap: 60px;
    }

    .login-page .main-title {
        font-size: 44px;
    }

    .login-page .mtn-logo {
        width: 70px;
        height: 35px;
    }

    .login-page .yello-text {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .login-page .top-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 0 30px;
    }

    .login-page .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .login-page .main-title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .login-page .mtn-logo {
        width: 60px;
        height: 30px;
    }

    .login-page .yello-text {
        font-size: 24px;
    }

    .login-page .login-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .login-page body {
        padding: 15px;
    }

    .login-page .support-link {
        font-size: 14px;
    }

    .login-page .container {
        gap: 30px;
    }

    .login-page .login-card {
        padding: 35px 25px;
        max-width: 400px;
    }

    .login-page .main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .login-page .card-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .login-page .otp-inputs {
        gap: 6px;
    }

    .login-page .otp-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .login-page .otp-row {
        gap: 10px;
    }

    .login-page .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .login-page .logo-section {
        gap: 10px;
    }

    .login-page .mtn-logo {
        width: 50px;
        height: 25px;
    }

    .login-page .yello-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-page .login-card {
        padding: 30px 20px;
        max-width: none;
    }

    .login-page .main-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .login-page .card-title {
        font-size: 22px;
    }

    .login-page .otp-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .login-page .otp-inputs {
        gap: 5px;
        justify-content: center;
    }

    .login-page .otp-input {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .login-page .otp-button {
        padding: 12px 20px;
        font-size: 13px;
    }

    .login-page .form-group input {
        padding: 14px;
        font-size: 15px;
    }

    .login-page .logo-section {
        flex-direction: column;
        gap: 5px;
    }

    .login-page .mtn-logo {
        width: 45px;
        height: 22px;
    }

    .login-page .yello-text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .login-page .otp-input {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .login-page .otp-inputs {
        gap: 3px;
    }

    .login-page .main-title {
        font-size: 20px;
    }

    .login-page .yello-text {
        font-size: 16px;
    }
}

/* =====================================================
   STYLES SPÉCIFIQUES PAGE REGISTER
   ===================================================== */

/* Styles spécifiques pour la page d'inscription pour éviter les conflits */
.register-page .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.register-page .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.register-page .mtn-logo {
    width: 80px;
    height: 40px;
    background: url('../logos/MTN_2022_Logo_Black_RGB.png') center/contain no-repeat;
}

.register-page .yello-text {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.register-page .yello-text .pme {
    font-style: italic;
}

.register-page .support-link {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.register-page .support-link a {
    color: #333;
    text-decoration: none;
}

.register-page .main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-page .container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.register-page .left-section {
    color: #333;
}

.register-page .main-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    margin-bottom: 30px;
}

.register-page .highlight {
    font-style: italic;
}

.register-page .subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.4;
}

.register-page .illustration {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: url('../images/IMAGE\ YE\ 1.svg') center/contain no-repeat;
    margin-bottom: 40px;
}

.register-page .bottom-text {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
}

.register-page .register-card {
    background: white;
    border-radius: 25px;
    padding: 45px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.register-page .progress-bar {
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.register-page .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #FFCC00 0%, #FFB300 100%);
    border-radius: 3px;
    width: 25%;
    transition: width 0.3s ease;
}

.register-page .progress-fill.step-2 {
    width: 50%;
}

.register-page .progress-fill.step-3 {
    width: 75%;
}

.register-page .progress-fill.step-4 {
    width: 100%;
}

.register-page .card-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 35px;
    text-align: center;
}

.register-page .step-content {
    display: none;
}

.register-page .step-content.active {
    display: block;
}

.register-page .form-group {
    margin-bottom: 25px;
}

.register-page .form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.register-page .form-group input[type="text"],
.register-page .form-group input[type="password"] {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.register-page .password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.register-page .form-group input:focus {
    outline: none;
    border-color: #FFCC00;
}

.register-page .otp-section {
    margin-bottom: 25px;
}

.register-page .otp-instruction {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.register-page .otp-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.register-page .otp-inputs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.register-page .otp-input {
    width: 35px;
    height: 45px;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    transition: border-color 0.3s ease;
}

.register-page .otp-input:focus {
    outline: none;
    border-color: #FFCC00;
}

.register-page .otp-button {
    background: linear-gradient(135deg, #FFCC00 0%, #FFB300 100%);
    color: #333;
    padding: 15px 10px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.register-page .otp-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.register-page .countdown {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
}

.register-page .next-button, .register-page .continue-button {
    width: 100%;
    background: linear-gradient(135deg, #FFCC00 0%, #FFB300 100%);
    color: #333;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-bottom: 20px;
}

.register-page .next-button:hover, .register-page .continue-button:hover {
    transform: translateY(-2px);
}

.register-page .next-button:disabled, .register-page .continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Step 2 - Pack Selection */
.register-page .pack-section {
    margin-bottom: 40px;
}

.register-page .section-divider {
    height: 2px;
    background: linear-gradient(135deg, #FFCC00 0%, #FFB300 100%);
    margin: 40px 0;
    border-radius: 1px;
}

.register-page .payment-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.register-page .pack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.register-page .pack-item {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.register-page .pack-item:hover {
    border-color: #FFCC00;
}

.register-page .pack-item.selected {
    border-color: #FFCC00;
    background: #FFF8E1;
    position: relative;
}

.register-page .pack-item.selected::before {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFCC00;
    color: #333;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.register-page .pack-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.register-page .pack-features {
    list-style: none;
    margin-bottom: 15px;
}

.register-page .pack-features li {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-page .feature-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.register-page .pack-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.register-page .pack-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

.register-page .payment-mode-section {
    margin-bottom: 25px;
}

.register-page .payment-mode-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.register-page .radio-group {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.register-page .radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-page .radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
}

.register-page .radio-item label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.register-page .location-section {
    margin-bottom: 25px;
}

.register-page .location-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.register-page .address-input {
    position: relative;
}

.register-page .address-input input {
    width: 100%;
    padding: 16px;
    padding-right: 50px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.register-page .address-input input:focus {
    outline: none;
    border-color: #FFCC00;
}

.register-page .address-input::after {
    content: "🎯";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.register-page .checkout-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #e5e5e5;
}

.register-page .checkout-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.register-page .checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.register-page .checkout-item-name {
    color: #666;
}

.register-page .checkout-item-price {
    color: #333;
    font-weight: 500;
}

.register-page .checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #ddd;
    padding-top: 15px;
    color: #333;
}

/* Step 3 - KYC */
.register-page .kyc-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

.register-page .rcc-section {
    margin-bottom: 30px;
}

.register-page .rcc-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.register-page .upload-section {
    margin-bottom: 35px;
}

.register-page .upload-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.register-page .upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.register-page .upload-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border: 2px dashed #FFCC00;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFF8E1;
}

.register-page .upload-item:hover {
    border-color: #FFB300;
    background: #FFF3CD;
}

.register-page .upload-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.register-page .upload-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.register-page .agencies-section {
    margin-bottom: 35px;
}

.register-page .agencies-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.register-page .agencies-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.register-page .agency-select {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.register-page .agency-select:focus {
    outline: none;
    border-color: #FFCC00;
}

.register-page .payment-methods-section {
    margin-bottom: 30px;
}

.register-page .payment-methods-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.register-page .payment-methods-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.register-page .payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.register-page .payment-method {
    flex: 1;
    padding: 20px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.register-page .payment-method:hover {
    border-color: #FFCC00;
    background: #FFF8E1;
}

.register-page .payment-method.selected {
    border-color: #FFCC00;
    background: #FFF8E1;
}

.register-page .payment-method-icon {
    font-size: 24px;
}

.register-page .payment-method-text {
    font-size: 12px;
    color: #333;
}

/* Responsive */
@media (max-width: 1024px) {
    .register-page .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .register-page .pack-grid {
        grid-template-columns: 1fr;
    }

    .register-page .upload-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .register-page body {
        padding: 15px;
    }

    .register-page .register-card {
        padding: 30px 25px;
    }

    .register-page .main-title {
        font-size: 32px;
    }

    .register-page .payment-methods {
        flex-direction: column;
    }

    .register-page .password-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}






/* =====================================================
   STYLES SPÉCIFIQUES PAGE PAIEMENT RÉUSSI
   ===================================================== */

/* Styles spécifiques pour la page de paiement réussi pour éviter les conflits */
.payment-success-page {
    font-family: 'MTNBrighterSans', 'Arial', sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 0;
}

.payment-success-page .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.payment-success-page .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-success-page .mtn-logo {
    width: 80px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40"><ellipse cx="40" cy="20" rx="35" ry="15" fill="none" stroke="%23333" stroke-width="3"/><text x="40" y="25" font-family="Arial, sans-serif" font-size="14" font-weight="bold" fill="%23333" text-anchor="middle">MTN</text></svg>') center/contain no-repeat;
}

.payment-success-page .yello-text {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
}

.payment-success-page .yello-text .pme {
    font-style: italic;
}

.payment-success-page .support-link {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.payment-success-page .support-link .highlight {
    font-weight: normal;
}



.payment-success-page .support-link a {
    color: var(--text-primary);
    text-decoration: none;
}

.payment-success-page .main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-success-page .success-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 60px 50px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.payment-success-page .success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: white;
}

.payment-success-page .success-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 30px;
}

.payment-success-page .payment-details {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
}

.payment-success-page .success-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.payment-success-page .home-button {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: block;
}

.payment-success-page .home-button:hover {
    transform: translateY(-2px);
}

/* Animations spécifiques à la page de paiement réussi */
.payment-success-page .success-card {
    animation: success-slideUp 0.6s ease-out;
}

.payment-success-page .success-icon {
    animation: success-checkmark 0.8s ease-out 0.3s both;
}

@keyframes success-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes success-checkmark {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =====================================================
   RESPONSIVE POUR LA PAGE PAIEMENT RÉUSSI
   ===================================================== */

@media (max-width: 1024px) {
    .payment-success-page .top-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 0 30px;
    }

    .payment-success-page .success-card {
        padding: 50px 40px;
    }

    .payment-success-page .yello-text {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .payment-success-page {
        padding: 15px;
    }

    .payment-success-page .support-link {
        font-size: 14px;
    }

    .payment-success-page .success-card {
        padding: 40px 30px;
        max-width: none;
    }

    .payment-success-page .success-title {
        font-size: 24px;
    }

    .payment-success-page .yello-text {
        font-size: 24px;
    }

    .payment-success-page .mtn-logo {
        width: 60px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .payment-success-page .success-card {
        padding: 35px 25px;
    }

    .payment-success-page .success-title {
        font-size: 22px;
    }

    .payment-success-page .success-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .payment-success-page .yello-text {
        font-size: 20px;
    }

    .payment-success-page .logo-section {
        gap: 10px;
    }

    .payment-success-page .mtn-logo {
        width: 50px;
        height: 25px;
    }
}
