:root {
    --pub-navy: #17253b;
    --pub-navy-2: #223751;
    --pub-navy-3: #0f1a2a;
    --pub-orange: #f58220;
    --pub-orange-dark: #df6f11;
    --pub-orange-soft: #fff3e9;
    --pub-white: #ffffff;
    --pub-bg: #f6f7f9;
    --pub-bg-2: #eef1f5;
    --pub-text: #263448;
    --pub-muted: #6d7888;
    --pub-border: #e2e7ed;
    --pub-success: #31835f;
    --pub-shadow: 0 18px 45px rgba(23, 37, 59, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mj-public {
    margin: 0;
    direction: rtl;
    background: var(--pub-bg);
    color: var(--pub-text);
    font-family: 'IRANSansWeb', Tahoma, Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.public-shell { min-height: 100vh; display: flex; flex-direction: column; }
.public-main { flex: 1; }
.home-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--pub-border);
    backdrop-filter: blur(10px);
}
.public-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.public-brand { display: flex; align-items: center; gap: 11px; color: var(--pub-navy); flex: 0 0 auto; }
.public-brand:hover { color: var(--pub-navy); }
.public-brand img { width: 48px; height: 48px; object-fit: contain; }
.public-brand-copy { display: flex; flex-direction: column; gap: 2px; }
.public-brand-copy strong { font-size: 16px; font-weight: 900; line-height: 1.5; }
.public-brand-copy > span { font-size: 10px; color: var(--pub-muted); }
.public-nav { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.public-nav-link {
    min-height: 41px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #4f5d6e;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: .18s ease;
}
.public-nav-link:hover { background: #f6f8fa; color: var(--pub-navy); }
.public-blog-link { color: var(--pub-muted); }
.public-driver-link { border-color: #d9dfe6; background: var(--pub-white); color: var(--pub-navy); }
.public-driver-link:hover { border-color: var(--pub-navy); background: #f8fafc; }
.public-owner-link { background: var(--pub-orange); border-color: var(--pub-orange); color: var(--pub-white); box-shadow: 0 8px 18px rgba(245,130,32,.17); }
.public-owner-link:hover { background: var(--pub-orange-dark); border-color: var(--pub-orange-dark); color: var(--pub-white); }

/* Home hero */
.public-home { overflow: hidden; }
.home-hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 12% 18%, rgba(245,130,32,.09), transparent 27%),
        linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
    border-bottom: 1px solid var(--pub-border);
}
.home-hero::after {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(23,37,59,.025);
    border-radius: 50%;
}
.home-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid #f5dac3;
    background: var(--pub-orange-soft);
    border-radius: 999px;
    color: #a95c1c;
    font-size: 11px;
    font-weight: 900;
}
.home-hero-copy h1 {
    margin: 17px 0 13px;
    color: var(--pub-navy);
    font-size: clamp(34px, 4vw, 51px);
    line-height: 1.55;
    font-weight: 950;
    letter-spacing: -.7px;
}
.home-hero-copy h1 span { display: block; color: var(--pub-orange); }
.home-hero-lead { max-width: 650px; margin: 0; color: var(--pub-muted); font-size: 13px; line-height: 2.15; }
.home-entry-actions { display: grid; gap: 10px; margin-top: 27px; max-width: 650px; }
.home-entry-card {
    min-height: 78px;
    display: grid;
    grid-template-columns: 52px 1fr 30px;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    background: var(--pub-white);
    border: 1px solid var(--pub-border);
    border-radius: 15px;
    color: var(--pub-navy);
    box-shadow: 0 7px 21px rgba(23,37,59,.045);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-entry-card:hover { transform: translateY(-2px); color: var(--pub-navy); box-shadow: var(--pub-shadow); }
.home-entry-owner:hover { border-color: #f0bd91; }
.home-entry-driver:hover { border-color: #aeb9c7; }
.home-entry-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 19px;
}
.home-entry-owner .home-entry-icon { background: var(--pub-orange-soft); color: var(--pub-orange); }
.home-entry-driver .home-entry-icon { background: #eef2f7; color: var(--pub-navy); }
.home-entry-text { min-width: 0; }
.home-entry-text strong { display: block; font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.home-entry-text small { display: block; color: var(--pub-muted); font-size: 10px; line-height: 1.7; }
.home-entry-arrow { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f7f8fa; color: #7c8795; }
.home-hero-note { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 17px; color: #667485; font-size: 9px; }
.home-hero-note span { display: inline-flex; align-items: center; gap: 5px; }
.home-hero-note i { color: var(--pub-success); }

/* Visual */
.home-hero-visual { min-height: 465px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-road-card {
    position: relative;
    width: min(100%, 480px);
    min-height: 370px;
    padding: 20px;
    background: linear-gradient(145deg, var(--pub-navy), var(--pub-navy-3));
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(23,37,59,.22);
    overflow: hidden;
}
.hero-road-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 38px solid rgba(255,255,255,.035);
    border-radius: 50%;
    right: -100px;
    top: -85px;
}
.hero-road-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(245,130,32,.08);
    border-radius: 35px;
    transform: rotate(30deg);
    left: -85px;
    bottom: -90px;
}
.hero-road-topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 10px; }
.hero-road-brand { display: inline-flex; gap: 7px; align-items: center; font-weight: 900; }
.hero-road-brand i { color: var(--pub-orange); }
.hero-road-status { display: inline-flex; gap: 6px; align-items: center; color: #bcc7d4; font-size: 8px; }
.hero-road-status i { color: #54b283; font-size: 7px; }
.hero-road-map { position: relative; z-index: 2; height: 215px; margin-top: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; overflow: hidden; }
.road-line { position: absolute; display: block; height: 8px; background: rgba(255,255,255,.11); border-radius: 999px; transform-origin: right center; }
.road-line-one { width: 260px; top: 121px; right: 83px; transform: rotate(-17deg); }
.road-line-two { width: 160px; top: 89px; right: 235px; transform: rotate(22deg); }
.road-dot { position: absolute; z-index: 3; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.road-dot-start { right: 47px; bottom: 40px; color: var(--pub-orange); }
.road-dot-end { left: 38px; top: 35px; color: #4d657f; }
.road-truck { position: absolute; z-index: 4; right: 48%; top: 43%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--pub-orange); color: #fff; font-size: 18px; box-shadow: 0 10px 25px rgba(245,130,32,.32); }
.hero-road-route { position: relative; z-index: 2; margin-top: 15px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; color: #fff; }
.hero-road-route > div { min-width: 0; }
.hero-road-route span { display: block; color: #8f9eaf; font-size: 8px; margin-bottom: 3px; }
.hero-road-route strong { display: block; font-size: 9px; white-space: nowrap; }
.hero-road-route > i { color: #617184; }
.hero-floating-card {
    position: absolute;
    z-index: 4;
    min-width: 165px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--pub-border);
    background: rgba(255,255,255,.97);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(23,37,59,.14);
}
.hero-floating-card > span { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.hero-floating-card strong { display: block; color: var(--pub-navy); font-size: 10px; margin-bottom: 2px; }
.hero-floating-card small { display: block; color: var(--pub-muted); font-size: 8px; }
.hero-floating-owner { top: 39px; left: -12px; }
.hero-floating-owner > span { color: var(--pub-orange); background: var(--pub-orange-soft); }
.hero-floating-driver { bottom: 32px; right: -8px; }
.hero-floating-driver > span { color: var(--pub-navy); background: #edf1f6; }

/* Sections */
.home-section { padding: 74px 0; }
.home-audience-section { background: #fff; }
.home-section-head { max-width: 690px; margin: 0 auto 35px; text-align: center; }
.home-section-head > span, .home-section-label { display: inline-block; color: var(--pub-orange); font-size: 10px; font-weight: 900; margin-bottom: 8px; }
.home-section-head h2, .home-how-copy h2 { color: var(--pub-navy); font-size: 25px; line-height: 1.7; font-weight: 950; margin: 0 0 9px; }
.home-section-head p, .home-how-copy > p { margin: 0; color: var(--pub-muted); font-size: 11px; line-height: 2.05; }
.home-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.home-audience-card { padding: 24px; border: 1px solid var(--pub-border); border-radius: 18px; background: #fff; transition: .18s ease; }
.home-audience-card:hover { transform: translateY(-3px); box-shadow: var(--pub-shadow); border-color: #d5dce5; }
.home-audience-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--pub-orange-soft); color: var(--pub-orange); font-size: 18px; }
.home-audience-card:nth-child(2) .home-audience-icon { background: #eef2f7; color: var(--pub-navy); }
.home-audience-card:nth-child(3) .home-audience-icon { background: #f1f3f6; color: #46586e; }
.home-audience-card h3 { margin: 14px 0 6px; color: var(--pub-navy); font-size: 14px; font-weight: 900; }
.home-audience-card p { margin: 0; color: var(--pub-muted); font-size: 10px; line-height: 2; }
.home-how-section { background: var(--pub-bg); border-top: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; }
.home-how-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 55px; align-items: center; }
.home-how-copy { max-width: 470px; }
.home-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--pub-orange); font-size: 10px; font-weight: 900; }
.home-text-link:hover { color: var(--pub-orange-dark); }
.home-steps { display: grid; gap: 10px; }
.home-step { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--pub-border); background: #fff; border-radius: 15px; }
.home-step-number { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--pub-navy); color: #fff; border-radius: 11px; font-size: 11px; font-weight: 900; }
.home-step strong { display: block; color: var(--pub-navy); font-size: 11px; margin: 1px 0 5px; }
.home-step p { margin: 0; color: var(--pub-muted); font-size: 9px; line-height: 1.9; }

/* Final CTA */
.home-final-cta { padding: 58px 0 70px; background: #fff; }
.home-final-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 31px 34px; border-radius: 22px; background: var(--pub-navy); color: #fff; overflow: hidden; position: relative; }
.home-final-card::after { content: ""; position: absolute; left: -50px; bottom: -95px; width: 220px; height: 220px; border: 38px solid rgba(255,255,255,.04); border-radius: 50%; }
.home-final-card > div { position: relative; z-index: 2; }
.home-final-card > div:first-child > span { color: #ffb577; font-size: 9px; font-weight: 900; }
.home-final-card h2 { margin: 5px 0 7px; font-size: 21px; font-weight: 950; }
.home-final-card p { margin: 0; color: #aebac8; font-size: 10px; }
.home-final-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.home-btn { min-height: 44px; padding: 10px 14px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; font-weight: 900; border: 1px solid transparent; }
.home-btn-primary { background: var(--pub-orange); color: #fff; }
.home-btn-primary:hover { background: var(--pub-orange-dark); color: #fff; }
.home-btn-secondary { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; }
.home-btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Footer */
.public-footer { border-top: 1px solid var(--pub-border); background: #fff; }
.public-footer-inner { width: min(1180px, calc(100% - 40px)); min-height: 100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.public-footer-brand { display: flex; align-items: center; gap: 9px; }
.public-footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.public-footer-brand strong { display: block; color: var(--pub-navy); font-size: 11px; }
.public-footer-brand span { display: block; color: var(--pub-muted); font-size: 8px; margin-top: 2px; }
.public-footer-links { display: flex; gap: 15px; align-items: center; justify-content: center; }
.public-footer-links a { color: #667384; font-size: 9px; font-weight: 700; }
.public-footer-links a:hover { color: var(--pub-orange); }
.public-footer-note { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: #7a8695; font-size: 8px; }
.public-footer-note i { color: var(--pub-orange); }

/* Account screens - retained */
.auth-wrap{max-width:1080px;margin:0 auto;padding:46px 20px;display:grid;grid-template-columns:.9fr 1.1fr;gap:25px;align-items:stretch}.auth-card{background:#fff;border:1px solid var(--pub-border);border-radius:23px;padding:25px;box-shadow:0 12px 34px rgba(23,37,59,.06)}.auth-head{margin-bottom:20px}.auth-icon{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:var(--pub-orange-soft);color:var(--pub-orange);font-size:19px;margin-bottom:12px}.auth-head h1{font-size:20px;font-weight:950;color:var(--pub-navy);margin:0 0 7px}.auth-head p{font-size:12px;color:var(--pub-muted);line-height:1.9;margin:0}.auth-field{margin-bottom:14px}.auth-field label{display:block;font-size:12px;font-weight:900;color:#47566a;margin-bottom:7px}.auth-control{width:100%;height:47px;border:1px solid #dce3eb;border-radius:12px;padding:10px 12px;outline:none;text-align:right;font-size:13px}.auth-control:focus{border-color:#efac72;box-shadow:0 0 0 3px rgba(245,130,32,.10)}.auth-submit{width:100%;height:46px;border:0;border-radius:12px;background:var(--pub-orange);color:#fff;font-size:12px;font-weight:900}.auth-submit:hover{filter:brightness(.97)}.auth-note{display:flex;gap:8px;align-items:flex-start;background:#f8fafc;border:1px solid var(--pub-border);border-radius:12px;padding:10px 11px;margin-top:14px;color:var(--pub-muted);font-size:10px;line-height:1.9}.auth-note i{color:var(--pub-orange);margin-top:3px}.auth-side{border-radius:23px;padding:28px;background:linear-gradient(135deg,var(--pub-navy),#101b2c);color:#fff;position:relative;overflow:hidden}.auth-side:before{content:"";position:absolute;width:260px;height:260px;border:45px solid rgba(255,255,255,.04);border-radius:50%;left:-90px;top:-80px}.auth-side h2{position:relative;z-index:2;font-size:18px;margin:0 0 8px;font-weight:950}.auth-side>p{position:relative;z-index:2;color:#bdc9d6;font-size:12px;line-height:2;margin:0}.auth-features{position:relative;z-index:2;display:grid;gap:9px;margin-top:20px}.auth-feature{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.06);border-radius:13px;padding:11px}.auth-feature i{width:34px;height:34px;border-radius:10px;background:rgba(245,130,32,.16);color:#ffb77a;display:inline-flex;align-items:center;justify-content:center}.auth-feature strong{display:block;font-size:12px}.auth-feature span{display:block;font-size:10px;color:#aebac7;margin-top:3px}.auth-switch{font-size:10px;color:var(--pub-muted);text-align:center;margin-top:14px}.auth-switch a{color:var(--pub-orange);font-weight:900}.driver-auth .auth-icon{background:#eef2f7;color:var(--pub-navy)}.driver-auth .auth-submit{background:var(--pub-navy)}.driver-auth .auth-feature i{background:rgba(255,255,255,.09);color:#d7e0ea}.validation-summary-errors,.field-validation-error{color:#c74444;font-size:9px}.validation-summary-errors ul{padding-right:17px}.otp-control{text-align:center;direction:ltr;letter-spacing:7px;font-size:18px;font-weight:900}.auth-success-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;background:#eaf8f1;color:#187e59;font-size:10px;font-weight:900;margin-bottom:10px}.admin-auth .auth-icon{background:#eef2f8;color:var(--pub-navy)}.admin-auth .auth-submit{background:var(--pub-navy)}.admin-auth .auth-feature i{background:rgba(245,130,32,.16);color:#ffb77a}.auth-otp-timer{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 14px;padding:9px 11px;border:1px solid #e8edf2;border-radius:12px;background:#f8fafc;color:#586779;font-size:10px;font-weight:800}.auth-otp-timer i{color:var(--pub-orange)}.auth-otp-timer strong{direction:ltr;font-variant-numeric:tabular-nums;color:var(--pub-navy);font-size:13px;letter-spacing:.5px}.auth-otp-timer.is-expired{border-color:#f2c9c9;background:#fff5f5;color:#b53d3d}.auth-otp-timer.is-expired i,.auth-otp-timer.is-expired strong{color:#b53d3d}.auth-submit:disabled{cursor:not-allowed;opacity:.58;filter:none}

@media (max-width: 980px) {
    .public-nav-link:first-child, .public-blog-link { display: none; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 38px; }
    .home-hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
    .home-kicker { margin: 0 auto; }
    .home-hero-lead, .home-entry-actions { margin-left: auto; margin-right: auto; }
    .home-hero-note { justify-content: center; }
    .home-hero-visual { width: min(580px, 100%); margin: 0 auto; }
    .home-audience-grid { grid-template-columns: 1fr; }
    .home-how-grid { grid-template-columns: 1fr; gap: 30px; }
    .home-how-copy { max-width: 680px; }
    .home-final-card { flex-direction: column; align-items: flex-start; }
    .home-final-actions { justify-content: flex-start; }
    .public-footer-inner { grid-template-columns: 1fr; padding: 22px 0; text-align: center; gap: 15px; }
    .public-footer-brand, .public-footer-links, .public-footer-note { justify-content: center; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { order: -1; }
}

@media (max-width: 720px) {
    .home-container, .public-header-inner, .public-footer-inner { width: min(100% - 26px, 1180px); }

    /* Mobile header: keep both entry actions readable instead of collapsing Driver to icon-only. */
    .public-header-inner {
        min-height: auto;
        padding: 9px 0 10px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .public-brand {
        justify-content: center;
    }
    .public-brand img { width: 39px; height: 39px; }
    .public-brand-copy > span { display: none; }
    .public-brand-copy strong { font-size: 14px; }

    .public-nav {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 7px;
    }
    .public-nav-link {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding: 9px 7px;
        font-size: 9px;
        line-height: 1.65;
        white-space: normal;
        text-align: center;
    }
    .public-driver-link {
        width: 100%;
        padding: 9px 7px;
        font-size: 10px;
    }
    .public-driver-link i { font-size: 13px; flex: 0 0 auto; }
    .public-owner-link {
        padding: 9px 7px;
        font-size: 9px;
    }
    .public-owner-link i { display: inline-block; flex: 0 0 auto; }
    .home-hero { padding: 43px 0 42px; }
    .home-hero-copy h1 { font-size: 31px; margin-top: 14px; }
    .home-hero-lead { font-size: 11px; line-height: 2; }
    .home-entry-card { grid-template-columns: 46px 1fr 26px; min-height: 73px; padding: 10px 11px; text-align: right; }
    .home-entry-icon { width: 43px; height: 43px; }
    .home-entry-text strong { font-size: 11px; }
    .home-entry-text small { font-size: 8px; }
    .home-hero-note { gap: 9px 12px; font-size: 8px; }
    .home-hero-visual { min-height: 375px; }
    .hero-road-card { min-height: 325px; border-radius: 23px; padding: 15px; }
    .hero-road-map { height: 180px; }
    .road-line-one { width: 220px; top: 105px; right: 65px; }
    .road-line-two { width: 130px; top: 78px; right: 190px; }
    .hero-floating-card { min-width: 142px; padding: 8px; }
    .hero-floating-owner { left: -4px; top: 27px; }
    .hero-floating-driver { right: -4px; bottom: 23px; }
    .home-section { padding: 52px 0; }
    .home-section-head h2, .home-how-copy h2 { font-size: 21px; }
    .home-audience-card { padding: 19px; }
    .home-final-cta { padding: 42px 0 52px; }
    .home-final-card { padding: 24px 20px; border-radius: 18px; }
    .home-final-card h2 { font-size: 18px; }
    .home-final-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
    .public-footer-links { flex-wrap: wrap; }
    .auth-wrap { padding: 22px 13px; gap: 13px; }
    .auth-card, .auth-side { border-radius: 18px; padding: 19px; }
}

@media (max-width: 430px) {
    .public-brand-copy { display: flex; }
    .public-owner-link { font-size: 8.5px; }
    .public-driver-link { font-size: 9.5px; }
    .home-hero-copy h1 { font-size: 27px; }
    .home-kicker { font-size: 9px; }
    .home-hero-note span:last-child { display: none; }
    .hero-road-route strong { font-size: 8px; }
    .hero-floating-card { min-width: 128px; }
    .hero-floating-card small { display: none; }
}

/* Patch 06 Fix - compact mobile authentication shell */
.mj-auth-mobile {
    min-height: 100vh;
    margin: 0;
    background: #eef1f5;
    color: #17253b;
}

.mobile-auth-shell {
    width: min(calc(100% - 24px), 430px);
    min-height: 100vh;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
}

.mobile-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0 auto 16px;
    color: #17253b;
    text-decoration: none;
}

.mobile-auth-brand:hover {
    color: #17253b;
    text-decoration: none;
}

.mobile-auth-brand img {
    display: block;
    width: 148px;
    max-width: 48vw;
    height: auto;
    object-fit: contain;
}

.mj-auth-mobile .auth-wrap {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
}

.mj-auth-mobile .auth-card {
    width: 100%;
    margin: 0;
    padding: 22px 18px;
    border: 1px solid #e1e6ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23,37,59,.07);
}

.mj-auth-mobile .auth-side {
    display: none !important;
}

.mj-auth-mobile .auth-head {
    margin-bottom: 18px;
    text-align: center;
}

.mj-auth-mobile .auth-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 13px;
}

.mj-auth-mobile .auth-head h1 {
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1.7;
}

.mj-auth-mobile .auth-head p {
    max-width: 330px;
    margin: 0 auto;
    font-size: 10.5px;
    line-height: 2;
}

.mj-auth-mobile .auth-field label {
    font-size: 11px;
}

.mj-auth-mobile .auth-control {
    height: 50px;
    border-radius: 12px;
    font-size: 14px;
}

.mj-auth-mobile .auth-submit {
    height: 50px;
    border-radius: 12px;
    font-size: 11px;
}

.mj-auth-mobile .auth-note {
    margin-top: 13px;
    font-size: 9.5px;
}

.mj-auth-mobile .auth-switch {
    margin-top: 13px;
    font-size: 9.5px;
    line-height: 1.9;
}

.mj-auth-mobile .auth-help {
    display: block;
    margin-top: 7px;
    color: #8390a1;
    font-size: 9px;
    line-height: 1.8;
}

/* Patch 06 Fix - splash screen, preserving the real logo aspect ratio */
.mj-app-entry {
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    background: #17253b;
    color: #fff;
    font-family: IRANSansWeb, Tahoma, Arial, sans-serif;
}

.app-entry-screen {
    width: min(100%, 430px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(30px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));
    text-align: center;
}

.app-entry-screen::before,
.app-entry-screen::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 34px solid rgba(255,255,255,.035);
    pointer-events: none;
}

.app-entry-screen::before {
    width: 250px;
    height: 250px;
    top: -120px;
    left: -115px;
}

.app-entry-screen::after {
    width: 220px;
    height: 220px;
    right: -110px;
    bottom: -95px;
}

.app-entry-mark {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.app-entry-mark img {
    display: block;
    width: 210px;
    max-width: 72vw;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0,0,0,.18));
}

.app-entry-ring {
    display: none;
}

.app-entry-copy {
    position: relative;
    z-index: 2;
}

.app-entry-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    line-height: 1.7;
}

.app-entry-copy p {
    margin: 6px 0 0;
    color: #bec9d6;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.9;
}

.app-entry-progress {
    position: absolute;
    bottom: calc(34px + env(safe-area-inset-bottom));
    width: 84px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    overflow: hidden;
}

.app-entry-progress span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: #f58220;
    animation: mj-entry-progress 1.1s ease-in-out infinite;
}

@keyframes mj-entry-progress {
    0% { transform: translateX(120%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(-220%); }
}

@media (min-width: 700px) {
    .mj-app-entry {
        background: #e9edf2;
    }

    .app-entry-screen {
        background: #17253b;
        box-shadow: 0 0 0 1px rgba(23,37,59,.04), 0 18px 55px rgba(23,37,59,.16);
    }
}

@media (max-width: 430px) {
    .mobile-auth-shell {
        width: min(calc(100% - 20px), 430px);
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .mobile-auth-brand img {
        width: 132px;
    }

    .mj-auth-mobile .auth-card {
        padding: 19px 15px;
        border-radius: 18px;
    }

    .app-entry-mark img {
        width: 188px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-entry-progress span {
        animation: none;
        width: 100%;
    }
}
