/* =========================================================
   MLM SOFTWARE PAGE — CONFLICT-FREE STYLES
   All selectors use twmmlm prefix to avoid old theme CSS.
========================================================= */
:root {
    --twmmlm-primary: #075985;
    --twmmlm-primary-dark: #082f49;
    --twmmlm-blue: #0ea5e9;
    --twmmlm-orange: #f97316;
    --twmmlm-orange-dark: #ea580c;
    --twmmlm-text: #0f172a;
    --twmmlm-muted: #526176;
    --twmmlm-soft: #f4f9ff;
    --twmmlm-border: #dbeafe;
    --twmmlm-white: #ffffff;
}

/* Compact hero */
.twmmlm-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 38px 0 36px !important;
    min-height: 0 !important;
    background-image:
        linear-gradient(120deg, rgba(4, 32, 55, .96), rgba(7, 89, 133, .91)),
        url('https://www.techwebmantra.com/assets/img/bg/breadcrumb_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.twmmlm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 15%, rgba(56, 189, 248, .22), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(249, 115, 22, .18), transparent 26%);
    pointer-events: none;
}

.twmmlm-hero .container {
    position: relative;
    z-index: 2;
}

.twmmlm-breadcrumb {
    margin-bottom: 22px;
}

.twmmlm-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twmmlm-breadcrumb li,
.twmmlm-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.9) !important;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
}

.twmmlm-breadcrumb a:hover {
    color: #fff !important;
}

.twmmlm-breadcrumb-separator {
    color: rgba(255,255,255,.55) !important;
    font-size: 10px !important;
}

.twmmlm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr);
    align-items: center;
    gap: 34px;
}

.twmmlm-hero-copy {
    min-width: 0;
}

.twmmlm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff !important;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .55px;
    text-transform: uppercase;
}

/* Explicitly reset theme gradient-text rules */
.twmmlm-hero-title,
.twmmlm-hero h1.twmmlm-hero-title {
    display: block !important;
    max-width: 850px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: clamp(32px, 3.4vw, 50px) !important;
    line-height: 1.13 !important;
    font-weight: 850 !important;
    letter-spacing: -.7px !important;
    text-shadow: 0 4px 18px rgba(0,0,0,.30) !important;
}

.twmmlm-hero-description {
    max-width: 780px;
    margin: 0 0 18px !important;
    color: rgba(255,255,255,.91) !important;
    -webkit-text-fill-color: rgba(255,255,255,.91) !important;
    font-size: 15.5px !important;
    line-height: 1.72 !important;
    font-weight: 500;
}

.twmmlm-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twmmlm-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 650;
}

.twmmlm-hero-points i {
    color: #7dd3fc;
}

/* Compact CTA card */
.twmmlm-demo-card {
    position: relative;
    overflow: hidden;
    padding: 24px 22px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--twmmlm-orange), var(--twmmlm-orange-dark));
    box-shadow: 0 22px 48px rgba(1, 20, 38, .30);
    text-align: center;
}

.twmmlm-demo-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -75px;
    top: -80px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
}

.twmmlm-demo-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border: 2px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 22px;
}

.twmmlm-demo-label {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.94) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.twmmlm-demo-phone {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 8px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(27px, 2.5vw, 38px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.8px;
    text-decoration: none;
    white-space: nowrap;
}

.twmmlm-demo-text {
    position: relative;
    z-index: 2;
    margin: 0 0 16px;
    color: rgba(255,255,255,.91) !important;
    font-size: 13px;
    line-height: 1.55;
}

.twmmlm-demo-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.twmmlm-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease;
}

.twmmlm-demo-btn-primary {
    border-color: #fff;
    background: #fff;
    color: var(--twmmlm-orange-dark) !important;
}

.twmmlm-demo-btn:hover {
    transform: translateY(-2px);
}

.twmmlm-demo-btn-primary:hover {
    background: var(--twmmlm-primary-dark);
    border-color: var(--twmmlm-primary-dark);
    color: #fff !important;
}

/* Main sections */
.twmmlm-section {
    padding: 72px 0;
}

