:root {
    --bg-color: #06070a;
    --card-bg: rgba(13, 17, 24, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f3f8;
    --text-secondary: #8a99ad;
    --accent-teal: #00f2fe;
    --accent-purple: #9b51e0;
    --accent-orange: #ff7e5f;
    --accent-green: #00e676;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Grids & Spheres */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.glow-sphere {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.glow-sphere.orange {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
}

.glow-sphere.teal {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    background-color: rgba(6, 7, 10, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.logo-glow {
    width: 10px;
    height: 10px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent-teal);
}

.accent-text {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    gap: 28px;
    min-width: 0;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link-fcc {
    color: #ffd54f;
    text-shadow: 0 0 14px rgba(255, 213, 79, 0.22);
}

.nav-link-fcc:hover {
    color: #ffe082;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.pulse-dot.green {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 50%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

.animate-gradient {
    animation: shine-ltr 6s linear infinite;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}


.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-fcc {
    border-color: rgba(255, 213, 79, 0.55);
    color: #ffe082;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(255, 213, 79, 0.08));
    box-shadow: 0 12px 26px rgba(255, 193, 7, 0.12);
}

.btn-fcc:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.28), rgba(255, 224, 130, 0.12));
    border-color: rgba(255, 224, 130, 0.72);
    box-shadow: 0 14px 30px rgba(255, 193, 7, 0.18);
}

.btn-ocio {
    color: #fff3c4;
}

.fcc-review-suite {
    margin: -8px 0 42px;
    padding: 28px;
    border: 1px solid rgba(255, 213, 79, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 213, 79, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(0, 242, 254, 0.05));
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.review-suite-header {
    max-width: 780px;
    margin-bottom: 22px;
}

.review-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #ffe082;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-suite-header h2 {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.review-suite-header p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.review-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-app-card {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 220px;
    padding: 24px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-app-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -42% 26%;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.16), transparent 66%);
    pointer-events: none;
}

.review-app-card:hover,
.review-app-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 224, 130, 0.58);
    box-shadow: 0 22px 48px rgba(255, 193, 7, 0.13);
}

.review-app-card-featured {
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 213, 79, 0.18), transparent 36%),
        rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 213, 79, 0.36);
}

