/**
 * Lycée Français du Monténégro - Styles modernes et épurés
 * Design minimaliste avec objectif unique: engagement questionnaire
 */

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

:root {
    /* Palette de couleurs élégante et professionnelle */
    --lfm-primary: #1e3a8a; /* Bleu marine profond */
    --lfm-primary-light: #3b82f6; /* Bleu clair */
    --lfm-secondary: #0f172a; /* Gris très foncé */
    --lfm-accent: #ef4444; /* Rouge accent */
    --lfm-text: #1e293b; /* Texte principal */
    --lfm-text-light: #64748b; /* Texte secondaire */
    --lfm-bg: #ffffff; /* Fond blanc */
    --lfm-bg-alt: #f8fafc; /* Fond alternatif */
    --lfm-border: #e2e8f0; /* Bordures */

    /* Typographie */
    --lfm-font:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Espacements */
    --lfm-spacing-xs: 0.5rem;
    --lfm-spacing-sm: 1rem;
    --lfm-spacing-md: 2rem;
    --lfm-spacing-lg: 3rem;
    --lfm-spacing-xl: 4rem;

    /* Ombres */
    --lfm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --lfm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --lfm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --lfm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--lfm-font);
    color: var(--lfm-text);
    background-color: var(--lfm-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === CONTAINER === */
.lfm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lfm-spacing-md);
}

/* === HEADER === */
.lfm-header {
    background-color: var(--lfm-bg);
    border-bottom: 1px solid var(--lfm-border);
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
}

.lfm-header-content {
    display: flex;
    gap: var(--lfm-spacing-md);
    justify-content: space-around;
}

.lfm-header-logos {
    display: flex;
    align-items: center;
    gap: var(--lfm-spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.lfm-header-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lfm-btn-header {
    display: inline-block;
    background-color: var(--lfm-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
    white-space: nowrap;
}



.lfm-logo {
    text-align: center;
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}

.lfm-logo a {
    text-decoration: none;
    display: inline-block;
}

.lfm-logo-img {
    max-height: 60px;
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 0.5rem;
    object-fit: contain;
}

.lfm-logo-secondary {
    max-height: 60px;
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.lfm-logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lfm-primary);
    margin: 0;
    line-height: 1.2;
}

.lfm-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--lfm-text-light);
    font-weight: 400;
    margin-top: 0.25rem;
}

/* === MAIN === */
.lfm-main {
    min-height: 100vh;
}

/* === SECTIONS === */
.lfm-section {
    padding: var(--lfm-spacing-xl) 0;
}

.lfm-section:nth-child(even) {
    background-color: var(--lfm-bg-alt);
}

.lfm-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--lfm-text);
    margin-bottom: var(--lfm-spacing-md);
    text-align: center;
    line-height: 1.2;
}

.lfm-section-intro {
    font-size: 1rem;
    color: var(--lfm-text-light);
    text-align: center;
    margin-bottom: var(--lfm-spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === HERO SECTION === */
.lfm-hero {
    background:linear-gradient(
            135deg,
            var(--lfm-primary) 0%,
            var(--lfm-primary-light) 100%
        );
    color: white;
    padding: var(--lfm-spacing-xl) 0 calc(var(--lfm-spacing-xl) * 1.5) 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.lfm-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--lfm-primary) 0%, #00000070 90%);
    opacity: 0.9;
    z-index: 0;
}

.lfm-hero .lfm-container {
    position: relative;
    z-index: 1;
}

.lfm-hero-content {
    max-width: 900px;
    margin: 0 auto;color:#fff;
}

.lfm-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--lfm-spacing-md);
    line-height: 1.1;
}

.lfm-hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: var(--lfm-spacing-sm);
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.lfm-hero-badges {
    display: flex;
    gap: var(--lfm-spacing-sm);
    margin-bottom: var(--lfm-spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.lfm-hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lfm-hero-badge:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lfm-hero-cta {
    margin-top: var(--lfm-spacing-lg);
}

.lfm-hero-cta-subtitle {
    margin-top: var(--lfm-spacing-sm);
    font-size: 0.875rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.lfm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--lfm-font);
}

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

.lfm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--lfm-shadow-xl);
    background-color: var(--lfm-bg-alt);
}