.twmmlm-section-soft {
    background: linear-gradient(180deg, #f8fbff, #eef7ff);
}

.twmmlm-section-head {
    max-width: 900px;
    margin: 0 auto 38px;
    text-align: center;
}

.twmmlm-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: var(--twmmlm-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.twmmlm-section-head h2 {
    margin: 0 0 13px;
    color: var(--twmmlm-text);
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 800;
}

.twmmlm-section-head p {
    margin: 0;
    color: var(--twmmlm-muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.twmmlm-intro-box {
    max-width: 1050px;
    margin: 0 auto 38px;
    padding: 25px 27px;
    border: 1px solid var(--twmmlm-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(7, 89, 133, .08);
}

.twmmlm-intro-box p {
    margin: 0 0 12px;
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}

.twmmlm-intro-box p:last-child {
    margin-bottom: 0;
}

.twmmlm-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.twmmlm-plan-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 24px 22px 23px;
    border: 1px solid #dce8f2;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.twmmlm-plan-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #06b6d4, #2563eb, #f97316);
}

.twmmlm-plan-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 165, 233, .45);
    box-shadow: 0 22px 48px rgba(7, 89, 133, .14);
}

.twmmlm-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.twmmlm-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--twmmlm-primary), var(--twmmlm-blue));
    color: #ffffff;
    font-size: 23px;
    box-shadow: 0 12px 25px rgba(7, 89, 133, .22);
}

.twmmlm-plan-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 43px;
    height: 43px;
    padding: 0 10px;
    border: 1px solid #d9e9f5;
    border-radius: 13px;
    background: #eef8ff;
    color: var(--twmmlm-primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .8px;
}

.twmmlm-plan-content h3 {
    margin: 0 0 10px;
    color: var(--twmmlm-text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.twmmlm-plan-content p {
    margin: 0 0 16px;
    color: var(--twmmlm-muted);
    font-size: 14px;
    line-height: 1.76;
}

.twmmlm-plan-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twmmlm-plan-points li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #dcebf5;
    border-radius: 999px;
    background: #ffffff;
    color: #37516c;
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 700;
}

.twmmlm-plan-points i {
    color: #0ea5e9;
    font-size: 10px;
}

.twmmlm-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.twmmlm-feature-card {
    padding: 22px 19px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.twmmlm-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--twmmlm-primary), var(--twmmlm-blue));
    color: #fff;
    font-size: 19px;
}

