/* ================================================================
   Mosaic Wallet - Landing Page Stylesheet
   Marketing page for the Mosaic Wallet prepaid utility product.
   Brand palette aligned with mosaic-home-services-landing.css.
   ================================================================ */

@font-face {
    font-family: "Montserrat";
    src:    url("../fonts/montserrat-regular.woff2") format("woff2"),
            url("../fonts/montserrat-regular.woff")  format("woff"),
            url("../fonts/montserrat-regular.ttf")   format("truetype");
    font-display: swap;
}

:root {
    --mw-brand: #1d44b8;
    --mw-brand-deep: #0a1733;
    --mw-brand-soft: rgba(29, 68, 184, 0.12);
    --mw-ink: #0c1330;
    --mw-ink-soft: #404040;
    --mw-body: #595959;
    --mw-line: #c0c0c0;
    --mw-surface: #f2f3f5;
    --mw-surface-2: #ebebeb;
    --mw-white: #ffffff;
    --mw-signal: #c0c0c0;
    --mw-signal-strong: #e5e5e5;
    --mw-radius: 18px;
    --mw-radius-lg: 28px;
    --mw-radius-pill: 999px;
    --mw-shadow: 0 20px 60px -25px rgba(11, 27, 72, 0.35);
    --mw-shadow-soft: 0 10px 30px -15px rgba(11, 27, 72, 0.25);
    --mw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --mw-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--mw-body);
    margin: 0;
    background: var(--mw-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--mw-ink); font-weight: 200; letter-spacing: -0.3px; line-height: 1.15; margin: 0 0 18px; }
h1 strong, h2 strong, h3 strong { font-weight: 600; }
p { margin: 0 0 16px; }

/* ---------- Top Navigation ---------- */
.mosaic-wallet-top-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 max(3vw, 16px);
    background: rgba(10, 23, 51, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}
.mosaic-wallet-top-navigation a {
    font-size: 13px;
    letter-spacing: 1.75px;
    padding: 14px 14px;
    color: var(--mw-white);
    text-transform: uppercase;
    transition: color 0.25s var(--mw-ease), background 0.25s var(--mw-ease);
    white-space: nowrap;
}
.mosaic-wallet-top-navigation a:not(.cta):hover { color: #b9d0ff; }
.mosaic-wallet-top-navigation a.cta {
    background: var(--mw-white);
    color: var(--mw-brand);
    border-radius: var(--mw-radius-pill);
    padding: 10px 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.mosaic-wallet-top-navigation a.cta:hover {
    background: var(--mw-signal-strong);
}
.mosaic-wallet-top-navigation .mosaic-wallet-brand {
    font-weight: 600;
    letter-spacing: 2.5px;
}
.mosaic-wallet-shell { padding-top: 56px; }

/* ---------- Hero ---------- */
.mosaic-wallet-hero {
    position: relative;
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px max(6vw, 24px) 100px;
    color: var(--mw-white);
    background:
        radial-gradient(ellipse at 20% 20%, rgba(74, 124, 224, 0.55), transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(192, 192, 192, 0.22), transparent 60%),
        linear-gradient(160deg, var(--mw-brand-deep) 0%, var(--mw-brand) 100%);
    overflow: hidden;
}
.mosaic-wallet-hero-content { position: relative; z-index: 2; max-width: 920px; }
.mosaic-wallet-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mw-white);
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: var(--mw-radius-pill);
    margin-bottom: 28px;
    font-weight: 600;
}
.mosaic-wallet-hero h1 {
    color: var(--mw-white);
    font-size: clamp(2.2rem, 5.6vw, 4.4rem);
}
.mosaic-wallet-hero h1 strong {
    background: linear-gradient(120deg, #ffffff 0%, #b9d0ff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: mwShine 8s linear infinite;
}
@keyframes mwShine { to { background-position: 200% center; } }
.mosaic-wallet-hero p.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 36px;
}
.mosaic-wallet-cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.mosaic-wallet-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--mw-white);
    color: var(--mw-brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--mw-radius-pill);
    border: 2px solid var(--mw-white);
    transition: transform 0.25s var(--mw-ease), background 0.25s var(--mw-ease), color 0.25s var(--mw-ease);
}
.mosaic-wallet-button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--mw-white);
    border-color: var(--mw-white);
}
.mosaic-wallet-button.ghost {
    background: transparent;
    color: var(--mw-white);
    border-color: rgba(255, 255, 255, 0.5);
}
.mosaic-wallet-button.ghost:hover {
    background: var(--mw-white);
    color: var(--mw-brand);
    border-color: var(--mw-white);
}