.lfm-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.lfm-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
}

.lfm-btn .lfm-btn-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0;
}

/* === LUCIDE ICONS === */
.lfm-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.lfm-icon-inline {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin: 0 0.25rem;
    flex-shrink: 0;
}

.lfm-check-icon {
    color: var(--lfm-primary);
    flex-shrink: 0;
}

.lfm-checkbox-icon {
    color: var(--lfm-primary);
    flex-shrink: 0;
}

.lfm-card-icon {
    color: var(--lfm-primary);
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-lock-icon {
    flex-shrink: 0;
    color: var(--lfm-primary);
}

.lfm-info-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.lfm-flag-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.lfm-flag-icon svg {
    display: block;
    border-radius: 2px;
}

/* === WHY SECTION === */
.lfm-why-content {
    display: flex;
    flex-direction: column;
    gap: var(--lfm-spacing-lg);
    margin: 0 auto;
}

.lfm-why-text {
    flex: 1;
    max-width: 600px;
}

.lfm-why-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.lfm-why-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: var(--lfm-shadow-md);
}

/* Responsive design pour mobile */
@media (min-width: 768px) {
    .lfm-why-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .lfm-why-text {
        max-width: 50%;
    }

    .lfm-why-image {
        max-width: 40%;
    }
}

/* Harmonized text styles - base 16px (1rem) */
.lfm-text-large {
    font-size: 1.0625rem; /* 17px - slight emphasis */
    margin-bottom: var(--lfm-spacing-md);
    color: var(--lfm-text);
    font-weight: 500;
}

.lfm-why-content p,
.lfm-survey-content p,
.lfm-card-text,
.lfm-feature-item span,
.lfm-checklist-item span {
    font-size: 1rem; /* 16px - consistent */
    line-height: 1.7;
    font-weight: 400;
    color: var(--lfm-text);
}

.lfm-why-content p {
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-features {
    display: grid;
    gap: var(--lfm-spacing-sm);
    margin-top: var(--lfm-spacing-lg);
}

.lfm-feature-item {
    display: flex;
    align-items: center;
    gap: var(--lfm-spacing-sm);
    padding: var(--lfm-spacing-sm);
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--lfm-shadow-sm);
}

.lfm-check {
    font-size: 1.5rem;
    color: var(--lfm-primary);
}

/* === VISION CARDS === */
.lfm-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--lfm-spacing-md);
    margin-top: var(--lfm-spacing-lg);
}

.lfm-card {
    
    text-align: center;
    background-color: white;
    padding: var(--lfm-spacing-lg);
    border-radius: 1rem;
    box-shadow: var(--lfm-shadow-md);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.lfm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lfm-shadow-lg);
}

.lfm-card-icon {
    font-size: 3rem;
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lfm-text);
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-card-text {
    /* Font size and line-height inherited from harmonized styles above */
    color: var(--lfm-text-light);
}

/* === CHECKLIST === */
.lfm-checklist {
    max-width: 700px;
    margin: var(--lfm-spacing-lg) auto 0;
    display: grid;
    gap: var(--lfm-spacing-sm);
}

.lfm-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--lfm-spacing-sm);
    padding: var(--lfm-spacing-sm);
    background-color: white;
    border-radius: 0.5rem;
    border-left: 4px solid var(--lfm-primary);
}

.lfm-checkbox {
    font-size: 1.5rem;
    color: var(--lfm-primary);
    flex-shrink: 0;
}

/* === WHY SURVEY === */
.lfm-survey-content {
    max-width: 800px;
    margin: 0 auto;
}

.lfm-survey-content p {
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-list {
    list-style: none;
    margin: var(--lfm-spacing-md) 0;
    padding-left: var(--lfm-spacing-md);
}

.lfm-list li {
    position: relative;
    margin-bottom: var(--lfm-spacing-xs);
    padding-left: var(--lfm-spacing-md);
}

.lfm-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--lfm-primary);
    font-weight: bold;
    font-size: 1.2em;
}