.twmmlm-feature-card h3 {
    margin: 0 0 8px;
    color: var(--twmmlm-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 750;
}

.twmmlm-feature-card p {
    margin: 0;
    color: var(--twmmlm-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.twmmlm-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.twmmlm-process-card {
    position: relative;
    padding: 24px 21px;
    border: 1px solid var(--twmmlm-border);
    border-radius: 18px;
    background: #fff;
}

.twmmlm-process-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #e0f2fe;
    color: var(--twmmlm-primary);
    font-size: 14px;
    font-weight: 850;
}

.twmmlm-process-card h3 {
    margin: 0 0 8px;
    color: var(--twmmlm-text);
    font-size: 18px;
    font-weight: 750;
}

.twmmlm-process-card p {
    margin: 0;
    color: var(--twmmlm-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.twmmlm-bottom-cta {
    padding: 68px 0;
    background: #fff;
}

.twmmlm-bottom-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff8ff, #fff7ed);
    border: 1px solid #dbeafe;
}

.twmmlm-bottom-card h2 {
    margin: 0 0 9px;
    color: var(--twmmlm-text);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
}

.twmmlm-bottom-card p {
    margin: 0;
    color: var(--twmmlm-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.twmmlm-bottom-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.twmmlm-bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 19px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.twmmlm-bottom-btn-primary {
    background: var(--twmmlm-orange);
    color: #fff !important;
}

.twmmlm-bottom-btn-secondary {
    border: 1px solid var(--twmmlm-primary);
    background: #fff;
    color: var(--twmmlm-primary) !important;
}

/* Achievement section — reusable across pages */
.twmmlm-achievements {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(14, 165, 233, .12), transparent 26%),
        radial-gradient(circle at 6% 92%, rgba(249, 115, 22, .08), transparent 25%),
        linear-gradient(90deg, #f8fafc 0%, #f4fbff 100%);
}

.twmmlm-achievements::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(249, 115, 22, .08);
    pointer-events: none;
}

.twmmlm-achievement-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: end;
    gap: 46px;
    margin-bottom: 34px;
}

.twmmlm-achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 18px;
    border: 1px solid #badcf0;
    border-radius: 999px;
    background: #e8f5fd;
    color: #075985;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.twmmlm-achievement-title {
    margin: 0;
    color: #061b31;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.3px;
}

.twmmlm-achievement-title span {
    color: #ff6500;
}

.twmmlm-achievement-intro {
    margin: 0 0 5px;
    color: #53667f;
    font-size: 17px;
    line-height: 1.78;
    font-weight: 600;
}

.twmmlm-achievement-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.twmmlm-achievement-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 25px 24px;
    border: 1px solid #d5e6f0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, .12), transparent 42%),
        #ffffff;
    box-shadow: 0 13px 34px rgba(15, 23, 42, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.twmmlm-achievement-card::before {
    content: "";
    position: absolute;
    inset: 0 14px auto 14px;
    height: 5px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #06b6d4, #f97316);
}

.twmmlm-achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(7, 89, 133, .12);
}

.twmmlm-achievement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 23px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 25px;
}

.twmmlm-achievement-icon.blue { background: linear-gradient(135deg, #087ca8, #06b6d4); }
.twmmlm-achievement-icon.orange { background: linear-gradient(135deg, #ff6b00, #ff982f); }
.twmmlm-achievement-icon.green { background: linear-gradient(135deg, #16a34a, #43d67a); }
.twmmlm-achievement-icon.purple { background: linear-gradient(135deg, #6d28d9, #9747ff); }

.twmmlm-achievement-number {
    position: absolute;
    top: 28px;
    right: 25px;
    color: #061b31;
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.twmmlm-achievement-number small {
    color: #ff6500;
    font-size: 27px;
    vertical-align: top;
    letter-spacing: 0;
}

.twmmlm-achievement-card h3 {
    margin: 0;
    color: #344b67;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
}

.twmmlm-achievement-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 16px 18px;
    border: 1px solid #d3e5f0;
    border-radius: 24px;
    background: rgba(239, 248, 253, .92);
}

.twmmlm-achievement-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 7px 15px;
    border-right: 1px solid #d2e2ec;
    color: #294965;
    font-size: 14px;
    font-weight: 800;
}

.twmmlm-achievement-feature:last-child {
    border-right: 0;
}

.twmmlm-achievement-feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #087ca8;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1199px) {
    .twmmlm-hero-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
        gap: 26px;
    }

    .twmmlm-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twmmlm-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twmmlm-achievement-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }

    .twmmlm-achievement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .twmmlm-hero {
        padding: 34px 0 32px !important;
    }

    .twmmlm-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .twmmlm-hero-copy {
        text-align: center;
    }

    .twmmlm-hero-title {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .twmmlm-hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .twmmlm-hero-points,
    .twmmlm-breadcrumb ol {
        justify-content: center;
    }

    .twmmlm-demo-card {
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
    }

    .twmmlm-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twmmlm-bottom-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .twmmlm-bottom-actions {
        justify-content: center;
    }

    .twmmlm-achievement-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twmmlm-achievement-feature:nth-child(2) {
        border-right: 0;
    }

    .twmmlm-achievement-feature:nth-child(-n+2) {
        border-bottom: 1px solid #d2e2ec;
    }
}

@media (max-width: 767px) {
    .twmmlm-hero {
        padding: 27px 0 26px !important;
    }

    .twmmlm-breadcrumb {
        margin-bottom: 16px;
    }

    .twmmlm-hero-title,
    .twmmlm-hero h1.twmmlm-hero-title {
        font-size: 28px !important;
        line-height: 1.23 !important;
        letter-spacing: -.25px !important;
    }

    .twmmlm-hero-description {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .twmmlm-hero-points {
        gap: 7px;
    }

    .twmmlm-hero-points li {
        padding: 7px 9px;
        font-size: 11.5px;
    }

    .twmmlm-demo-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .twmmlm-demo-phone {
        font-size: 28px;
    }

    .twmmlm-demo-actions {
        grid-template-columns: 1fr;
    }

    .twmmlm-section {
        padding: 54px 0;
    }

    .twmmlm-section-head {
        margin-bottom: 28px;
    }

    .twmmlm-intro-box {
        padding: 20px 18px;
        border-radius: 17px;
    }

    .twmmlm-plan-grid,
    .twmmlm-feature-grid,
    .twmmlm-process-grid,
    .twmmlm-achievement-grid,
    .twmmlm-achievement-strip {
        grid-template-columns: 1fr;
    }

    .twmmlm-plan-card {
        padding: 22px 18px 21px;
        border-radius: 19px;
    }

    .twmmlm-plan-content h3 {
        font-size: 19px;
    }

    .twmmlm-achievements {
        padding: 54px 0;
    }

    .twmmlm-achievement-head {
        margin-bottom: 26px;
    }

    .twmmlm-achievement-title {
        font-size: 31px;
        line-height: 1.15;
        letter-spacing: -.7px;
    }

    .twmmlm-achievement-intro {
        font-size: 15px;
        line-height: 1.7;
    }

    .twmmlm-achievement-card {
        min-height: 190px;
        padding: 23px 20px;
        border-radius: 22px;
    }

    .twmmlm-achievement-number {
        top: 27px;
        right: 20px;
        font-size: 47px;
    }

    .twmmlm-achievement-feature,
    .twmmlm-achievement-feature:nth-child(2),
    .twmmlm-achievement-feature:nth-child(-n+2) {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #d2e2ec;
    }

    .twmmlm-achievement-feature:last-child {
        border-bottom: 0;
    }

    .twmmlm-bottom-cta {
        padding: 52px 0;
    }

    .twmmlm-bottom-card {
        padding: 25px 18px;
        border-radius: 19px;
    }

    .twmmlm-bottom-actions {
        flex-direction: column;
    }

    .twmmlm-bottom-btn {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .twmmlm-hero-title,
    .twmmlm-hero h1.twmmlm-hero-title {
        font-size: 25px !important;
    }

    .twmmlm-demo-phone {
        font-size: 25px;
    }
}


/* FAQ section */
.twmmlm-faq {
    padding: 72px 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(14,165,233,.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.twmmlm-faq-wrap {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 42px;
    align-items: start;
}

.twmmlm-faq-intro {
    position: sticky;
    top: 110px;
}

.twmmlm-faq-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 15px;
    border: 1px solid #cfe8f8;
    border-radius: 999px;
    background: #eef8ff;
    color: #075985;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.twmmlm-faq-intro h2 {
    margin: 0 0 15px;
    color: var(--twmmlm-text) !important;
    font-size: clamp(30px, 3.4vw, 45px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.8px;
}

.twmmlm-faq-intro > p {
    margin: 0 0 22px;
    color: var(--twmmlm-muted);
    font-size: 16px;
    line-height: 1.8;
}

.twmmlm-faq-contact {
    padding: 20px;
    border: 1px solid #d7eaf6;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(2, 69, 102, .08);
}

.twmmlm-faq-contact strong {
    display: block;
    margin-bottom: 6px;
    color: #0f2740;
    font-size: 16px;
}

.twmmlm-faq-contact p {
    margin: 0 0 14px;
    color: #607086;
    font-size: 14px;
    line-height: 1.65;
}

.twmmlm-faq-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--twmmlm-primary), var(--twmmlm-blue));
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.twmmlm-faq-list {
    display: grid;
    gap: 14px;
}

.twmmlm-faq-item {
    overflow: hidden;
    border: 1px solid #d9e8f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.twmmlm-faq-item:hover,
.twmmlm-faq-item[open] {
    border-color: #a8d9f1;
    box-shadow: 0 16px 34px rgba(2, 69, 102, .10);
}

.twmmlm-faq-item[open] {
    transform: translateY(-1px);
}

.twmmlm-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    padding: 18px 20px;
    color: #0b2239;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.twmmlm-faq-question::-webkit-details-marker {
    display: none;
}

.twmmlm-faq-question::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #edf8ff;
    color: #0877ad;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.twmmlm-faq-item[open] .twmmlm-faq-question::after {
    content: "−";
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--twmmlm-primary), var(--twmmlm-blue));
    color: #ffffff;
}

.twmmlm-faq-answer {
    padding: 0 20px 20px;
}

.twmmlm-faq-answer p {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
    color: #526176;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .twmmlm-faq-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .twmmlm-faq-intro {
        position: static;
        max-width: 800px;
    }
}

@media (max-width: 767px) {
    .twmmlm-faq {
        padding: 54px 0;
    }

    .twmmlm-faq-intro h2 {
        font-size: 30px;
    }

    .twmmlm-faq-question {
        min-height: 62px;
        padding: 16px 16px;
        font-size: 15px;
    }

    .twmmlm-faq-question::after {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 21px;
    }

    .twmmlm-faq-answer {
        padding: 0 16px 17px;
    }

    .twmmlm-faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }
}



/* =========================================================
   Client Reviews / Testimonials
========================================================= */
.twm-trust-reviews-section {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 1px !important;
    clear: both !important;
    float: none !important;
    padding: 76px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(14, 165, 233, .10), transparent 28%),
        radial-gradient(circle at 92% 92%, rgba(249, 115, 22, .09), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.twm-trust-reviews-section::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 48px solid rgba(37, 99, 235, .035);
    pointer-events: none;
}

.twm-trust-reviews-section .container {
    position: relative;
    z-index: 2;
}

/* Prevent old theme testimonial/slider CSS or JS from hiding this section */
.twm-trust-reviews-section .twm-trust-review-wrapper,
.twm-trust-reviews-section .twm-trust-review-head,
.twm-trust-reviews-section .twm-trust-review-grid,
.twm-trust-reviews-section .twm-trust-review-card,
.twm-trust-reviews-section .twm-trust-signals {
    visibility: visible !important;
    opacity: 1 !important;
}

.twm-trust-reviews-section .twm-trust-review-grid {
    height: auto !important;
    transform: none !important;
}

.twm-trust-review-wrapper {
    max-width: 1320px;
    margin: 0 auto;
}

.twm-trust-review-head {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.twm-trust-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 16px;
    border: 1px solid #cfe6f5;
    border-radius: 999px;
    background: #eef8ff;
    color: #075985;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.twm-trust-review-badge i {
    color: #f59e0b;
}

.twm-trust-review-head h2 {
    margin: 0 0 14px;
    color: var(--twmmlm-text, #071827) !important;
    font-size: clamp(31px, 3.6vw, 47px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.9px;
}

.twm-trust-review-head h2 span {
    color: #f97316;
}

.twm-trust-review-head p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--twmmlm-muted, #64748b);
    font-size: 16px;
    line-height: 1.8;
}

.twm-trust-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.twm-trust-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 25px 23px 22px;
    overflow: hidden;
    border: 1px solid #dceaf3;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.twm-trust-review-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9, #2563eb, #f97316);
}

.twm-trust-review-card::after {
    content: "";
    position: absolute;
    top: -52px;
    right: -52px;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: rgba(14, 165, 233, .055);
    pointer-events: none;
}

.twm-trust-review-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 165, 233, .35);
    box-shadow: 0 24px 48px rgba(37, 99, 235, .12);
}

.twm-trust-review-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.twm-trust-review-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #d8e8f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 9px 22px rgba(15, 23, 42, .09);
}