.review-app-badge {
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(255, 213, 79, 0.36);
    border-radius: 999px;
    color: #ffe082;
    background: rgba(255, 193, 7, 0.12);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.review-app-icon {
    font-size: 2rem;
}

.review-app-title {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 800;
}

.review-app-copy {
    color: var(--text-secondary);
    line-height: 1.55;
}

.review-app-action {
    align-self: end;
    color: #ffe082;
    font-weight: 800;
}

/* Glass Cards */
.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Live Dashboard */
.dashboard-section {
    margin-bottom: 80px;
}

#console-controls {
    scroll-margin-top: 104px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.card-title-group h3 {
    font-size: 20px;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-block;
}

.card-icon {
    font-size: 20px;
    margin-right: 8px;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-teal);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

/* Charts */
.allocation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.alloc-title {
    color: var(--text-secondary);
}

.alloc-percentage {
    font-weight: 600;
    color: var(--accent-teal);
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bar-group {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.bar-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.bar-track {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.teal-bg { background-color: var(--accent-teal); }
.purple-bg { background-color: var(--accent-purple); }
.orange-bg { background-color: var(--accent-orange); }
.gray-bg { background-color: var(--text-secondary); }

.bar-value {
    text-align: right;
    font-weight: 600;
}

/* Console Logs */
.console-container h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.console-logs {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 13px;
    height: 160px;
    overflow-y: auto;
    color: #c4d1ec;
    line-height: 1.5;
}

.log-line {
    margin-bottom: 6px;
}

.log-time { color: var(--text-secondary); }
.log-info { color: var(--accent-teal); }
.log-success { color: var(--accent-green); }

/* Features Grid */
.features-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    margin-bottom: 40px;
}

.features-grid,
.nodes-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.nodes-details-grid {
    text-align: left;
}

.feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.teal-glow { background: rgba(0, 242, 254, 0.1); border-color: var(--accent-teal); }
.orange-glow { background: rgba(255, 126, 95, 0.1); border-color: var(--accent-orange); }
.purple-glow { background: rgba(155, 81, 224, 0.1); border-color: var(--accent-purple); }

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.clickable-node-card {
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.clickable-node-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 213, 79, 0.28);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.clickable-node-card:focus-visible {
    outline: 2px solid #ffd54f;
    outline-offset: 3px;
    border-color: rgba(255, 213, 79, 0.45);
}

.node-card-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.node-card-detail-link {
    color: #ffd54f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Stats Section */
.stats-section {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.server-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    color: var(--text-primary);
}

/* Keyframes */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 16px var(--accent-green); }
    100% { transform: scale(0.9); opacity: 0.8; }
}

@keyframes shine-ltr {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

/* Responsive */
@media (max-width: 1100px) {
    .features-grid,
    .nodes-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .review-app-grid {
        grid-template-columns: 1fr;
    }
    .fcc-review-suite {
        padding: 22px;
    }
    .features-grid,
    .nodes-details-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-title {
        font-size: 38px;
    }

    .topology-card {
        padding: 16px 14px 12px;
        margin-top: 20px;
    }

    .topology-header {
        flex-wrap: wrap;
        gap: 8px 12px;
        align-items: flex-start;
    }

    .topology-title {
        font-size: 13px;
        line-height: 1.35;
        max-width: 100%;
    }

    .hero {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 640px) {
    .topology-svg-container.is-expanded {
        aspect-ratio: 900 / 420;
    }

    .node-group:active,
    .node-group:focus-visible {
        transform: scale(1.08);
    }

    .node-group:active .node-circle,
    .node-group:focus-visible .node-circle {
        filter: drop-shadow(0 0 10px currentColor);
    }

    .glass-card.feature-card:active,
    .nodes-details-grid .glass-card:active,
    .stat-box:active {
        transform: translateY(-2px);
    }
}


/* Login Button in Header */
.btn-login {
    background: transparent;
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--accent-teal);
    color: #000;
    box-shadow: 0 0 12px var(--accent-teal);
    transform: translateY(-1px);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 24px 16px 32px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Card */
.modal-card {
    width: 100%;
    max-width: 440px;
    margin-top: 0;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.auth-section {
    margin-bottom: 18px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.auth-section.primary {
    border-color: rgba(0, 230, 118, 0.22);
    background: linear-gradient(180deg, rgba(0, 230, 118, 0.08), rgba(255, 255, 255, 0.03));
}

.auth-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.auth-section-title {
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.auth-section-badge {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: #00e676;
    background: rgba(0, 230, 118, 0.08);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-section-copy {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.auth-section-note {
    color: #9fb0c7;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 10px;
}

/* Provider List */
.provider-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.provider-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}

.provider-icon {
    font-size: 18px;
    margin-right: 14px;
    display: flex;
    align-items: center;
}

.provider-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.provider-btn.google:hover {
    border-color: rgba(234, 67, 53, 0.4);
    box-shadow: 0 0 10px rgba(234, 67, 53, 0.1);
}

.provider-btn.microsoft:hover {
    border-color: rgba(0, 164, 239, 0.4);
    box-shadow: 0 0 10px rgba(0, 164, 239, 0.1);
}

.provider-btn.apple:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.provider-btn.github:hover {
    border-color: rgba(110, 84, 148, 0.4);
    box-shadow: 0 0 10px rgba(110, 84, 148, 0.1);
}

.modal-footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 16px 0;
        gap: 14px 18px;
    }

    nav {
        order: 3;
        flex: 1 1 100%;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .modal-overlay {
        padding: 16px 12px 24px;
    }

    .modal-card {
        padding: 28px 20px;
    }

    .auth-section {
        padding: 14px;
    }

    .auth-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Clear Audit Button */
.btn-clear {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear:hover {
    background: rgba(234, 67, 53, 0.1);
    color: rgba(234, 67, 53, 0.9);
    border-color: rgba(234, 67, 53, 0.3);
}

/* Audit Log Table Styling */
.audit-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.audit-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.status-pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pill.success {
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.status-pill.attempt {
    background: rgba(255, 126, 95, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 126, 95, 0.2);
}

/* User Profile Dropdown Menu */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 150px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeInDropdown 0.2s ease-out;
}

.user-dropdown.theme-operator {
    border-color: rgba(0, 230, 118, 0.3);
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #8a9cb5;
    padding: 10px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252 !important;
}

.user-dropdown.theme-operator .dropdown-item:hover {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676 !important;
}

.status-pill.role-admin {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.2);
}

.status-pill.role-operator {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 6px 16px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a5d78;
    font-weight: bold;
    font-family: 'Space Grotesk', sans-serif;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 6px 0;
}

.dropdown-item.active-preview {
    background: rgba(255, 82, 82, 0.15) !important;
    color: #ff5252 !important;
    position: relative;
}

.dropdown-item.active-preview::after {
    content: "●";
    position: absolute;
    right: 16px;
    color: #ff5252;
    font-size: 10px;
}

.glass-card.feature-card, .stat-box, .nodes-details-grid .glass-card, .audit-table tbody tr {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card.feature-card:hover, .stat-box:hover, .nodes-details-grid .glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.audit-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.section-title {
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block; /* Ensure transform applies cleanly */
}

.section-title:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* ============================================================================
   HIGH-TECH NEO-CYBERPUNK UPGRADES
   ============================================================================ */

/* Metric Counters Bar */
.metrics-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 36px;
    padding: 16px 28px;
    background: rgba(13, 20, 32, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-icon {
    font-size: 20px;
}

.metric-data {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.metric-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Command Palette Trigger Button (Low-Profile Far-Right) */
.cmd-trigger-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.75;
}

.cmd-trigger-btn:hover {
    opacity: 1;
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.cmd-kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    font-family: monospace;
    color: #8a9cb5;
}

.topology-card {
    width: 100%;
    max-width: 1050px;
    margin: 28px auto 0 auto;
    background: rgba(13, 20, 32, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    padding: 20px 24px 16px 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.topology-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.topology-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topology-svg-container {
    width: 100%;
    height: auto;
    position: relative;
}

.topology-svg-container.is-compact {
    aspect-ratio: 900 / 160;
}

.topology-svg-container.is-expanded {
    aspect-ratio: 900 / 370;
}

/* Hero Layout Split Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 16px;
    text-align: left;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-main {
    display: flex;
    flex-direction: column;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
}

.hero-sidebar-card {
    background: rgba(13, 20, 32, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.sidebar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sidebar-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.sidebar-card-subtitle {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.hero-fcc-releases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-release-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sidebar-release-item:hover {
    background: rgba(0, 242, 254, 0.06);
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-2px);
}

.sidebar-release-item.locked {
    opacity: 0.6;
    border-style: dashed;
}

.sidebar-release-item.locked:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-rel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sidebar-rel-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-rel-desc {
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.sidebar-rel-action {
    font-size: 11px;
    font-weight: 600;
    color: #00f2fe;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Node Inspector Spec Panel */
.node-inspector-panel {
    background: rgba(8, 14, 24, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 8px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.05);
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.inspector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.inspector-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inspector-icon {
    font-size: 22px;
}

.inspector-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.inspector-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.inspector-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.inspector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .inspector-grid {
        grid-template-columns: 1fr;
    }
}

.insp-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insp-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00f2fe;
}

.insp-val {
    font-size: 11px;
    color: #d1dbe5;
    line-height: 1.4;
}

.topology-svg {
    width: 100%;
    height: 100%;
}

.node-group {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.node-group:hover {
    transform: scale(1.04);
}

.node-circle {
    transition: all 0.3s ease;
}

.node-group:hover .node-circle {
    filter: drop-shadow(0 0 8px currentColor);
}

/* Command Palette Modal */
.cmd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 13, 0.82);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    z-index: 10000;
}

.cmd-modal-card {
    width: 100%;
    max-width: 580px;
    background: #0b111e;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.cmd-search-box {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    margin-left: 12px;
}

.cmd-results-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

.cmd-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.cmd-result-item:hover, .cmd-result-item.selected {
    background: rgba(0, 242, 254, 0.1);
}

.cmd-item-title {
    font-weight: 600;
    font-size: 14px;
}

.cmd-item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Refined Gold FCC Review Nav Button (Follows FCC Review Suite Pattern) */
.fcc-review-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.12);
    color: #ffe082;
    border: 1px solid rgba(255, 213, 79, 0.42);
    padding: 7px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 213, 79, 0.18);
    transition: all 0.25s ease;
}

.fcc-review-nav-btn:hover {
    background: rgba(255, 193, 7, 0.22);
    border-color: rgba(255, 224, 130, 0.75);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 213, 79, 0.4);
    transform: translateY(-1px);
}