.lfm-trust-box {
    display: flex;
    align-items: center;
    gap: var(--lfm-spacing-sm);
    margin-top: var(--lfm-spacing-lg);
    padding: var(--lfm-spacing-md);
    background-color: #dbeafe;
    border-radius: 0.5rem;
    border-left: 4px solid var(--lfm-primary);
}

.lfm-lock-icon {
    font-size: 1.5rem;
}

/* === CTA FINAL === */
.lfm-cta-final {
    background: linear-gradient(
        135deg,
        var(--lfm-primary) 0%,
        var(--lfm-primary-light) 100%
    );
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
}

.lfm-cta-final::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--lfm-primary) 0%, #00000070 90%);
    opacity: 0.9;
    z-index: 0;
}

.lfm-cta-final .lfm-container {
    position: relative;
    z-index: 1;
}

.lfm-cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lfm-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--lfm-spacing-md);
    line-height: 1.2;
}

.lfm-cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--lfm-spacing-lg);
    opacity: 0.95;
}

.lfm-cta-subtitle {
    margin-top: var(--lfm-spacing-sm);
    font-size: 0.875rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* === FOOTER === */
.lfm-footer {
    background-color: var(--lfm-secondary);
    color: white;
    padding: var(--lfm-spacing-xl) 0 var(--lfm-spacing-md) 0;
}

.lfm-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--lfm-spacing-lg);
    margin-bottom: var(--lfm-spacing-lg);
}

.lfm-footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--lfm-spacing-xs);
}

.lfm-footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.lfm-footer-details p,
.lfm-footer-contact p {
    margin-bottom: var(--lfm-spacing-xs);
    color: rgba(255, 255, 255, 0.85);
}

.lfm-footer-mention {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-style: italic;
}

.lfm-footer-link {
    color: var(--lfm-primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lfm-footer-link:hover {
    color: white;
}

.lfm-footer-bottom {
    text-align: center;
    padding-top: var(--lfm-spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* === MODAL === */
.lfm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.lfm-modal.active {
    display: block;
}

/* Desktop: Blurred overlay (10px) */
.lfm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Desktop: Centered modal with max-width */
.lfm-modal-content {
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    margin: 5vh auto;
    background-color: white;
    border-radius: 1rem;
    box-shadow: var(--lfm-shadow-xl);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

.lfm-modal-close {
    position: absolute;
    top: var(--lfm-spacing-sm);
    right: var(--lfm-spacing-sm);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lfm-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.lfm-modal-body {
    padding: var(--lfm-spacing-lg);
    overflow-y: auto;
    max-height: 90vh;
}

.lfm-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lfm-text);
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-modal-subtitle {
    font-size: 1rem;
    color: var(--lfm-text-light);
    margin-bottom: var(--lfm-spacing-lg);
}

.lfm-quiz-placeholder {
    padding: var(--lfm-spacing-xl);
    background-color: var(--lfm-bg-alt);
    border-radius: 0.5rem;
    text-align: center;
    color: var(--lfm-text-light);
}

/* === THANK YOU PAGE === */
.lfm-thank-you-page {
    background-color: var(--lfm-bg-alt);
}

.lfm-thank-you-hero {
    padding: var(--lfm-spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%), url('/wp-content/uploads/2026/01/etudiants-montenegrin-lycee-francais-du-montenegro.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.lfm-thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lfm-thank-you-icon {
    margin-bottom: var(--lfm-spacing-md);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lfm-thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--lfm-spacing-md);
    line-height: 1.2;
}

.lfm-thank-you-text {
    font-size: 1.25rem;
    margin-bottom: var(--lfm-spacing-lg);
    opacity: 0.95;
    line-height: 1.7;
}

.lfm-thank-you-box {
    background-color: white;
    color: var(--lfm-text);
    padding: var(--lfm-spacing-lg);
    border-radius: 1rem;
    margin-bottom: var(--lfm-spacing-lg);
    box-shadow: var(--lfm-shadow-xl);
}

.lfm-thank-you-box-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--lfm-primary);
    margin-bottom: var(--lfm-spacing-md);
}

.lfm-thank-you-steps {
    display: grid;
    gap: var(--lfm-spacing-md);
    text-align: left;
}

.lfm-thank-you-step {
    display: flex;
    gap: var(--lfm-spacing-md);
    align-items: flex-start;
}

.lfm-step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--lfm-primary) 0%,
        var(--lfm-primary-light) 100%
    );
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.lfm-step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lfm-text);
    margin-bottom: var(--lfm-spacing-xs);
}

