﻿.dotnet-platform-top-nav {
    display: grid;
    grid-template-columns: minmax(390px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
}

    .dotnet-platform-top-nav .brand {
        min-width: 0;
    }

        .dotnet-platform-top-nav .brand strong {
            white-space: nowrap;
        }

.dotnet-zone-top-nav {
    --zone-tab-width: 148px;
    --zone-gap: 50px;
    --journey-dot-size: 10px;
    --journey-line: rgba(125, 211, 252, .38);
    --journey-glow: rgba(56, 189, 248, .28);
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, var(--zone-tab-width));
    justify-content: center;
    align-items: stretch;
    column-gap: var(--zone-gap);
    isolation: isolate;
}

    .dotnet-zone-top-nav::before {
        content: "";
        position: absolute;
        left: calc(var(--zone-tab-width) / 2);
        right: calc(var(--zone-tab-width) / 2);
        top: 50%;
        height: 2px;
        border-radius: 999px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, transparent, var(--journey-line), var(--journey-line), transparent);
        box-shadow: 0 0 18px var(--journey-glow);
        z-index: -1;
    }

.dotnet-zone-tab-shell {
    position: relative;
    display: grid;
    min-width: 0;
}

.dotnet-zone-connector {
    position: absolute;
    left: calc(100% + (var(--zone-gap) / 2) - (var(--journey-dot-size) / 2));
    top: 50%;
    width: var(--journey-dot-size);
    height: var(--journey-dot-size);
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(125, 211, 252, .92);
    border: 2px solid rgba(8, 22, 42, .98);
    box-shadow: 0 0 0 5px rgba(125, 211, 252, .08), 0 0 18px rgba(125, 211, 252, .42);
    z-index: 2;
    pointer-events: none;
}

    .dotnet-zone-connector::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        border-radius: 999px;
        transform: translate(-50%, -50%);
        background: var(--journey-node);
        border: 2px solid rgba(8, 22, 42, .98);
        box-shadow: 0 0 0 5px rgba(125, 211, 252, .08), 0 0 18px rgba(125, 211, 252, .42);
    }