/* ---------- Section ---------- */
.mosaic-wallet-section {
    padding: clamp(80px, 10vw, 130px) max(6vw, 24px);
    max-width: var(--mw-max);
    margin: 0 auto;
}
.mosaic-wallet-section.alt {
    max-width: none;
    background: var(--mw-surface);
}
.mosaic-wallet-section.alt > .mosaic-wallet-inner {
    max-width: var(--mw-max);
    margin: 0 auto;
}
.mosaic-wallet-section.dark {
    max-width: none;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(74, 124, 224, 0.4), transparent 60%),
        linear-gradient(160deg, var(--mw-brand-deep) 0%, var(--mw-brand) 100%);
    color: var(--mw-white);
}
.mosaic-wallet-section.dark .mosaic-wallet-inner {
    max-width: var(--mw-max);
    margin: 0 auto;
}
.mosaic-wallet-section.dark h2 { color: var(--mw-white); }
.mosaic-wallet-section.dark p { color: rgba(255, 255, 255, 0.85); }
.mosaic-wallet-section.dark .mosaic-wallet-section-eyebrow {
    color: var(--mw-white);
    background: rgba(255, 255, 255, 0.12);
}
.mosaic-wallet-section-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mw-brand);
    background: var(--mw-brand-soft);
    padding: 8px 18px;
    border-radius: var(--mw-radius-pill);
    margin-bottom: 20px;
    font-weight: 600;
}
.mosaic-wallet-section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    text-align: center;
}
.mosaic-wallet-section-lede {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
    line-height: 1.7;
}
.mosaic-wallet-section-center { text-align: center; }

/* ---------- Pillars grid ---------- */
.mosaic-wallet-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.mosaic-wallet-pillar {
    background: var(--mw-white);
    border: 1px solid rgba(29, 68, 184, 0.12);
    border-radius: var(--mw-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--mw-shadow-soft);
    transition: transform 0.35s var(--mw-ease), box-shadow 0.35s var(--mw-ease);
}
.mosaic-wallet-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--mw-shadow);
}
.mosaic-wallet-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--mw-brand-soft);
    color: var(--mw-brand);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.mosaic-wallet-pillar-icon svg { width: 24px; height: 24px; }
.mosaic-wallet-pillar h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.mosaic-wallet-pillar p { font-size: 0.92rem; line-height: 1.6; margin: 0; color: var(--mw-ink-soft); }

/* ---------- How-it-works steps ---------- */
.mosaic-wallet-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    counter-reset: mwstep;
}
.mosaic-wallet-step {
    position: relative;
    background: var(--mw-white);
    border-radius: var(--mw-radius-lg);
    padding: 36px 28px 28px;
    border-top: 4px solid var(--mw-brand);
    box-shadow: var(--mw-shadow-soft);
    counter-increment: mwstep;
}
.mosaic-wallet-step::before {
    content: counter(mwstep, decimal-leading-zero);
    position: absolute;
    top: -20px;
    left: 24px;
    background: var(--mw-brand);
    color: var(--mw-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 14px;
    border-radius: var(--mw-radius-pill);
}
.mosaic-wallet-step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.mosaic-wallet-step p { font-size: 0.95rem; line-height: 1.6; color: var(--mw-ink-soft); margin: 0; }

/* ---------- Tips list ---------- */
.mosaic-wallet-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.mosaic-wallet-tip-card {
    background: var(--mw-white);
    border-radius: var(--mw-radius);
    padding: 28px 24px;
    border-left: 3px solid var(--mw-brand);
    box-shadow: var(--mw-shadow-soft);
}
.mosaic-wallet-tip-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; color: var(--mw-ink); }
.mosaic-wallet-tip-card ul { padding-left: 18px; margin: 0; }
.mosaic-wallet-tip-card li { font-size: 0.9rem; line-height: 1.6; color: var(--mw-ink-soft); margin-bottom: 6px; }

/* ---------- Funding box ---------- */
.mosaic-wallet-funding {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.mosaic-wallet-funding-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--mw-radius-lg);
    padding: 32px 28px;
    color: var(--mw-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mosaic-wallet-funding-card h3 { color: var(--mw-white); font-size: 1.2rem; font-weight: 600; margin-bottom: 16px; }
.mosaic-wallet-funding-card p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 10px; }
.mosaic-wallet-funding-card .mosaic-wallet-funding-detail {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: "Courier New", monospace;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: var(--mw-white);
    display: inline-block;
    margin-top: 6px;
}
.mosaic-wallet-reference {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 16px;
    line-height: 1.6;
}

