/* ==========================================================================
   MOJAVE COMMUNICATIONS — 2026 REDESIGN SYSTEM
   Loaded after style.css + custom.css; intentionally overrides legacy rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Brand core */
    --mj-ink: #070D1A;
    --mj-ink-2: #0B1426;
    --mj-ink-3: #122036;
    --mj-blue: #2563eb;
    --mj-blue-deep: #1d4ed8;
    --mj-cyan: #38e1ff;
    --mj-orange: #ff6b35;
    --mj-orange-deep: #e8551f;
    --mj-sand: #f7f4ee;
    --mj-white: #ffffff;

    /* Text */
    --mj-text: #16203a;
    --mj-text-soft: #4b5872;
    --mj-text-inverse: #e9effb;
    --mj-text-inverse-soft: #93a3c4;

    /* Surfaces */
    --mj-surface: #ffffff;
    --mj-surface-alt: #f3f6fc;
    --mj-border: #e3e9f4;
    --mj-border-dark: rgba(133, 170, 255, 0.14);

    /* Effects */
    --mj-glow-cyan: 0 0 24px rgba(56, 225, 255, 0.35);
    --mj-shadow-sm: 0 1px 2px rgba(10, 18, 38, 0.06), 0 2px 8px rgba(10, 18, 38, 0.06);
    --mj-shadow-md: 0 4px 14px rgba(10, 18, 38, 0.08), 0 12px 32px rgba(10, 18, 38, 0.10);
    --mj-shadow-lg: 0 12px 28px rgba(10, 18, 38, 0.14), 0 32px 64px rgba(10, 18, 38, 0.16);
    --mj-shadow-orange: 0 6px 20px rgba(255, 107, 53, 0.35);

    /* Typography */
    --mj-font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    --mj-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Geometry */
    --mj-radius-sm: 8px;
    --mj-radius: 14px;
    --mj-radius-lg: 22px;
    --mj-radius-pill: 999px;

    /* Motion */
    --mj-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --mj-fast: 0.22s;
    --mj-slow: 0.6s;

    /* Legacy variable remap so old inline styles inherit new palette */
    --primary-color: var(--mj-blue);
    --secondary-color: var(--mj-blue-deep);
    --accent-color: var(--mj-orange);
    --text-dark: var(--mj-text);
    --text-light: var(--mj-text-soft);
    --bg-light: var(--mj-surface-alt);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
body {
    font-family: var(--mj-font-body);
    color: var(--mj-text);
    background: var(--mj-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mj-font-display);
    color: var(--mj-text);
    letter-spacing: -0.02em;
}

::selection {
    background: rgba(56, 225, 255, 0.3);
    color: var(--mj-ink);
}

/* Buttons (legacy .btn upgraded) */
.btn,
button.btn {
    font-family: var(--mj-font-display);
    font-weight: 600;
    border-radius: var(--mj-radius-pill);
    letter-spacing: 0.01em;
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease), background var(--mj-fast) var(--mj-ease);
}

.btn-primary {
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    box-shadow: var(--mj-shadow-orange);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #ff7d4d 0%, var(--mj-orange) 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--mj-blue);
    color: var(--mj-blue);
}

.btn-secondary:hover {
    background: var(--mj-blue);
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.mj-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* 3a. Topbar — dark control strip */
.mj-topbar {
    background: linear-gradient(90deg, var(--mj-ink) 0%, var(--mj-ink-2) 55%, var(--mj-ink) 100%);
    border-bottom: 1px solid var(--mj-border-dark);
    position: relative;
    overflow: hidden;
}

.mj-topbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 40px at 20% 120%, rgba(56, 225, 255, 0.12), transparent 70%),
        radial-gradient(600px 40px at 85% -20%, rgba(37, 99, 235, 0.18), transparent 70%);
    pointer-events: none;
}

.mj-topbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.45rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Experience switcher */
.mj-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--mj-border-dark);
    border-radius: var(--mj-radius-pill);
    backdrop-filter: blur(8px);
}

.mj-switch a {
    font-family: var(--mj-font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--mj-text-inverse-soft);
    text-decoration: none;
    padding: 0.28rem 0.95rem;
    border-radius: var(--mj-radius-pill);
    transition: color var(--mj-fast) ease, background var(--mj-fast) ease, box-shadow var(--mj-fast) ease;
    white-space: nowrap;
}

.mj-switch a:hover {
    color: var(--mj-white);
}

