:root {
    --plex-blue: #3b52f6;
    --plex-blue-hover: #2f45e0;
    --plex-navy: #1b2d6b;
    --plex-ink: #111827;
    --plex-muted: #6b7280;
    --plex-line: #e5e7eb;
    --plex-wash: #f4f6fb;
}

.plexarch-logo {
    display: inline-flex;
    align-items: center;
    /*gap: 0.55rem;*/
    text-decoration: none;
    color: inherit;
    
}

.plexarch-logo img {
    display: block;
    width: auto;
    height: 36px;
}

.plexarch-wordmark {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--plex-navy);
    line-height: 1;
}

.navbar-brand .plexarch-wordmark {
    font-size: 1.45rem;
}

.app-top-logo {
    width: auto !important;
    min-width:220px;
}

.app-top-logo .plexarch-wordmark {
    font-size: 1.5rem;
}

.plex-navbar {
    padding: 0.85rem 0;
    background: #fff;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.plex-navbar .nav-link {
    color: #1f2937 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
}

.plex-navbar .nav-link:hover {
    color: var(--plex-blue) !important;
    background: transparent;
}

.plex-navbar .nav-link.active {
    color: var(--plex-ink) !important;
    font-weight: 600;
    position: relative;
    background: transparent;
}

.plex-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--plex-ink);
    border-radius: 1px;
}

.plex-navbar .btn-signin {
    color: #1f2937 !important;
    font-weight: 600;
    padding: 0.5rem 0.9rem !important;
}

.plex-navbar .btn-get-started,
.btn-plex-primary {
    background: var(--plex-blue) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.6rem 1.15rem;
    box-shadow: none;
}

.plex-navbar .btn-get-started:hover,
.btn-plex-primary:hover {
    background: var(--plex-blue-hover) !important;
    color: #fff !important;
    transform: none;
    box-shadow: 0 8px 18px rgba(59, 82, 246, 0.25);
}

.btn-plex-outline {
    background: #fff !important;
    color: var(--plex-blue) !important;
    border: 1.5px solid var(--plex-blue) !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.6rem 1.15rem;
}

.btn-plex-outline:hover {
    background: #eef1ff !important;
    color: var(--plex-blue) !important;
    transform: none;
}

body.plex-marketing .container-fluid.px-4.pt-3 {
    display: none;
}

body.plex-marketing main.pb-3 {
    padding-bottom: 0 !important;
}

.plex-hero {
    padding:   1.5rem 0 3.5rem;
    background: #fff;
}

.plex-hero-title {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--plex-ink);
    margin-bottom: 1.25rem;
}

.plex-hero-title .accent {
    color: var(--plex-blue);
}

.plex-hero-copy {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--plex-muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.plex-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.plex-hero-visual {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.plex-trust {
    background: var(--plex-wash);
    padding: 2rem 0 1.75rem;
    border-top: 1px solid var(--plex-line);
    border-bottom: 1px solid var(--plex-line);
}

.plex-trust-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #9aa3b2;
    margin-bottom: 1.25rem;
}

.plex-trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.75rem;
    align-items: center;
}

.plex-trust-logo {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #9aa3b2;
    font-size: 1.05rem;
    opacity: 0.9;
}

.plex-trust-logo.italic {
    font-style: italic;
    font-weight: 700;
}

.plex-features {
    padding: 4.5rem 0 5rem;
    background: #fff;
}

.plex-features-title {
    text-align: center;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--plex-ink);
    margin-bottom: 3rem;
}

.plex-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.plex-feature {
    text-align: center;
    padding: 0 0.4rem;
}

.plex-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--plex-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plex-feature-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plex-feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--plex-ink);
    margin-bottom: 0.45rem;
}

.plex-feature p {
    font-size: 0.92rem;
    color: var(--plex-muted);
    line-height: 1.5;
    margin: 0;
}

.plex-footer {
    background: #fff !important;
    color: #6b7280;
    border-top: 1px solid var(--plex-line);
    padding: 2.5rem 0 !important;
    margin-top: 0 !important;
}

.plex-footer .text-muted,
.plex-footer p,
.plex-footer a {
    color: #6b7280 !important;
}