.twm-review-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    user-select: none;
    -webkit-user-select: none;
}

.twm-avatar-blue {
    background: linear-gradient(135deg, #0284c7, #2563eb);
}

.twm-avatar-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.twm-avatar-purple {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.twm-trust-review-name {
    min-width: 0;
}

.twm-trust-review-name h3 {
    margin: 0 0 3px;
    color: #0f2740 !important;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.twm-trust-review-name span {
    display: block;
    color: #718096;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.twm-trust-review-service {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-bottom: 15px;
    padding: 7px 11px;
    border: 1px solid #d6eaf7;
    border-radius: 999px;
    background: #f0f9ff;
    color: #075985;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.twm-trust-review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
    color: #f59e0b;
    font-size: 14px;
}

.twm-trust-review-stars span {
    margin-left: 5px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.twm-trust-review-card blockquote {
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    color: #4f647e;
    font-size: 15px;
    line-height: 1.8;
    font-style: normal;
}

.twm-trust-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5eef4;
}

.twm-trust-review-company {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #536987;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
}

.twm-trust-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef8ff, #fff3e9);
    color: #f97316;
    font-size: 16px;
}

.twm-trust-signals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #d8e8f2;
    border-radius: 22px;
    background: #eef7fc;
}

.twm-trust-signal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 72px;
    padding: 15px 14px;
    border-right: 1px solid #d7e5ee;
    color: #29496a;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}

