html, body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0d1117;
    color: #e6edf3;
    scroll-behavior: smooth;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--azure-light);
}

/* Feature table link overrides */
.feature-table td a {
    color: #7ec8ff;
    text-decoration: none;
}
.feature-table td a:hover {
    color: #a8d8ff;
    text-decoration: underline;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================================
   CUSTOM SITE STYLES — Azure Local Management Tool
   ============================================================ */

:root {
    --azure: #0078d4;
    --azure-light: #50a0e0;
    --azure-dark: #005a9e;
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1f2937;
    --border: #30363d;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --text-accent: #58a6ff;
    --hero-gradient-from: #0d1117;
    --hero-gradient-to: #0d2140;
    --section-alt: #111822;
}

a, .btn-link { color: var(--azure-light); }
a:hover { color: var(--text-accent); }

.text-azure { color: var(--azure-light); }

/* ---- Navbar ---- */
.site-navbar {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.site-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.site-navbar .navbar-brand:hover { color: var(--azure-light); }

.site-navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    transition: color 0.15s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--text-main);
}

.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28230,237,243,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-download {
    background: var(--azure);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s;
}

.btn-download:hover { background: var(--azure-dark); color: #fff; }

/* ---- Hero ---- */
.hero-section {
    background: linear-gradient(135deg, var(--hero-gradient-from) 0%, var(--hero-gradient-to) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 75% 50%, rgba(0,120,212,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.min-vh-75 { min-height: 60vh; }

.badge-preview {
    display: inline-flex;
    align-items: center;
    background: rgba(0,120,212,0.15);
    border: 1px solid rgba(0,120,212,0.35);
    color: var(--azure-light);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-title .accent { color: var(--azure-light); }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.btn-hero {
    background: var(--azure);
    border-color: var(--azure);
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.15s;
}

.btn-hero:hover { background: var(--azure-dark); border-color: var(--azure-dark); color: #fff; }

.btn-outline-hero {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.15s;
}

.btn-outline-hero:hover { border-color: var(--azure-light); color: var(--azure-light); background: rgba(0,120,212,0.08); }

.btn-ghost-hero {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.btn-ghost-hero:hover { color: var(--text-main); }

.hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.stat-card:hover {
    border-color: var(--azure);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,120,212,0.2);
}

.stat-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: top left;
    display: block;
    border-bottom: 1px solid var(--border);
    filter: brightness(0.92) saturate(0.9);
    transition: filter 0.2s;
}

.stat-card:hover .stat-thumb {
    filter: brightness(1) saturate(1);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.3;
    padding: 0.5rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Section Highlights ---- */
.section-highlights {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.section-header { margin-bottom: 3rem; }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.section-title .accent { color: var(--azure-light); }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0.75rem auto 0;
    line-height: 1.65;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--azure);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,120,212,0.12);
}

/* Screenshot thumbnail at top of feature cards */
.feature-thumb-wrap {
    position: relative;
    margin: -1.75rem -1.75rem 1.25rem -1.75rem;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}

.feature-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top left;
    display: block;
    filter: brightness(0.88) saturate(0.85);
    transition: filter 0.25s, transform 0.3s;
}

.feature-thumb-wrap:hover .feature-thumb {
    filter: brightness(1) saturate(1);
    transform: scale(1.03);
}

.feature-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 120, 212, 0);
    transition: background 0.25s;
}

.feature-thumb-wrap:hover .feature-thumb-overlay {
    background: rgba(0, 120, 212, 0.18);
}

.feature-thumb-overlay i {
    color: rgba(255,255,255,0);
    font-size: 1.6rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    transition: color 0.25s;
}

.feature-thumb-wrap:hover .feature-thumb-overlay i {
    color: rgba(255,255,255,0.95);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(0,120,212,0.12);
    border: 1px solid rgba(0,120,212,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--azure-light);
    margin-bottom: 1.1rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.feature-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--azure-light);
    text-decoration: none;
}

.feature-link:hover { color: var(--text-accent); }

/* ---- Video Section ---- */
.section-video {
    padding: 5rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0,120,212,0.35);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-yt-link {
    color: #a0b3c8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.video-yt-link:hover {
    color: #ff4e45;
}

.video-yt-link i {
    color: #ff4e45;
}