/* ---------- Security ---------- */
.mosaic-wallet-trust-strip {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
}
.mosaic-wallet-trust-pill {
    padding: 8px 18px;
    background: var(--mw-brand-soft);
    color: var(--mw-brand);
    border-radius: var(--mw-radius-pill);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---------- Contact ---------- */
.mosaic-wallet-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    text-align: center;
    margin-top: 48px;
}
.mosaic-wallet-contact-card {
    background: var(--mw-white);
    border-radius: var(--mw-radius-lg);
    padding: 32px 24px;
    box-shadow: var(--mw-shadow-soft);
}
.mosaic-wallet-contact-card svg {
    width: 28px; height: 28px;
    color: var(--mw-brand);
    margin: 0 auto 14px;
}
.mosaic-wallet-contact-card strong {
    display: block;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mw-brand);
    margin-bottom: 6px;
    font-weight: 700;
}
.mosaic-wallet-contact-card a, .mosaic-wallet-contact-card span {
    color: var(--mw-ink); font-size: 0.98rem;
}
.mosaic-wallet-contact-card a:hover { color: var(--mw-brand); }

/* ---------- Footer ---------- */
.mosaic-wallet-footer {
    background: var(--mw-brand-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px max(6vw, 24px) 28px;
}
.mosaic-wallet-footer-inner {
    max-width: var(--mw-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.mosaic-wallet-footer h3 {
    color: var(--mw-white);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 700;
}
.mosaic-wallet-footer p, .mosaic-wallet-footer a {
    font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.75);
}
.mosaic-wallet-footer a:hover { color: var(--mw-signal-strong); }
.mosaic-wallet-footer-bottom {
    max-width: var(--mw-max);
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.55);
}

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
    .mosaic-wallet-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--mw-ease), transform 0.7s var(--mw-ease);
    }
    .mosaic-wallet-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .mosaic-wallet-hero { padding: 100px 20px 80px; }
    .mosaic-wallet-section { padding-left: 20px; padding-right: 20px; }
}


/* ---------- Proposal Form ---------- */
.mosaic-wallet-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 48px 48px;
    border-radius: 18px;
    background-color: #07112e;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(74, 124, 224, 0.18), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(29, 68, 184, 0.22), transparent 55%),
        linear-gradient(160deg, #07112e 0%, #0b1b48 60%, #102558 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 90px -25px rgba(7, 17, 46, 0.85),
        0 0 0 1px rgba(7, 17, 46, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
.mosaic-wallet-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a7ce0 0%, #ffffff 50%, #4a7ce0 100%);
    background-size: 200% auto;
    opacity: 0.85;
}
.mosaic-wallet-form {
    display: grid;
    gap: 18px;
}
.mosaic-wallet-form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mosaic-wallet-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.mosaic-wallet-form label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}
.mosaic-wallet-form input[type="text"],
.mosaic-wallet-form input[type="email"],
.mosaic-wallet-form input[type="tel"],
.mosaic-wallet-form input[type="number"],
.mosaic-wallet-form select,
.mosaic-wallet-form textarea {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: var(--mw-ink);
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}
.mosaic-wallet-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}
.mosaic-wallet-form input:focus,
.mosaic-wallet-form select:focus,
.mosaic-wallet-form textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 6px 18px -10px rgba(0, 0, 0, 0.5);
}
.mosaic-wallet-form-submit {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.75px;
    text-transform: uppercase;
    width: 100%;
    background: #ffffff;
    color: var(--mw-brand-deep);
    padding: 18px;
    margin-top: 8px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
}
.mosaic-wallet-form-submit:hover {
    background: var(--mw-brand);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 45px -15px rgba(74, 124, 224, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.mosaic-wallet-form .consent {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}
.mosaic-wallet-form .consent a {
    color: #ffffff;
    text-decoration: underline;
}

/* ---------- Toast & noscript ---------- */
.mosaic-wallet-toast {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mw-ink);
    color: var(--mw-white);
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.45);
    z-index: 99;
}
.mosaic-wallet-toast.error {
    background: #8a1f1f;
}
.mosaic-wallet-noscript {
    max-width: 720px;
    margin: 24px auto 0;
    padding: 14px 18px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    color: #856404;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 600px) {
    .mosaic-wallet-form-wrap { padding: 36px 22px 32px; }
    .mosaic-wallet-form .field-row { grid-template-columns: 1fr; }
}