.twm-trust-signal-item:last-child {
    border-right: 0;
}

.twm-trust-signal-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #0284c7;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .07);
}

@media (max-width: 991px) {
    .twm-trust-reviews-section {
        padding: 64px 0;
    }

    .twm-trust-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twm-trust-review-card:last-child {
        grid-column: 1 / -1;
        max-width: 620px;
        width: 100%;
        justify-self: center;
    }

    .twm-trust-signals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .twm-trust-signal-item:nth-child(2) {
        border-right: 0;
    }

    .twm-trust-signal-item:nth-child(-n+2) {
        border-bottom: 1px solid #d7e5ee;
    }
}

@media (max-width: 767px) {
    .twm-trust-reviews-section {
        padding: 54px 0;
    }

    .twm-trust-review-head {
        margin-bottom: 30px;
    }

    .twm-trust-review-head h2 {
        font-size: 30px;
        line-height: 1.18;
    }

    .twm-trust-review-head p {
        font-size: 14.5px;
        line-height: 1.72;
    }

    .twm-trust-review-grid,
    .twm-trust-signals {
        grid-template-columns: 1fr;
    }

    .twm-trust-review-card,
    .twm-trust-review-card:last-child {
        grid-column: auto;
        max-width: none;
        padding: 23px 19px 20px;
        border-radius: 20px;
    }

    .twm-trust-signal-item,
    .twm-trust-signal-item:nth-child(2),
    .twm-trust-signal-item:nth-child(-n+2) {
        justify-content: flex-start;
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid #d7e5ee;
        text-align: left;
    }

    .twm-trust-signal-item:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   FINAL ACCESSIBILITY, NAVIGATION AND STABILITY ENHANCEMENTS
========================================================= */

html {
    scroll-behavior: smooth;
}

.twmmlm-page,
.twmmlm-page * {
    box-sizing: border-box;
}

.twmmlm-page {
    overflow-x: hidden;
    overflow-x: clip;
}

.twmmlm-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 11px 16px;
    border-radius: 10px;
    background: #082f49;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.twmmlm-skip-link:focus {
    transform: translateY(0);
}