.mj-switch a.active {
    color: var(--mj-ink);
    background: linear-gradient(120deg, var(--mj-cyan) 0%, #7dd3fc 100%);
    box-shadow: var(--mj-glow-cyan);
    font-weight: 600;
}

.mj-topbar__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mj-topbar__status {
    display: none;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mj-text-inverse-soft);
    font-family: var(--mj-font-display);
}

@media (min-width: 1000px) {
    .mj-topbar__status { display: inline-flex; }
}

.mj-topbar__status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
    animation: mjPulse 2.4s ease-in-out infinite;
}

@keyframes mjPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.8); }
}

.mj-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--mj-font-display);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--mj-white);
    text-decoration: none;
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    padding: 0.34rem 1.05rem;
    border-radius: var(--mj-radius-pill);
    box-shadow: var(--mj-shadow-orange);
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease);
    white-space: nowrap;
}

.mj-topbar__phone:hover {
    color: var(--mj-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(255, 107, 53, 0.5);
}

/* 3b. Mainbar — light glass */
.mj-mainbar {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(227, 233, 244, 0.9);
    transition: box-shadow var(--mj-fast) ease, background var(--mj-fast) ease;
}

.mj-header.is-scrolled .mj-mainbar {
    box-shadow: var(--mj-shadow-md);
}

.mj-mainbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.mj-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.mj-logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.mj-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mj-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mj-nav__links a {
    position: relative;
    display: inline-block;
    font-family: var(--mj-font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mj-text);
    text-decoration: none;
    padding: 0.55rem 0.95rem;
    border-radius: var(--mj-radius-sm);
    transition: color var(--mj-fast) ease, background var(--mj-fast) ease;
}

.mj-nav__links a:hover {
    color: var(--mj-blue);
    background: rgba(37, 99, 235, 0.07);
}

.mj-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.85rem;
    font-family: var(--mj-font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--mj-white);
    text-decoration: none;
    background: linear-gradient(120deg, var(--mj-blue) 0%, var(--mj-blue-deep) 100%);
    padding: 0.6rem 1.4rem;
    border-radius: var(--mj-radius-pill);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease);
    white-space: nowrap;
}

.mj-nav__cta:hover {
    color: var(--mj-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.mj-nav__cta .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mj-cyan);
    box-shadow: 0 0 8px var(--mj-cyan);
    animation: mjPulse 2s ease-in-out infinite;
}

/* Reviews chip */
.mj-reviews-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
    text-decoration: none;
    font-family: var(--mj-font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mj-text-soft);
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius);
    transition: border-color var(--mj-fast) ease, box-shadow var(--mj-fast) ease, transform var(--mj-fast) ease;
}

.mj-reviews-chip:hover {
    border-color: #f5c344;
    box-shadow: 0 4px 14px rgba(245, 195, 68, 0.25);
    transform: translateY(-1px);
}

.mj-reviews-chip .stars {
    color: #f5b301;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

/* 3c. Hamburger (mobile) */
.mj-burger {
    display: none;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.mj-burger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--mj-text);
    transition: transform 0.3s var(--mj-ease), opacity 0.2s ease;
}

.mj-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mj-burger.active span:nth-child(2) { opacity: 0; }
.mj-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 3d. Mobile drawer */
.mj-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(165deg, var(--mj-ink) 0%, var(--mj-ink-3) 100%);
    transform: translateX(-104%);
    transition: transform 0.38s var(--mj-ease);
    z-index: 1002;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--mj-border-dark);
}

.mj-drawer.active { transform: translateX(0); }

.mj-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--mj-border-dark);
}

.mj-drawer__head h3 {
    margin: 0;
    color: var(--mj-white);
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mj-drawer__close {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--mj-border-dark);
    border-radius: 50%;
    color: var(--mj-white);
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mj-drawer .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    flex: 1;
}

.mj-drawer .mobile-menu-list li { border: none; }

.mj-drawer .mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.4rem;
    color: var(--mj-text-inverse);
    text-decoration: none;
    font-family: var(--mj-font-display);
    font-size: 1.02rem;
    font-weight: 500;
    border-left: 2px solid transparent;
    transition: background var(--mj-fast) ease, border-color var(--mj-fast) ease, color var(--mj-fast) ease;
}

.mj-drawer .mobile-menu-list a:hover {
    background: rgba(56, 225, 255, 0.07);
    border-left-color: var(--mj-cyan);
    color: var(--mj-white);
}

