.nx-help-layout {
    display: flex;
    max-width: 1400px;
    margin: 140px auto;
    gap: 60px;
    padding: 0 40px;
}

/* SEARCH SYSTEM */
.nx-help-search-container {
    position: relative;
    margin: 30px 0;
}

.nx-help-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 20px 20px 20px 60px;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nx-help-search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.nx-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    opacity: 0.7;
}

/* SIDEBAR */
.nx-help-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.nx-help-nav-sticky {
    position: sticky;
    top: 100px;
}

.nx-help-nav-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.nx-help-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nx-help-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nx-help-nav-item:hover,
.nx-help-nav-item.active {
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent-primary);
}

/* MAIN CONTENT */
.nx-help-main {
    flex: 1;
    max-width: 900px;
    margin-top: 4rem;
}

.nx-help-main-title {
    font-size: 3rem;
    font-weight: 950;
    margin-bottom: 40px;
    letter-spacing: 0px;
}

.nx-help-main-subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
}

.nx-help-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.nx-help-sec-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--glass-border);
}

.nx-help-feature-card svg {
    width: 30px;
    height: 30px;
}

.nx-help-feature-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 30px;
}

.nx-help-text-block {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    display: block;
    align-items: center;
}

.nx-help-text-block p {
    margin-bottom: 2px;
    padding: 1px 30px;
}

.nx-help-text-block p:last-child {
    margin: unset;
    margin-bottom: 0;
}

/* GLOSSARY */
.nx-glossary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nx-glossary-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nx-glossary-item b,
.nx-glossary-item strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

.nx-term-highlight {
    color: var(--accent-gold);
    border-bottom: 1px dashed var(--accent-gold);
    cursor: help;
    transition: all 0.2s ease;
    font-weight: 700;
}

.nx-term-highlight:hover {
    background: rgba(212, 175, 55, 0.08);
    border-bottom-style: solid;
}

/* HELP STEPS */
.nx-help-steps {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.nx-help-steps li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.nx-help-steps li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* ACCORDION */
.nx-help-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nx-help-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.nx-help-item summary {
    padding: 20px 24px;
    font-weight: 750;
    font-size: 1.05rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.nx-help-item[open] summary {
    background: rgba(56, 189, 248, 0.03);
}

.nx-help-ans {
    padding: 0 24px 20px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* FOOTER CTA (SOBER) */
.nx-help-footer-cta {
    margin-top: 100px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nx-help-footer-cta .nx-btn-sober {
    text-align: center;
}

.nx-btn-sober {
    display: inline-block;
    padding: 15px 40px;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

@media (max-width: 1000px) {
    .nx-help-layout {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .nx-help-sidebar {
        width: 100%;
        position: sticky;
        top: 80px;
        background: var(--bg-primary);
        z-index: 1000;
        padding: 15px 10px;
        border-bottom: 1px solid var(--glass-border);
        margin: 0 -20px 30px -20px;
        width: calc(100% + 40px);
    }

    .nx-help-nav-sticky {
        position: static;
    }

    .nx-help-nav-label {
        display: none;
        /* Hide in mobile view */
    }

    .nx-help-nav-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
    }

    .nx-help-nav-list::-webkit-scrollbar {
        display: none;
    }

    .nx-help-nav-item {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .nx-help-main {
        margin-top: 0;
    }

    .nx-help-main-title {
        font-size: 2rem;
    }

    .nx-glossary-grid {
        grid-template-columns: 1fr;
    }
}

/* --- NXP CHRONOLOGY STACK (RELEASE LOG) --- */
.nx-chronology-stack {
    position: relative;
    padding-left: 32px;
    border-left: 1px solid var(--glass-border);
    margin-top: 30px;
    margin-left: 10px;
}

.nx-chronology-item {
    position: relative;
    margin-bottom: 45px;
}

.nx-chronology-item:last-child {
    margin-bottom: 0;
}

.nx-chrono-dot {
    position: absolute;
    left: -37.5px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.nx-chrono-dot.is-gold {
    background: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 191, 0, 0.4);
}

.nx-chrono-content h4 {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    font-weight: 850;
    letter-spacing: 1.2px;
    color: var(--text-primary);
}

.nx-chrono-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* --- NEWSLETTER SECTION (SOBER PLATINUM) --- */
.nx-newsletter-section {
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
    margin-top: 80px;
}

.nx-newsletter-form {
    max-width: 600px;
    margin-top: 30px;
}

.nx-newsletter-input-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.nx-newsletter-input {
    flex: 1;
    min-width: 280px;
    background-color: transparent !important;
    border: 1px solid var(--glass-border) !important;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nx-newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary) !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.nx-newsletter-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 35px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 0;
    height: 54px;
}

.nx-newsletter-disclaimer {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.nx-newsletter-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.nx-newsletter-checkbox {
    margin-top: 4px;
    accent-color: var(--text-primary);
    cursor: pointer;
}

.nx-newsletter-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    max-width: 600px;
    font-weight: 500;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}