.plex-footer h5 {
    color: var(--plex-ink) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.plex-footer .social-links a {
    background: var(--plex-wash);
    color: var(--plex-navy) !important;
}

.plex-auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.plex-page-hero {
    padding: 4.25rem 0 2.25rem;
    background: #fff;
}

.plex-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9aa3b2;
    margin-bottom: 0.85rem;
}

.plex-page-title {
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--plex-ink);
    margin-bottom: 1rem;
}

.plex-page-title .accent {
    color: var(--plex-blue);
}

.plex-page-copy {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--plex-muted);
    max-width: 34rem;
    margin: 0;
}

.plex-page-visual {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
}

.plex-solutions {
    padding: 1rem 0 5.5rem;
    background: #fff;
}

.plex-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 4.5rem;
}

.plex-solution-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plex-ink);
    margin-bottom: 0.45rem;
}

.plex-solution-card p {
    font-size: 0.95rem;
    color: var(--plex-muted);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.plex-solution-card a,
.plex-resource-item a,
.plex-resource-all {
    color: var(--plex-blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.plex-solution-card a:hover,
.plex-resource-item a:hover,
.plex-resource-all:hover {
    color: var(--plex-blue-hover);
    text-decoration: underline;
}

.plex-solution-icon,
.plex-resource-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.85rem;
    color: var(--plex-blue);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.plex-solution-icon svg,
.plex-resource-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plex-resources {
    padding: 0.5rem 0 5rem;
    background: #fff;
}

.plex-resource-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
    border-bottom: 1px solid var(--plex-line);
    margin-bottom: 2.25rem;
}

.plex-resource-tab {
    appearance: none;
    background: none;
    border: 0;
    padding: 0.7rem 0;
    margin-bottom: -1px;
    color: #6b7280;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.plex-resource-tab.active {
    color: var(--plex-ink);
    font-weight: 700;
    border-bottom-color: var(--plex-ink);
}

.plex-resource-tab:hover {
    color: var(--plex-ink);
}

.plex-resource-list {
    display: grid;
    gap: 2rem;
}

.plex-resource-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.plex-resource-icon {
    margin-top: 0.15rem;
    margin-bottom: 0;
}

.plex-resource-category {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    font-weight: 700;
    color: #9aa3b2;
    margin-bottom: 0.35rem;
}

.plex-resource-item h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--plex-ink);
    margin-bottom: 0.35rem;
}

.plex-resource-item p {
    font-size: 0.95rem;
    color: var(--plex-muted);
    line-height: 1.55;
    margin-bottom: 0.55rem;
}

.plex-resource-footer {
    margin: 2.5rem 0 0;
}

.plex-docs {
    padding-top: 0;
}

.plex-doc-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.plex-doc-nav {
    position: sticky;
    top: 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.plex-doc-nav-link {
    color: var(--plex-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-radius: 6px;
}

.plex-doc-nav-link:hover,
.plex-doc-nav-link.active {
    color: var(--plex-blue);
    text-decoration: none;
}

.plex-doc-nav-link.active {
    font-weight: 700;
}

.plex-doc-article {
    color: var(--plex-ink);
    line-height: 1.65;
    max-width: 48rem;
}

.plex-doc-article h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.plex-doc-article h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
}

.plex-doc-article h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.plex-doc-article p,
.plex-doc-article li {
    color: #374151;
}

.plex-doc-article a {
    color: var(--plex-blue);
    font-weight: 600;
    text-decoration: none;
}

.plex-doc-article a:hover {
    text-decoration: underline;
}

.plex-doc-article code {
    font-size: 0.88em;
    background: var(--plex-wash);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.plex-doc-article hr {
    border: 0;
    border-top: 1px solid var(--plex-line);
    margin: 1.75rem 0;
}

.plex-doc-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.plex-doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.plex-doc-table th,
.plex-doc-table td {
    border: 1px solid var(--plex-line);
    padding: 0.55rem 0.7rem;
    text-align: left;
    vertical-align: top;
}

.plex-doc-table th {
    background: var(--plex-wash);
    font-weight: 700;
}

.plex-platform-capabilities {
    padding: 1.5rem 0 3.5rem;
}

.plex-cap-map {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(27, 45, 107, 0.1);
    overflow: hidden;
    min-height: 320px;
}

.plex-cap-map-nav {
    background: #1b2d6b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    padding: 1rem 0.6rem;
    color: #c9d3f5;
}

.plex-cap-map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c8cff;
    margin-bottom: 0.25rem;
}

.plex-cap-map-nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.85;
}