.mj-drawer .mobile-menu-list li.is-experience a {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mj-drawer .mobile-menu-list li.is-divider {
    height: 1px;
    margin: 0.6rem 1.4rem;
    background: var(--mj-border-dark);
}

.mj-drawer__foot {
    padding: 1.1rem 1.4rem 1.6rem;
    border-top: 1px solid var(--mj-border-dark);
}

.mj-drawer__foot a.phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    color: var(--mj-white);
    text-decoration: none;
    font-family: var(--mj-font-display);
    font-weight: 700;
    padding: 0.8rem 1rem;
    border-radius: var(--mj-radius-pill);
    box-shadow: var(--mj-shadow-orange);
}

.mj-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 22, 0.62);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.mj-overlay.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* Header responsive */
@media (max-width: 880px) {
    .mj-nav__links, .mj-reviews-chip { display: none; }
    .mj-burger { display: flex; }
    .mj-logo img { height: 46px; }
    .mj-mainbar__inner { padding: 0.45rem 14px; }
    .mj-topbar__inner { padding: 0.4rem 14px; }
    .mj-switch a { padding: 0.26rem 0.7rem; font-size: 0.74rem; }
    .mj-nav__cta { display: none; }
}

@media (max-width: 420px) {
    .mj-topbar__phone .label { display: none; }
}

/* --------------------------------------------------------------------------
   4. FOOTER
   -------------------------------------------------------------------------- */
.mj-footer {
    position: relative;
    background: linear-gradient(180deg, var(--mj-ink-2) 0%, var(--mj-ink) 100%);
    color: var(--mj-text-inverse-soft);
    overflow: hidden;
}

.mj-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--mj-cyan) 30%, var(--mj-blue) 55%, var(--mj-orange) 80%, transparent 100%);
    opacity: 0.85;
}

.mj-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 12% 110%, rgba(37, 99, 235, 0.14), transparent 65%),
        radial-gradient(620px 280px at 88% -10%, rgba(56, 225, 255, 0.08), transparent 65%);
    pointer-events: none;
}

.mj-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 20px 1.5rem;
}

.mj-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 920px) {
    .mj-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}

@media (max-width: 540px) {
    .mj-footer__grid { grid-template-columns: 1fr; }
}

.mj-footer h4 {
    color: var(--mj-white);
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.mj-footer__brand p {
    color: var(--mj-text-inverse-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 34ch;
}

.mj-footer__wordmark {
    font-family: var(--mj-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mj-white);
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
}

.mj-footer__wordmark .tail { color: var(--mj-cyan); }

.mj-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.mj-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--mj-text-inverse);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--mj-fast) ease;
}

.mj-footer__contact a:hover { color: var(--mj-cyan); }

.mj-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mj-footer ul li { margin-bottom: 0.65rem; }

.mj-footer ul a {
    color: var(--mj-text-inverse-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--mj-fast) ease, padding-left var(--mj-fast) ease;
}

.mj-footer ul a:hover {
    color: var(--mj-white);
    padding-left: 4px;
}

.mj-footer__hours p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--mj-text-inverse-soft);
}

.mj-footer__hours strong { color: var(--mj-text-inverse); }

.mj-footer__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    font-family: var(--mj-font-display);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6ee7b7;
}

.mj-footer__status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
    animation: mjPulse 2.4s ease-in-out infinite;
}

.mj-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mj-border-dark);
    font-size: 0.85rem;
    color: var(--mj-text-inverse-soft);
}

.mj-footer__bottom a {
    color: var(--mj-text-inverse-soft);
    text-decoration: none;
}

.mj-footer__bottom a:hover { color: var(--mj-white); }

.mj-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. SHARED COMPONENTS (used by redesigned templates)
   -------------------------------------------------------------------------- */
.mj-section { padding: 5rem 20px; }
.mj-section--alt { background: var(--mj-surface-alt); }
.mj-section--tight { padding: 3.5rem 20px; }

.mj-container { max-width: 1200px; margin: 0 auto; }
.mj-container--wide { max-width: 1280px; margin: 0 auto; }

.mj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--mj-font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mj-blue);
    margin-bottom: 1rem;
}

.mj-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--mj-cyan), var(--mj-blue));
}

.mj-section__title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.mj-section__lede {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--mj-text-soft);
    max-width: 62ch;
}

.mj-center { text-align: center; }
.mj-center .mj-section__lede { margin-left: auto; margin-right: auto; }
.mj-center .mj-eyebrow::after {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--mj-blue), var(--mj-cyan));
}

/* Cards */
.mj-grid {
    display: grid;
    gap: 1.5rem;
}

