/* Mobile-only prelander */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(165deg, #fff5f0 0%, #fff8f0 50%, #fff 100%);
    color: #1a1a1a;
    direction: rtl;
    text-align: right;
    min-height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

:root {
    --rl-blue: #0d57d1;
    --rl-blue-2: #0b4ab2;
    --rl-ink: #101828;
    --rl-muted: #475467;
    --rl-border: rgba(16, 24, 40, 0.12);
}

.prelander-container {
    width: 100%;
    max-width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.prelander-header {
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.prelander-logo {
    max-width: 300px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.prelander-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.prelander-creo {
    width: 100%;
    height: auto;
    display: block;
}

.prelander-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.prelander-cta:active {
    transform: scale(0.98);
}

.prelander-cta--leumi {
    background: linear-gradient(180deg, #0078c1 0%, #005a94 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 90, 148, 0.35);
}

.prelander-cta--isra {
    background: linear-gradient(180deg, var(--rl-blue) 0%, var(--rl-blue-2) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(13, 87, 209, 0.35);
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.modal--open {
    display: block;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.6);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal__content {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(16, 24, 40, 0.28);
    padding: 0 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.16s ease, opacity 0.16s ease;
    border: 1px solid rgba(16, 24, 40, 0.08);
}

.modal--open .modal__content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal__center {
    text-align: center;
    padding: 18px 6px 4px;
}

.modal__divider {
    height: 1px;
    background: rgba(16, 24, 40, 0.10);
    margin: 14px 0;
}

.modal__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal__logo {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.18);
    border: 1px solid rgba(16, 24, 40, 0.08);
    margin: 0 auto 12px;
}

.modal__title {
    font-size: 24px;
    font-weight: 950;
    color: var(--rl-ink);
    letter-spacing: 0.01em;
}

.modal__text {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--rl-muted);
}

.modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    background: linear-gradient(180deg, var(--rl-blue) 0%, var(--rl-blue-2) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(13, 87, 209, 0.28);
    transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

@media (max-width: 420px) {
    .modal__content {
        max-width: 100%;
        border-radius: 16px;
    }

    .modal__logo {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }
}

.modal__button:active {
    transform: scale(0.99);
    filter: brightness(0.98);
}

.modal__close {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--rl-border);
    background: #fff;
    font-weight: 800;
    cursor: pointer;
    color: var(--rl-ink);
}

.modal__close:active {
    transform: scale(0.99);
}
