/* Public marketing homepage — full-width IPTV landing (no sidebar chrome) */

html {
    scroll-behavior: smooth;
}

body.mkt-home {
    min-height: 100vh;
    max-width: 100%;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mkt-wrap {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.mkt-wrap img,
.mkt-wrap svg,
.mkt-wrap video,
.mkt-wrap iframe {
    max-width: 100%;
    height: auto;
}

.mkt-container,
.mkt-header-inner,
.professional-footer-grid,
.professional-footer-bottom {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 3.5vw, 48px);
    padding-right: clamp(16px, 3.5vw, 48px);
    box-sizing: border-box;
}

.mkt-wrap table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.mkt-table-scroll,
.mkt-wrap .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .mkt-wrap table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ----- Header ----- */
.mkt-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: #ffffff;
    border-bottom: 0;
    box-shadow: none;
}

.mkt-header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;
    padding-top: 18px;
    padding-bottom: 18px;
    background: transparent;
}

.mkt-hero-top-divider {
    display: none;
}

.mkt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.mkt-brand img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.mkt-brand-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mkt-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
}

.mkt-brand-text strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.mkt-brand-text span {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: -1px;
}

.mkt-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mkt-nav a,
.mkt-nav .nav-link,
.mkt-nav .nav-dropdown-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #475569;
    font: inherit;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.mkt-nav a:hover,
.mkt-nav .nav-link:hover,
.mkt-nav .nav-dropdown-toggle:hover,
.mkt-nav a.active,
.mkt-nav .nav-link.active {
    color: #2563eb;
    background: #eff6ff;
}

.mkt-nav .nav-dropdown {
    position: relative;
}

.mkt-nav .nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 8px;
    z-index: 20;
}

.mkt-nav .nav-dropdown.open .nav-submenu {
    display: block;
}

.mkt-nav .nav-submenu-link {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 13.5px;
}

.mkt-nav .nav-submenu-link:hover,
.mkt-nav .nav-submenu-link.active {
    background: #eff6ff;
    color: #2563eb;
}

.mkt-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mkt-search-wrap {
    display: none;
}

.mkt-search-wrap .search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 12px;
    height: 38px;
}

.mkt-search-wrap input {
    border: 0;
    background: transparent;
    outline: none;
    width: 160px;
    font: inherit;
    font-size: 13px;
    color: #0f172a;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 30;
}

.search-result,
.search-result-empty {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.search-result:hover,
.search-result.is-active {
    background: #eff6ff;
}

.search-result span {
    color: #94a3b8;
    font-size: 12px;
}

.mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 45px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.mkt-header-actions .mkt-btn,
.mkt-header-actions .mkt-btn-primary,
.mkt-hero-buttons .mkt-btn,
.mkt-cta-card .mkt-btn {
    height: 50px;
    padding: 0 45px;
    border-radius: 5px;
    font-size: 15px;
}

.mkt-btn-ghost {
    color: #2563eb;
    background: #fff;
    border-color: #bfdbfe;
}

.mkt-btn-ghost:hover {
    background: #eff6ff;
}

.mkt-header-actions .mkt-btn-primary {
    height: 50px;
    padding: 0 45px;
    border-radius: 5px;
}

.mkt-btn-primary {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.mkt-btn-primary:hover {
    background: #1d4ed8;
}

.mkt-btn-dark {
    color: #fff;
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.14);
}

.mkt-btn-dark:hover {
    background: #1e293b;
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 10px 11px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    background: #0f172a;
    margin: 5px 0;
    border-radius: 2px;
}

/* ----- Mobile drawer ----- */
.mkt-drawer {
    display: none;
}

.landing-mobile-overlay {
    display: none;
}

@media (max-width: 1100px) {
    .mkt-nav,
    .mkt-search-wrap {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-block;
        flex-shrink: 0;
    }

    .mkt-header-inner {
        gap: 10px;
    }

    .mkt-brand img {
        height: 34px;
        max-width: 140px;
    }

    .mkt-header-actions .mkt-btn-primary {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
        border-radius: 5px;
    }

    .landing-mobile-overlay.active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 90;
    }

    .mkt-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 88vw);
        background: #fff;
        z-index: 100;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        padding: 18px;
        box-shadow: 16px 0 40px rgba(15, 23, 42, 0.18);
    }

    .mkt-drawer.mobile-open {
        transform: translateX(0);
    }

    .mkt-drawer .brand-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .mkt-drawer .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mkt-drawer .nav-link,
    .mkt-drawer .nav-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 12px;
        border: 0;
        background: #f8fafc;
        border-radius: 10px;
        text-decoration: none;
        color: #0f172a;
        font: inherit;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

    .mkt-drawer .nav-submenu {
        display: none;
        padding: 6px 0 6px 10px;
    }

    .mkt-drawer .nav-dropdown.open .nav-submenu {
        display: block;
    }

    .mkt-drawer .nav-submenu-link {
        display: block;
        padding: 9px 12px;
        color: #475569;
        text-decoration: none;
        border-radius: 8px;
    }

    .mkt-drawer .sidebar-box {
        margin-top: auto;
        background: #0f172a;
        color: #cbd5e1;
        border-radius: 16px;
        padding: 18px;
    }

    .mkt-drawer .sidebar-box h4 {
        color: #fff;
        margin-bottom: 6px;
    }

    .mkt-drawer .sidebar-btn {
        display: block;
        margin-top: 12px;
        background: #2563eb;
        color: #fff;
        text-align: center;
        text-decoration: none;
        border-radius: 10px;
        padding: 10px;
        font-weight: 600;
    }

    .mobile-sidebar-close {
        width: 36px;
        height: 36px;
        border: 0;
        background: #f1f5f9;
        border-radius: 8px;
        font-size: 22px;
        cursor: pointer;
    }
}