.mj-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mj-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mj-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
    .mj-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .mj-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .mj-grid--3, .mj-grid--4, .mj-grid--2 { grid-template-columns: 1fr; }
}

.mj-card {
    position: relative;
    background: var(--mj-surface);
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-lg);
    padding: 2rem;
    box-shadow: var(--mj-shadow-sm);
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease), border-color var(--mj-fast) ease;
    overflow: hidden;
}

.mj-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mj-shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
}

.mj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mj-cyan), var(--mj-blue));
    opacity: 0;
    transition: opacity var(--mj-fast) ease;
}

.mj-card:hover::before { opacity: 1; }

.mj-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 225, 255, 0.12));
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.mj-card h3, .mj-card h4 {
    font-size: 1.18rem;
    margin-bottom: 0.6rem;
}

.mj-card p {
    color: var(--mj-text-soft);
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 0;
}

/* Stat blocks */
.mj-stat {
    text-align: center;
    padding: 1.6rem 1rem;
}

.mj-stat__num {
    font-family: var(--mj-font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(120deg, var(--mj-cyan) 0%, #7dd3fc 60%, var(--mj-white) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.45rem;
}

.mj-stat__label {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mj-text-inverse-soft);
    font-family: var(--mj-font-display);
}

/* Dark band section */
.mj-band {
    position: relative;
    background: linear-gradient(135deg, var(--mj-ink) 0%, var(--mj-ink-3) 100%);
    color: var(--mj-text-inverse);
    overflow: hidden;
}

.mj-band h2, .mj-band h3 { color: var(--mj-white); }
.mj-band .mj-section__lede { color: var(--mj-text-inverse-soft); }

.mj-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 320px at 80% 10%, rgba(37, 99, 235, 0.22), transparent 60%),
        radial-gradient(600px 300px at 10% 95%, rgba(56, 225, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.mj-band > * { position: relative; z-index: 1; }

/* FAQ accordion */
.mj-faq {
    background: var(--mj-surface);
    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius);
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: border-color var(--mj-fast) ease, box-shadow var(--mj-fast) ease;
}

.mj-faq[open] {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--mj-shadow-sm);
}

.mj-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 1.5rem;
    font-family: var(--mj-font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--mj-text);
}

.mj-faq summary::-webkit-details-marker { display: none; }

.mj-faq summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--mj-border);
    color: var(--mj-blue);
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s var(--mj-ease), background var(--mj-fast) ease, color var(--mj-fast) ease;
}

.mj-faq[open] summary::after {
    transform: rotate(45deg);
    background: var(--mj-blue);
    color: var(--mj-white);
    border-color: var(--mj-blue);
}

.mj-faq__body {
    padding: 0 1.5rem 1.3rem;
    color: var(--mj-text-soft);
    line-height: 1.7;
    font-size: 0.97rem;
}

/* CTA banner */
.mj-cta {
    position: relative;
    background: linear-gradient(120deg, var(--mj-ink) 0%, #0d2a5e 60%, var(--mj-blue-deep) 120%);
    border-radius: var(--mj-radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: var(--mj-white);
    overflow: hidden;
}

.mj-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(480px 200px at 85% 15%, rgba(56, 225, 255, 0.22), transparent 60%),
        radial-gradient(400px 220px at 10% 90%, rgba(255, 107, 53, 0.16), transparent 60%);
    pointer-events: none;
}

.mj-cta > * { position: relative; z-index: 1; }

.mj-cta h2 {
    color: var(--mj-white);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 0.7rem;
}

.mj-cta p {
    color: var(--mj-text-inverse-soft);
    font-size: 1.08rem;
    margin-bottom: 2rem;
}

.mj-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--mj-font-display);
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 0.95rem 2.2rem;
    border-radius: var(--mj-radius-pill);
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease), background var(--mj-fast) ease;
}

.mj-btn--orange {
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    color: var(--mj-white);
    box-shadow: var(--mj-shadow-orange);
}

.mj-btn--orange:hover {
    color: var(--mj-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5);
}

