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

:root {
    /* Couleurs principales */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Couleurs neutres */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    
    /* Couleurs système */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Espacement */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 32px;
    
    /* Bordures */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --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);
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles de base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilitaires */
.gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
}

.nav-logo i {
    font-size: 28px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--gray);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-gradient);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--black);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Boutons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Visual */
.hero-visual {
    animation: slideInRight 1s ease-out;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.mockup-phone {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-15deg) rotateX(5deg);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-10px); }
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.mockup-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
}

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.mockup-card i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 12px;
}

.mockup-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--black);
}

.mockup-card p {
    font-size: 14px;
    color: var(--gray);
}

.mockup-audio {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.mockup-audio i {
    font-size: 24px;
    color: #f5576c;
}

.audio-waves {
    display: flex;
    gap: 4px;
    align-items: center;
}

.audio-waves span {
    width: 4px;
    background: #f5576c;
    border-radius: 2px;
    animation: audioWave 1.5s ease-in-out infinite;
}

.audio-waves span:nth-child(1) { height: 20px; animation-delay: 0s; }
.audio-waves span:nth-child(2) { height: 30px; animation-delay: 0.2s; }
.audio-waves span:nth-child(3) { height: 25px; animation-delay: 0.4s; }
.audio-waves span:nth-child(4) { height: 35px; animation-delay: 0.6s; }

@keyframes audioWave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Document Type Selector - Design ultra-moderne */
.document-type-selector {
    margin: 60px 0;
    padding: 0 20px;
}

.selector-header {
    text-align: center;
    margin-bottom: 50px;
}

.selector-header h3 {
    color: #0f172a;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.selector-header p {
    color: #64748b;
    font-size: 18px;
    margin: 0;
    font-weight: 400;
}

.document-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.document-type-card {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: slideInCard 0.8s ease forwards;
}

.document-type-card:nth-child(1) { animation-delay: 0.1s; }
.document-type-card:nth-child(2) { animation-delay: 0.2s; }
.document-type-card:nth-child(3) { animation-delay: 0.3s; }

.document-type-card input[type="radio"] {
    display: none;
}

.type-card-label {
    display: block;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    will-change: transform, box-shadow;
}

.type-card-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.6s ease;
}

.type-card-label:hover::before {
    left: 100%;
}

.type-card-label:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-card-label:hover .card-icon::before {
    opacity: 1;
}

.lesson-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.evaluation-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.exercise-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.card-icon i {
    font-size: 32px;
    color: white;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.selection-check {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0);
}

