.nmx-section {
    padding: var(--nmx-section-pad) 0;
    color: var(--nmx-text);
}

.nmx-section--alt {
    background: var(--nmx-bg-alt);
}

.nmx-section__head {
    max-width: 760px;
    margin-bottom: 40px;
}

.nmx-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.nmx-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(18, 150, 219, 0.1);
    color: var(--nmx-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nmx-section__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--nmx-text);
}

.nmx-section__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--nmx-text-muted);
    margin-bottom: 0;
}

/* Why */
.nmx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.nmx-tag {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--nmx-border);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--nmx-text);
}

.nmx-why__grid {
    row-gap: 20px;
}

/* Cards */
.nmx-card {
    height: 100%;
    padding: 24px;
    border-radius: var(--nmx-radius);
    background: #fff;
    border: 1px solid var(--nmx-border);
    box-shadow: var(--nmx-shadow);
}

.nmx-card--flat {
    box-shadow: none;
}

.nmx-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.nmx-card__text {
    color: var(--nmx-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Tools */
.nmx-tools__grid {
    row-gap: 24px;
}

.nmx-tool-card {
    display: block;
    height: 100%;
    padding: 24px;
    border-radius: var(--nmx-radius);
    background: #fff;
    border: 1px solid var(--nmx-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nmx-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nmx-shadow-hover);
    border-color: rgba(18, 150, 219, 0.35);
    text-decoration: none;
    color: inherit;
}

.nmx-tool-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.nmx-tool-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nmx-tool-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nmx-tool-card__desc {
    color: var(--nmx-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.nmx-tool-card__link {
    color: var(--nmx-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Stats */
.nmx-stats {
    padding: 48px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.nmx-stats__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.nmx-stat__number {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.nmx-stat__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

/* How to */
.nmx-steps {
    display: grid;
    gap: 20px;
}

.nmx-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--nmx-radius);
    background: #fff;
    border: 1px solid var(--nmx-border);
}

.nmx-step__num {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 150, 219, 0.12);
    color: var(--nmx-primary);
    font-weight: 800;
}

.nmx-step__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nmx-step__desc {
    margin: 0;
    color: var(--nmx-text-muted);
    line-height: 1.6;
}

/* Use cases */
.nmx-usecases .row {
    row-gap: 24px;
}

.nmx-usecases .col-lg-4 {
    margin-bottom: 0;
}

.nmx-usecase-card {
    height: auto;
}

.nmx-usecase-card .nmx-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--nmx-text-muted);
}

.nmx-usecase-card .nmx-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Compare */
.nmx-compare__table-wrap {
    overflow-x: auto;
    border-radius: var(--nmx-radius);
    border: 1px solid var(--nmx-border);
    background: #fff;
}

.nmx-compare__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.nmx-compare__table th,
.nmx-compare__table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--nmx-border);
    text-align: left;
    vertical-align: top;
}

.nmx-compare__table th {
    background: var(--nmx-bg-alt);
    font-size: 14px;
    font-weight: 700;
}

.nmx-compare__table tr:last-child td {
    border-bottom: 0;
}

/* FAQ — structure preserved, restyled */
.nmx-faq__intro {
    position: sticky;
    top: 24px;
}

.nmx-faq__accordion.accordion-content .card {
    border: 1px solid var(--nmx-border);
    border-radius: var(--nmx-radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: none;
}

.nmx-faq__accordion.accordion-content .card .card-header {
    background: #fff;
    border: 0;
    padding: 0;
}

.nmx-faq__accordion.accordion-content .card .card-header a {
    display: block;
    padding: 18px 48px 18px 20px;
    color: var(--nmx-text);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.nmx-faq__accordion.accordion-content .card .card-header a:before {
    color: var(--nmx-primary);
    right: 20px;
}

.nmx-faq__accordion.accordion-content .card .card-body {
    padding: 0 20px 18px;
    color: var(--nmx-text);
    line-height: 1.7;
    border-left: 3px solid var(--nmx-primary);
    margin: 0 20px 18px;
    background: var(--nmx-bg-alt);
    border-radius: 0 var(--nmx-radius-sm) var(--nmx-radius-sm) 0;
}

/* Encyclopedia */
.nmx-encyclopedia__block {
    padding: 24px 0;
    border-bottom: 1px solid var(--nmx-border);
}

.nmx-encyclopedia__block:last-child {
    border-bottom: 0;
}

.nmx-encyclopedia__block h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.nmx-encyclopedia__block p {
    color: var(--nmx-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Featured */
.nmx-featured__group {
    margin-bottom: 40px;
}

.nmx-featured__group-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.nmx-featured-card__name {
    font-size: 18px;
    margin-bottom: 12px;
}

.nmx-featured-card__meta {
    color: var(--nmx-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.nmx-chips__title {
    font-size: 20px;
    margin-bottom: 16px;
}

.nmx-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nmx-chip {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--nmx-border);
    color: var(--nmx-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nmx-chip:hover {
    color: var(--nmx-primary);
    border-color: rgba(18, 150, 219, 0.4);
    text-decoration: none;
}

/* CTA */
.nmx-cta__box {
    text-align: center;
    padding: 56px 32px;
    border-radius: calc(var(--nmx-radius) + 4px);
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
}

.nmx-cta__box .nmx-cta__title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 12px;
    color: #fff;
}

.nmx-cta__lead {
    max-width: 640px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .nmx-section {
        padding: 64px 0;
    }

    .nmx-stats__bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .nmx-faq__intro {
        position: static;
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .nmx-stats__bar {
        grid-template-columns: 1fr;
    }

    .nmx-step {
        flex-direction: column;
    }
}