.mj-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--mj-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.mj-btn--ghost:hover {
    color: var(--mj-white);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.mj-btn--blue {
    background: linear-gradient(120deg, var(--mj-blue) 0%, var(--mj-blue-deep) 100%);
    color: var(--mj-white);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.mj-btn--blue:hover {
    color: var(--mj-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

/* --------------------------------------------------------------------------
   5b. NETWORK MAP HERO
   -------------------------------------------------------------------------- */
.mj-hero {
    position: relative;
    background:
        radial-gradient(1100px 520px at 75% 0%, #13264a 0%, transparent 60%),
        radial-gradient(900px 480px at 5% 100%, #101d3a 0%, transparent 55%),
        linear-gradient(170deg, var(--mj-ink) 0%, var(--mj-ink-2) 58%, #0e1c38 100%);
    color: var(--mj-text-inverse);
    overflow: hidden;
    isolation: isolate;
}

.mj-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.4rem, 7vw, 6rem) 20px clamp(3.6rem, 7vw, 6.5rem);
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    align-items: center;
    gap: 2rem;
    min-height: min(78vh, 760px);
}

.mj-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mj-font-display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mj-cyan);
    background: rgba(56, 225, 255, 0.07);
    border: 1px solid rgba(56, 225, 255, 0.22);
    border-radius: var(--mj-radius-pill);
    padding: 0.42rem 1.05rem;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
}

.mj-hero__eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
    animation: mjPulse 2.4s ease-in-out infinite;
}

.mj-hero__title {
    font-size: clamp(2.3rem, 5.2vw, 3.9rem);
    line-height: 1.06;
    color: var(--mj-white);
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
}

.mj-hero__title .grad {
    background: linear-gradient(105deg, var(--mj-cyan) 0%, #7dd3fc 45%, var(--mj-orange) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mj-hero__sub {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.7;
    color: var(--mj-text-inverse-soft);
    max-width: 52ch;
    margin-bottom: 2.2rem;
}

/* Address checker — glass console */
.mj-hero__form { max-width: 600px; }

.mj-hero__form-label {
    display: block;
    font-family: var(--mj-font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mj-text-inverse-soft);
    margin-bottom: 0.65rem;
}

.mj-hero__form-shell {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(133, 170, 255, 0.25);
    padding: 0.5rem;
    border-radius: var(--mj-radius-pill);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(3, 8, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color var(--mj-fast) ease, box-shadow var(--mj-fast) ease;
}

.mj-hero__form-shell:focus-within {
    border-color: rgba(56, 225, 255, 0.6);
    box-shadow: 0 18px 48px rgba(3, 8, 20, 0.45), 0 0 0 4px rgba(56, 225, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mj-hero__form-shell input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1.4rem;
    border: none;
    background: transparent;
    color: var(--mj-white);
    font-size: 1rem;
    font-family: var(--mj-font-body);
    outline: none;
}

.mj-hero__form-shell input::placeholder { color: rgba(170, 185, 214, 0.75); }

.mj-hero__form-shell button {
    flex-shrink: 0;
    padding: 0.8rem 1.9rem;
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    color: var(--mj-white);
    border: none;
    border-radius: var(--mj-radius-pill);
    font-family: var(--mj-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--mj-shadow-orange);
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease);
}

.mj-hero__form-shell button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5);
}

.mj-hero__form-shell button:disabled { opacity: 0.75; cursor: wait; }

.mj-hero__form-hint {
    margin-top: 0.7rem;
    font-size: 0.82rem;
    color: rgba(147, 163, 196, 0.85);
}

/* Trust badges under form */
.mj-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.mj-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mj-font-display);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--mj-text-inverse-soft);
}

.mj-hero__trust li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mj-cyan);
    box-shadow: 0 0 8px rgba(56, 225, 255, 0.8);
}

.mj-hero__trust li.stars::before { display: none; }
.mj-hero__trust .gold { color: #f5b301; letter-spacing: 0.08em; }

/* Map canvas area — pinned to the open right half so every town stays visible */
.mj-map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 44%;
    z-index: 0;
    pointer-events: none;
    padding: 1.5rem 1rem;
}

.mj-map__svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mj-map__contour {
    fill: none;
    stroke: rgba(99, 140, 220, 0.10);
    stroke-width: 1.2;
}

.mj-map__lakebed {
    fill: rgba(125, 211, 252, 0.05);
    stroke: rgba(125, 211, 252, 0.14);
    stroke-width: 1;
    stroke-dasharray: 5 6;
}

.mj-map__flora path {
    fill: none;
    stroke: rgba(120, 160, 230, 0.18);
    stroke-width: 1.4;
    stroke-linecap: round;
}

