
/* ==============================================================
   MESSAGEMATE
   HOMEPAGE STYLES
   ============================================================== */

/*
   Brand colour:
   Uses the existing --accent-color variable from main.css.
   No replacement green is introduced.
*/

.messagemate-home {
    background-color: #ffffff;
}

.messagemate-home .mm-wide-container {
    width: 100%;
    max-width: 1480px;
    padding-left: 28px;
    padding-right: 28px;
    margin-left: auto;
    margin-right: auto;
}


/* ==============================================================
   SHARED EYEBROWS
   ============================================================== */

.mm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mm-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    flex: 0 0 25px;
    background-color: var(--accent-color);
}

.mm-eyebrow-light {
    color: var(--accent-color);
}


/* ==============================================================
   BUTTONS
   ============================================================== */

.messagemate-home .mm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 51px;
    padding: 14px 25px;
    color: #ffffff;
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.messagemate-home .mm-btn-primary:hover {
    color: #ffffff;
    background-color: var(
        --accent-dark-color,
        var(--accent-color)
    );
    border-color: var(
        --accent-dark-color,
        var(--accent-color)
    );
    transform: translateY(-2px);
}

.messagemate-home .mm-btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 51px;
    padding: 14px 25px;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.messagemate-home .mm-btn-outline-light:hover {
    color: #17221c;
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.messagemate-home .site-btn i {
    font-size: 15px;
}


/* ==============================================================
   HERO
   ============================================================== */

.mm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 100px 0;
    background-color: #101c17;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.mm-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 20%,
        rgba(0, 0, 0, 0.55) 38%,
        rgba(0, 0, 0, 0.20) 55%,
        rgba(0, 0, 0, 0.00) 75%
    );
}

.mm-hero .mm-wide-container {
    position: relative;
    z-index: 2;
}

.mm-hero-content {
    max-width: 740px;
}

.mm-hero-content .mm-eyebrow {
    margin-bottom: 23px;
}

.mm-hero-content h1 {
    max-width: 730px;
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -2.8px;
}

.mm-hero-content h1 span {
    display: block;
    color: var(--accent-color);
}

.mm-hero-content p {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.8;
}

.mm-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}


/* ==============================================================
   PRODUCT SHORTCUT STRIP
   ============================================================== */

.mm-shortcuts {
    background-color: #ffffff;
    border-bottom: 1px solid #e7ebe8;
}

.mm-shortcut {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 115px;
    padding: 25px 16px;
    color: #202923;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.mm-shortcut::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 28px;
    width: 1px;
    background-color: #e5e9e6;
}

.mm-shortcuts .row > div:last-child .mm-shortcut::after {
    display: none;
}

.mm-shortcut:hover {
    background-color: #f7f9f7;
}

.mm-shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: var(--accent-color);
    background-color: #f0f5ef;
    border-radius: 50%;
}

.mm-shortcut-icon i {
    font-size: 23px;
    line-height: 1;
}

.mm-shortcut-title {
    color: #202923;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
}

.mm-shortcut:hover .mm-shortcut-title {
    color: var(--accent-color);
}


/* ==============================================================
   PRODUCTS SECTION
   ============================================================== */

.mm-products-section {
    padding: 90px 0 100px;
    background-color: #ffffff;
}

.mm-section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.mm-section-heading .mm-eyebrow {
    margin-bottom: 14px;
}

.mm-section-heading h2 {
    margin: 0 0 14px;
    color: #202923;
    font-size: clamp(32px, 3.3vw, 45px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.3px;
}

.mm-section-heading h2 span {
    color: var(--accent-color);
}

.mm-section-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #6c746f;
    font-size: 15px;
    line-height: 1.75;
}


/* ==============================================================
   PRODUCT IMAGE CARDS
   ============================================================== */

.mm-product-card {
    position: relative;
    display: block;
    width: 100%;
    height: 265px;
    overflow: hidden;
    background-color: #17221c;
    border-radius: 5px;
    text-decoration: none;
    isolation: isolate;
}

.mm-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.03) 20%,
        rgba(0, 0, 0, 0.12) 45%,
        rgba(0, 0, 0, 0.82) 100%
    );
    transition: background-color 0.3s ease;
}

.mm-product-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.mm-product-card:hover img {
    transform: scale(1.06);
}

.mm-product-card:hover::after {
    background-color: rgba(0, 0, 0, 0.12);
}

