/* ===================================================
   MODERN REDESIGN — Reservations Booking SaaS
   =================================================== */

/* ── X (Twitter) icon polyfill for Font Awesome 5 ──
   FA5 doesn't include fa-x-twitter (added in FA6).
   Inject the official X logo SVG via CSS so it renders
   identically to all other FA social icons.
   ─────────────────────────────────────────────────── */
.fa-x-twitter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}
.fa-x-twitter::before {
    content: '';
    display: block;
    width: 0.875em;
    height: 0.875em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* ---- Reset & Base ---- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    color: #1a1a2e;
    background: #fff;
    overflow-x: hidden;
}

/* ---- CSS Variables override with modern palette ---- */
:root {
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 8px 32px rgba(80,60,180,.10);
    --shadow-lg: 0 20px 60px rgba(80,60,180,.18);
    --bg-light: #f7f6ff;
    --bg-dark: #0f0e2a;
    --text-muted: #6b7280;
    --white: #fff;
    --section-pad: 96px 0;
}

/* ---- Typography ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--main);
    background: color-mix(in srgb, var(--main) 12%, white);
    border-radius: 99px;
    padding: 4px 14px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ---- Navbar ---- */
.mn-navbar {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    z-index: 9999;
    transition: background .3s, box-shadow .3s;
    padding: 18px 0;
}

.mn-navbar.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    padding: 12px 0;
}

.mn-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mn-navbar .brand img {
    height: 46px;
    object-fit: contain;
    transition: filter .3s;
}
/* On transparent hero: add a white glow so any logo is visible on dark bg */
.mn-navbar:not(.scrolled) .mn-brand-logo {
    filter: drop-shadow(0 0 8px rgba(255,255,255,.45)) brightness(1.15);
}
/* On scrolled white bg: show logo as-is */
.mn-navbar.scrolled .mn-brand-logo { filter: none; }

.mn-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mn-nav-links a {
    font-size: .93rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 8px;
    color: #fff;
    transition: all .2s;
}

.mn-navbar.scrolled .mn-nav-links a { color: #1a1a2e; }
.mn-nav-links a:hover { background: rgba(255,255,255,.15); color: #fff; }
.mn-navbar.scrolled .mn-nav-links a:hover { background: var(--bg-light); color: var(--main); }

.mn-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 8px;
    padding: 6px 13px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.mn-navbar.scrolled .btn-nav-lang { color: #1a1a2e; border-color: #e5e7eb; }
.btn-nav-lang:hover { background: rgba(255,255,255,.15); color: #fff; }
.mn-navbar.scrolled .btn-nav-lang:hover { background: var(--bg-light); color: var(--main); }

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--main) !important;
    background: #fff;
    border-radius: 10px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.mn-navbar.scrolled .btn-nav-cta {
    background: var(--main);
    color: #fff !important;
}
.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* Mobile toggle */
.mn-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}
.mn-toggler span {
    display: block;
    width: 24px; height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}
.mn-navbar.scrolled .mn-toggler span { background: #1a1a2e; }

/* ===== HERO SECTION ===== */
.mn-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--main) 0%, color-mix(in srgb, var(--main) 60%, #0f0e2a) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
}

.mn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 50%, rgba(255,255,255,.06) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.mn-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    line-height: 0;
}
.mn-hero-wave svg { display: block; }

.mn-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 120px;
}

.mn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 99px;
    padding: 6px 18px 6px 8px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}
.mn-hero-badge span {
    background: rgba(255,255,255,.95);
    color: var(--main);
    border-radius: 99px;
    padding: 2px 10px;
    font-size: .75rem;
}

.mn-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 20px;
}
.mn-hero-title span {
    display: block;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mn-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.mn-hero-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--main) !important;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    transition: all .25s;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff !important;
    font-size: .95rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .25s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); }

.mn-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.mn-hero-stat {
    display: flex;
    flex-direction: column;
}
.mn-hero-stat strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}
.mn-hero-stat span {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
}

.mn-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mn-hero-card-mockup {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 40px 80px rgba(0,0,0,.2);
    animation: float 5s ease-in-out infinite;
}

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