.plex-cap-map-body {
    padding: 1.15rem 1.15rem 1.25rem;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f6fb 100%);
}

.plex-cap-map-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--plex-ink);
    margin-bottom: 1rem;
}

.plex-cap-tree {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
}

.plex-cap-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
}

.plex-cap-node {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    padding: 0.7rem 0.55rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--plex-ink);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.04);
}

.plex-cap-root {
    width: min(100%, 230px);
    background: #eef1ff;
    border-color: #d7ddf8;
    color: var(--plex-navy);
}

.plex-cap-connectors {
    width: 66%;
    height: 14px;
    border-top: 1.5px solid #c9d2ea;
    border-left: 1.5px solid #c9d2ea;
    border-right: 1.5px solid #c9d2ea;
}

.plex-cap-connectors-metrics {
    width: 78%;
}

.plex-cap-metric {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    padding: 0.65rem 0.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.04);
}

.plex-cap-metric span {
    display: block;
    font-size: 0.68rem;
    color: var(--plex-muted);
    font-weight: 600;
}

.plex-cap-metric strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 1.05rem;
    color: var(--plex-blue);
    letter-spacing: -0.03em;
}

.plex-platform-secure {
    padding: 0 0 4.5rem;
}

.plex-secure-banner {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: #eef2f8;
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
}

.plex-secure-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: var(--plex-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plex-secure-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plex-secure-banner h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--plex-ink);
    margin-bottom: 0.2rem;
}

.plex-secure-banner p {
    margin: 0;
    color: var(--plex-muted);
    font-size: 0.95rem;
}

.plex-demo {
    padding-bottom: 5rem;
}

.plex-demo-benefits {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.plex-demo-benefits li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--plex-muted);
    line-height: 1.5;
}

.plex-demo-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #eef1ff;
    box-shadow: inset 0 0 0 3px var(--plex-blue);
}

.plex-demo-card {
    background: #fff;
    border: 1px solid var(--plex-line);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(27, 45, 107, 0.08);
}

.plex-demo-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--plex-ink);
    margin-bottom: 0.4rem;
}

.plex-demo-input {
    border: 1px solid #dbe1ea !important;
    border-radius: 10px !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.95rem;
    box-shadow: none !important;
}

.plex-demo-input:focus {
    border-color: var(--plex-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 82, 246, 0.12) !important;
}

.plex-demo-submit {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.75rem 1.15rem !important;
}

.plex-demo-success {
    text-align: center;
    padding: 2.5rem 1.75rem;
}

.plex-demo-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--plex-blue);
}

.plex-demo-success-icon svg {
    width: 56px;
    height: 56px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plex-demo-success h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--plex-ink);
    margin-bottom: 0.5rem;
}

.plex-demo-success p {
    color: var(--plex-muted);
    margin-bottom: 1.35rem;
}

@media (max-width: 991px) {
    .plex-hero {
        padding-top: 2.5rem;
        text-align: center;
    }

    .plex-hero-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .plex-hero-actions {
        justify-content: center;
    }

    .plex-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }

    .plex-page-hero {
        padding-top: 2.5rem;
        text-align: center;
    }

    .plex-doc-layout {
        grid-template-columns: 1fr;
    }

    .plex-doc-nav {
        position: static;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--plex-line);
    }

    .plex-page-title,
    .plex-page-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .plex-solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plex-solution-icon {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .plex-secure-banner {
        flex-direction: column;
        text-align: center;
    }

    .plex-demo-benefits {
        text-align: left;
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    .plex-feature-grid {
        grid-template-columns: 1fr;
    }

    .plex-resource-item {
        grid-template-columns: 1fr;
    }
}
