html{
    overflow-x:hidden;
}

body{
    overflow-x:visible;
}

.ms-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ms-plans-section,
.ms-compare-section,
.ms-addons-section {
    background: #ffffff;
    color: #1e293b;
    font-family: Montserrat, sans-serif;
    width: 100%;
    max-width: 100%;
    overflow:hidden;
    position: relative;
    box-sizing: border-box;
}
.ms-table-wrap{
    overflow-x:auto;
    overflow-y:hidden;
    width:100%;
}

.ms-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
    font-weight: 700;
    color: #0B5FFF;
    margin-bottom: 12px;
}

/* ---------- Section heads ---------- */
.ms-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.ms-section-head h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #071C63;
}

.ms-section-head p {
    color: #4b5c6b;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* ---------- Buttons ---------- */
.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ms-btn-primary {
    background: linear-gradient(135deg, #0B5FFF, #4DA3FF);
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(11, 95, 255, 0.4);
}

.ms-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(11, 95, 255, 0.35);
}

.ms-btn-ghost {
    background: #ffffff;
    border-color: #e3e8ee;
    color: #071C63;
}

.ms-btn-ghost:hover {
    border-color: #0B5FFF;
    color: #0B5FFF;
    background: #eef4ff;
}

.ms-btn-block {
    width: 100%;
}

/* ---------- Plans section ---------- */
.ms-plans-section {
    padding: 70px 0;
}

.ms-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    padding: 6px;
    max-width: fit-content;
    margin: 0 auto 48px;
    box-shadow: 0 8px 30px rgba(7, 28, 99, 0.08);
}

.ms-toggle-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #4b5c6b;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ms-toggle-btn:hover {
    border-color: #0B5FFF;
    color: #0B5FFF;
}

.ms-toggle-btn.is-active {
    background: #0B5FFF;
    border-color: #0B5FFF;
    color: #ffffff;
}

/* ---------- Plan grid / cards ---------- */
/*.ms-plan-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*    gap: 24px;*/
/*    align-items: stretch;*/
/*}*/

.ms-plan-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,380px));
    justify-content:center;
    gap:24px;
    width:100%;
    margin:0 auto;
}

.ms-plan-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(7, 28, 99, 0.08);
    transition: all 0.25s ease;
}

.ms-plan-card:hover {
    transform: translateY(-6px);
    border-color: #0B5FFF;
    box-shadow: 0 16px 40px rgba(7, 28, 99, 0.14);
}

.ms-plan-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    background: #FF7A00;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -6px rgba(255, 122, 0, 0.45);
}

.ms-plan-name {
    font-size: 19px;
    font-weight: 700;
    margin: 6px 0 8px;
    line-height: 1.35;
    min-height: 56px;
    color: #071C63;
}

.ms-plan-tagline {
    color: #4b5c6b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    min-height: 68px;
}

.ms-plan-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    color: #071C63;
}

.ms-currency {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

.ms-amount {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.ms-plan-billing {
    font-size: 13px;
    color: #4b5c6b;
    margin: 6px 0 2px;
}

.ms-plan-note {
    font-size: 12px;
    color: #667085;
    margin: 0 0 22px;
    line-height: 1.5;
    min-height: 36px;
}

.ms-plan-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.ms-plan-subhead {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4b5c6b;
    font-weight: 700;
    margin: 8px 0 14px;
}

.ms-feature-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.ms-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
}

.ms-check {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    background: #eef4ff;
    position: relative;
}

.ms-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid #0B5FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ms-app-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.ms-chip {
    font-size: 12px;
    font-weight: 600;
    color: #0B5FFF;
    background: #eef4ff;
    border: 1px solid #d9e8ff;
    padding: 5px 12px;
    border-radius: 999px;
}

/* ---------- Comparison table ---------- */
.ms-compare-section {
    padding: 70px 0;
    background: #f8fbff;
    border-top: 1px solid #e3e8ee;
    border-bottom: 1px solid #e3e8ee;
}

.ms-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e4ebf5;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(7, 28, 99, 0.08);
    -webkit-overflow-scrolling: touch;
}

.ms-compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14px;
}

.ms-compare-table thead th {
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
    color: #344054;
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #dfe8f5;
}

.ms-th-label {
    min-width: 220px;
}

.ms-th-price {
    display: block;
    color: #0B5FFF;
    font-weight: 800;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 4px;
}

.ms-th-price small {
    color: #667085;
    font-weight: 500;
    font-size: 11px;
}

