/* ==========================================================================
   Actiefhost Mail app: app page (mailApp.blade.php), download block (partials/mail-app-download),
   section on the hosting pages (partials/hosting/mail-app). Builds on ah-blocks.css.
   ========================================================================== */

/* Hero */
/* (the site draws the navy hero box: white text here) */
.ma-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
    background: #ffffff; border: 1px solid #dfe5f5; color: #131b5f; font-size: .9rem; font-weight: 600;
    box-shadow: 0 6px 18px -10px rgba(19, 27, 95, .35);
}
.ma-eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.ma-hero .ma-hero__title { margin-bottom: 18px; color: #ffffff; }
.ma-hero__lead { margin: 0 0 28px; color: #dfe5f5; font-size: 1.15rem; line-height: 1.65; max-width: 560px; }
.ma-hero__img { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
@media (max-width: 991.98px) { .ma-hero__img { max-width: 420px; margin-top: 32px; } }

/* Download block: badges, QR codes, "coming soon" */
.ma-download__badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ma-badge { display: inline-flex; height: 52px; border-radius: 9px; transition: transform .2s, box-shadow .2s; }
.ma-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }
.ma-badge:focus-visible { outline: 3px solid #2fb7ff; outline-offset: 3px; }
.ma-badge--play img { display: block; height: 52px; width: auto; } /* trimmed PNG: the image is the badge itself */
.ma-badge--gallery {
    align-items: center; gap: 9px; padding: 0 14px 0 10px; background: #000000; border: 1px solid #a6a6a6; color: #ffffff; text-decoration: none;
}
.ma-badge--gallery:hover, .ma-badge--gallery:focus { color: #ffffff; text-decoration: none; }
.ma-badge__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, #ff4b5c, #c8102e); color: #ffffff; font-size: 1rem;
}
.ma-badge__text { display: flex; flex-direction: column; line-height: 1.05; }
.ma-badge__text small { font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.ma-badge__text strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.ma-download__qr { display: flex; gap: 18px; margin-top: 22px; }
.ma-download__qr figure {
    display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px 10px 10px; border-radius: 16px;
    background: #ffffff; border: 1px solid #e3e8f2; box-shadow: 0 10px 24px -16px rgba(19, 27, 95, .35);
}
.ma-download__qr img { width: 96px; height: 96px; border-radius: 8px; }
.ma-download__qr figcaption { max-width: 120px; color: #3b4560; font-size: .85rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 767.98px) { .ma-download__qr { display: none; } } /* on a phone: tap the badge */
.ma-download__soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; color: #3b4560; font-size: .95rem; }
.ma-download__soon i { color: #131b5f; font-size: 1.05rem; }
.ma-download__soon span { margin-left: 4px; }
.ma-download__legal { margin: 14px 0 0; color: #8a93a8; font-size: .72rem; }
.ma-download--dark .ma-download__soon, .ma-download--dark .ma-download__soon i { color: #dfe5f5; }
.ma-download--dark .ma-download__legal { color: #8f9bc4; }
.ma-download--dark .ma-download__qr figure { border-color: rgba(255, 255, 255, .16); }

/* Screenshots: a horizontal strip that scrolls (snaps) */
.ma-screens {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 22px; padding: 6px 4px 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; outline: none;
}
.ma-screens__item { margin: 0; scroll-snap-align: start; }
.ma-screens__item img {
    display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 22px 40px -22px rgba(19, 27, 95, .55);
}

/* Every device */
.ma-devices { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.ma-devices__img { width: 100%; height: auto; }
.ma-platforms { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ma-platform {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #e3e8f2; border-radius: 16px; background: #ffffff;
}
.ma-platform.is-live { border-color: #bfe8cf; background: #f3fbf6; }
.ma-platform__icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
    background: #eef1fb; color: #131b5f; font-size: 1.2rem;
}
.ma-platform.is-live .ma-platform__icon { background: #131b5f; color: #ffffff; }
.ma-platform__text { flex: 1; min-width: 0; }
.ma-platform__text strong { display: block; color: #111827; }
.ma-platform__text span { display: block; color: #526173; font-size: .9rem; line-height: 1.45; }
.ma-platform__status { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.ma-platform__status.is-live { background: #16a34a; color: #ffffff; text-decoration: none; }
.ma-platform__status.is-live:hover { background: #15803d; color: #ffffff; }
.ma-platform__status.is-soon { background: #fff4d1; color: #7a5a00; }
@media (max-width: 991.98px) { .ma-devices { grid-template-columns: 1fr; } }

/* Privacy (navy section) */
.ma-privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ma-privacy h2 { color: #ffffff; }
.ma-privacy p { color: #dfe5f5; }
.ma-privacy .ah-head { margin: 0; }
.ma-privacy__checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ma-privacy__checks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe5f5; line-height: 1.55; }
.ma-privacy__checks li i { flex: none; margin-top: 4px; color: #ffcf2d; }
.ma-privacy__checks strong { color: #ffffff; }
@media (max-width: 991.98px) { .ma-privacy { grid-template-columns: 1fr; } }

.ma-start-download { display: flex; justify-content: center; margin-top: 36px; text-align: left; }

/* Section on the hosting pages */
.ma-promo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ma-promo__img { width: 100%; max-width: 520px; height: auto; justify-self: center; filter: drop-shadow(0 24px 34px rgba(19, 27, 95, .18)); }
.ma-promo .ah-head { margin: 0; }
.ma-promo .ah-checks { margin: 18px 0 24px; }
.ma-promo__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: #1d4ed8; }
@media (max-width: 991.98px) { .ma-promo { grid-template-columns: 1fr; } .ma-promo__img { max-width: 380px; } }
