/* Custom styles for Nubia-Studio - Clean Dark Premium Theme */

html, body {
    background-color: #0b0f19 !important;
    color: #f1f5f9 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Brand: icon + wordmark in navbar */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.site-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    min-width: 0;
    line-height: 1;
}

.site-brand-name {
    display: block;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 18px;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.site-brand-slogan {
    display: block;
    color: #10b981 !important;
    font-size: 11px;
    font-weight: 600;
    font-style: italic;
    line-height: 14px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.site-brand:hover .site-logo {
    opacity: 0.95;
    transform: scale(1.06);
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.site-brand:hover .site-brand-name {
    color: #10b981 !important;
}

/* Navbar links: readable on dark header + distinct active page */
.nav-link {
    position: relative;
    display: inline-block;
    color: #cbd5e1 !important;
    font-weight: 500;
    padding: 0.2rem 0;
    text-decoration: none;
    transition: color 0.22s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #10b981;
    border-radius: 999px;
    transition: width 0.22s ease;
}

.nav-link:hover {
    color: #10b981 !important;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.is-active {
    color: #10b981 !important;
    font-weight: 700;
}

.nav-link.is-active::after {
    width: 100%;
}

.nav-cta {
    display: inline-block;
    background: #10b981 !important;
    color: #0b0f19 !important;
    font-weight: 800 !important;
    padding: 0.5rem 1.1rem;
    border-radius: 0.6rem;
    text-decoration: none;
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-cta:hover {
    background: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.nav-cta.is-active {
    box-shadow: 0 0 0 2px #0b0f19, 0 0 0 4px #10b981;
}

/* Smooth dark scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}