.mj-map__link {
    fill: none;
    stroke: url(#mjLink);
    stroke-width: 1.6;
    stroke-dasharray: 7 9;
    animation: mjLinkFlow 1.4s linear infinite;
}

@keyframes mjLinkFlow {
    to { stroke-dashoffset: -16; }
}

/* ---- Topographic map playground (Careers test page) — SoCal desert theme ---- */
.mj-topo {
    position: relative;
    height: calc(100vh - 150px);
    min-height: 540px;
    background:
        radial-gradient(1000px 500px at 78% 0%, #f6dba8 0%, transparent 60%),
        radial-gradient(900px 480px at 5% 100%, #d99b58 0%, transparent 55%),
        linear-gradient(170deg, #f0cf96 0%, #e4ad66 58%, #d3924f 100%);
    overflow: hidden;
    isolation: isolate;
}

.mj-topo .mj-map {
    left: 0;
    padding: 0;
    opacity: 1;
}

/* terrain recolors for sand background */
.mj-topo .mj-map__contour {
    stroke: rgba(135, 84, 40, 0.3);
}

.mj-topo .mj-map__lakebed {
    fill: rgba(248, 236, 204, 0.9);
    stroke: rgba(166, 116, 60, 0.6);
}

.mj-topo .mj-map__flora path {
    stroke: rgba(96, 110, 48, 0.7);
}

/* network recolors */
.mj-topo .mj-map__link {
    stroke: url(#mjTopoLink);
    stroke-width: 1.7;
}

.mj-topo .mj-map__node .core {
    fill: #1d4ed8;
    filter: drop-shadow(0 0 4px rgba(29, 78, 216, 0.55));
}

.mj-topo .mj-map__node .ring {
    stroke: rgba(29, 78, 216, 0.4);
}

.mj-topo .mj-map__node .halo { opacity: 0.4; }

.mj-topo .mj-map__node .label {
    fill: #3f2a14;
    font-size: 12px;
    stroke: rgba(247, 232, 200, 0.95);
}

.mj-topo .mj-map__node--major .label { font-size: 13px; }
.mj-topo .mj-map__node--hub .label   { font-size: 13.5px; }
.mj-topo .mj-map__node--sm .label    { font-size: 10.5px; }

.mj-topo .mj-map__node--hub .core {
    fill: #e8551f;
    filter: drop-shadow(0 0 8px rgba(232, 85, 31, 0.8));
}

.mj-topo .mj-map__node--hub .ring { stroke: rgba(232, 85, 31, 0.5); }

.mj-topo .mj-map__packet {
    fill: #1e40af;
    filter: drop-shadow(0 0 3px rgba(30, 64, 175, 0.9));
}

.mj-topo .mj-map__packet--out {
    fill: #c2410c;
    filter: drop-shadow(0 0 3px rgba(194, 65, 12, 0.9));
}

/* water */
.mj-topo__river {
    fill: none;
    stroke: #2e86d5;
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 0.85;
}

.mj-topo__river--dry {
    stroke-dasharray: 10 7;
    stroke-width: 2;
    opacity: 0.55;
}

/* roads: cream base with red dashes, theme-park style */
.mj-topo__road {
    fill: none;
    stroke: rgba(247, 232, 197, 0.9);
    stroke-width: 4;
    stroke-linecap: round;
}

.mj-topo__road--minor { stroke-width: 3; }

.mj-topo__road-dash {
    fill: none;
    stroke: #c0392b;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-dasharray: 7 6;
}

.mj-topo__rail-bed {
    fill: none;
    stroke: rgba(60, 36, 18, 0.3);
    stroke-width: 2.8;
}

.mj-topo__rail {
    fill: none;
    stroke: rgba(60, 36, 18, 0.75);
    stroke-width: 1.1;
    stroke-dasharray: 2 6;
}

/* caricature mountains — dark SoCal ranges with shaded faces */
.mj-topo__mtn {
    fill: #8a5a34;
    stroke: #5e3a1d;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.mj-topo__mtn--far {
    fill: #b07c4a;
    stroke: rgba(94, 58, 29, 0.45);
}

.mj-topo__mtn--red {
    fill: #a8542f;
    stroke: rgba(94, 38, 18, 0.75);
}

.mj-topo__mtn-shade {
    fill: rgba(62, 33, 13, 0.45);
    stroke: none;
}

.mj-topo__snow {
    fill: #fdf6e8;
    stroke: none;
}

/* ink doodles (theme-park caricatures) */
.mj-topo__doodle {
    fill: none;
    stroke: rgba(74, 44, 20, 0.85);
    stroke-width: 1.4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.mj-topo__doodle--fill {
    fill: rgba(74, 44, 20, 0.2);
}

.mj-topo__runway {
    fill: none;
    stroke: rgba(74, 44, 20, 0.55);
    stroke-width: 6;
    stroke-linecap: round;
}

.mj-topo__runway-line {
    fill: none;
    stroke: rgba(247, 232, 197, 0.9);
    stroke-width: 1;
    stroke-dasharray: 3 3;
}

.mj-topo__doodle-text {
    fill: rgba(74, 44, 20, 0.9);
    font-family: var(--mj-font-display);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-anchor: middle;
}

/* map labels */
.mj-topo__label {
    fill: rgba(99, 62, 28, 0.85);
    font-family: var(--mj-font-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(247, 232, 200, 0.9);
    stroke-width: 3px;
    stroke-linejoin: round;
}

.mj-topo__label--river  { fill: #1f6db3; letter-spacing: 0.18em; font-size: 10px; }
.mj-topo__label--road   { fill: rgba(99, 62, 28, 0.7); letter-spacing: 0.14em; }
.mj-topo__label--range  { fill: rgba(82, 50, 24, 0.7); font-size: 10px; }
.mj-topo__label--banner {
    fill: rgba(120, 74, 34, 0.45);
    font-size: 19px;
    letter-spacing: 0.5em;
}

.mj-map__node .core {
    fill: var(--mj-cyan);
    filter: drop-shadow(0 0 6px rgba(56, 225, 255, 0.9));
}

.mj-map__node .ring {
    fill: none;
    stroke: rgba(56, 225, 255, 0.4);
    stroke-width: 1;
    transform-origin: center;
    transform-box: fill-box;
    animation: mjRing 3.2s ease-out infinite;
}

.mj-map__node .halo { opacity: 0.5; }

@keyframes mjRing {
    0%   { transform: scale(0.45); opacity: 0.9; }
    70%  { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

.mj-map__node .label {
    fill: rgba(214, 226, 248, 0.95);
    font-family: var(--mj-font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(7, 13, 26, 0.85);
    stroke-width: 3px;
    stroke-linejoin: round;
}

.mj-map__node .sublabel {
    fill: rgba(255, 140, 90, 0.95);
    font-family: var(--mj-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(7, 13, 26, 0.85);
    stroke-width: 3px;
}

.mj-map__node--hub .core {
    fill: #ffb38a;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.95));
}

.mj-map__node--hub .ring {
    stroke: rgba(255, 140, 90, 0.5);
    animation-duration: 2.6s;
}

.mj-map__node--hub .ring--outer { animation-delay: 1.3s; }

.mj-map__packet {
    fill: #aef1ff;
    filter: drop-shadow(0 0 5px rgba(56, 225, 255, 1));
}

.mj-map__packet--out { fill: #ffd0b5; filter: drop-shadow(0 0 5px rgba(255, 140, 90, 1)); }

/* Hero scroll cue */
.mj-hero__scroll {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(147, 163, 196, 0.6);
    font-size: 1.3rem;
    animation: mjBob 2.2s ease-in-out infinite;
    text-decoration: none;
}

@keyframes mjBob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 7px); }
}

/* Hero responsive */
@media (max-width: 980px) {
    .mj-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
        text-align: center;
        padding-bottom: 4.5rem;
    }
    .mj-hero__form { margin: 0 auto; }
    .mj-hero__trust { justify-content: center; }
    .mj-map { left: 0; opacity: 0.42; padding: 0; }
    .mj-hero__sub { margin-left: auto; margin-right: auto; }
}

@media (max-width: 620px) {
    .mj-hero__form-shell {
        flex-direction: column;
        border-radius: var(--mj-radius-lg);
        padding: 0.65rem;
    }
    .mj-hero__form-shell input {
        padding: 0.9rem 1.1rem;
        text-align: center;
    }
    .mj-hero__form-shell button { padding: 0.95rem 1.5rem; }
    .mj-hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   5c. PLANS FLOW (selection cards, plan details, checkout)
   -------------------------------------------------------------------------- */
.mj-page-hero {
    position: relative;
    background:
        radial-gradient(900px 360px at 80% 0%, rgba(37, 99, 235, 0.28), transparent 60%),
        radial-gradient(700px 320px at 10% 100%, rgba(56, 225, 255, 0.10), transparent 55%),
        linear-gradient(165deg, var(--mj-ink) 0%, var(--mj-ink-3) 100%);
    color: var(--mj-white);
    padding: 3.2rem 20px 3.6rem;
    text-align: center;
    overflow: hidden;
}

.mj-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mj-cyan) 35%, var(--mj-orange) 70%, transparent);
    opacity: 0.7;
}

.mj-page-hero h1 {
    color: var(--mj-white);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.mj-page-hero p {
    color: var(--mj-text-inverse-soft);
    font-size: 1.05rem;
    margin: 0;
}

.mj-page-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mj-font-display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6ee7b7;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: var(--mj-radius-pill);
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.2rem;
}

/* Plan cards (keep .pricing-card/.popular-plan hooks for existing JS) */
.mj-plan {
    position: relative;
    background: var(--mj-surface) !important;
    border: 1px solid var(--mj-border) !important;
    border-radius: var(--mj-radius-lg) !important;
    padding: 2.6rem 2rem 2.2rem !important;
    box-shadow: var(--mj-shadow-sm) !important;
    text-align: center;
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease), border-color var(--mj-fast) ease !important;
    overflow: visible;
}

.mj-plan:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--mj-shadow-md) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
}

.mj-plan.popular-plan {
    border: 2px solid var(--mj-blue) !important;
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.18) !important;
}

@media (min-width: 769px) {
    .mj-plan.popular-plan { transform: scale(1.04); }
    .mj-plan.popular-plan:hover { transform: scale(1.04) translateY(-6px) !important; }
}

.mj-plan__flag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%);
    color: var(--mj-white);
    padding: 5px 22px;
    border-radius: var(--mj-radius-pill);
    font-family: var(--mj-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    box-shadow: var(--mj-shadow-orange);
    white-space: nowrap;
}

.mj-plan__name {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--mj-text);
}

.mj-plan__price {
    font-family: var(--mj-font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 1rem 0 0.3rem;
    color: var(--mj-text);
}

.mj-plan__price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--mj-text-soft);
}