body.landing-menu-open {
    overflow: hidden;
}

/* ----- Hero ----- */
.mkt-hero {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
    color: #0f172a;
    background: #ffffff;
    padding: 8px 0 12px;
    border-bottom: 0;
}

.mkt-hero::before,
.mkt-hero::after {
    content: none;
    display: none;
}

.mkt-hero-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.mkt-hero-banner-fill {
    position: absolute;
    top: 0;
    right: 0;
    width: min(55%, 820px);
    height: 100%;
    background:
        radial-gradient(90% 70% at 82% 16%, rgba(255, 255, 255, 0.34) 0%, transparent 46%),
        linear-gradient(152deg, #7dd3fc 0%, #3b82f6 36%, #2563eb 68%, #1d4ed8 100%);
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 86%);
}

.mkt-hero-banner-facet {
    position: absolute;
    top: 0;
    right: 0;
    width: min(46%, 680px);
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 42%, transparent 100%);
    clip-path: polygon(34% 0, 100% 0, 100% 78%, 10% 100%);
}

.mkt-hero-banner-glow {
    position: absolute;
    top: 8%;
    right: 4%;
    width: 42%;
    height: 72%;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.28) 0%, transparent 68%);
}

.mkt-hero h1,
.mkt-hero h2 {
    margin: 0;
    max-width: none;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    text-wrap: balance;
}

.mkt-hero h1 .mkt-hero-phrase,
.mkt-hero h2 .mkt-hero-phrase,
.mkt-hero h1 span span,
.mkt-hero h2 span span,
.mkt-hero h1 .mkt-hero-phrase span,
.mkt-hero h2 .mkt-hero-phrase span {
    display: inline;
    white-space: nowrap;
    background: none;
    color: #2563eb;
    -webkit-text-fill-color: #2563eb;
}

.mkt-hero-copy p {
    margin-top: 16px;
    max-width: 36em;
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
}

.mkt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.mkt-hero-badge i {
    background: #2563eb;
}

.mkt-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.mkt-hero-buttons .mkt-btn {
    height: 50px;
    padding: 0 45px;
    border-radius: 5px;
    font-size: 15px;
}

.mkt-btn-outline {
    color: #2563eb;
    background: #fff;
    border: 1.5px solid #2563eb;
}

.mkt-btn-outline:hover {
    background: #eff6ff;
}