.ms-compare-table tbody th {
    text-align: left;
    padding: 12px 20px;
    color: #4b5c6b;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #edf2f7;
    white-space: nowrap;
}

.ms-compare-table tbody td {
    padding: 12px 20px;
    text-align: center;
    color: #1e293b;
    font-weight: 500;
    border-bottom: 1px solid #edf2f7;
}

.ms-compare-table tbody tr:hover td,
.ms-compare-table tbody tr:hover th {
    background: #f8fbff;
}

.ms-section-row td {
    background: #f7f9fc;
    color: #071C63;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 20px;
}

.ms-section-row:hover td {
    background: #f7f9fc;
}

.ms-dash {
    color: #94a3b8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Add-ons ---------- */
.ms-addons-section {
    padding: 70px 0;
}

.ms-addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ms-addon-card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(7, 28, 99, 0.08);
    transition: all 0.25s ease;
}

.ms-addon-card:hover {
    border-color: #FF7A00;
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.12);
    transform: translateY(-4px);
}

.ms-addon-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #071C63;
}

.ms-addon-price {
    font-size: 22px;
    font-weight: 800;
    color: #0B5FFF !important;
    margin: 0 0 12px;
}

.ms-addon-price small {
    font-size: 12px;
    font-weight: 500;
    color: #667085;
}

.ms-strike {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
    margin-right: 6px;
}

.ms-addon-card p {
    color: #4b5c6b;
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0 0 20px;
}

/* =====================================================================
   RESPONSIVE
   Breakpoints (desktop-first cascade, largest to smallest):
   3840 → 2560 → 1920 → 1440 → 1366 → 1280 → 1024 → 768 → 576 → 480 → 375 → 320
   ===================================================================== */

/* ---------- 3840px — 4K / ultra-wide desktops ---------- */
@media (min-width: 3840px) {
    .ms-section-head h2 {
        font-size: 46px;
    }

    .ms-section-head {
        max-width: 820px;
    }

    .ms-amount {
        font-size: 48px;
    }

    .ms-plan-grid,
    .ms-addon-grid {
        gap: 32px;
    }

    .ms-plan-card {
        padding: 40px 32px;
    }

    .ms-compare-table {
        font-size: 16px;
    }
}

/* ---------- 2560px — large / QHD desktops ---------- */
@media (min-width: 2560px) and (max-width: 3839px) {
    .ms-section-head h2 {
        font-size: 40px;
    }

    .ms-amount {
        font-size: 44px;
    }

    .ms-plan-grid,
    .ms-addon-grid {
        gap: 28px;
    }

    .ms-plan-card {
        padding: 36px 28px;
    }
}

/* ---------- 1440px — laptop / small desktop ---------- */
@media (max-width: 1440px) {
    .ms-container {
        max-width: 1140px;
    }

    .ms-plan-grid {
        gap: 20px;
    }

    .ms-plan-card {
        padding: 28px 22px;
    }

    .ms-addon-grid {
        gap: 20px;
    }
}

/* ---------- 1366px — common laptop resolution ---------- */
@media (max-width: 1366px) {
    .ms-container {
        max-width: 1080px;
    }

    .ms-section-head h2 {
        font-size: 33px;
    }

    .ms-amount {
        font-size: 37px;
    }
}

/* ---------- 1280px — small laptop / large tablet landscape ---------- */
@media (max-width: 1280px) {
    .ms-container {
        max-width: 1020px;
    }

    .ms-plan-grid {
        grid-template-columns:repeat(auto-fit,minmax(320px,380px));
        gap: 24px;
    }

    .ms-plan-card {
        padding: 15px 20px;
    }

    .ms-plan-name {
        min-height: 56px;
    }

    .ms-addon-grid {
        gap: 18px;
    }
}