.mm-product-overlay {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mm-product-name {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.mm-product-overlay i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: 15px;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.mm-product-card:hover .mm-product-overlay i {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.mm-products-action {
    margin-top: 40px;
    text-align: center;
}


/* ==============================================================
   EXPERIENCE / FINAL CTA
   ============================================================== */

.mm-experience-section {
    position: relative;
    padding: 90px 0;
    background-color: #0c1712;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.mm-experience-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(5, 17, 11, 0.96) 0%,
        rgba(5, 17, 11, 0.90) 45%,
        rgba(5, 17, 11, 0.72) 100%
    );
}

.mm-experience-section .mm-wide-container {
    position: relative;
    z-index: 2;
}

.mm-experience-content {
    max-width: 830px;
}

.mm-experience-content .mm-eyebrow {
    margin-bottom: 17px;
}

.mm-experience-content h2 {
    max-width: 820px;
    margin: 0 0 17px;
    color: #ffffff;
    font-size: clamp(29px, 3.2vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.mm-experience-content h2 span {
    color: var(--accent-color);
}

.mm-experience-content p {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.75;
}

.mm-experience-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}


/* ==============================================================
   RESPONSIVE - TABLET
   ============================================================== */

@media (max-width: 1199px) {

    .mm-hero {
        min-height: 590px;
    }

    .mm-hero-content h1 {
        font-size: 59px;
    }

    .mm-product-card {
        height: 235px;
    }

    .mm-product-name {
        font-size: 16px;
    }

}


@media (max-width: 991px) {

    .mm-hero {
        min-height: 560px;
        padding: 85px 0;
    }

    .mm-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(6, 16, 12, 0.95) 0%,
            rgba(6, 16, 12, 0.82) 60%,
            rgba(6, 16, 12, 0.48) 100%
        );
    }

    .mm-hero-content h1 {
        font-size: 54px;
    }

    .mm-shortcuts .row > div:nth-child(2) .mm-shortcut::after {
        display: none;
    }

    .mm-shortcuts .row > div:nth-child(-n+2) .mm-shortcut {
        border-bottom: 1px solid #e5e9e6;
    }

    .mm-products-section {
        padding: 75px 0 85px;
    }

    .mm-product-card {
        height: 270px;
    }

    .mm-experience-section {
        padding: 75px 0;
    }

    .mm-experience-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

}


/* ==============================================================
   RESPONSIVE - MOBILE
   ============================================================== */

@media (max-width: 767px) {

    .messagemate-home .mm-wide-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mm-hero {
        min-height: 540px;
        padding: 80px 0;
        background-position: 62% center;
    }

    .mm-hero-overlay {
        background: rgba(6, 16, 12, 0.83);
    }

    .mm-hero-content .mm-eyebrow {
        margin-bottom: 18px;
    }

    .mm-hero-content h1 {
        margin-bottom: 20px;
        font-size: 43px;
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    .mm-hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .mm-hero-actions {
        margin-top: 27px;
    }

    .mm-shortcut {
        min-height: 95px;
        gap: 10px;
        padding: 18px 8px;
    }

    .mm-shortcut-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mm-shortcut-icon i {
        font-size: 19px;
    }

    .mm-shortcut-title {
        font-size: 13px;
    }

    .mm-products-section {
        padding: 65px 0 75px;
    }

    .mm-section-heading {
        margin-bottom: 32px;
    }

    .mm-section-heading h2 {
        font-size: 34px;
    }

    .mm-section-heading p {
        font-size: 14px;
    }

    .mm-product-card {
        height: 215px;
    }

    .mm-product-overlay {
        right: 13px;
        bottom: 14px;
        left: 13px;
        gap: 6px;
    }

    .mm-product-name {
        font-size: 14px;
    }

    .mm-product-overlay i {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 13px;
    }

    .mm-products-action {
        margin-top: 32px;
    }

    .mm-experience-section {
        padding: 65px 0;
    }

    .mm-experience-content h2 {
        font-size: 31px;
    }

    .mm-experience-content p {
        font-size: 14px;
    }

}


/* ==============================================================
   RESPONSIVE - SMALL MOBILE
   ============================================================== */

@media (max-width: 480px) {

    .messagemate-home .mm-wide-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mm-hero {
        min-height: auto;
        padding: 75px 0;
    }

    .mm-hero-content h1 {
        font-size: 37px;
    }

    .mm-hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
    }

    .mm-hero-actions .site-btn {
        width: 100%;
    }

    .mm-shortcut {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .mm-shortcut::after {
        display: none;
    }

    .mm-product-card {
        height: 180px;
    }

    .mm-product-name {
        font-size: 13px;
    }

    .mm-product-overlay i {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .mm-experience-content h2 {
        font-size: 28px;
    }

    .mm-experience-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mm-experience-actions .site-btn {
        width: 100%;
    }

}


/* =========================================================
   MESSAGEMATE TOP CONTACT BAR
========================================================= */

.mm-topbar {
    width: 100%;
    background: linear-gradient(
        90deg,
        #121b20 0%,
        #1d292e 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mm-topbar-container {
    width: 100%;
    max-width: 1480px;
    padding-left: 28px;
    padding-right: 28px;
    margin-left: auto;
    margin-right: auto;
}

.mm-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 34px;
}

.mm-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.mm-topbar-link i {
    color: var(--accent-color);
    font-size: 13px;
}

.mm-topbar-link:hover {
    color: var(--accent-color);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .mm-topbar-container {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

    .mm-topbar-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mm-topbar-inner {
        min-height: 34px;
        gap: 10px;
    }

    .mm-topbar-link {
        gap: 6px;
        font-size: 10px;
    }

    .mm-topbar-link i {
        font-size: 11px;
    }

}


/* =========================================================
   MESSAGEMATE HEADER POSITIONING
========================================================= */

.mm-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #ffffff;
}

.mm-header-wrapper .mm-topbar {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(
        90deg,
        #121b20 0%,
        #1d292e 100%
    );
}

.mm-header-wrapper .mm-topbar-container {
    width: 100%;
    max-width: 1480px;
    padding-left: 28px;
    padding-right: 28px;
    margin: 0 auto;
}

.mm-header-wrapper .mm-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    gap: 20px;
}

.mm-header-wrapper .mm-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.mm-header-wrapper .mm-topbar-link i {
    color: var(--accent-color);
    font-size: 12px;
}

.mm-header-wrapper .mm-topbar-link:hover {
    color: var(--accent-color);
}

.mm-header-wrapper #header {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0;
    background-color: #ffffff;
}

@media (max-width: 767px) {

    .mm-header-wrapper .mm-topbar-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mm-header-wrapper .mm-topbar-inner {
        min-height: 30px;
        gap: 10px;
    }

    .mm-header-wrapper .mm-topbar-link {
        gap: 6px;
        font-size: 10px;
    }

}

