:root {
    /* === CHARTE COULEURS WORTIS === */
    --primary: #006699;              /* Bleu Wortis principal */
    --primary-light: #0080cc;        /* Bleu Wortis clair */
    --primary-dark: #004466;         /* Bleu Wortis foncé */
    --secondary: #0099ff;            /* Bleu complémentaire */
    --secondary-light: #33aaff;      /* Bleu secondaire clair */
    --accent: #00cccc;               /* Turquoise accent */
    --accent-light: #33dddd;         /* Turquoise clair */
    --success: #00aa66;              /* Vert Wortis */
    --warning: #ff8800;              /* Orange complémentaire */
    --danger: #ff4455;               /* Rouge moderne */

    /* === COULEURS DE BASE === */
    --light-gray: #f8fafc;
    --dark-gray: #1e293b;
    --background-dark: #0f172a;
    --background-light: #f1f5f9;
    --border-color: #e2e8f0;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #0f172a;

    /* === GRADIENTS WORTIS === */
    --gradient-primary: linear-gradient(135deg, #006699, #0099ff);
    --gradient-hero: linear-gradient(135deg, #006699 0%, #00cccc 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --gradient-success: linear-gradient(135deg, #00aa66, #00cc88);
    --gradient-warning: linear-gradient(135deg, #ff8800, #ffaa33);
    --gradient-danger: linear-gradient(135deg, #ff4455, #ff6677);

    /* === OMBRES MODERNES === */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(0, 102, 153, 0.3);

    /* === VARIABLES DYNAMIQUES POUR SERVICES === */
    --service-primary: var(--primary);
    --service-secondary: var(--secondary);
    --service-gradient: var(--gradient-primary);
}

/* === THÈMES SPÉCIFIQUES AUX SERVICES === */
.theme-congo-telecom {
    --service-primary: #0078BE;
    --service-secondary: #FF7800;
    --service-gradient: linear-gradient(135deg, #0078BE, #FF7800);
}

.theme-mtn {
    --service-primary: #FFD700;
    --service-secondary: #FF9500;
    --service-gradient: linear-gradient(135deg, #FFD700, #FF9500);
}

.theme-airtel {
    --service-primary: #FF6B6B;
    --service-secondary: #FF8E8E;
    --service-gradient: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.theme-canalbox {
    --service-primary: #4A90E2;
    --service-secondary: #7BB3F0;
    --service-gradient: linear-gradient(135deg, #4A90E2, #7BB3F0);
}

.theme-scolarite {
    --service-primary: #2ECC71;
    --service-secondary: #58D68D;
    --service-gradient: linear-gradient(135deg, #2ECC71, #58D68D);
}

.theme-electricite {
    --service-primary: #F39C12;
    --service-secondary: #F7C52D;
    --service-gradient: linear-gradient(135deg, #F39C12, #F7C52D);
}

.theme-eau {
    --service-primary: #3498DB;
    --service-secondary: #5DADE2;
    --service-gradient: linear-gradient(135deg, #3498DB, #5DADE2);
}

/* === POLICES === */
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === BOUTONS WORTIS === */
.btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 153, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 153, 0.4);
    background: linear-gradient(135deg, #004466 0%, #0080cc 100%);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn.btn-secondary {
    background: var(--background-light);
    color: var(--background-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* === DROPDOWN UTILISATEUR === */



.profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-primary);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 102, 153, 0.3);
}

.profile-picture {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
    background-color: #006699;
    border-radius: 20%;
}

.user-name {
    color: white;
    font-weight: 500;
    margin-right: 8px;
    font-size: 14px;
}

.dropdown-caret {
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: rgba(255, 255, 255, 0.7) transparent transparent transparent;
    transition: transform 0.3s ease;
}

.user-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 29, 74, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    padding: 8px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 8px;
    margin: 2px 0;
}

.dropdown-menu a:hover {
    background: rgba(0, 102, 153, 0.2);
    color: white;
}

.dropdown-menu a i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* === HERO SECTION === */
.particles-container {
    position: relative;
    background: var(--gradient-hero);
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.particles-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

canvas.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.header-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.header-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

.cta-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.25);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* === SECTION PRÉSENTATION === */
.presentation-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.05) 0%, rgba(0, 204, 204, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.presentation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006699' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

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

.presentation-header {
    text-align: center;
    margin-bottom: 80px;
}

.presentation-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.presentation-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* === INDICATEURS D'ÉTAPES === */
.steps-container {
    position: relative;
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 3;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step.completed .step-number {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(0, 204, 204, 0.3);
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 14px;
    font-weight: 700;
}

.step-label {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.4s ease;
    font-weight: 500;
    max-width: 120px;
    line-height: 1.3;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
    transform: scale(1.05);
}

.step.completed .step-label {
    color: var(--accent);
    font-weight: 600;
}

.step-connector {
    position: absolute;
    height: 3px;
    background: var(--border-color);
    top: 25px;
    z-index: 1;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.step:nth-child(1) .step-connector {
    left: calc(50% + 25px);
    width: calc(50% - 25px);
}

.step:nth-child(2) .step-connector {
    display: none;
}

.step.completed .step-connector {
    background: var(--accent);
}

/* === CONTENEURS DE FORMULAIRES === */
.signup-container,
.login-container,
.verification-container,
.service-selection-container,
.installation-container,
.payment-container,
.completion-container,
.account-container {
    max-width: 800px;
    margin: 140px auto 80px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.login-container {
    max-width: 550px;
}

.verification-container {
    text-align: center;
    max-width: 600px;
}

.completion-container {
    text-align: center;
    max-width: 700px;
}

.signup-container::before,
.login-container::before,
.verification-container::before,
.service-selection-container::before,
.installation-container::before,
.payment-container::before,
.completion-container::before,
.account-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.signup-container h2,
.login-container h2,
.verification-container h2,
.service-selection-container h2,
.installation-container h2,
.payment-container h2,
.completion-container h2,
.account-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.signup-container h2::after,
.login-container h2::after,
.verification-container h2::after,
.service-selection-container h2::after,
.installation-container h2::after,
.payment-container h2::after,
.completion-container h2::after,
.account-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* === GRILLES DE SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.selected {
    border-color: var(--service-primary);
    background: rgba(0, 102, 153, 0.05);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* === FORMULAIRES === */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark-gray);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
    outline: none;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.submit-btn,
.action-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}

.submit-btn::before,
.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.submit-btn:hover,
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.submit-btn:hover::before,
.action-btn:hover::before {
    transform: translateX(100%);
}

.action-btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.action-btn.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-footer a:hover {
    color: var(--secondary);
}

.forgot-password {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 25px;
}

.forgot-password a {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.forgot-password a:hover {
    color: var(--secondary);
}

/* === INPUTS DE VÉRIFICATION === */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.code-inputs input {
    width: 60px;
    height: 70px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 28px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.code-inputs input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
    outline: none;
    transform: scale(1.05);
}

/* === CONTENEUR PLANS === */
.plans-container {
    max-width: 1400px;
    margin: 140px auto 80px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.plans-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--service-gradient);
    border-radius: 24px 24px 0 0;
}

.plans-container h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-gray);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--service-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.plan-tab {
    padding: 16px 32px;
    cursor: pointer;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.plan-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--service-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.plan-tab.active {
    color: white;
    background: var(--service-gradient);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.plan-tab:hover:not(.active) {
    color: var(--service-primary);
    background: rgba(0, 102, 153, 0.1);
}

.plan-category {
    display: none;
}

.plan-category.active {
    display: block;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    justify-items: center;
}

/* === CARTES DE PLANS === */
.plan-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    margin: 0 auto;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--service-primary);
}

.plan-card.popular {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 102, 153, 0.2);
    border: 2px solid var(--service-primary);
    z-index: 1;
}

.plan-card.popular:hover {
    transform: translateY(-8px) scale(1.07);
}

.popular-tag {
    background: var(--service-gradient);
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.popular-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* === HEADER DU PLAN === */
.plan-header {
    padding: 32px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    background: var(--service-gradient);
}

.plan-header::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-weight: 700;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    vertical-align: middle;
}

.plan-installation {
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.plan-installation.free {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
}

/* === CONTENU DU PLAN === */
.plan-content {
    padding: 24px;
    flex-grow: 1;
    background: white;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:hover {
    color: var(--service-primary);
    transform: translateX(5px);
}

.plan-features li::before {
    content: "✓";
    color: white;
    background: var(--service-gradient);
    font-weight: 700;
    margin-right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

/* === FEATURES CACHÉES === */
.hidden-features {
    overflow: hidden;
}

.show-more-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.show-more-btn:hover {
    border-color: var(--service-primary);
    color: var(--service-primary);
    background: rgba(0, 102, 153, 0.05);
}

.show-more-btn.expanded {
    border-color: var(--service-primary);
    color: var(--service-primary);
    background: rgba(0, 102, 153, 0.1);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

/* === HIGHLIGHTS === */
.plan-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.highlight-item {
    background: rgba(0, 102, 153, 0.1);
    color: var(--service-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlight-item i {
    font-size: 11px;
}

/* === FOOTER DU PLAN === */
.plan-footer {
    padding: 20px 24px;
    text-align: center;
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid var(--border-color);
}

.plan-button {
    display: block;
    width: 100%;
    background: var(--service-gradient);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.plan-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.plan-button:hover::before {
    transform: translateX(100%);
}

.plan-button i {
    font-size: 14px;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* === FORM LAYOUTS === */
.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-column {
    display: flex;
    flex-direction: column;
}

/* === TOGGLE INSTALLATION === */
.installation-toggle {
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(0, 102, 153, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 153, 0.1);
    position: relative;
    overflow: hidden;
}

.installation-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 36px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

input:checked + .slider {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 102, 153, 0.3);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.toggle-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

/* === RÉSUMÉ DE COMMANDE === */
.order-summary {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.order-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.order-summary h3 {
    color: var(--dark-gray);
    margin-bottom: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: rgba(0, 102, 153, 0.02);
    margin: 0 -16px;
    padding: 16px;
    border-radius: 8px;
}

.summary-item:last-child {
    border-bottom: none;
    padding-top: 24px;
    margin-top: 16px;
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid var(--border-color);
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: var(--dark-gray);
}

/* === MÉTHODES DE PAIEMENT === */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.payment-method::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 153, 0.02);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.payment-method:hover::before {
    opacity: 1;
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(0, 102, 153, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.payment-method.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.payment-method img {
    height: 40px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.payment-method:hover img {
    transform: scale(1.1);
}

.payment-method div {
    font-weight: 600;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
}

/* === GRILLE PAYS === */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.country-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-card:hover:not(.coming-soon) {
    border-color: var(--primary);
    background: rgba(0, 102, 153, 0.1);
    transform: translateY(-4px);
}

.country-card.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 16px;
}

.country-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.country-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* === SECTIONS DE CONTENU === */
.content-section {
    display: none;
}

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

/* === LABELS ANIMÉS === */
.form-group.animated-label {
    position: relative;
}

.form-group.animated-label label {
    position: absolute;
    top: 18px;
    left: 20px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 8px;
    z-index: 1;
    color: var(--text-light);
    pointer-events: none;
    font-size: 15px;
}

.form-group.animated-label input:focus + label,
.form-group.animated-label input:not(:placeholder-shown) + label,
.form-group.animated-label select:focus + label,
.form-group.animated-label select:not([value=""]):valid + label,
.form-group.animated-label textarea:focus + label,
.form-group.animated-label textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    background: white;
}

.form-group.animated-label input::placeholder,
.form-group.animated-label textarea::placeholder {
    color: transparent;
}

/* === CHECKBOXES === */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--gradient-primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.checkbox-group a:hover {
    border-bottom-color: var(--primary);
    color: var(--primary-dark);
}

/* === ICÔNES DE SUCCÈS/ERREUR === */
.success-icon,
.error-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.success-icon {
    background: var(--gradient-success);
    animation: successPulse 2s infinite;
}

.error-icon {
    background: var(--gradient-danger);
    animation: errorPulse 2s infinite;
}

@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 170, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 102, 0);
    }
}

@keyframes errorPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 85, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 68, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 85, 0);
    }
}

.success-icon span,
.error-icon span {
    color: white;
    font-size: 50px;
    font-weight: 700;
}

/* === DASHBOARD COMPTE === */
.account-container {
    max-width: 1200px;
    padding: 50px;
    margin-top: 120px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.account-header h2 {
    text-align: left;
    transform: none;
    left: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-header h2::after {
    display: none;
}

.account-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 8px;
    margin-bottom: 50px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.account-tabs::-webkit-scrollbar {
    display: none;
}

.account-tab {
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    min-width: fit-content;
    position: relative;
    overflow: hidden;
}

.account-tab:hover {
    color: var(--primary);
    background: rgba(0, 102, 153, 0.1);
}

.account-tab.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.dashboard-card.primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.dashboard-card.primary .card-value {
    color: white;
}

.dashboard-card.warning {
    background: var(--gradient-warning);
    color: white;
    border: 1px solid rgba(255, 136, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 136, 0, 0.2);
}

.dashboard-card.warning .card-value,
.dashboard-card.warning .card-subtitle,
.dashboard-card.warning h3 {
    color: white;
}

.dashboard-card h3 {
    font-size: 1rem;
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.9;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.4;
}

.dashboard-card.primary .card-subtitle, 
.dashboard-card.warning .card-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.plan-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.status-badge.active {
    background: rgba(0, 170, 102, 0.15);
    color: #00aa66;
    border: 1px solid rgba(0, 170, 102, 0.2);
}

.status-badge.pending {
    background: rgba(255, 136, 0, 0.15);
    color: #ff8800;
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.status-badge.inactive {
    background: rgba(255, 68, 85, 0.15);
    color: #ff4455;
    border: 1px solid rgba(255, 68, 85, 0.2);
}

/* === TABLEAUX === */
.account-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    background: white;
}

.account-table thead {
    background: var(--gradient-primary);
}

.account-table th {
    text-align: left;
    padding: 20px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-table th:first-child {
    border-radius: 16px 0 0 0;
}

.account-table th:last-child {
    border-radius: 0 16px 0 0;
}

.account-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.account-table tr:hover td {
    background: rgba(0, 102, 153, 0.02);
}

.account-table tr:last-child td {
    border-bottom: none;
}

.account-table tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.account-table tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.profile-details {
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

/* === TICKETS === */
.ticket-item {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.ticket-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.ticket-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.ticket-content {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ticket-id {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: 'Monaco', 'Menlo', monospace;
}

/* === FORMATAGE CARTE === */
.card-input {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    letter-spacing: 0.1em;
    font-weight: 600;
}

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

/* === MODALES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(148, 163, 184, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 68, 85, 0.1);
    color: #ff4455;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-gray);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content {
    line-height: 1.7;
    color: var(--text-light);
}

.modal-content h3 {
    color: var(--dark-gray);
    margin: 24px 0 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-content p {
    margin-bottom: 16px;
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 24px;
    border-radius: 16px;
    margin-top: 0;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 350px;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.toast-success {
    background: rgba(0, 170, 102, 0.95);
    color: white;
    border-color: rgba(0, 170, 102, 0.2);
}

.toast-error {
    background: rgba(255, 68, 85, 0.95);
    color: white;
    border-color: rgba(255, 68, 85, 0.2);
}

.toast-info {
    background: rgba(0, 102, 153, 0.95);
    color: white;
    border-color: rgba(0, 102, 153, 0.2);
}

.toast-warning {
    background: rgba(255, 136, 0, 0.95);
    color: white;
    border-color: rgba(255, 136, 0, 0.2);
}

.toast-icon {
    margin-right: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    line-height: 1.4;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 20px 50px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 12px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover::before {
    width: 60%;
}

.copyright {
    font-size: 14px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === ANIMATIONS PRINCIPALES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-15px,0);
    }
    70% {
        transform: translate3d(0,-7px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

/* === ALERTES STATUT === */
.subscription-status-alert {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    transition: all 0.3s ease;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.subscription-status-alert:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.subscription-status-alert.info {
    background: rgba(0, 102, 153, 0.08);
    border-left-color: var(--primary);
    color: #004466;
}

.subscription-status-alert.success {
    background: rgba(0, 170, 102, 0.08);
    border-left-color: #00aa66;
    color: #006644;
}

.subscription-status-alert.warning {
    background: rgba(255, 136, 0, 0.08);
    border-left-color: #ff8800;
    color: #cc6600;
}

.subscription-status-alert.danger {
    background: rgba(255, 68, 85, 0.08);
    border-left-color: #ff4455;
    color: #cc2244;
}

.subscription-status-alert.info h3 { color: #004466; }
.subscription-status-alert.success h3 { color: #006644; }
.subscription-status-alert.warning h3 { color: #cc6600; }
.subscription-status-alert.danger h3 { color: #cc2244; }

.subscription-status-alert .btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
}

.subscription-status-alert.info .btn { background: var(--primary); }
.subscription-status-alert.success .btn { background: #00aa66; }
.subscription-status-alert.warning .btn { background: #ff8800; }
.subscription-status-alert.danger .btn { background: #ff4455; }

.subscription-status-alert .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subscription-status-alert {
    animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subscription-status-alert::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.alert-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.subscription-status-alert.info h3::before { content: 'ℹ️ '; }
.subscription-status-alert.success h3::before { content: '✅ '; }
.subscription-status-alert.warning h3::before { content: '⚠️ '; }
.subscription-status-alert.danger h3::before { content: '🚨 '; }

/* === LOGOS === */
.service-logo {
    width: 100%;
    height: 80px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.service-logo:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

.service-icon-fallback {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.dashboard-service-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.service-logo-small {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    margin-right: 8px;
    vertical-align: middle;
}

/* === SERVICES ACTIFS === */
.active-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.dashboard-card.active-service {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card.active-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.dashboard-card.active-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.service-logo-container {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-logo-active {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.service-logo-active:hover {
    transform: scale(1.1);
}

.service-icon-fallback-active {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-md);
}

.service-info {
    flex-grow: 1;
}

.service-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.plan-name {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    background: rgba(0, 102, 153, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.service-details {
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item:hover {
    background: rgba(0, 102, 153, 0.02);
    margin: 0 -12px;
    padding: 12px;
    border-radius: 8px;
}

.detail-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
    text-align: right;
}

.service-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 6px;
    transition: all 0.3s ease;
}

.service-actions .btn i {
    font-size: 12px;
}

.service-actions .btn:hover {
    color: var(--text-light) !important;
}

.service-actions .btn.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.service-actions .btn.btn-outline:hover {
    color: #ff4455;
    border-color: #ff4455;
    background: rgba(255, 68, 85, 0.05);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .navbar-buttons {
        gap: 8px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .dropdown-menu {
        right: -10px;
        min-width: 200px;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    .steps-container {
        margin-top: 100px;
        padding: 0 15px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .form-columns {
        grid-template-columns: 1fr;
    }
    
    .signup-container,
    .login-container,
    .verification-container,
    .service-selection-container,
    .installation-container,
    .payment-container,
    .completion-container,
    .account-container {
        padding: 30px 20px;
        margin-top: 120px;
        border-radius: 20px;
    }
    
    .plans-container {
        padding: 30px 20px;
        margin-top: 120px;
        border-radius: 20px;
    }
    
    .step-navigation {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .step-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .account-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .account-tab {
        padding: 12px 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .account-table {
        font-size: 14px;
    }
    
    .account-table th,
    .account-table td {
        padding: 12px 10px;
    }
    
    .expiry-inputs {
        grid-template-columns: 1fr;
    }
    
    .plan-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .plan-tab {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
    
    .modal {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .code-inputs {
        gap: 12px;
    }
    
    .code-inputs input {
        width: 50px;
        height: 60px;
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .active-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .service-logo-container {
        width: 40px;
        height: 40px;
    }
    
    .service-logo-active,
    .service-icon-fallback-active {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .service-info h3 {
        font-size: 1.1rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-value {
        text-align: left;
        font-size: 16px;
        color: var(--primary);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .logo-icon::after {
        font-size: 20px;
    }
    
    .navbar-buttons {
        gap: 6px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .profile-icon {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }
    
    .dropdown-menu {
        right: -20px;
        min-width: 180px;
        font-size: 13px;
    }
    
    .dropdown-menu a {
        padding: 10px 16px;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .step-btn {
        width: 100%;
        justify-content: center;
    }
    
    .code-inputs {
        gap: 8px;
    }
    
    .code-inputs input {
        width: 45px;
        height: 55px;
        font-size: 20px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .plan-header {
        padding: 30px 20px;
    }
    
    .plan-content {
        padding: 30px 20px;
    }
    
    .plan-footer {
        padding: 20px;
    }
    
    .order-summary {
        padding: 24px;
    }
    
    .dashboard-card {
        padding: 24px;
    }
    
    .ticket-item {
        padding: 20px;
    }
    
    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .modal {
        padding: 20px 15px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .toast-container {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .dashboard-card.active-service {
        padding: 20px;
    }
    
    .service-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .service-details {
        margin-bottom: 20px;
    }
    
    .detail-item {
        padding: 10px 0;
    }
    
    .subscription-status-alert {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .alert-actions {
        flex-direction: column;
    }
    
    .alert-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .service-logo,
    .service-logo-img,
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .service-icon-fallback {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .dashboard-service-logo {
        width: 40px;
        height: 28px;
        margin-right: 8px;
    }
    
    .service-logo-small {
        width: 24px;
        height: 24px;
        margin-right: 6px;
    }
    
    .confirmation-dialog {
        padding: 24px;
        margin: 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-btn {
        width: 100%;
    }
}

/* === MASQUER LA PRÉSENTATION === */
body.form-active .presentation-section {
    display: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 102, 153, 0.3);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 153, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* === CONFIRMATION MODALES === */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirmation-modal.active {
    opacity: 1;
    visibility: visible;
}

.confirmation-dialog {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
}

.confirmation-modal.active .confirmation-dialog {
    transform: translateY(0) scale(1);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    position: relative;
    overflow: hidden;
}

.confirmation-icon.warning {
    background: var(--gradient-warning);
    animation: warningPulse 2s infinite;
}

.confirmation-icon.danger {
    background: var(--gradient-danger);
    animation: dangerPulse 2s infinite;
}

.confirmation-icon.info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    animation: infoPulse 2s infinite;
}

@keyframes warningPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 136, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 136, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 136, 0, 0); }
}

@keyframes dangerPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 68, 85, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 68, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 68, 85, 0); }
}

@keyframes infoPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 153, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 102, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 153, 0); }
}

.confirmation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.confirmation-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirmation-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.confirmation-btn.confirm {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 68, 85, 0.3);
}

.confirmation-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 85, 0.4);
}

.confirmation-btn.confirm.warning {
    background: var(--gradient-warning);
    box-shadow: 0 4px 12px rgba(255, 136, 0, 0.3);
}

.confirmation-btn.confirm.warning:hover {
    box-shadow: 0 8px 20px rgba(255, 136, 0, 0.4);
}

.confirmation-btn.confirm.info {
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(0, 102, 153, 0.3);
}

.confirmation-btn.confirm.info:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 153, 0.4);
}

.confirmation-btn.cancel {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.confirmation-btn.cancel:hover {
    background: var(--light-gray);
    border-color: var(--text-light);
    color: var(--dark-gray);
    transform: translateY(-1px);
}

/* === RECHERCHE PAYS === */
.country-search-container {
    max-width: 500px;
    margin: 0 auto 50px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 8px;
    border: 1px solid var(--border-color);
}

.search-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-suggestion:hover {
    background: rgba(0, 102, 153, 0.1);
}

.search-suggestion:first-child {
    border-radius: 12px 12px 0 0;
}

.search-suggestion:last-child {
    border-radius: 0 0 12px 12px;
}

.suggestion-flag {
    font-size: 24px;
}

.suggestion-text {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.suggestion-code {
    font-size: 12px;
    color: var(--text-light);
}

/* === GRILLE PAYS SERVICES === */
.countries-services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}


/* === MODALE OPÉRATEURS === */
#operator-modal .modal {
    max-width: 1200px;
}

.operators-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.operator-modal-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.operator-modal-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.operator-modal-card.any-operator {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
}

.operator-modal-card.any-operator:hover {
    transform: translateY(-4px) scale(1.02);
}

.operator-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.operator-modal-card.any-operator .operator-modal-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.operator-modal-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.operator-modal-card.any-operator .operator-modal-name {
    color: white;
}

.operator-min-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00aa66;
    margin-bottom: 12px;
    padding: 8px 16px;
    background: rgba(0, 170, 102, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 170, 102, 0.2);
}

.operator-modal-card.any-operator .operator-min-price {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.operator-modal-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.4;
}

.operator-modal-card.any-operator .operator-modal-description {
    color: rgba(255, 255, 255, 0.9);
}

.operator-plans-count {
    background: rgba(0, 102, 153, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

.operator-modal-card.any-operator .operator-plans-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.operator-modal-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
}

/* === MODALE D'AUTHENTIFICATION === */
.auth-plan-summary {
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.1), rgba(0, 204, 204, 0.1));
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 153, 0.2);
}

.auth-plan-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.auth-plan-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.auth-plan-details {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.auth-plan-service {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.auth-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.auth-plan-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.auth-actions {
    margin: 24px 0;
}

.auth-actions .btn {
    transition: all 0.3s ease;
}

.auth-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--light-gray);
    border-color: var(--text-light);
    color: var(--dark-gray);
    transform: translateY(-1px);
}

/* === STATISTIQUES DES OFFRES === */
.all-offers-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.05), rgba(0, 204, 204, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 153, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === FILTRES DES OFFRES === */
.offers-filters {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.offers-filters h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-align: center;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 14px;font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.filter-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.1);
    outline: none;
}

.filter-group select:hover {
    border-color: var(--primary);
}

/* === RÉSULTATS DE FILTRE === */
.filter-results {
    margin-top: 20px;
    padding: 12px 20px;
    background: rgba(0, 102, 153, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: none;
}

.filter-results-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.filter-results-content i {
    font-size: 16px;
}

/* === ÉTAT VIDE POUR LES FILTRES === */
.empty-filter-state {
    color: var(--text-light);
}

.empty-filter-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.empty-filter-state p {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* === STYLES POUR LA RÉINITIALISATION === */
.password-requirements {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.requirement:last-child {
    margin-bottom: 0;
}

.requirement.valid {
    color: #00aa66;
}

.requirement.valid .req-icon {
    color: #00aa66;
}

.req-icon {
    width: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

/* === BOUTON DÉSACTIVÉ === */
.submit-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* === VALIDATION DU TOKEN === */
#token-validation {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

#token-validation.valid {
    border-left-color: #00aa66;
    background: rgba(0, 170, 102, 0.05);
}

#token-validation.invalid {
    border-left-color: #ff4455;
    background: rgba(255, 68, 85, 0.05);
}

#token-validation.loading {
    border-left-color: var(--primary);
    background: rgba(0, 102, 153, 0.05);
}

/* === STYLES STRIPE PAYMENT === */
.payment-container {
    max-width: 900px;
    margin: 140px auto 80px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.payment-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

/* === SECTION CONFIG === */
.config-section {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.config-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.config-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.config-group:last-child {
    margin-bottom: 0;
}

.config-group label {
    min-width: 120px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.config-group input,
.config-group select {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.config-group input:focus,
.config-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.1);
    outline: none;
}

/* === INDICATEUR D'ÉTAPES STRIPE === */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.step {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.step.active {
    color: var(--primary);
}

.step.completed {
    color: #00aa66;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step.completed .step-number {
    background: #00aa66;
    color: white;
    box-shadow: 0 0 15px rgba(0, 170, 102, 0.3);
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 12px;
    font-weight: 700;
}

.step-connector {
    width: 60px;
    height: 3px;
    background: var(--border-color);
    margin: 0 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.step.completed .step-connector {
    background: #00aa66;
}

/* === SECTIONS DE FORMULAIRE === */
.form-section {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

.form-section.hidden {
    display: none;
}

.form-section.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.form-section.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.form-section.slide-in-right.active {
    transform: translateX(0);
    opacity: 1;
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* === CHAMPS STRIPE === */
#stripe-card-element {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    min-height: 48px;
}

#stripe-card-element:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 153, 0.1);
}

#stripe-card-errors {
    color: #ff4455;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#stripe-card-errors::before {
    content: '⚠️';
    font-size: 12px;
}

/* === BOUTONS D'ACTION STRIPE === */
.form-section .btn {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.form-section .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.form-section .btn:hover::before {
    transform: translateX(100%);
}

.form-section .btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-section .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.form-section .btn:disabled::before {
    display: none;
}

/* === STATUS ET MESSAGES === */
.status {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid;
}

.status.success {
    background: rgba(0, 170, 102, 0.1);
    color: #006644;
    border-left-color: #00aa66;
}

.status.error {
    background: rgba(255, 68, 85, 0.1);
    color: #cc2244;
    border-left-color: #ff4455;
}

.status.info {
    background: rgba(0, 102, 153, 0.1);
    color: #004466;
    border-left-color: var(--primary);
}

.status.warning {
    background: rgba(255, 136, 0, 0.1);
    color: #cc6600;
    border-left-color: #ff8800;
}

/* === LOGS === */
.logs {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-top: 40px;
    max-height: 300px;
    overflow-y: auto;
    position: relative;
}

.logs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 16px 0 0 16px;
}

.logs h3 {
    margin-bottom: 16px;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.log-entry {
    margin-bottom: 8px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-light);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.log-entry:hover {
    background: rgba(255, 255, 255, 1);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

/* === DÉTAILS DE SOUSCRIPTION === */
#stripe-subscription-details {
    margin-top: 24px;
}

#stripe-subscription-details h4 {
    color: var(--dark-gray);
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

#stripe-subscription-details p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

#stripe-subscription-details p:last-child {
    border-bottom: none;
}

#stripe-subscription-details strong {
    color: var(--dark-gray);
    font-weight: 600;
}

/* === ÉTAT VIDE === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* === BOUTONS D'ACTION CONTEXTUELS === */
.context-action-btn {
    position: relative;
    overflow: hidden;
}

.context-action-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.context-action-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* === INDICATEURS DE PROGRESSION === */
.progress-indicator {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin: 16px 0;
}

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

.progress-bar.pending {
    width: 33%;
    background: #ff8800;
}

.progress-bar.processing {
    width: 66%;
    background: var(--primary);
}

.progress-bar.active {
    width: 100%;
    background: #00aa66;
}

.progress-bar.failed {
    width: 100%;
    background: #ff4455;
}

/* === ÉTATS DE CHARGEMENT === */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    border-radius: 4px;
    margin-bottom: 16px;
    width: 60%;
}

/* === NOTIFICATION DOT === */
.notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #ff4455;
    border-radius: 50%;
    border: 2px solid white;
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 85, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 68, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 85, 0);
    }
}

/* === AMÉLIORATION DES CARTES DE SERVICE === */
.service-card.pending {
    border-color: #ff8800;
    background: rgba(255, 136, 0, 0.05);
}

.service-card.failed {
    border-color: #ff4455;
    background: rgba(255, 68, 85, 0.05);
    opacity: 0.7;
}

.service-card.active {
    border-color: #00aa66;
    background: rgba(0, 170, 102, 0.05);
}

/* === ANIMATIONS DE CHARGEMENT STRIPE === */
.stripe-loading {
    position: relative;
    overflow: hidden;
}

.stripe-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 153, 0.2), transparent);
    animation: stripeShimmer 1.5s infinite;
}

@keyframes stripeShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === INTÉGRATION AVEC LES THÈMES DE SERVICE === */
.theme-congo-telecom .payment-container::before,
.theme-mtn .payment-container::before,
.theme-airtel .payment-container::before,
.theme-canalbox .payment-container::before,
.theme-scolarite .payment-container::before,
.theme-electricite .payment-container::before,
.theme-eau .payment-container::before {
    background: var(--service-gradient);
}

.theme-congo-telecom .step.active .step-number,
.theme-mtn .step.active .step-number,
.theme-airtel .step.active .step-number,
.theme-canalbox .step.active .step-number,
.theme-scolarite .step.active .step-number,
.theme-electricite .step.active .step-number,
.theme-eau .step.active .step-number {
    background: var(--service-gradient);
}

/* === BOUTON PROCESSING === */
.btn.processing {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    position: relative;
}

.btn.processing::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* === TRANSITIONS FLUIDES === */
.payment-container .form-section {
    position: relative;
    min-height: 400px;
}

.payment-container .form-section.transitioning {
    pointer-events: none;
}

/* === ANIMATIONS STRIPE === */
@keyframes stripeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes stripeSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.form-section.animate-in {
    animation: stripeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-section.animate-out {
    animation: stripeSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* === RESPONSIVE POUR STRIPE === */
@media (max-width: 768px) {
    .payment-container {
        margin-top: 120px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .config-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .config-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .config-group label {
        min-width: auto;
    }
    
    .config-group input,
    .config-group select {
        min-width: auto;
        width: 100%;
    }
    
    .step-indicator {
        padding: 16px;
        margin: 30px 0;
    }
    
    .step {
        font-size: 12px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 8px;
    }
    
    .step-connector {
        width: 40px;
        margin: 0 12px;
    }
    
    .form-section h3 {
        font-size: 1.3rem;
    }
    
    .logs {
        padding: 20px;
        max-height: 250px;
    }
    
    .log-entry {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-group select {
        padding: 10px 14px;
    }
    
    .all-offers-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .offers-filters {
        padding: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .payment-container {
        margin: 100px 15px 60px;
        padding: 25px 15px;
    }
    
    .config-section {
        padding: 16px;
    }
    
    .step-indicator {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
    }
    
    .step {
        width: 100%;
        justify-content: center;
    }
    
    .step-connector {
        display: none;
    }
    
    .form-section .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .logs {
        padding: 16px;
        margin-top: 30px;
    }
    
    .logs h3 {
        font-size: 1rem;
    }
    
    .all-offers-stats {
        gap: 16px;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .offers-filters {
        padding: 16px;
    }
    
    .offers-filters h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .operators-modal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .operator-modal-card {
        padding: 20px;
        min-height: auto;
    }
    
    .countries-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .country-service-content {
        padding: 20px;
    }
    
    .country-flag-header {
        height: 100px;
        font-size: 3rem;
    }
}

/* === ACCESSIBILITÉ === */
.form-section:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 102, 153, 0.2);
}

.step[aria-current="step"] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* === ANIMATION D'APPARITION AUTHMODAL === */
#auth-required-modal.active .modal {
    animation: authModalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes authModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === COMPLETION ACTIONS === */
#completion-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

#completion-actions .btn {
    min-width: 180px;
    white-space: nowrap;
}

#completion-actions .btn i {
    margin-right: 8px;
}

#completion-actions .btn {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

#completion-actions .btn:nth-child(1) {
    animation-delay: 0.3s;
}

#completion-actions .btn:nth-child(2) {
    animation-delay: 0.5s;
}

/* === RESPONSIVE COMPLETION === */
@media (max-width: 480px) {
    #completion-actions {
        flex-direction: column;
        align-items: center;
    }
    
    #completion-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* === NAVIGATION CONTROLS - ÉLÉMENTS MANQUANTS === */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 40px;
}

.step-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.step-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.step-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.step-btn.next {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.step-btn.next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.step-btn .btn-icon {
    font-size: 18px;
}

.step-btn.prev .btn-icon {
    margin-right: 8px;
}

.step-btn.next .btn-icon {
    margin-left: 8px;
}

/* === PLAN SERVICE HEADER === */
.plan-service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.plan-service-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
}

.plan-service-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 6px;
}

.plan-service-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* === ANIMATIONS MANQUANTES === */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

/* === FIBER BACKGROUND ANIMATION === */
.fiber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    overflow: hidden;
}

.fiber {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    animation: fiberFloat 15s linear infinite;
}

.fiber.blue {
    color: var(--primary);
}

.fiber.orange {
    color: var(--secondary);
}

@keyframes fiberFloat {
    0% {
        transform: translateX(-100%) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100%)) translateY(20vh) rotate(360deg);
        opacity: 0;
    }
}

/* === DÉTAILS DE CONFIRMATION === */
.confirmation-extra-info {
    background: rgba(0, 102, 153, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(0, 102, 153, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item strong {
    color: var(--dark-gray);
}

.info-item .status-badge {
    font-size: 12px;
    padding: 4px 12px;
}

/* === BOUTON PAIEMENT DANS INSTALLATION === */
.submit-btn i {
    margin-right: 8px;
    font-size: 14px;
}

.submit-btn:hover i {
    transform: scale(1.1);
}

/* === ÉVITER LES CONFLITS D'AFFICHAGE === */
.service-plans[style*="display: none"] {
    display: none !important;
}

.plans-container-cleaning {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plans-container-ready {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.all-offers-mode .service-plans {
    display: none !important;
}

.specific-service-mode .offers-filters,
.specific-service-mode .all-offers-stats {
    display: none !important;
}

/* === SERVICE LOGO CHARGEMENT === */
.service-logo-loading {
    width: 80px;
    height: 80px;
    background: var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.service-logo-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerLogo 1.5s infinite;
}

@keyframes shimmerLogo {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === LOGOS CHARGÉS === */
.service-logo-img,
.service-company-logo,
.dashboard-service-logo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-logo-img.loaded,
.service-company-logo.loaded,
.dashboard-service-logo.loaded {
    opacity: 1;
}

/* === SECTION TITLE AVEC COMPTEUR === */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* === SERVICES ACTIFS ANIMATIONS === */
.active-service {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.active-service:nth-child(1) { animation-delay: 0.1s; }
.active-service:nth-child(2) { animation-delay: 0.2s; }
.active-service:nth-child(3) { animation-delay: 0.3s; }
.active-service:nth-child(4) { animation-delay: 0.4s; }

/* === INFO ROW CONTAINER === */
.service-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-info-text {
    flex: 1;
}

.service-info-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border: 1px solid var(--border-color);
}

/* === NOTIFICATION SERVICE LOGO === */
.notification-service-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

/* === MODAL SERVICE LOGO === */
.modal-service-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    margin-right: 12px;
    border: 1px solid var(--border-color);
}

/* === MODE SOMBRE (POUR FUTUR) === */
.dark-mode .service-logo-img,
.dark-mode .service-company-logo,
.dark-mode .dashboard-service-logo,
.dark-mode .service-logo-small {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === RESPONSIVE MANQUANT POUR LOGOS === */
@media (max-width: 768px) {
    .service-logo,
    .service-logo-img,
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .service-icon-fallback {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .dashboard-service-logo {
        width: 40px;
        height: 28px;
        margin-right: 8px;
    }
    
    .service-logo-small {
        width: 24px;
        height: 24px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .service-logo,
    .service-logo-img,
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .service-icon-fallback {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 12px;
    }
}

/* === RESPONSIVE POUR STEP NAVIGATION === */
@media (max-width: 768px) {
    .step-navigation {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .step-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step-navigation {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .step-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === NAVBAR BUTTONS === */
.navbar-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* === BOUTONS LARGE HERO === */
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 102, 153, 0.3);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 153, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* === MODES D'AFFICHAGE === */
.all-offers-mode .service-plans {
    display: none !important;
}

.specific-service-mode .offers-filters,
.specific-service-mode .all-offers-stats {
    display: none !important;
}

/* === BOUTONS SECONDAIRES === */
.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* === STYLES UTILITAIRES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.p-4 { padding: 1rem; }
.hidden { display: none; }
.visible { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.w-full { width: 100%; }
.h-full { height: 100%; }