.progress-bar-text {
    color: #f4f6ff !important;
    text-shadow: 0 0 12px rgba(12, 112, 255, 0.55);
    letter-spacing: 0.08em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: #9ca8c9;
}

.stat-pill i {
    color: #42e3ff;
}

.icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at 30% 30%, rgba(66, 227, 255, 0.35), rgba(7, 12, 32, 0.9));
    display: grid;
    place-items: center;
    color: #f4f6ff;
    box-shadow: 0 12px 25px rgba(5, 6, 15, 0.55);
}

.glass-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 1.5rem 0;
}

.neon-link {
    color: #7c9bff;
    text-decoration: none;
    position: relative;
}

.neon-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 155, 255, 0.7), rgba(66, 227, 255, 0.7));
    transition: transform 0.2s ease;
    transform-origin: left;
    transform: scaleX(0);
}

.neon-link:hover::after {
    transform: scaleX(1);
}

/* Mobile-first readability + compact controls */
body {
    font-size: 15px;
}

body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] input[type="text"],
body[data-bs-theme="dark"] input[type="password"],
body[data-bs-theme="dark"] input[type="email"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #f1f3f5;
}

body[data-bs-theme="dark"] .form-control:focus,
body[data-bs-theme="dark"] input:focus {
    border-color: #8ab4ff;
    box-shadow: 0 0 0 2px rgba(138, 180, 255, 0.35);
}

.app-chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.primary-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
}

@media (max-width: 992px) {
    body {
        font-size: 14px;
    }

    h1, .h1 { font-size: 1.6rem; }
    h2, .h2 { font-size: 1.35rem; }
    h3, .h3 { font-size: 1.2rem; }
    h4, .h4 { font-size: 1.05rem; }

    .app-shell-header {
        padding: 0.75rem 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav,
    .auth-cluster {
        display: none;
        width: 100%;
    }

    .mobile-nav-open .primary-nav,
    .mobile-nav-open .auth-cluster {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .primary-nav a,
    .auth-cluster .btn,
    .nav-cta {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.55rem 0.8rem;
    }

    .btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.95rem;
        border-radius: 0.6rem;
    }

    .brand-mark img {
        width: 64px;
        height: 64px;
    }
}
