/**
 * Homepage, Features, Pricing & marketing pages — restore pre-app-theme appearance.
 * Loaded after modern-theme.css and responsive-global.css.
 */

body.mm-marketing-route {
    background: #fff !important;
}

body.mm-marketing-route [ng-app="tpApp"] {
    font-family: "Segoe UI", sans-serif, Verdana !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: #fff !important;
    overflow-x: visible;
}

/* Hide logged-in icon menu on marketing pages */
body.mm-marketing-route .CenterMainMenuOnScreen {
    display: none !important;
}

body.mm-marketing-route #tpmenu {
    background: #fff;
}

body.mm-marketing-route [ng-app="tpApp"] [ui-view="body"] {
    padding: 0 !important;
    background: #fff;
}

/* Homepage (mainscreenBody4) — self-contained .mm-page must not inherit app theme */
body.mm-marketing-route .mm-page,
body.mm-marketing-route .mm-page h1,
body.mm-marketing-route .mm-page h2,
body.mm-marketing-route .mm-page h3,
body.mm-marketing-route .mm-page h4,
body.mm-marketing-route .mm-page p,
body.mm-marketing-route .mm-page button,
body.mm-marketing-route .mm-page a {
    font-family: inherit;
    letter-spacing: inherit;
    color: inherit;
}

body.mm-marketing-route .mm-page {
    font-family: var(--font-primary, "Inter", system-ui, sans-serif) !important;
    color: var(--ink, #20223a) !important;
    background: #fff !important;
}

body.mm-marketing-route .mm-hero h1,
body.mm-marketing-route .mm-hero h2,
body.mm-marketing-route .mm-hero p {
    color: #fff !important;
}

body.mm-marketing-route .mm-hero h1,
body.mm-marketing-route .mm-hero h2 {
    font-family: var(--font-display, "Manrope", "Inter", sans-serif) !important;
    font-weight: 800 !important;
}

body.mm-marketing-route .mm-hero-btn.mm-secondary {
    background: var(--yellow, #ffd83d) !important;
    color: #121212 !important;
}

body.mm-marketing-route .mm-hero-btn {
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.045em !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18) !important;
}

/* Nav / section START FREE TRIAL — rectangular, not pill */
body.mm-marketing-route .mm-nav .mm-start,
body.mm-marketing-route .mm-navwrap .mm-start,
body.mm-marketing-route .mm-menu .mm-start {
    border-radius: 0 !important;
    box-shadow: 0 10px 24px rgba(240, 93, 69, 0.22) !important;
}

/* Marketing header (mainscreen.html) */
body.mm-marketing-route [ui-view="tpMainTopMenu"] .bgColor,
body.mm-marketing-route [ui-view="tpMainTopMenu"] .headHeigh.bgColor {
    background-color: #0079bf !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .navbar-default {
    background-color: transparent !important;
    border-color: transparent !important;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .form-trial li a,
body.mm-marketing-route [ui-view="tpMainTopMenu"] .form-trial li a.link-cls {
    color: #fff !important;
    padding: 6px !important;
    margin: 4px 10px;
    cursor: pointer;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: Lato, "Segoe UI", sans-serif !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .form-trial li a:hover,
body.mm-marketing-route [ui-view="tpMainTopMenu"] .form-trial li a:focus {
    background: transparent !important;
    color: #fff !important;
    text-decoration: underline;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}

/* Features page typography & layout */
body.mm-marketing-route [ui-view="body"] .mm-features-page {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.2rem;
    color: #333;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 40px;
    box-sizing: border-box;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    letter-spacing: normal !important;
    line-height: 1.15;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.8rem !important;
    font-weight: 400 !important;
    color: #555 !important;
    letter-spacing: normal !important;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page .section-title {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    margin-bottom: 15px;
    color: #333 !important;
    border-bottom: 2px solid #007BFF !important;
    padding-bottom: 5px;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page .feature-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.3rem !important;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page .feature-list li {
    margin-bottom: 10px;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page .icon-list p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem !important;
}

body.mm-marketing-route [ui-view="body"] .mm-features-page .icon-list i {
    color: #007BFF !important;
    font-size: 1.5rem !important;
}

/* Bootstrap grid on Features — two columns on desktop */
@media (min-width: 992px) {
    body.mm-marketing-route [ui-view="body"] .mm-features-page .col-md-6 {
        width: 50% !important;
        float: left !important;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    body.mm-marketing-route [ui-view="body"] .mm-features-page .col-lg-8 {
        width: 66.66666667% !important;
        float: left !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body.mm-marketing-route [ui-view="body"] .mm-features-page .col-md-6 {
        width: 50% !important;
        float: left !important;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    body.mm-marketing-route [ui-view="body"] .mm-features-page .col-md-6,
    body.mm-marketing-route [ui-view="body"] .mm-features-page .col-sm-12 {
        width: 100% !important;
        float: none !important;
    }

    body.mm-marketing-route [ui-view="body"] .mm-features-page h1 {
        font-size: 2.2rem !important;
    }

    body.mm-marketing-route [ui-view="body"] .mm-features-page .section-title {
        font-size: 1.4rem !important;
    }
}

/* Pricing page — undo app theme on panels/buttons */
body.mm-marketing-route [ui-view="tpMainTopMenu"] .panel,
body.mm-marketing-route [ui-view="body"] .panel {
    border-radius: 4px !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .panel-heading,
body.mm-marketing-route [ui-view="body"] .panel-heading {
    background-image: none !important;
    background-color: #f5f5f5 !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 3px 3px 0 0 !important;
    color: inherit !important;
}

body.mm-marketing-route [ui-view="tpMainTopMenu"] .btn,
body.mm-marketing-route [ui-view="body"] .btn {
    border-radius: 4px !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
}

/* Marketing header columns */
@media (min-width: 768px) {
    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-lg-2,
    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-md-2 {
        width: 16.66666667% !important;
        float: left !important;
    }

    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-lg-9,
    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-md-9 {
        width: 75% !important;
        float: left !important;
    }

    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-lg-1,
    body.mm-marketing-route [ui-view="tpMainTopMenu"] .col-md-1 {
        width: 8.33333333% !important;
        float: left !important;
    }
}

@media (max-width: 767px) {
    body.mm-marketing-route [ui-view="tpMainTopMenu"] [class*="col-"] {
        width: 100% !important;
        float: none !important;
    }
}