.dotnet-zone-tab {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    width: 100%;
    min-height: 78px;
    padding: 14px 18px 15px;
    border-radius: 14px;
    color: #ffffff;
    border: 1px solid rgba(125, 211, 252, .26);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .10);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .dotnet-zone-tab strong {
        position: relative;
        color: inherit;
        font-size: 1.1rem;
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -.02em;
    }

    .dotnet-zone-tab::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: 11px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 58%);
        pointer-events: none;
    }

    .dotnet-zone-tab.learning-path-accent-foundation {
        --zone-active-glow: rgba(16, 185, 129, .44);
        background: linear-gradient(135deg, #10b981, #0f8f7f);
    }

    .dotnet-zone-tab.learning-path-accent-web {
        --zone-active-glow: rgba(14, 165, 233, .44);
        background: linear-gradient(135deg, #0ea5e9, #087fa9);
    }

    .dotnet-zone-tab.learning-path-accent-architecture {
        --zone-active-glow: rgba(99, 102, 241, .52);
        background: linear-gradient(135deg, #6366f1, #4338ca);
    }

    .dotnet-zone-tab.learning-path-accent-cloud {
        --zone-active-glow: rgba(125, 211, 252, .32);
        background: linear-gradient(135deg, #263449, #111827);
    }

    .dotnet-zone-tab:hover {
        transform: translateY(-2px);
        border-color: rgba(191, 232, 255, .50);
        box-shadow: 0 16px 34px rgba(0, 0, 0, .30), 0 0 0 1px rgba(125, 211, 252, .12), 0 0 22px rgba(56, 189, 248, .12), inset 0 1px 0 rgba(255, 255, 255, .16);
        filter: brightness(1.06) saturate(1.04);
    }

    .dotnet-zone-tab.active {
        transform: translateY(-6px) scale(1.035);
        border-color: rgba(255, 255, 255, .72);
        box-shadow: 0 24px 54px rgba(0, 0, 0, .46), 0 0 0 1px rgba(255, 255, 255, .18), 0 0 34px var(--zone-active-glow), inset 0 1px 0 rgba(255, 255, 255, .26);
        filter: brightness(1.11) saturate(1.08);
        z-index: 4;
    }

        .dotnet-zone-tab.active::after {
            content: "";
            position: absolute;
            left: 16px;
            right: 16px;
            top: 8px;
            height: 3px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .82);
            box-shadow: 0 0 20px rgba(255, 255, 255, .55);
            pointer-events: none;
        }

        .dotnet-zone-tab.active:hover {
            transform: translateY(-7px) scale(1.04);
            border-color: rgba(255, 255, 255, .82);
            box-shadow: 0 28px 62px rgba(0, 0, 0, .50), 0 0 0 1px rgba(255, 255, 255, .22), 0 0 42px var(--zone-active-glow), inset 0 1px 0 rgba(255, 255, 255, .30);
            filter: brightness(1.14) saturate(1.10);
        }

.dotnet-zone-tab-number {
    position: relative;
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .94);
    font-size: .86rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .04em;
}

.utility-menu {
    flex-wrap: nowrap;
    align-items: center;
}

.dotnet-standard-hero {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 190px;
    margin-bottom: 0;
    padding: 24px 40px 26px;
    overflow: visible;
}

.dotnet-standard-hero-main {
    display: grid;
    align-content: center;
    max-width: 820px;
    min-height: 128px;
}

.dotnet-standard-hero .hero-main h1 {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    min-height: 0;
    margin: 0;
    color: var(--hero-title-text);
    font-size: clamp(2.55rem, 4vw, 3.45rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.dotnet-hero-step-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
    border: 1px solid rgba(132, 187, 255, .38);
    box-shadow: 0 18px 40px rgba(22, 119, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .18);
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0;
}

.dotnet-standard-hero .hero-main p {
    max-width: 690px;
    min-height: 0;
    margin: 14px 0 0;
    color: var(--hero-text);
    font-size: 1.02rem;
    line-height: 1.48;
}

.dotnet-standard-frame {
    grid-template-columns: 310px minmax(0, 1fr);
    min-height: calc(100vh - 300px);
}

.dotnet-step-sidebar {
    background: linear-gradient(180deg, rgba(10, 22, 40, .96), rgba(8, 18, 35, .98));
}

.dotnet-step-sidebar-inner {
    padding-top: 0;
}

.dotnet-step-sidebar-panel {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(16, 32, 55, .82), rgba(8, 20, 38, .92));
    border: 1px solid rgba(93, 128, 178, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .18);
}

.dotnet-step-sidebar-heading {
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

    .dotnet-step-sidebar-heading span {
        display: block;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        text-transform: uppercase;
        letter-spacing: .16em;
        font-size: .78rem;
        font-weight: 950;
        line-height: 1;
    }

    .dotnet-step-sidebar-heading.learning-path-accent-foundation span {
        color: #34d399;
    }

    .dotnet-step-sidebar-heading.learning-path-accent-web span {
        color: #38bdf8;
    }

    .dotnet-step-sidebar-heading.learning-path-accent-architecture span {
        color: #818cf8;
    }

    .dotnet-step-sidebar-heading.learning-path-accent-cloud span {
        color: #cbd5e1;
    }

.dotnet-step-list {
    display: grid;
    gap: 8px;
}

.dotnet-step-list-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 12px;
    color: rgba(222, 235, 255, .84);
    background: transparent;
    border: 1px solid transparent;
    transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

    .dotnet-step-list-item:hover,
    .dotnet-step-list-item.active {
        transform: translateX(2px);
        color: #ffffff;
        border-color: rgba(255, 255, 255, .12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 10px 24px rgba(0, 0, 0, .16);
    }

    .dotnet-step-list-item.learning-path-accent-foundation:hover,
    .dotnet-step-list-item.learning-path-accent-foundation.active {
        background: linear-gradient(135deg, rgba(16, 185, 129, .86), rgba(15, 159, 141, .76));
    }

    .dotnet-step-list-item.learning-path-accent-web:hover,
    .dotnet-step-list-item.learning-path-accent-web.active {
        background: linear-gradient(135deg, rgba(14, 165, 233, .86), rgba(8, 145, 178, .76));
    }

    .dotnet-step-list-item.learning-path-accent-architecture:hover,
    .dotnet-step-list-item.learning-path-accent-architecture.active {
        background: linear-gradient(135deg, rgba(99, 102, 241, .86), rgba(37, 99, 235, .76));
    }

    .dotnet-step-list-item.learning-path-accent-cloud:hover,
    .dotnet-step-list-item.learning-path-accent-cloud.active {
        background: linear-gradient(135deg, rgba(51, 65, 85, .9), rgba(15, 23, 42, .82));
    }

.dotnet-step-number {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #0f2238;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .52);
    font-size: .86rem;
    font-weight: 950;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

.dotnet-step-emoji-chip {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .62);
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.dotnet-step-title {
    color: inherit;
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.15;
}

.dotnet-standard-posts-area {
    min-height: 320px;
    background: linear-gradient(180deg, rgba(16, 31, 53, .98), rgba(11, 24, 43, .99));
}

.dotnet-standard-section-header {
    padding: 0;
    margin-bottom: 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dotnet-empty-step-card {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 28px;
    border-radius: 20px;
    color: var(--post-card-text);
    background: var(--post-card-bg);
    border: 1px solid var(--post-card-border);
    box-shadow: var(--shadow-card);
}

    .dotnet-empty-step-card strong {
        display: block;
        color: var(--post-title-text);
        font-size: 1.35rem;
    }

    .dotnet-empty-step-card p {
        max-width: 760px;
        margin: 10px 0 0;
        color: var(--post-summary-text);
        line-height: 1.7;
    }

@media (max-width: 1280px) {
    .dotnet-platform-top-nav {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .dotnet-zone-top-nav {
        order: 3;
        justify-content: flex-start;
    }

    .utility-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    .dotnet-zone-top-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dotnet-zone-connector {
        display: none;
    }

    .dotnet-standard-hero {
        min-height: 170px;
        padding: 22px 32px 24px;
    }

    .dotnet-standard-hero-main {
        min-height: 112px;
    }

    .dotnet-standard-frame {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .dotnet-zone-top-nav {
        grid-template-columns: 1fr;
    }

    .dotnet-standard-hero {
        min-height: 154px;
        padding: 22px 24px;
    }

    .dotnet-standard-hero-main {
        min-height: 0;
    }

    .dotnet-standard-hero .hero-main h1 {
        font-size: 2.35rem;
        line-height: 1.02;
    }

    .dotnet-standard-hero .hero-main p {
        margin-top: 12px;
        font-size: .98rem;
        line-height: 1.45;
    }
}
