/* ===== VARIABLES CSS ===== */
:root {
    --primary-blue: #3B82F6;
    --light-blue: #60A5FA;
    --lighter-blue: #DBEAFE;
    --dark-gray: #1F2937;
    --medium-gray: #6B7280;
    --light-gray: #F3F4F6;
}

/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ===== LAYOUT GÉNÉRAL ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
}

/* ===== FORMULAIRES ===== */
.form-control {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: block;
}

/* ===== ALERTES ===== */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
}

/* ===== CARTES ===== */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.welcome-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.pricing-card {
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    background: var(--lighter-blue);
}

/* ===== STATISTIQUES ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
}

/* ===== PRIX ===== */
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* ===== LISTES ===== */
.features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.features-list li i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* ===== ICÔNES ===== */
.email-icon {
    width: 80px;
    height: 80px;
    background: var(--lighter-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.email-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: var(--lighter-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.payment-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* ===== LIENS ===== */
.back-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2563EB;
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: var(--primary-blue);
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cta-button:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    color: white;
    text-decoration: none;
}

.secondary-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.secondary-link:hover {
    color: #2563EB;
    text-decoration: none;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-card {
    border: 2px solid var(--light-blue);
    border-radius: 16px;
    padding: 2rem;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--lighter-blue);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--medium-gray);
    font-size: 1rem;
}

.buy-button {
    background: var(--primary-blue);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background: #2563EB;
    color: white;
    text-decoration: none;
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== PAGES SPÉCIFIQUES ===== */

/* Page de signup */
.signup-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Page check email */
.email-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Page onboarding */
.payment-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Dashboard */
.main-content {
    padding: 2rem 0;
}

/* ===== UTILITAIRES ===== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--medium-gray);
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.me-1 {
    margin-right: 0.25rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.ms-auto {
    margin-left: auto;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.d-grid {
    display: grid;
}

.gap-2 {
    gap: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

/* ===== LAYOUTS SPÉCIAUX ===== */
body.auth-page {
    background: var(--light-gray);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.dashboard-page {
    background: var(--light-gray);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
}

.dropdown-divider {
    border-top: 1px solid #E5E7EB;
    margin: 0.5rem 0;
}

/* ===== STRIPE CONNECT STYLES ===== */
.stripe-connect-button {
    background: #635BFF;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stripe-connect-button:hover {
    background: #4338CA;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

.stripe-connect-button .stripe-logo {
    font-weight: 700;
    font-size: 1.1rem;
}

.stripe-connect-info {
    margin: 1.5rem 0;
}

.stripe-connect-info .alert {
    border-left: 4px solid var(--primary-blue);
}

.text-decoration-none {
    text-decoration: none;
}

/* ===== GESTION DES IMAGES DANS LE CONTENU ===== */
/* Redimensionnement automatique des images dans le contenu des pages de vente */
.card-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive pour les images sur mobile */
@media (max-width: 768px) {
    .card-body img {
        margin: 0.5rem auto;
    }
} 