/**
 * Nexora — public landing.
 */

body.nex-public {
    margin: 0;
    font-family: var(--font-body);
    color: var(--nex-text);
    background: #050A14;
    min-height: 100vh;
}

.nex-public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nex-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.nex-public-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nex-public-nav a {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.nex-hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 1.25rem 3rem;
    text-align: center;
    color: #E2E8F0;
}

.nex-hero-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.45));
}

.nex-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0 0 0.65rem;
    background: var(--nex-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nex-hero p {
    margin: 0 auto 1.5rem;
    max-width: 620px;
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.6;
}

.nex-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.nex-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.nex-module-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--nex-radius);
    padding: 1.15rem;
    color: #CBD5E1;
}

.nex-module-card h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1rem;
}

.nex-module-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #94A3B8;
}

.nex-public-footer {
    text-align: center;
    padding: 1.5rem;
    color: #64748B;
    font-size: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 768px) {
    .nex-module-grid { grid-template-columns: 1fr; }
}