.mkt-hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.mkt-hero-checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
}

.mkt-hero-checks li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
}

.mkt-tv-overlay,
.mkt-tv-badge {
    display: none;
}

.mkt-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 20px 28px;
    align-items: center;
}

.mkt-hero-copy {
    min-width: 0;
}

.mkt-hero-preview {
    position: relative;
    min-height: 0;
}

.mkt-tv {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.mkt-tv img {
    width: 100%;
    height: auto;
    display: block;
}

.mkt-device-laptop,
.mkt-device-phone {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 3px solid #0b1220;
    background: #020617;
}

.mkt-device-laptop {
    width: 46%;
    aspect-ratio: 16 / 10;
    right: 8%;
    bottom: -18px;
}

.mkt-device-phone {
    width: 16%;
    aspect-ratio: 9 / 18;
    right: -2%;
    bottom: -8px;
    border-radius: 14px;
}

.mkt-hero-script {
    position: absolute;
    right: 0;
    top: 8px;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.78);
    transform: rotate(8deg);
    pointer-events: none;
}

/* ----- Stats ----- */
.mkt-stats {
    position: relative;
    z-index: 3;
    margin-top: 66px;
    margin-bottom: 0;
    padding: 45px 0;
    background: #fff;
}

.mkt-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.mkt-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    min-height: 0;
    padding: 45px 14px;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    box-shadow: none;
}

.mkt-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.mkt-stat-icon svg {
    width: 26px;
    height: 26px;
}

.mkt-stat-icon span {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 22px;
    padding: 0 6px;
    border: 1.8px solid #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.mkt-stat h3 {
    color: #3c3e44;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    margin: 0;
}

.mkt-stat strong {
    display: none;
}

.mkt-stat p {
    color: #64748b;
    font-size: 13px;
    margin: 6px 0 0;
    max-width: 16em;
    line-height: 1.4;
    overflow: visible;
    overflow-wrap: anywhere;
}

/* ----- Sections ----- */
.mkt-section {
    padding: 56px 0;
}

.mkt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
}

.mkt-kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mkt-section-head h3,
.mkt-center h3 {
    color: #0f172a;
    font-size: clamp(24px, 2.4vw, 30px);
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-wrap: balance;
}

.mkt-section-head p,
.mkt-center p {
    color: #64748b;
    margin-top: 6px;
    max-width: 42em;
    line-height: 1.55;
}

.mkt-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.mkt-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

/* ----- Categories ----- */
.mkt-categories,
#categories {
    background: linear-gradient(180deg, #eef4ff, #f4f7fc 40%);
}

.mkt-categories .mkt-kicker {
    color: #2563eb;
}

.mkt-categories .mkt-center h3,
.mkt-categories .mkt-cat-name {
    color: #0f172a;
}

.mkt-categories .mkt-center p {
    color: #64748b;
}

.mkt-cats {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px 12px;
}

.mkt-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 10px 14px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: none;
}

.mkt-cat:hover {
    transform: translateY(-3px);
}

.mkt-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #2563eb;
    color: #ffffff;
    box-shadow: none;
}

.mkt-cat-icon svg {
    width: 26px;
    height: 26px;
}

.mkt-cat:nth-child(n) .mkt-cat-icon {
    background: #2563eb;
    color: #ffffff;
}

/* ----- Plans ----- */
.mkt-plans-wrap {
    background: linear-gradient(180deg, #eef4ff, #f4f7fc 40%);
}

.mkt-plans-intro {
    text-align: center;
    margin: 0 0 22px;
}

.mkt-plans-intro h3 {
    color: #0f172a;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.mkt-plans-intro p {
    color: #64748b;
    margin-top: 6px;
}

.mkt-group-switch-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 8px 0 32px;
    padding: 0;
    border: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: thin;
}

.mkt-group-switch {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    width: max-content;
    min-width: 0;
    max-width: none;
    margin: 0 auto;
    padding: 5px;
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 99px;
    box-shadow: none;
    box-sizing: border-box;
}