.lfm-step-content p {
    color: var(--lfm-text-light);
    line-height: 1.6;
    margin: 0;
}

.lfm-thank-you-info {
    display: flex;
    align-items: center;
    gap: var(--lfm-spacing-sm);
    background-color: rgba(255, 255, 255, 0.2);
    padding: var(--lfm-spacing-md);
    border-radius: 0.5rem;
    margin-bottom: var(--lfm-spacing-lg);
    text-align: left;
}

.lfm-info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.lfm-info-text {
    line-height: 1.6;
}

.lfm-info-text a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.lfm-info-text a:hover {
    text-decoration: none;
}

.lfm-thank-you-cta {
    margin-top: var(--lfm-spacing-lg);
}

/* Share section */
.lfm-share-section {
    background-color: white;
}

.lfm-share-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.lfm-share-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lfm-text);
    margin-bottom: var(--lfm-spacing-sm);
}

.lfm-share-text {
    font-size: 1.125rem;
    color: var(--lfm-text-light);
    margin-bottom: var(--lfm-spacing-lg);
}

.lfm-share-buttons {
    display: flex;
    gap: var(--lfm-spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.lfm-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--lfm-primary);
    background-color: transparent;
    color: var(--lfm-primary);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--lfm-font);
}

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

.lfm-copy-confirmation {
    margin-top: var(--lfm-spacing-md);
    padding: var(--lfm-spacing-sm);
    background-color: #10b981;
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    animation: fadeIn 0.3s ease-out;
}

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

/* === RESPONSIVE === */
/* Medium screens with reduced height (e.g., 1280x768) */
@media (min-width: 768px) and (max-width: 1440px) and (max-height: 800px) {
    .lfm-hero {
        min-height: auto;
        padding: var(--lfm-spacing-lg) 0 var(--lfm-spacing-lg) 0;
    }

    .lfm-hero-title {
        font-size: 2.25rem;
        margin-bottom: var(--lfm-spacing-sm);
    }

    .lfm-hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: var(--lfm-spacing-xs);
    }

    .lfm-hero-badges {
        margin-bottom: var(--lfm-spacing-md);
    }

    .lfm-hero-cta {
        margin-top: var(--lfm-spacing-md);
    }

    .lfm-hero-cta-subtitle {
        margin-top: var(--lfm-spacing-xs);
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .lfm-header {
        padding: var(--lfm-spacing-sm) 0;
    }

    .lfm-header-content {
        gap: var(--lfm-spacing-sm);
    }

    .lfm-header-logos {
        gap: var(--lfm-spacing-sm);
    }

    .lfm-logo-img {
        max-height: 50px;
    }

    .lfm-logo-secondary {
        max-height: 40px;
    }

    .lfm-btn-header {
        display: none;
    }

    .lfm-hero-title {
        font-size: 2rem;
    }

    .lfm-hero-subtitle {
        font-size: 1.125rem;
    }

    .lfm-section-title {
        font-size: 1.75rem;
    }

    .lfm-cta-title {
        font-size: 1.75rem;
    }

    .lfm-cards {
        grid-template-columns: 1fr;
    }

    .lfm-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile: Fullscreen modal */
    .lfm-modal-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
    }

    .lfm-modal-body {
        padding: var(--lfm-spacing-md);
        padding-top: 60px; /* Space for close button on mobile */
        height: 100%;
        max-height: 100%;
    }
    
    .lfm-modal-close {
        position: fixed;
        top: var(--lfm-spacing-xs);
        right: var(--lfm-spacing-xs);
        width: 44px;
        height: 44px;
        z-index: 1001;
    }

    .lfm-thank-you-title {
        font-size: 1.75rem;
    }

    .lfm-thank-you-text {
        font-size: 1.125rem;
    }

    .lfm-thank-you-step {
        flex-direction: column;
        text-align: center;
    }

    .lfm-step-content {
        text-align: center;
    }

    .lfm-thank-you-info {
        flex-direction: column;
        text-align: center;
    }

    .lfm-share-buttons {
        flex-direction: column;
    }

    .lfm-share-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .lfm-container {
        padding: 0 var(--lfm-spacing-sm);
    }

    .lfm-header {
        padding: var(--lfm-spacing-xs) 0;
    }

    .lfm-logo-img {
        max-height: 40px;
    }

    .lfm-logo-secondary {
        max-height: 35px;
    }

    .lfm-subtitle {
        font-size: 0.75rem;
    }

    .lfm-hero {
        padding: var(--lfm-spacing-lg) 0;
    }

    .lfm-hero-title {
        font-size: 1.5rem;
    }

    .lfm-hero-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--lfm-spacing-xs);
    }

    .lfm-hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .lfm-section {
        padding: var(--lfm-spacing-lg) 0;
    }

    .lfm-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .lfm-btn-large {
        padding: 1rem 1.75rem;
        font-size: 1.125rem;
    }

    .lfm-card {
        padding: var(--lfm-spacing-md);
    }

    .lfm-thank-you-box {
        padding: var(--lfm-spacing-md);
    }

    .lfm-text-large {
        font-size: 1.125rem;
    }

    .lfm-feature-item,
    .lfm-checklist-item {
        padding: var(--lfm-spacing-xs);
    }
}

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

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: var(--lfm-spacing-xs);
}
.mb-2 {
    margin-bottom: var(--lfm-spacing-sm);
}
.mb-3 {
    margin-bottom: var(--lfm-spacing-md);
}
.mb-4 {
    margin-bottom: var(--lfm-spacing-lg);
}