.mn-mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.mn-mock-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}
.mn-mock-title { color: #fff; font-weight: 700; font-size: .9rem; }
.mn-mock-sub { color: rgba(255,255,255,.6); font-size: .75rem; }

.mn-mock-calendar {
    background: rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.mn-mock-cal-head {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    margin-bottom: 12px;
}
.mn-mock-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}
.mn-mock-day {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    border-radius: 7px;
    margin: 0 auto;
}
.mn-mock-day.active {
    background: #fff;
    color: var(--main);
    font-weight: 800;
}
.mn-mock-day.booked {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.mn-mock-appts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mn-mock-appt {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 10px 14px;
}
.mn-mock-appt-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mn-mock-appt-info { flex: 1; }
.mn-mock-appt-name { color: #fff; font-size: .8rem; font-weight: 700; }
.mn-mock-appt-time { color: rgba(255,255,255,.6); font-size: .72rem; }
.mn-mock-appt-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* Floating badge cards */
.mn-float-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    z-index: 3;
}
.mn-float-badge .fb-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.mn-float-badge-1 { top: 20px; inset-inline-end: -20px; animation: float 4s ease-in-out infinite; }
.mn-float-badge-2 { bottom: 80px; inset-inline-start: -20px; animation: float 4.5s ease-in-out infinite .5s; }

/* ===== BRANDS / TRUSTED STRIP ===== */
.mn-trusted {
    background: var(--bg-light);
    padding: 36px 0;
    border-top: 1px solid #ede9fe;
    border-bottom: 1px solid #ede9fe;
}
.mn-trusted-label {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}
.mn-brands-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}
.mn-brand-logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(.5);
    object-fit: contain;
    transition: all .2s;
}
.mn-brand-logo:hover { filter: grayscale(0%) opacity(1); }

/* ===== STATS BAR ===== */
.mn-stats-bar {
    padding: 56px 0;
}
.mn-stat-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: all .2s;
}
.mn-stat-card:hover {
    background: var(--main);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.mn-stat-card:hover .mn-stat-num,
.mn-stat-card:hover .mn-stat-label { color: #fff !important; }
.mn-stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--main) 12%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--main);
    margin: 0 auto 14px;
    transition: all .2s;
}
.mn-stat-card:hover .mn-stat-icon { background: rgba(255,255,255,.2); color: #fff; }
.mn-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 6px;
}
.mn-stat-label { font-size: .88rem; color: var(--text-muted); font-weight: 600; }

/* ===== INDUSTRIES / USE CASES ===== */
.mn-industries {
    padding: var(--section-pad);
    background: #fff;
}
.mn-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.mn-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    border-radius: var(--radius);
    border: 1.5px solid #ede9fe;
    text-align: center;
    font-size: .88rem;
    font-weight: 700;
    color: #1a1a2e;
    cursor: default;
    transition: all .2s;
}
.mn-industry-card:hover {
    border-color: var(--main);
    background: color-mix(in srgb, var(--main) 5%, white);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(80,60,180,.12);
}
.mn-industry-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--main) 10%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--main);
    transition: all .2s;
}
.mn-industry-card:hover .mn-industry-icon {
    background: var(--main);
    color: #fff;
}

/* ===== FEATURES / SERVICES ===== */
.mn-features {
    padding: var(--section-pad);
    background: var(--bg-light);
}
.mn-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.mn-feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all .25s;
    border: 1px solid transparent;
}
.mn-feature-card:hover {
    border-color: var(--main);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.mn-feature-icon-wrap {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: color-mix(in srgb, var(--main) 10%, white);
    color: var(--main);
    transition: all .25s;
}
.mn-feature-card:hover .mn-feature-icon-wrap {
    background: var(--main);
    color: #fff;
}
.mn-feature-card h5 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.mn-feature-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== HOW IT WORKS ===== */
.mn-how {
    padding: var(--section-pad);
    background: #fff;
    position: relative;
}

.mn-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.mn-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    inset-inline-start: calc(100% / var(--steps-count, 4) / 2);
    inset-inline-end: calc(100% / var(--steps-count, 4) / 2);
    height: 2px;
    background: linear-gradient(90deg, var(--main), color-mix(in srgb, var(--main) 40%, white));
    border-radius: 2px;
    z-index: 0;
}

.mn-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.mn-step-num {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--main);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(80,60,180,.15);
    position: relative;
    transition: all .25s;
}
.mn-step-num img {
    width: 36px; height: 36px;
    object-fit: contain;
}
.mn-step:hover .mn-step-num {
    background: var(--main);
    color: #fff;
}
.mn-step-num span {
    position: absolute;
    top: -10px;
    inset-inline-end: -10px;
    width: 26px; height: 26px;
    background: var(--main);
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(80,60,180,.3);
}
.mn-step-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.mn-step-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== PRICING ===== */
.mn-pricing {
    padding: var(--section-pad);
    background: var(--bg-light);
}