/* ---- Collector Banner ---- */
.section-collector {
    background: var(--section-alt);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.collector-banner {
    background: linear-gradient(135deg, rgba(0,120,212,0.1) 0%, rgba(0,120,212,0.03) 100%);
    border: 1px solid rgba(0,120,212,0.25);
    border-radius: 16px;
    padding: 2.5rem;
}

.collector-icon {
    font-size: 3rem;
    color: var(--azure-light);
}

.collector-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.collector-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.btn-light-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    background: transparent;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-light-outline:hover { border-color: var(--azure-light); color: var(--azure-light); }

/* ---- Tech Stack ---- */
.section-tech {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    transition: border-color 0.2s;
}

.tech-card:hover { border-color: var(--azure-light); }

.tech-card-icon {
    font-size: 1.8rem;
    color: var(--azure-light);
    display: block;
    margin-bottom: 0.6rem;
}

.tech-card-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.tech-card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* ---- CTA Section ---- */
.section-cta {
    background: linear-gradient(135deg, #0d1f3a 0%, #0a1527 100%);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.cta-subtitle { color: var(--text-muted); font-size: 1rem; }

.btn-cta {
    background: var(--azure);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: background 0.15s;
}

.btn-cta:hover { background: var(--azure-dark); color: #fff; }

.btn-cta-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.15s;
}

.btn-cta-outline:hover { border-color: var(--azure-light); color: var(--azure-light); }

.cta-secondary-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.cta-secondary-link:hover { color: var(--azure-light); }

/* ---- Footer ---- */
.site-footer {
    background: #0a0e14;
    border-top: 1px solid var(--border);
    padding: 0;
}

.footer-brand {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.footer-link:hover { color: var(--azure-light); }

.footer-copy {
    color: #4a5568;
    font-size: 0.75rem;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, #060d18 0%, #0d1f3a 100%);
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb-item a { color: var(--azure-light); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--text-muted); }
.page-hero .breadcrumb-divider { color: var(--text-muted); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ---- Feature Tables (Features page) ---- */
.section-features-table {
    background: var(--bg-dark);
    padding: 4rem 0;
}

.feature-group { }

.feature-group-header {
    background: linear-gradient(90deg, rgba(0,120,212,0.15) 0%, rgba(0,120,212,0.05) 100%);
    border: 1px solid rgba(0,120,212,0.3);
    border-radius: 10px 10px 0 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #7ec8ff;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--border);
}

.feature-table {
    --bs-table-bg: #0f1923;
    --bs-table-striped-bg: #111e2b;
    --bs-table-hover-bg: rgba(0,120,212,0.1);
    --bs-table-border-color: #2a3a4a;
    --bs-table-color: #d8e8f5;
    background: #0f1923 !important;
    border: 1px solid rgba(0,120,212,0.25);
    margin-bottom: 0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.feature-table thead tr th {
    background: #0a1520 !important;
    border-color: #2a3a4a !important;
    color: #90b8d8 !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 1.25rem;
}

.feature-table tbody tr td {
    background-color: #0f1923 !important;
    border-color: #1e2d3d !important;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.65;
    vertical-align: top;
    color: #d8e8f5 !important;
}

.feature-table tbody tr:hover td {
    background-color: #152233 !important;
}

.feature-area {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 200px;
    letter-spacing: 0.01em;
    border-left: 3px solid #0078d4 !important;
}

.feature-area i {
    color: #50a0e0 !important;
}

.badge-planned {
    background: rgba(88,166,255,0.12);
    color: var(--text-accent);
    border: 1px solid rgba(88,166,255,0.25);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.badge-recommended {
    background: rgba(56, 161, 105, 0.15);
    color: #68d391;
    border: 1px solid rgba(56, 161, 105, 0.3);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ---- Getting Started ---- */
.section-getting-started {
    background: var(--bg-dark);
    padding: 4rem 0;
}

.gs-section { }

.gs-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gs-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--azure);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.gs-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}

.gs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gs-list li:last-child { border-bottom: none; }

.gs-steps-list {
    padding-left: 1.25rem;
    margin: 0;
}

.gs-steps-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.gs-tip {
    background: rgba(0,120,212,0.08);
    border: 1px solid rgba(0,120,212,0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--azure-light);
    margin-top: 1rem;
}

.gs-tip a { color: var(--text-accent); }

.code-block {
    background: #010409;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-family: 'Cascadia Code', 'Consolas', 'SFMono-Regular', monospace;
    font-size: 0.825rem;
    color: #79c0ff;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #e6edf3;
    white-space: pre;
}

.code-block code {
    color: #79c0ff;
    font-size: 0.825rem;
}

/* Sidebar */
.gs-sidebar { position: sticky; top: 80px; }

.gs-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.gs-sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.65rem;
}

.gs-doc-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gs-doc-links li {
    border-bottom: 1px solid var(--border);
}

.gs-doc-links li:last-child { border-bottom: none; }

.gs-doc-links a {
    display: block;
    padding: 0.55rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s;
}

.gs-doc-links a:hover { color: var(--azure-light); }

/* ---- Buttons (Bootstrap overrides for dark theme) ---- */
.btn-primary {
    background: var(--azure);
    border-color: var(--azure);
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--azure-dark);
    border-color: var(--azure-dark);
    color: #fff;
}

.btn-outline-secondary {
    color: var(--text-muted);
    border-color: var(--border);
    background: transparent;
}

.btn-outline-secondary:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
    background: var(--bg-card-hover);
}

/* ---- Utilities ---- */
.site-main { min-height: calc(100vh - 60px); }

code {
    color: #79c0ff;
    background: rgba(110, 118, 129, 0.1);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-size: 0.875em;
}

/* Loading progress ring */
.loading-progress {
    stroke: var(--azure-light);
}

/* ---- Lightbox ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: lbFadeIn 0.15s ease;
    padding: 1rem;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-container {
    position: relative;
    max-width: min(1200px, 95vw);
    cursor: default;
    animation: lbScaleIn 0.18s ease;
}

@keyframes lbScaleIn {
    from { transform: scale(0.93); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 120, 212, 0.35);
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0078d4;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}

.lightbox-close:hover { background: #005ea6; }

.lightbox-caption {
    color: #a0b3c8;
    font-size: 0.8rem;
    text-align: center;
    margin: 0.6rem 0 0;
    letter-spacing: 0.03em;
}