.mj-plan__speed {
    display: inline-block;
    font-family: var(--mj-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mj-blue);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: var(--mj-radius-pill);
    padding: 0.4rem 1.2rem;
    margin: 0.8rem 0 0.5rem;
}

.mj-plan .plan-feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.6rem 0 !important;
    text-align: left;
}

.mj-plan .plan-feature-list li {
    padding: 0.6rem 0 !important;
    color: var(--mj-text-soft);
    font-size: 0.95rem;
    border: none !important;
}

.mj-plan .plan-feature-list li.feature-highlight {
    color: var(--mj-blue);
    font-weight: 600;
}

.mj-plan__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1.5rem !important;
    border-radius: var(--mj-radius-pill) !important;
    font-family: var(--mj-font-display);
    font-size: 1.04rem !important;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.6rem !important;
    transition: transform var(--mj-fast) var(--mj-ease), box-shadow var(--mj-fast) var(--mj-ease), background var(--mj-fast) ease;
}

.mj-plan__cta--primary {
    background: linear-gradient(120deg, var(--mj-orange) 0%, var(--mj-orange-deep) 100%) !important;
    color: var(--mj-white) !important;
    box-shadow: var(--mj-shadow-orange);
    border: none !important;
}

.mj-plan__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5);
    color: var(--mj-white) !important;
}

