/* mishloah-homepage v1.5 */

* { box-sizing: border-box; margin: 0; padding: 0; }

.mhp-wrap {
    overflow: visible;
    background: #070c1a;
    background-image: linear-gradient(180deg, #070c1a 0%, hsl(217 91% 10%) 50%, #070c1a 100%);

    color: #fff;
    direction: rtl;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    min-height: 100vh;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.mhp-nav {
    align-items: center;
    background: rgba(7,12,26,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    height: 76px;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 50px;
    z-index: 200;
    flex-shrink: 0;
    gap: 16px;
}

.mhp-nav-right { display: flex; align-items: center; }
.mhp-nav-left  { display: flex; align-items: center; }

.mhp-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.mhp-logo-icon { font-size: 22px; }
.mhp-logo-name { font-size: 17px; font-weight: 800; line-height: 1.1; color: #fff; }
.mhp-logo-sub  { font-size: 9px; color: rgba(255,255,255,0.3); letter-spacing: 0.12em; }

/* Center nav links */
.mhp-nav-center {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.mhp-nav-center a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.mhp-nav-center a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.mhp-nav-pill {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 20px !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
}
.mhp-nav-pill:hover { background: rgba(255,255,255,0.14) !important; color: #fff !important; }

.mhp-nav-pill-outline {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Weather card */
.mhp-weather-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    white-space: nowrap;
}

.mhp-weather-icon-wrap { font-size: 22px; }

.mhp-weather-details { display: flex; flex-direction: column; gap: 2px; }

.mhp-weather-row1 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mhp-weather-row1 span { display: flex; align-items: center; }

.mhp-weather-row2 {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ── Hero ────────────────────────────────────────────────────── */
.mhp-hero {
    overflow: visible;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    gap: 60px;
    direction: rtl;
    min-height: calc(100vh - 100px);
}

/* Form card */
.mhp-form-card {
    background: rgba(15,18,40,0.97);
    border: 1px solid rgba(120,90,255,0.4);
    border-radius: 18px;
    padding: 32px 30px;
    width: 580px;
    flex-shrink: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Inner glow from center */
.mhp-form-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(140,90,255,0.9) 0%, rgba(100,50,240,0.5) 35%, rgba(70,30,200,0.2) 65%, transparent 80%);
    filter: blur(55px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.mhp-form-card > * { position: relative; z-index: 1; }

/* Flatten inner form elements */
.mhp-form-card .ml-form-card,
.mhp-form-card .ml-form-inner,
.mhp-form-card .ml-form-wrap,
.mhp-form-card > div > div {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.mhp-form-card .ml-form-title {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    display: block !important;
}
.mhp-form-card .ml-form-subtitle {
    color: rgba(255,255,255,0.45) !important;
    font-size: 13px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    display: block !important;
}
.mhp-form-card input[type=text],
.mhp-form-card input[type=tel],
.mhp-form-card input[type=email] {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(120,100,220,0.3) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    outline: none !important;
    direction: rtl !important;
    display: block !important;
    margin-bottom: 10px !important;
}
.mhp-form-card input::placeholder { color: rgba(255,255,255,0.3) !important; }
.mhp-form-card .ml-vehicle-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}
.mhp-form-card .ml-vehicle-btn {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(120,100,220,0.25) !important;
    border-radius: 10px !important;
    color: rgba(255,255,255,0.65) !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 13px !important;
    padding: 11px 8px !important;
    text-align: center !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.mhp-form-card .ml-vehicle-btn.active,
.mhp-form-card .ml-vehicle-btn:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}
.mhp-form-card select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(120,100,220,0.3) !important;
    border-radius: 10px !important;
    color: rgba(255,255,255,0.7) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
    outline: none !important;
}
.mhp-form-card .ml-submit-btn,
.mhp-form-card input[type=submit],
.mhp-form-card button[type=submit] {
    background: #1d4ed8 !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px !important;
    width: 100% !important;
    margin-top: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.mhp-form-card .ml-privacy {
    color: rgba(255,255,255,0.3) !important;
    font-size: 11px !important;
    margin-top: 12px !important;
    text-align: center !important;
}

/* Hero content */
.mhp-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 580px;
}

.mhp-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mhp-brand-logo {
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    border-radius: 14px;
    font-size: 26px;
    height: 56px; width: 56px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.mhp-brand-logo::after {
    content: '';
    position: absolute;
    bottom: -3px; left: -3px;
    width: 14px; height: 14px;
    background: #f5c400;
    border-radius: 50%;
    border: 2px solid #0b0e1a;
}

.mhp-brand-name { font-size: 22px; font-weight: 800; line-height: 1.1; }
.mhp-brand-sub  { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }

.mhp-brand-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    padding: 5px 14px;
    display: flex; align-items: center; gap: 6px;
}

.mhp-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}
.mhp-title-accent {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mhp-desc {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    line-height: 1.75;
}

.mhp-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.mhp-btn-primary {
    background: #2b7fff;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    display: flex; align-items: center; gap: 8px;
    transition: background 0.2s;
}
.mhp-btn-primary:hover { background: #1e40af; }

.mhp-btn-ghost {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 22px;
    display: flex; align-items: center; gap: 8px;
}
.mhp-btn-ghost:hover { background: rgba(255,255,255,0.1); }

.mhp-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.mhp-trust span { color: rgba(255,255,255,0.4); font-size: 13px; }

/* Bottom */
.mhp-bottom {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    display: flex;
    font-size: 12px;
    gap: 24px;
    justify-content: center;
    align-items: center;
    padding: 10px 32px;
    flex-shrink: 0;
}

/* Chat */
.mhp-chat {
    background: #2b7fff;
    border: none;
    border-radius: 50%;
    bottom: 24px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    height: 52px; width: 52px;
    left: 24px;
    position: fixed;
    transition: transform 0.2s;
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
}
.mhp-chat:hover { transform: scale(1.1); }

@media (max-width: 900px) {
    .mhp-hero {
    overflow: visible; flex-direction: column; padding: 32px 20px; min-height: auto; }
    .mhp-form-card { width: 100%; max-width: 420px; }
    .mhp-title { font-size: 34px; }
    .mhp-nav-links { display: none; }
}

/* Lucide icons */
.mhp-wrap i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.mhp-nav-center a { display: inline-flex; align-items: center; gap: 5px; }
.mhp-wrap svg { flex-shrink: 0; }
.mhp-logo-icon svg { width: 24px; height: 24px; color: #f5c400; }
.mhp-nav-center i svg { width: 14px; height: 14px; }
.mhp-weather-icon-wrap svg { width: 28px; height: 28px; color: #f5c400; }
.mhp-brand-logo svg { width: 28px; height: 28px; color: #fff; }
.mhp-brand-badge svg { width: 13px; height: 13px; }
.mhp-btn-primary svg, .mhp-btn-ghost svg { width: 16px; height: 16px; }
.mhp-trust svg { width: 14px; height: 14px; color: #4ade80; }
.mhp-chat svg { width: 22px; height: 22px; }