.selection-check i {
    font-size: 16px;
    color: white;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h4 {
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.card-body p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 24px 0;
    flex: 1;
    transition: color 0.3s ease;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* États sélectionnés */
.document-type-card input[type="radio"]:checked + .type-card-label {
    border-color: #667eea;
    background: linear-gradient(145deg, #f0f4ff 0%, #e0e7ff 100%);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    transform: translateY(-4px) scale(1.02);
}

.document-type-card input[type="radio"]:checked + .type-card-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 21px;
    animation: selectedPulse 2s infinite;
}

.document-type-card input[type="radio"]:checked + .type-card-label .card-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.document-type-card input[type="radio"]:checked + .type-card-label .card-icon i {
    transform: scale(1.1);
    animation: iconRotate 0.6s ease;
}

.document-type-card input[type="radio"]:checked + .type-card-label .selection-check {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.document-type-card input[type="radio"]:checked + .type-card-label .card-body h4 {
    color: #667eea;
}

.document-type-card input[type="radio"]:checked + .type-card-label .card-body p {
    color: #475569;
}

.document-type-card input[type="radio"]:checked + .type-card-label .tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

/* Animations */
@keyframes slideInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

@keyframes iconRotate {
    0% { transform: scale(1.1) rotateY(0deg); }
    50% { transform: scale(1.2) rotateY(180deg); }
    100% { transform: scale(1.1) rotateY(360deg); }
}

@keyframes cardSelect {
    0% { transform: translateY(-4px) scale(1.02); }
    25% { transform: translateY(-6px) scale(1.03) rotateZ(1deg); }
    50% { transform: translateY(-4px) scale(1.02) rotateZ(-1deg); }
    75% { transform: translateY(-6px) scale(1.03) rotateZ(0.5deg); }
    100% { transform: translateY(-4px) scale(1.02) rotateZ(0deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .document-types {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
    }
    
    .type-card-label {
        height: 240px;
        padding: 28px 24px;
    }
    
    .card-icon {
        width: 64px;
        height: 64px;
    }
    
    .card-icon i {
        font-size: 28px;
    }
    
    .card-body h4 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .document-type-selector {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .selector-header h3 {
        font-size: 28px;
    }
    
    .selector-header p {
        font-size: 16px;
    }
    
    .document-types {
        gap: 20px;
    }
    
    .type-card-label {
        height: 220px;
        padding: 24px 20px;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    .card-icon i {
        font-size: 24px;
    }
    
    .card-body h4 {
        font-size: 20px;
    }
    
    .card-body p {
        font-size: 15px;
    }
    
    .tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* Upload Section */
.upload-section {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
}

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

.upload-area {
    position: relative;
    border: 3px dashed #cbd5e1;
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--light-gray);
    margin-bottom: 40px;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 64px;
    color: #667eea;
    margin-bottom: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-area h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.upload-area p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 24px;
}

.upload-browse {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.upload-options-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.upload-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: none;
}

.upload-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.upload-option-btn i {
    font-size: 16px;
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.upload-formats span {
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    box-shadow: var(--shadow-sm);
}

#fileInput,
#folderInput {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* === OPTIMISATIONS MOBILES CRITIQUES === */

/* Amélioration générale du touch */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, button {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* Mobile-first: Amélioration des boutons d'upload */
@media (max-width: 768px) {
    
    /* Zone d'upload mobile optimisée */
    .upload-area {
        min-height: 180px !important;
        padding: 40px 20px !important;
        border: 3px dashed #cbd5e1;
        border-radius: 16px;
        margin-bottom: 30px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .upload-area:active {
        background: #e2e8f0 !important;
        border-color: #667eea !important;
        transform: scale(0.98);
    }
    
    /* Boutons d'options ÉNORMES pour mobile */
    .upload-options-buttons {
        flex-direction: column !important;
        gap: 20px !important;
        margin: 30px 0 !important;
    }
    
    .upload-option-btn {
        width: 100% !important;
        min-height: 65px !important;
        padding: 20px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
        transition: all 0.2s ease !important;
        position: relative !important;
        z-index: 100 !important;
        pointer-events: auto !important;
    }
    
    .upload-option-btn:active {
        transform: translateY(2px) scale(0.98) !important;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    }
    
    .upload-option-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
    }
    
    .upload-option-btn i {
        font-size: 24px !important;
    }
    
    /* Navigation mobile */
    .nav-toggle {
        display: block !important;
        font-size: 28px !important;
        padding: 10px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        color: #334155 !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-link {
        padding: 18px 0 !important;
        font-size: 18px !important;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        margin: 0 !important;
        color: #334155 !important;
    }
    
    /* Document type cards mobiles */
    .document-types {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .type-card-label {
        min-height: 140px !important;
        padding: 25px 20px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .type-card-label:active {
        transform: scale(0.95) !important;
        background: #e2e8f0 !important;
    }
    
    /* Options spécifiques */
    .document-options {
        padding: 25px 20px !important;
        margin-top: 20px !important;
    }
    
    .options-content {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .option-item {
        padding: 18px 20px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .option-item:active {
        background: #e2e8f0 !important;
        transform: scale(0.98) !important;
    }
    
    /* Boutons principaux mobiles */
    .btn-primary, .btn-secondary {
        min-height: 55px !important;
        padding: 15px 25px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .btn-primary:active, .btn-secondary:active {
        transform: translateY(1px) scale(0.98) !important;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 60px 0 40px !important;
    }
    
    .hero-title {
        font-size: 2.2em !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1em !important;
        margin-bottom: 35px !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }
    
    .btn-primary, .btn-secondary {
        width: 100% !important;
        max-width: 320px !important;
    }
    
    /* Upload section mobile */
    .upload-section {
        padding: 50px 0 !important;
    }
    
    .section-title {
        font-size: 2.5em !important;
        margin-bottom: 15px !important;
    }
    
    .section-subtitle {
        font-size: 1.1em !important;
        margin-bottom: 40px !important;
    }
    
    /* Formats supportés */
    .upload-formats {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }
    
    .upload-formats span {
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .upload-option-btn {
        min-height: 70px !important;
        font-size: 16px !important;
        padding: 22px 15px !important;
    }
    
    .upload-area {
        padding: 30px 15px !important;
        min-height: 160px !important;
    }
    
    .section-title {
        font-size: 2em !important;
    }
    
    .hero-title {
        font-size: 1.8em !important;
    }
}

/* Barre de progression */
.upload-progress {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

/* Options avancées */
.upload-options {
    margin-top: 40px;
}

.option-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.option-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.option-card:hover .option-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.option-icon i {
    font-size: 24px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.option-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
    position: relative;
}

.option-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
    opacity: 0.6;
}

.options-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    min-width: fit-content;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.option-item:hover::before {
    left: 100%;
}

.option-item:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    color: #334155;
}

.option-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-item input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    animation: checkboxPulse 0.6s ease;
}

.option-item input[type="checkbox"]:checked + .checkmark::after {
    transform: translate(-50%, -50%) scale(1);
    background: white;
    width: 6px;
    height: 6px;
}

.option-item input[type="checkbox"]:checked ~ span {
    color: #667eea;
    font-weight: 600;
}

.option-item:has(input:checked) {
    background: linear-gradient(145deg, #f0f4ff 0%, #e0e7ff 100%);
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

@keyframes checkboxPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Animation d'entrée pour les options */
.option-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInOption 0.5s ease forwards;
}

.option-item:nth-child(1) { animation-delay: 0.1s; }
.option-item:nth-child(2) { animation-delay: 0.15s; }
.option-item:nth-child(3) { animation-delay: 0.2s; }
.option-item:nth-child(4) { animation-delay: 0.25s; }
.option-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInOption {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour les options */
@media (max-width: 768px) {
    .options-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .option-item {
        justify-content: flex-start;
        border-radius: 15px;
        padding: 16px 18px;
        font-size: 15px;
    }
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--black);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Results Section */
.results {
    padding: var(--section-padding);
    background: var(--white);
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.result-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.card-header {
    padding: 24px;
    background: var(--light-gray);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header .card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header .card-icon i {
    font-size: 20px;
    color: var(--white);
}

.card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    flex: 1;
    margin-left: 16px;
}

.card-content {
    padding: 24px;
}

/* Audio Player */
.audio-player {
    background: var(--light-gray);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.audio-play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 auto 20px;
}

.audio-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.audio-play-btn i {
    font-size: 20px;
    color: var(--white);
    margin-left: 2px;
}

.audio-progress {
    margin-bottom: 16px;
}

.audio-timeline {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 8px;
    position: relative;
}

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

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray);
}

.audio-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.audio-speed,
.audio-volume {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.audio-speed:hover,
.audio-volume:hover {
    background: var(--light-gray);
}

.audio-transcript {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.audio-transcript h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.transcript-content {
    background: var(--light-gray);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
    max-height: 200px;
    overflow-y: auto;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #94a3b8;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .options-content {
        grid-template-columns: 1fr;
    }
    
    .mockup-phone {
        width: 250px;
        height: 500px;
        transform: none;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-icon {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* === About Section Styles === */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    display: grid;
    gap: 60px;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-text h3 {
    color: #1e293b;
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-text h3:first-child {
    margin-top: 0;
}

.story-text p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.story-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.story-text ul li {
    color: #475569;
    margin: 12px 0;
    padding-left: 0;
    font-size: 1.05em;
    line-height: 1.6;
}

.story-features {
    display: grid;
    gap: 30px;
}

.feature-highlight {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-icon i {
    font-size: 24px;
    color: white;
}

.feature-highlight h4 {
    color: #1e293b;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-highlight p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.about-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-cta p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.about-cta .btn-primary {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.about-cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .about-cta {
        padding: 40px 30px;
    }
    
    .about-cta h3 {
        font-size: 1.5em;
    }
}

/* === Payment Modal Styles === */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.payment-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.payment-modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-modal-header h3 {
    margin: 0;
    color: #334155;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-modal-header h3 i {
    color: #22c55e;
}

.close-payment-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-payment-modal:hover {
    background: #f1f5f9;
    color: #334155;
}

.payment-modal-body {
    padding: 20px 30px 30px;
}

.payment-info {
    margin-bottom: 25px;
}

.service-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
}

.service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.service-details h4 {
    margin: 0 0 5px 0;
    color: #334155;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-details p {
    margin: 0;
    color: #64748b;
    line-height: 1.4;
}

.price-breakdown {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-line.total {
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
    padding-top: 15px;
}

.price {
    font-weight: 600;
    color: #334155;
}

.payment-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #64748b;
}

.feature i {
    color: #22c55e;
    font-size: 1.1rem;
}

.payment-actions {
    text-align: center;
}

.btn-payment {
    background: linear-gradient(135deg, #635bff 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 91, 255, 0.3);
}

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

.payment-security {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.payment-security i {
    color: #22c55e;
}

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