.mj-plan__cta--secondary {
    background: transparent !important;
    color: var(--mj-blue) !important;
    border: 2px solid var(--mj-blue) !important;
}

.mj-plan__cta--secondary:hover {
    background: var(--mj-blue) !important;
    color: var(--mj-white) !important;
    transform: translateY(-2px);
}

/* Quiz + contact modals: brand alignment over legacy purple */
#plan-quiz-modal > div,
#contact-form-modal > div {
    border-radius: var(--mj-radius-lg) !important;
    box-shadow: var(--mj-shadow-lg) !important;
}

#plan-quiz-modal h2,
#contact-form-modal h2 {
    color: var(--mj-blue) !important;
    font-family: var(--mj-font-display);
}

#recommended-plan {
    background: linear-gradient(135deg, var(--mj-ink) 0%, #0d2a5e 70%, var(--mj-blue-deep) 130%) !important;
    box-shadow: 0 8px 24px rgba(13, 42, 94, 0.4) !important;
}

#plan-quiz-modal .quiz-option {
    border-radius: var(--mj-radius) !important;
    font-family: var(--mj-font-body);
}

/* --------------------------------------------------------------------------
   6. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.mj-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--mj-ease), transform 0.7s var(--mj-ease);
    transition-delay: var(--mj-delay, 0s);
}

.mj-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mj-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mj-topbar__status .dot,
    .mj-nav__cta .pulse,
    .mj-footer__status .dot { animation: none; }
}