.mn-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
    align-items: start;
}

.mn-plan {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 2px solid #ede9fe;
    transition: all .25s;
    position: relative;
}

.mn-plan.featured {
    background: var(--main);
    border-color: var(--main);
    transform: scale(1.04);
    box-shadow: 0 30px 80px rgba(80,60,180,.35);
}

.mn-plan-badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: #ff7b28;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255,123,40,.4);
}

.mn-plan-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #1a1a2e;
}
.mn-plan.featured .mn-plan-name { color: #fff; }

.mn-plan-desc {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.mn-plan.featured .mn-plan-desc { color: rgba(255,255,255,.75); }

.mn-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}
.mn-plan-price .amount {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
}
.mn-plan.featured .mn-plan-price .amount { color: #fff; }
.mn-plan-price .currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}
.mn-plan.featured .mn-plan-price .currency { color: rgba(255,255,255,.7); }
.mn-plan-price .period {
    font-size: .8rem;
    color: var(--text-muted);
}
.mn-plan.featured .mn-plan-price .period { color: rgba(255,255,255,.6); }

.mn-plan-features {
    list-style: none;
    padding: 0; margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mn-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: #374151;
}
.mn-plan.featured .mn-plan-features li { color: rgba(255,255,255,.9); }
.mn-plan-features li i {
    color: var(--main);
    font-size: .9rem;
    flex-shrink: 0;
}
.mn-plan.featured .mn-plan-features li i { color: rgba(255,255,255,.9); }

.btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s;
    border: 2px solid var(--main);
    color: var(--main);
    background: transparent;
}
.btn-plan:hover { background: var(--main); color: #fff; }
.mn-plan.featured .btn-plan {
    background: #fff;
    color: var(--main);
    border-color: #fff;
}
.mn-plan.featured .btn-plan:hover {
    background: rgba(255,255,255,.85);
}

/* ===== PARTNERS ===== */
.mn-partners {
    padding: 80px 0;
    background: #fff;
}

/* ===== FAQ ===== */
.mn-faq {
    padding: var(--section-pad);
    background: var(--bg-light);
}

.mn-faq-accordion {
    max-width: 760px;
    margin: 48px auto 0;
}

.mn-faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid #ede9fe;
    overflow: hidden;
    transition: all .2s;
}
.mn-faq-item:hover { border-color: var(--main); }

.mn-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a2e;
    background: none;
    border: none;
    text-align: start;
    cursor: pointer;
    gap: 16px;
}
.mn-faq-toggle i.faq-chevron {
    flex-shrink: 0;
    transition: transform .3s;
    color: var(--main);
    font-size: .9rem;
}
.mn-faq-toggle[aria-expanded="true"] i.faq-chevron { transform: rotate(180deg); }

.mn-faq-body {
    padding: 0 24px 20px;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Category tabs for FAQ */
.mn-faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}
.mn-faq-tab {
    padding: 8px 20px;
    border-radius: 99px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #fff;
    border: 1.5px solid #e5e7eb;
    cursor: pointer;
    transition: all .2s;
}
.mn-faq-tab.active, .mn-faq-tab:hover {
    background: var(--main);
    color: #fff;
    border-color: var(--main);
}

/* ===== APP DOWNLOAD ===== */
.mn-app-cta {
    padding: 80px 0;
    background: var(--main);
    position: relative;
    overflow: hidden;
}
.mn-app-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}
.mn-app-cta h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}
.mn-app-cta p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 28px; }
.mn-app-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 12px;
    padding: 10px 22px;
    color: #fff !important;
    text-decoration: none;
    transition: all .2s;
}
.btn-store:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-store i { font-size: 1.6rem; }
.btn-store .store-text small { display: block; font-size: .72rem; color: rgba(255,255,255,.7); }
.btn-store .store-text strong { display: block; font-size: .95rem; font-weight: 800; }

/* ===== CONTACT ===== */
.mn-contact {
    padding: var(--section-pad);
    background: #fff;
}

.mn-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: stretch;
}