/* ---------- 1100px — legacy breakpoint retained: switch to 2-col plan/addon grids ---------- */
@media (max-width: 1100px) {
    .ms-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ms-addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- 1024px — tablet landscape ---------- */
@media (max-width: 1024px) {
    .ms-container {
        padding: 0 18px;
    }

    .ms-section-head h2 {
        font-size: 30px;
    }

    .ms-plans-section,
    .ms-compare-section,
    .ms-addons-section {
        padding: 56px 0;
    }
}

/* ---------- 768px — tablet portrait ---------- */
@media (max-width: 768px) {
    .ms-plans-section,
    .ms-compare-section,
    .ms-addons-section {
        padding: 50px 0;
    }

    .ms-plan-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .ms-addon-grid {
        grid-template-columns: 1fr;
    }

    .ms-toggle {
        flex-wrap: wrap;
        max-width: 92%;
        justify-content: center;
    }

    .ms-section-head h2 {
        font-size: 28px;
    }
}

/* ---------- 576px — large mobile / small tablet ---------- */
@media (max-width: 576px) {
    .ms-container {
        padding: 0 16px;
    }

    .ms-section-head {
        margin-bottom: 32px;
    }

    .ms-section-head h2 {
        font-size: 24px;
    }

    .ms-section-head p {
        font-size: 14px;
    }

    .ms-plan-card {
        padding: 24px 18px;
    }

    .ms-plan-name {
        min-height: 0;
        font-size: 18px;
    }

    .ms-plan-tagline {
        min-height: 0;
    }

    .ms-amount {
        font-size: 30px;
    }

    .ms-addon-card {
        padding: 22px;
    }

    .ms-compare-table {
        min-width: 640px;
        font-size: 13px;
    }
}

/* ---------- 480px — small mobile ---------- */
@media (max-width: 480px) {
    .ms-section-head h2 {
        font-size: 22px;
    }

    .ms-plan-card {
        padding: 26px 20px;
    }

    .ms-amount {
        font-size: 32px;
    }

    .ms-toggle-btn {
        padding: 9px 16px;
        font-size: 13px;
    }

    .ms-compare-table {
        min-width: 620px;
        font-size: 13px;
    }
}

/* ---------- 375px — standard modern phone (iPhone-class) ---------- */
@media (max-width: 375px) {
    .ms-container {
        padding: 0 14px;
    }

    .ms-eyebrow {
        font-size: 12px;
    }

    .ms-btn {
        padding: 11px 20px;
        font-size: 14px;
    }

    .ms-plans-section,
    .ms-compare-section,
    .ms-addons-section {
        padding: 40px 0;
    }

    .ms-section-head h2 {
        font-size: 20px;
    }

    .ms-section-head p {
        font-size: 13.5px;
    }

    .ms-toggle {
        padding: 5px;
        gap: 6px;
    }

    .ms-toggle-btn {
        padding: 8px 13px;
        font-size: 12.5px;
    }

    .ms-plan-card {
        padding: 22px 16px;
    }

    .ms-plan-name {
        font-size: 17px;
    }

    .ms-plan-tagline {
        font-size: 13px;
    }

    .ms-amount {
        font-size: 28px;
    }

    .ms-currency {
        font-size: 16px;
    }

    .ms-feature-list li {
        font-size: 13px;
    }

    .ms-addon-card {
        padding: 20px;
    }

    .ms-addon-card h3 {
        font-size: 16px;
    }

    .ms-addon-price {
        font-size: 20px;
    }

    .ms-compare-table {
        min-width: 560px;
        font-size: 12.5px;
    }

    .ms-compare-table thead th,
    .ms-compare-table tbody th,
    .ms-compare-table tbody td {
        padding: 10px 14px;
    }
}

/* ---------- 320px — smallest supported phone (e.g. iPhone SE 1st gen) ---------- */
@media (max-width: 320px) {
    .ms-container {
        padding: 0 12px;
    }

    .ms-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }

    .ms-plans-section,
    .ms-compare-section,
    .ms-addons-section {
        padding: 34px 0;
    }

    .ms-section-head h2 {
        font-size: 18px;
    }

    .ms-toggle {
        max-width: 100%;
        width: 100%;
    }

    .ms-toggle-btn {
        flex: 1 1 auto;
        padding: 8px 10px;
        font-size: 11.5px;
    }

    .ms-plan-card {
        padding: 18px 14px;
    }

    .ms-plan-name {
        font-size: 16px;
    }

    .ms-amount {
        font-size: 25px;
    }

    .ms-plan-billing,
    .ms-plan-note {
        font-size: 11.5px;
    }

    .ms-feature-list li {
        font-size: 12.5px;
        gap: 8px;
    }

    .ms-addon-card {
        padding: 16px;
    }

    .ms-addon-price {
        font-size: 18px;
    }

    .ms-compare-table {
        min-width: 520px;
        font-size: 12px;
    }

    .ms-compare-table thead th,
    .ms-compare-table tbody th,
    .ms-compare-table tbody td {
        padding: 8px 12px;
    }
}