/* Phase MB1: ISDM NxT Mobile Applications pages (isdmnext.in + isdmgroup.com). Everything under .mb-page. */
.mb-page { --c1: #4338ca; --c2: #db2777; --ink: #14123b; --muted: #5b5a7d; font-family: Poppins, 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: #f6f5ff; overflow-x: clip; }
.mb-page *, .mb-page *::before, .mb-page *::after { box-sizing: border-box; }
.mb-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 16px; }
.mb-sec { padding-top: 34px; }
.mb-sec:last-child { padding-bottom: 48px; }
.mb-page h1, .mb-page h2, .mb-page h3 { font-family: inherit; letter-spacing: -.01em; }
.mb-h2 { font-size: 24px !important; font-weight: 800 !important; color: var(--ink) !important; margin: 0 0 14px !important; }
.mb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none !important; border: 0; cursor: pointer; line-height: 1.2; }
.mb-btn small { font-weight: 500; font-size: 12px; opacity: .9; }
.mb-btn-pri { background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff !important; box-shadow: 0 10px 22px rgba(20, 18, 59, .18); }
.mb-btn-hot { background: #fff; color: var(--c1) !important; box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.mb-btn-glass { background: rgba(255, 255, 255, .16); color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .45); }
.mb-btn-line { background: #fff; color: var(--c1) !important; border: 1.5px solid #e1e0f3; }
/* hero */
.mb-hero { position: relative; color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--c2) 0%, var(--c1) 55%, #0f0d2e 100%); overflow: hidden; }
.mb-page > .mb-hero:not(.mb-hero-app) { --c1: #4338ca; --c2: #db2777; }
.mb-hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.mb-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.mb-kick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.mb-hero h1 { margin: 14px 0 10px !important; font-size: clamp(28px, 4vw, 44px) !important; line-height: 1.12 !important; font-weight: 800 !important; color: #fff !important; }
.mb-hero p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9) !important; max-width: 600px; }
.mb-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mb-hero-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.mb-hero-chips img { border-radius: 50%; background: #fff; }
.mb-hero-art { position: relative; height: 470px; }
.mb-phone { margin: 0; border-radius: 34px; padding: 8px; background: #0f0d2e; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.mb-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.mb-hero-art .mb-phone { position: absolute; width: 210px; }
.mb-hero-art .mb-phone-1 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.mb-hero-art .mb-phone-2 { left: 4%; top: 60px; transform: rotate(-8deg); z-index: 2; opacity: .95; }
.mb-hero-art .mb-phone-3 { right: 4%; top: 60px; transform: rotate(8deg); z-index: 1; opacity: .95; }
.mb-hero-one .mb-phone-1 { left: 22%; transform: none; }
.mb-hero-one .mb-phone-2 { left: auto; right: 4%; top: 70px; transform: rotate(6deg); }
/* list cards */
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.mb-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid #ecebf8; box-shadow: 0 12px 28px rgba(67, 56, 202, .08); overflow: hidden; scroll-margin-top: 90px; }
.mb-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.mb-card-top { display: flex; gap: 14px; align-items: center; }
.mb-icon { border-radius: 18px; box-shadow: 0 8px 18px rgba(20, 18, 59, .15); background: #fff; flex: 0 0 auto; }
.mb-icon-lg { border-radius: 24px; }
.mb-card h2 { margin: 0 !important; font-size: 20px !important; font-weight: 800 !important; color: var(--ink) !important; }
.mb-card-top span { font-size: 13px; color: var(--c1); font-weight: 600; }
.mb-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.mb-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mb-mini li { font-size: 14px; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.mb-mini i { color: var(--c1); font-size: 16px; }
.mb-card-cta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 6px; }
.mb-card-cta .mb-btn { padding: 10px; font-size: 14px; }
/* app page */
.mb-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; margin-bottom: 14px; }
.mb-app-id { display: flex; gap: 16px; align-items: center; }
.mb-app-id h1 { margin: 0 !important; }
.mb-app-id span { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.mb-lead { margin-top: 14px !important; font-size: 17px !important; }
.mb-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mb-qr-card { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); max-width: 430px; }
.mb-qr { width: 112px; height: 112px; flex: 0 0 auto; border-radius: 12px; background: #fff; padding: 4px; }
.mb-qr svg { width: 100%; height: 100%; display: block; }
.mb-qr-card b { display: block; font-size: 15px; }
.mb-qr-card span { font-size: 13px; color: rgba(255, 255, 255, .85); }
.mb-about { max-width: 820px; }
.mb-about h2 { font-size: 26px !important; font-weight: 800 !important; color: var(--ink) !important; margin: 0 0 8px !important; }
.mb-about p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.mb-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-top: 20px; }
.mb-feat { display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #ecebf8; }
.mb-feat-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 21px; }
.mb-feat-ic i { color: #fff; }
.mb-feat b { font-size: 16px; color: var(--ink); }
.mb-feat span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.mb-shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 18px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.mb-shots .mb-phone { scroll-snap-align: start; }
.mb-install { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #ecebf8; }
.mb-install h2 { font-size: 22px !important; font-weight: 800 !important; color: var(--ink) !important; margin: 0 0 14px !important; }
.mb-install ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.mb-install li { counter-increment: s; position: relative; padding: 14px 14px 14px 56px; border-radius: 16px; background: #f6f5ff; display: grid; gap: 3px; }
.mb-install li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-weight: 800; font-size: 14px; }
.mb-install b { font-size: 15px; } .mb-install span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.mb-note { margin: 12px 0 0; font-size: 13px; color: #8b89b3; }
.mb-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.mb-other { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #ecebf8; text-decoration: none !important; color: var(--ink) !important; }
.mb-other img { border-radius: 12px; flex: 0 0 auto; }
.mb-other span { display: grid; min-width: 0; } .mb-other b { font-size: 15px; } .mb-other small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) {
    .mb-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 28px; }
    .mb-hero-art { height: 360px; }
    .mb-hero-art .mb-phone { width: 165px; }
    .mb-hero-one .mb-phone-1 { left: 12%; }
}
@media (max-width: 480px) {
    .mb-hero-art { height: 300px; }
    .mb-hero-art .mb-phone { width: 140px; border-radius: 26px; padding: 6px; }
    .mb-hero-art .mb-phone img { border-radius: 21px; }
    .mb-card-cta { grid-template-columns: 1fr; }
    .mb-hero-cta .mb-btn { width: 100%; }
    .mb-qr-card { max-width: none; }
    .mb-qr { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: no-preference) { .mb-card { transition: transform .2s ease, box-shadow .2s ease; } .mb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(67, 56, 202, .14); } }