.mn-contact-info {
    background: linear-gradient(135deg, color-mix(in srgb, var(--main) 8%, white) 0%, #fff 100%);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #ede9fe;
    height: 100%;
}
.mn-contact-info h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.mn-contact-info p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.mn-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}
.mn-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mn-contact-item-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--main) 10%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--main);
    flex-shrink: 0;
}
.mn-contact-item-text small { display: block; font-size: .78rem; color: var(--text-muted); }
.mn-contact-item-text strong { display: block; font-size: .92rem; font-weight: 700; color: #1a1a2e; }
.mn-contact-item-text a { color: inherit; text-decoration: none; }
.mn-contact-item-text a:hover { color: var(--main); }

.mn-contact-form {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #ede9fe;
    height: 100%;
}

.mn-form-group {
    margin-bottom: 18px;
}
.mn-form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: #374151;
}
.mn-form-group input,
.mn-form-group textarea {
    width: 100%;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: .92rem;
    color: #1a1a2e;
    font-family: inherit;
    transition: border-color .2s;
}
.mn-form-group input:focus,
.mn-form-group textarea:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main) 15%, transparent);
}
.mn-form-group textarea { resize: vertical; min-height: 120px; }

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--main);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    width: 100%;
    justify-content: center;
}
.btn-contact-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(80,60,180,.3);
}

/* ===== FOOTER ===== */
.mn-footer {
    background: #0f0e2a;
    color: rgba(255,255,255,.7);
    padding: 72px 0 0;
}

.mn-footer-brand img { height: 44px; object-fit: contain; margin-bottom: 16px; }
.mn-footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 260px; }