.twmmlm-page a:focus-visible,
.twmmlm-page summary:focus-visible {
    outline: 3px solid rgba(249, 115, 22, .75);
    outline-offset: 4px;
}

.twmmlm-plan-content h3[id] {
    scroll-margin-top: 110px;
}

.twmmlm-plan-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    max-width: 1050px;
    margin: -8px auto 34px;
    padding: 15px 18px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 28px rgba(7, 89, 133, .07);
}

.twmmlm-plan-nav-label {
    margin-right: 2px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
}

.twmmlm-plan-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #cfe5f3;
    border-radius: 999px;
    background: #f8fcff;
    color: #075985 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.twmmlm-plan-nav a:hover {
    background: #075985;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.twmmlm-plan-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
    padding: 26px 28px;
    border: 1px solid #cfe5f3;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #edf8ff 60%, #fff7ed);
    box-shadow: 0 16px 38px rgba(7, 89, 133, .09);
}

.twmmlm-plan-cta h3 {
    margin: 0 0 7px;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 850;
}

.twmmlm-plan-cta p {
    max-width: 780px;
    margin: 0;
    color: #526176;
    font-size: 14px;
    line-height: 1.7;
}

.twmmlm-plan-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.twmmlm-plan-cta-primary,
.twmmlm-plan-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.twmmlm-plan-cta-primary {
    background: #f97316;
    color: #ffffff !important;
}

.twmmlm-plan-cta-secondary {
    border: 1px solid #075985;
    background: #ffffff;
    color: #075985 !important;
}

@media (max-width: 991px) {
    .twmmlm-plan-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .twmmlm-plan-cta p {
        margin-left: auto;
        margin-right: auto;
    }

    .twmmlm-plan-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .twmmlm-plan-nav {
        justify-content: flex-start;
        margin-bottom: 27px;
        padding: 14px;
    }

    .twmmlm-plan-nav-label {
        flex-basis: 100%;
    }

    .twmmlm-plan-cta {
        padding: 22px 17px;
        border-radius: 18px;
    }

    .twmmlm-plan-cta h3 {
        font-size: 20px;
    }

    .twmmlm-plan-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .twmmlm-plan-cta-primary,
    .twmmlm-plan-cta-secondary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .twmmlm-page *,
    .twmmlm-page *::before,
    .twmmlm-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}