/**
 * FAHIM LTR Layout Overrides
 * Applied when html.ltr-mode is set (French / English).
 * IMPORTANT: Never use * { font-family: ... !important } — it breaks icon fonts.
 */

/* ─── Base Direction ─────────────────────────────────────────────────────── */
html.ltr-mode body {
    direction: ltr;
    text-align: left;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
html.ltr-mode p,
html.ltr-mode h1,
html.ltr-mode h2,
html.ltr-mode h3,
html.ltr-mode h4,
html.ltr-mode h5,
html.ltr-mode span:not(.fahim-lang-btn *):not([class*="fa"]):not([class*="icon"]),
html.ltr-mode a,
html.ltr-mode button:not(.fahim-lang-btn):not(.fahim-lang-option),
html.ltr-mode input,
html.ltr-mode label,
html.ltr-mode li,
html.ltr-mode td,
html.ltr-mode th {
    font-family: 'Inter', 'Tajawal', sans-serif;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
html.ltr-mode .logo {
    margin-right: 0;
    margin-left: 0;
}

html.ltr-mode .nav-links {
    gap: 40px;
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
html.ltr-mode .hero-new {
    flex-direction: row !important;
}

html.ltr-mode .hero-content {
    text-align: left !important;
    align-items: flex-start !important;
    margin-right: 0 !important;
    margin-left: 60px !important;
}

html.ltr-mode .hero-image {
    transform: translateX(-40px) translateY(-10px) !important;
}

/* Floating stats: mirror position */
html.ltr-mode .floating-stats {
    left: 25%;
    right: auto;
    transform: translateX(-50%);
}

/* ─── FAQ Chat Bubbles ───────────────────────────────────────────────────── */
html.ltr-mode .comment-user {
    flex-direction: row;
}

html.ltr-mode .comment-bot {
    flex-direction: row-reverse;
}

html.ltr-mode .comment-user .bubble {
    border-radius: 18px 18px 18px 2px;
}

html.ltr-mode .comment-bot .bubble {
    border-radius: 18px 18px 2px 18px;
    background: #f1f5f9;
}

/* ─── Pricing & System ───────────────────────────────────────────────────── */
html.ltr-mode .price-card {
    text-align: left;
}

html.ltr-mode .coin-exp-content,
html.ltr-mode .coin-system-text,
html.ltr-mode .section-title {
    text-align: left !important;
}

html.ltr-mode .section-title p {
    margin-right: auto;
    margin-left: 0;
}

/* ─── Partners ───────────────────────────────────────────────────────────── */
html.ltr-mode .partners-track {
    animation-name: scroll-ltr !important;
}

@keyframes scroll-ltr {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
html.ltr-mode .footer-links a:hover {
    padding-right: 0;
    padding-left: 6px;
}

/* ─── Mobile Overrides (Max 1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
    html.ltr-mode .hero-new {
        flex-direction: column-reverse !important;
    }

    html.ltr-mode .hero-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    html.ltr-mode .hero-buttons {
        align-items: center !important;
    }

    html.ltr-mode .hero-image {
        transform: none !important;
        margin: 0 auto !important;
    }

    html.ltr-mode .floating-stats {
        left: 50% !important;
        margin-left: 0 !important;
        transform: translateX(-50%) !important;
    }

    html.ltr-mode .section-title,
    html.ltr-mode .section-title p {
        text-align: center !important;
        margin: 0 auto !important;
    }
}