.mn-footer-heading {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.mn-footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mn-footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.mn-footer-links a:hover { color: #fff; }
.mn-footer-links i { font-size: .75rem; color: rgba(255,255,255,.5); }

.mn-footer-contact-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mn-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    color: rgba(255,255,255,.85);
}
.mn-footer-contact-list li a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; }
.mn-footer-contact-list li a:hover { color: #fff; }
.mn-footer-contact-list i {
    color: rgba(255,255,255,.6);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.mn-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.mn-footer-social {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    text-decoration: none;
    transition: all .2s;
}
.mn-footer-social:hover { background: var(--main); color: #fff; }

.mn-footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.mn-footer-app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 9px 16px;
    color: #fff;
    text-decoration: none;
    transition: background .2s;
}
.mn-footer-app-badge:hover { background: rgba(255,255,255,.15); }
.mn-footer-app-badge i { font-size: 1.3rem; }
.mn-footer-app-badge small { display: block; font-size: .7rem; color: rgba(255,255,255,.5); }
.mn-footer-app-badge strong { display: block; font-size: .85rem; font-weight: 700; }

.mn-footer-bottom {
    margin-top: 56px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mn-footer-bottom .row { align-items: center; }
.mn-footer-copy { font-size: .82rem; color: rgba(255,255,255,.65); }
.mn-footer-made { font-size: .82rem; color: rgba(255,255,255,.45); text-align: end; }
.mn-footer-made a { color: var(--main); text-decoration: none; }

/* ===== SECTION HEADER CENTERED ===== */
.mn-section-header {
    text-align: center;
    margin-bottom: 4px;
}
.mn-section-header .section-subtitle { margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .mn-nav-links { display: none; }
    .mn-toggler { display: flex; }
    /* CTA is in the mobile drawer — hide it from the top bar */
    .btn-nav-cta { display: none; }
    .mn-hero-visual { display: none; }
    .mn-hero-content { text-align: center; }
    .mn-hero-subtitle { margin: 0 auto 36px; }
    .mn-hero-ctas { justify-content: center; }
    .mn-hero-stats { justify-content: center; }
    .mn-contact-grid { grid-template-columns: 1fr; }
    .mn-steps::before { display: none; }
    .mn-plan.featured { transform: none; }
    :root { --section-pad: 64px 0; }
}

@media (max-width: 767px) {
    .mn-hero-title { font-size: 1.9rem; }
    .mn-industry-grid { grid-template-columns: repeat(3, 1fr); }
    .mn-features-grid, .mn-pricing-grid { grid-template-columns: 1fr; }
    .mn-contact-form { padding: 24px 20px; }
    .mn-footer .row [class^=col] { margin-bottom: 36px; }
}

/* ===================================================
   RTL (Arabic) Fixes
   Bootstrap 4 LTR is used — flex containers remain LTR
   even with <html dir="rtl">. icon-first HTML items need
   explicit flex-direction:row-reverse so the icon lands
   on the RIGHT (reading start in Arabic).
   =================================================== */

/* ── Hero floating badges ── */
[dir="rtl"] .mn-float-badge-1 { inset-inline-end: -20px; }
[dir="rtl"] .mn-float-badge-2 { inset-inline-start: -20px; }

/* ── Navbar ── */
/* direction:rtl on the flex container shifts the main axis to run R→L,
   so home (first in HTML) lands on the right edge in Arabic. */
[dir="rtl"] .mn-nav-links   { direction: rtl; }
[dir="rtl"] .mn-nav-actions { flex-direction: row-reverse; }

/* ── Feature cards ── */
[dir="rtl"] .mn-feature-card      { text-align: right; }
[dir="rtl"] .mn-feature-card h5   { text-align: right; }
[dir="rtl"] .mn-feature-card p    { text-align: right; }
[dir="rtl"] .mn-feature-icon-wrap { margin-right: 0; }

/* ── About / Who We ── */
[dir="rtl"] .mn-highlight-card { text-align: right; }

/* ── Contact info panel ── */
[dir="rtl"] .mn-contact-info h4,
[dir="rtl"] .mn-contact-info p { text-align: right; }

/* Contact items: row-reverse → icon (first in HTML) goes to the RIGHT */
[dir="rtl"] .mn-contact-item                 { flex-direction: row-reverse; }
[dir="rtl"] .mn-contact-item-text            { flex: 1; text-align: right; }
[dir="rtl"] .mn-contact-item-text small,
[dir="rtl"] .mn-contact-item-text strong     { display: block; text-align: right; }

/* Social icons in contact panel: start from right */
[dir="rtl"] .mn-contact-info .mn-footer-socials {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

/* ── Contact form ── */
[dir="rtl"] .mn-form-group label             { display: block; text-align: right; }
[dir="rtl"] .mn-form-group input,
[dir="rtl"] .mn-form-group textarea          { text-align: right; direction: rtl; }

/* ── Footer logo glass wrapper (global, not dir-specific) ── */
.mn-footer-logo-wrap {
    display: inline-block;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 10px 18px;
    margin-bottom: 18px;
}
.mn-footer-logo-wrap img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

/* ── Footer brand column ── */
[dir="rtl"] .mn-footer-brand   { text-align: right; }
[dir="rtl"] .mn-footer-brand p { max-width: 100%; text-align: right; }

/* ── Footer headings: no uppercase / letter-spacing for Arabic ── */
[dir="rtl"] .mn-footer-heading {
    text-align: right;
    text-transform: none;
    letter-spacing: 0;
}

/* Footer quick/legal links:
   direction:rtl on the <ul> makes its column-flex flow RTL,
   so each <a> (a row-flex) also flows right-to-left:
   icon (first in HTML) lands on the RIGHT, text to its left.
   This aligns perfectly with the right-aligned heading above. */
[dir="rtl"] .mn-footer-links {
    direction: rtl;
    text-align: right;
    align-items: flex-start; /* flex-start = RIGHT edge in RTL column flex */
}
[dir="rtl"] .mn-footer-links a { text-align: right; }

/* Footer contact list: same principle.
   direction:rtl on the <ul> → each <li> row-flex flows R→L
   → icon (first in HTML) is on the RIGHT,
   text fills remaining space to its LEFT.
   Heading above is also right-aligned → perfect vertical alignment. */
[dir="rtl"] .mn-footer-contact-list {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .mn-footer-contact-list li   { justify-content: flex-start; }
[dir="rtl"] .mn-footer-contact-list span,
[dir="rtl"] .mn-footer-contact-list a    { text-align: right; direction: rtl; }

/* ── Footer social icons: right-aligned, row reversed in RTL ── */
[dir="rtl"] .mn-footer-brand .mn-footer-socials {
    justify-content: flex-end;
    flex-direction: row-reverse;
    margin-top: 16px;
}

/* ── Footer bottom bar ── */
[dir="rtl"] .mn-footer-copy { text-align: right; }
[dir="rtl"] .mn-footer-made { text-align: left; }

/* ── App CTA ── */
[dir="rtl"] .mn-app-cta h2,
[dir="rtl"] .mn-app-cta p  { text-align: right; }
[dir="rtl"] .mn-app-btns   { flex-direction: row-reverse; }