.mkt-group-switch-btn {
    border: 0;
    background: transparent;
    color: #56575a;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    height: 45px;
    padding: 7px 20px;
    border-radius: 99px;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

.mkt-group-switch-btn.is-active {
    background: #2563eb;
    color: #fff;
}

.mkt-plans,
.plans,
.group-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    gap: 18px;
    align-items: stretch;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.plans[hidden],
.mkt-plan-panel[hidden] {
    display: none !important;
}

.plan-card,
.mkt-plan {
    position: relative;
    width: 300px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.plan-card.popular,
.mkt-plan.popular {
    border: 1px solid #eef2f7;
    transform: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    padding-top: 26px;
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-pill {
    display: none;
}

.popular-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.plan-card h4,
.mkt-plan h4 {
    color: #0f172a;
    font-size: 26px;
    font-weight: 300;
    overflow-wrap: anywhere;
}

.plan-subtitle {
    color: #64748b;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    margin: 8px 0 18px;
    max-width: 22em;
}

.plan-starting {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-price {
    color: #0f172a;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.plan-price span,
.plan-price .was {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0;
}

.plan-price .was {
    text-decoration: line-through;
    margin-left: 8px;
}

.plan-card ul,
.mkt-plan ul,
.plan-view-all,
.popular-badge {
    display: none;
}

.plan-cart-form {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.plan-btn,
.plan-card .plan-btn,
.plans .plan-btn,
button.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 150px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #2563eb !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 5px;
    padding: 0 28px;
    height: 44px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: auto;
}

.plan-btn:hover,
.plan-card .plan-btn:hover,
button.plan-btn:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
}

.plan-btn.plan-btn-out-of-stock,
.plan-card .plan-btn.plan-btn-out-of-stock,
button.plan-btn.plan-btn-out-of-stock,
.plan-btn.plan-btn-out-of-stock:hover,
.plan-card .plan-btn.plan-btn-out-of-stock:hover,
button.plan-btn.plan-btn-out-of-stock:hover {
    background: #94a3b8 !important;
    color: #fff !important;
    cursor: not-allowed;
}

.plan-card.is-out-of-stock .plan-btn.plan-btn-out-of-stock {
    pointer-events: none;
}

.plan-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.plan-card.trial-plan-card .plan-btn,
.mkt-plan.trial-plan-card .plan-btn {
    background: #2563eb !important;
    color: #fff !important;
    border: 0 !important;
}

.plan-group-count {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.plan-card.is-search-hidden,
.mkt-plan.is-search-hidden,
.mkt-cat.is-search-hidden {
    display: none !important;
}

.plans-search-empty,
.plan-group-empty {
    text-align: center;
    color: #64748b;
    padding: 24px;
}

.group-page-back {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.plans.single-trial-plan {
    grid-template-columns: minmax(260px, 360px);
    justify-content: center;
}

/* ----- Why / devices ----- */
.mkt-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 8px 0 48px;
}

.mkt-why-grid article {
    position: relative;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 28px 18px 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.mkt-why-grid article:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-style: solid;
    border-width: 0 38px 38px 0;
    border-color: transparent #2563eb transparent transparent;
}

.mkt-why-grid article:first-child::after {
    content: "✓";
    position: absolute;
    top: 5px;
    right: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    z-index: 1;
}

.mkt-why-grid article span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
}

.mkt-why-grid article span svg {
    width: 24px;
    height: 24px;
}

.mkt-why-grid h4 {
    color: #3c3e44;
    font-size: 16px;
    margin-bottom: 6px;
}

.mkt-why-grid p {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.5;
}

.mkt-devices {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}

.mkt-devices-media {
    background: transparent;
}

.mkt-devices-media img {
    width: 100%;
    height: auto;
    display: block;
}

.mkt-devices h3 {
    color: #0f172a;
    font-size: clamp(26px, 2.6vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.mkt-devices > div > p {
    color: #64748b;
    margin-top: 10px;
    max-width: 36em;
}

.mkt-device-list {
    list-style: none;
    margin: 18px 0 24px;
    padding: 0;
}

.mkt-device-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
}

.mkt-device-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 800;
}

/* ----- How it works ----- */
.mkt-how {
    position: relative;
    background: #2563eb;
    padding: 84px 0;
    overflow: hidden;
    border-top: 0;
    border-bottom: 0;
}

.mkt-how::before,
.mkt-how::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 36px;
    pointer-events: none;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.mkt-how::before {
    top: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f7fc' d='M0 0h1440v16c-80 0-110 20-200 20s-115-18-215-18-125 22-230 22-120-18-225-18-130 20-240 20S250 14 150 14 70 28 0 28V0z'/%3E%3C/svg%3E");
}

.mkt-how::after {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fbff' d='M0 60h1440V44c-80 0-110-20-200-20s-115 18-215 18-125-22-230-22-120 18-225 18-130-20-240-20S250 46 150 46 70 32 0 32v28z'/%3E%3C/svg%3E");
}

.mkt-how .mkt-kicker {
    color: #bfdbfe;
}

.mkt-how .mkt-center h3,
.mkt-how h3 {
    color: #fff;
}

.mkt-how .mkt-center p {
    color: #dbeafe;
}

.mkt-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mkt-step {
    position: relative;
    text-align: center;
    padding: 8px 18px;
}

.mkt-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -10px;
    top: 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 22px;
    font-weight: 700;
}

.mkt-step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    color: #2563eb;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.mkt-step-icon svg {
    width: 28px;
    height: 28px;
}

.mkt-step-num {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.mkt-step h4 {
    color: #fff;
    margin-bottom: 6px;
}

.mkt-step p {
    color: #dbeafe;
    font-size: 13.5px;
}

/* ----- Reviews ----- */
.mkt-reviews {
    background: #f8fbff;
}

.mkt-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mkt-reviews-grid article {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.mkt-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

.mkt-reviews-grid p {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.6;
}

.mkt-reviews-grid strong {
    display: block;
    margin-top: 16px;
    color: #0f172a;
}

.mkt-reviews-grid span {
    color: #64748b;
    font-size: 13px;
}

/* ----- CTA ----- */
.mkt-cta {
    padding: 0 0 56px;
}

.mkt-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(90deg, #1d4ed8, #2563eb 55%, #1e3a8a);
    color: #fff;
    border-radius: 22px;
    padding: 28px 32px;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.mkt-cta-card h3 {
    font-size: 26px;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.mkt-cta-card p {
    color: #dbeafe;
}

.mkt-cta-card .mkt-btn {
    background: #fff;
    color: #1d4ed8;
    height: 50px;
    padding: 0 45px;
    border-radius: 5px;
    font-size: 15px;
}

/* ----- Footer ----- */
.professional-footer {
    background: #fff;
    border-top: 1px solid #eef2f7;
    padding: 48px 0 18px;
    color: var(--footer-text, #64748b);
}

.professional-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 28px;
}

.professional-footer-brand p {
    margin-top: 12px;
    max-width: 280px;
}

.professional-footer-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
}

.professional-footer h5 {
    color: var(--footer-heading, #0f172a);
    font-size: 15px;
    margin-bottom: 14px;
}

.professional-footer-links a {
    display: flex;
    justify-content: space-between;
    color: var(--footer-link, #64748b);
    text-decoration: none;
    padding: 5px 0;
    font-size: 13.5px;
}

.professional-footer-links a:hover {
    color: var(--footer-link-hover, #2563eb);
}

.professional-footer-links b {
    display: none;
}

.professional-footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.professional-footer-social span,
.professional-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
}

.professional-footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.mkt-subscribe {
    display: flex;
    gap: 0;
    margin-top: 12px;
}

.mkt-subscribe input {
    flex: 1;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 10px 0 0 10px;
    padding: 0 12px;
    font: inherit;
}

.mkt-subscribe button {
    height: 42px;
    border: 0;
    background: #2563eb;
    color: #fff;
    border-radius: 0 10px 10px 0;
    padding: 0 14px;
    cursor: pointer;
}

.professional-footer-bottom {
    margin: 28px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--footer-border, #eef2f7);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}

.footer-status {
    display: flex;
    gap: 16px;
}

.footer-status a {
    color: inherit;
    text-decoration: none;
}

.footer-status a:hover {
    color: #2563eb;
}

.coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* Features (kept, restyled) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 18px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.feature-card h4 {
    color: #0f172a;
}

.feature-card p {
    color: #64748b;
    font-size: 13.5px;
    margin-top: 4px;
}

.experience-section,
.final-landing-cta,
.portal-highlight {
    display: none;
}

@media (max-width: 1280px) {
    .mkt-plans,
    .plans,
    .group-summary-grid {
        grid-template-columns: repeat(auto-fit, 300px);
    }

    .mkt-cats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .mkt-cats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mkt-plans,
    .plans,
    .group-summary-grid {
        grid-template-columns: repeat(auto-fit, 300px);
    }

    .mkt-stats-grid,
    .mkt-steps,
    .mkt-why-grid,
    .mkt-reviews-grid,
    .professional-footer-grid,
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mkt-devices {
        grid-template-columns: 1fr;
    }

    .mkt-step:not(:last-child)::after {
        display: none;
    }

    .mkt-hero-banner-fill,
    .mkt-hero-banner-facet,
    .mkt-hero-banner-glow {
        width: 100%;
        height: 42%;
        top: auto;
        bottom: 0;
        right: 0;
        clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
    }

    .mkt-hero-banner-glow {
        height: 50%;
        clip-path: none;
    }

    .mkt-hero-grid {
        grid-template-columns: 1fr;
    }

    .mkt-hero-preview {
        max-width: 560px;
        margin: 0 auto;
    }

    .plan-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    .mkt-cats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mkt-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mkt-stat {
        min-height: 0;
    }

    .mkt-hero {
        padding: 28px 0 24px;
    }

    .mkt-hero h1,
    .mkt-hero h2 {
        max-width: none;
        font-size: clamp(28px, 7.4vw, 40px);
    }

    .mkt-hero-copy p {
        max-width: none;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .mkt-hero h1 .mkt-hero-phrase,
    .mkt-hero h2 .mkt-hero-phrase,
    .mkt-hero h1 .mkt-hero-phrase span,
    .mkt-hero h2 .mkt-hero-phrase span {
        white-space: normal;
    }

    .mkt-cta-card,
    .professional-footer-bottom,
    .mkt-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mkt-cta-card .mkt-btn {
        width: 100%;
    }

    .footer-status {
        flex-wrap: wrap;
    }

    .mkt-hero-script,
    .mkt-device-laptop,
    .mkt-device-phone {
        display: none;
    }
}

@media (max-width: 640px) {
    .mkt-header-actions .mkt-btn-ghost {
        display: none;
    }

    .mkt-plans,
    .plans,
    .group-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(0, 300px));
        justify-content: center;
    }

    .mkt-steps,
    .mkt-why-grid,
    .mkt-reviews-grid,
    .professional-footer-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .mkt-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-price {
        font-size: 36px;
        font-weight: 700;
    }

    .mkt-group-switch-wrap {
        justify-content: flex-start;
    }

    .mkt-group-switch {
        width: max-content;
        min-width: 0;
        max-width: none;
        flex-wrap: nowrap;
        border-radius: 99px;
        margin: 0 auto;
    }

    .mkt-group-switch-btn {
        flex: 0 0 auto;
        min-width: 0;
        height: 45px;
        padding: 7px 20px;
        border-radius: 99px;
        font-size: 14px;
        font-weight: 500;
    }
}

/* ----- Auth pages with landing chrome ----- */
body.mkt-auth {
    background: #f4f7fb;
}

.mkt-auth-main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
}

.mkt-auth-body {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 40px 16px 56px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.07), transparent 32%),
        #f4f7fb;
}

.mkt-auth-body .login-card {
    width: 100%;
    max-width: 440px;
    min-width: 0;
}

.mkt-auth-body .register-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.mkt-auth *,
body.mkt-auth *::before,
body.mkt-auth *::after {
    box-sizing: border-box;
}

.mkt-auth-body input,
.mkt-auth-body select,
.mkt-auth-body textarea,
.mkt-auth-body button {
    max-width: 100%;
}