.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: var(--lfm-spacing-xs);
}
.mt-2 {
    margin-top: var(--lfm-spacing-sm);
}
.mt-3 {
    margin-top: var(--lfm-spacing-md);
}
.mt-4 {
    margin-top: var(--lfm-spacing-lg);
}

/* === LANGUAGE SWITCHER === */
.lfm-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--lfm-bg);
    border: 1px solid var(--lfm-border);
    color: var(--lfm-text);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
    white-space: nowrap;
}

.lfm-lang-btn .lfm-flag-icon {
    margin-right: 0;
    display: inline-flex;
    align-items: center;
}

.lfm-lang-btn:hover {
    background-color: var(--lfm-bg-alt);
    border-color: var(--lfm-primary-light);
    transform: translateY(-1px);
}

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

/* Language Modal */
.lfm-lang-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.lfm-lang-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lfm-lang-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.lfm-lang-modal-content {
    position: relative;
    background-color: var(--lfm-bg);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--lfm-shadow-xl);
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.3s ease;
    z-index: 10001;
}

.lfm-lang-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lfm-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.lfm-lang-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--lfm-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lfm-lang-modal-close:hover {
    background-color: var(--lfm-bg-alt);
    color: var(--lfm-text);
}

.lfm-lang-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lfm-lang-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--lfm-bg-alt);
    border: 2px solid var(--lfm-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.lfm-lang-option:hover {
    background-color: var(--lfm-bg);
    border-color: var(--lfm-primary-light);
    transform: translateX(4px);
}

.lfm-lang-option.active {
    background-color: var(--lfm-primary-light);
    border-color: var(--lfm-primary);
    color: white;
}

.lfm-lang-option.active .lfm-lang-name {
    color: white;
}

.lfm-lang-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.lfm-lang-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--lfm-text);
}

.lfm-lang-option.active .lfm-lang-name {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .lfm-lang-btn {
        padding: 6px 12px;
        font-size: 12px;
        margin-left: 8px;
    }
    
    .lfm-lang-modal-content {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .lfm-lang-modal-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .lfm-lang-option {
        padding: 0.875rem;
    }
}
