/**
 * NextLevel PC - Section Pourquoi Choisir NextLevel PC (SEO & FAQ)
 * Modern, Responsive, and Interactive Styles
 */

.nl-home-seo-section {
    --nl-purple: #5B2599;
    --nl-purple-gradient: linear-gradient(135deg, #5B2599 0%, #7c3aed 100%);
    --nl-purple-hover: #4a1e7e;
    --nl-purple-tint: rgba(91, 37, 153, 0.06);
    --nl-purple-glow: rgba(91, 37, 153, 0.15);
    --nl-text-head: #0f172a;
    --nl-text-body: #334155;
    --nl-text-muted: #64748b;
    --nl-border: #e2e8f0;
    --nl-bg-card: #ffffff;
    --nl-bg-section: #f8fafc;
    --nl-font: inherit;

    clear: both;
    width: 100%;
    display: block;
    float: none;
    margin: 25px 0 35px 0;
    padding: 36px 0 32px 0;
    background: var(--nl-bg-section);
    border: 1px solid var(--nl-border);
    border-radius: 16px;
    position: relative;
    font-family: var(--nl-font);
    color: var(--nl-text-body);
}

.nl-home-seo-section * {
    box-sizing: border-box;
}

.nl-seo-wrap {
    /*max-width: 1220px;*/
    margin: 0 auto;
}

/* Header */
.nl-seo-header {
    margin-bottom: 24px;
    padding-left: 15px;
    padding-right: 15px;
}

.nl-seo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nl-purple);
    margin-bottom: 10px;
    background: rgba(91, 37, 153, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
}

.nl-seo-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nl-purple);
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(91, 37, 153, 0.25);
}

.nl-seo-main-title {
    font-size: clamp(22px, 2.5vw, 29px);
    line-height: 1.3;
    font-weight: 800;
    color: var(--nl-text-head);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.nl-seo-intro {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--nl-text-body);
    /*max-width: 980px;*/
    margin: 0 0 10px 0;
}

.nl-home-seo-section a {
    color: var(--nl-purple);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 37, 153, 0.3);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nl-home-seo-section a:hover,
.nl-home-seo-section a:focus-visible {
    color: var(--nl-purple-hover);
    border-bottom-color: var(--nl-purple-hover);
}

/* Clickable Keyword Badges between Description & FAQ */
.nl-seo-keywords-wrap {
    margin: 20px 0 28px 0;
    padding-top: 4px;
}

.nl-keywords-list {
    display: block;
    text-align: center;
}

.nl-home-seo-section .nl-keyword-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px;
    padding: 7px 14px 7px 12px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
}

.nl-home-seo-section .nl-keyword-badge .nl-keyword-hash {
    color: var(--nl-purple);
    font-weight: 800;
    font-size: 13px;
    opacity: 0.8;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nl-home-seo-section .nl-keyword-badge .nl-keyword-text {
    color: inherit;
    letter-spacing: -0.01em;
}

.nl-home-seo-section .nl-keyword-badge .nl-keyword-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-left: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nl-home-seo-section .nl-keyword-badge:hover,
.nl-home-seo-section .nl-keyword-badge:focus-visible {
    background: var(--nl-purple) !important;
    color: #ffffff !important;
    border-color: var(--nl-purple) !important;
    box-shadow: 0 4px 14px rgba(91, 37, 153, 0.28);
    transform: translateY(-2px);
}

.nl-home-seo-section .nl-keyword-badge:hover .nl-keyword-hash,
.nl-home-seo-section .nl-keyword-badge:focus-visible .nl-keyword-hash {
    color: #ffffff;
    opacity: 0.9;
}

.nl-home-seo-section .nl-keyword-badge:hover .nl-keyword-arrow,
.nl-home-seo-section .nl-keyword-badge:focus-visible .nl-keyword-arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

.nl-home-seo-section .nl-keyword-badge:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(91, 37, 153, 0.2);
}

/* Expandable Content Container (Smooth slide with gradient fade) */
.nl-seo-expandable {
    position: relative;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: max-height;
}

.nl-seo-expandable::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 110px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.95) 75%, rgba(248, 250, 252, 1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nl-home-seo-section.is-open .nl-seo-expandable {
    max-height: 3800px;
}

.nl-home-seo-section.is-open .nl-seo-expandable::after {
    opacity: 0;
    pointer-events: none;
}

/* 4 Cards Grid - Head (Icon + Title), Body (Desc), Footer (Badge Links) */
.nl-why-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 28px 0;
    padding: 0 15px;
}

.nl-why-card {
    background: var(--nl-bg-card, #ffffff);
    border: 1px solid var(--nl-border, #e2e8f0);
    border-radius: 14px;
    padding: 22px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.nl-why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nl-purple-gradient, linear-gradient(135deg, #5B2599 0%, #7c3aed 100%));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nl-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(91, 37, 153, 0.1);
    border-color: rgba(91, 37, 153, 0.35);
}

.nl-why-card:hover::before {
    opacity: 1;
}

/* Head: Icon + Title */
.nl-why-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.nl-why-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--nl-purple-tint, rgba(91, 37, 153, 0.07));
    border: 1px solid rgba(91, 37, 153, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nl-purple, #5B2599);
    transition: all 0.25s ease;
}

.nl-why-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    display: block;
}

.nl-why-card:hover .nl-why-card-icon {
    background: var(--nl-purple, #5B2599);
    color: #ffffff;
    border-color: var(--nl-purple, #5B2599);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(91, 37, 153, 0.28);
}

.nl-why-card-title {
    font-size: 15.5px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--nl-text-head, #0f172a);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Body: Description */
.nl-why-card-body {
    flex-grow: 1;
    margin-bottom: 14px;
}

.nl-why-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--nl-text-body, #475569);
    margin: 0;
}

.nl-why-card-desc a {
    color: var(--nl-purple, #5B2599);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Footer: Badge Links */
.nl-why-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.nl-why-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nl-why-card-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155 !important;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    user-select: none;
}

.nl-why-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nl-purple, #5B2599);
    display: inline-block;
    transition: background-color 0.2s ease;
}

.nl-why-badge-text {
    color: inherit;
}

.nl-why-badge-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-left: 1px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nl-why-card-badge:hover,
.nl-why-card-badge:focus-visible {
    background: var(--nl-purple, #5B2599) !important;
    color: #ffffff !important;
    border-color: var(--nl-purple, #5B2599) !important;
    box-shadow: 0 3px 10px rgba(91, 37, 153, 0.25);
    transform: translateY(-1px);
}

.nl-why-card-badge:hover .nl-why-badge-dot,
.nl-why-card-badge:focus-visible .nl-why-badge-dot {
    background: #ffffff;
}

.nl-why-card-badge:hover .nl-why-badge-arrow,
.nl-why-card-badge:focus-visible .nl-why-badge-arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

/* Trust Bar */
.nl-trust-bar {
    list-style: none;
    margin: 30px 0 0 0;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    background: var(--nl-bg-card);
    border: 1px solid var(--nl-border);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.nl-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nl-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--nl-purple-tint);
    border: 1px solid rgba(91, 37, 153, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nl-trust-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--nl-purple);
}

.nl-trust-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nl-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nl-text-head);
    line-height: 1.3;
}

.nl-trust-desc {
    font-size: 12.5px;
    color: var(--nl-text-muted);
    line-height: 1.4;
}

/* Toggle Read More / Collapse Button */
.nl-seo-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.nl-seo-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 24px;
    border: 1.5px solid var(--nl-purple);
    border-radius: 9999px;
    background: #ffffff;
    color: var(--nl-purple);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(91, 37, 153, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.nl-seo-toggle-btn:hover {
    background: var(--nl-purple);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(91, 37, 153, 0.3);
    transform: translateY(-2px);
}

.nl-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nl-home-seo-section.is-open .nl-toggle-arrow {
    transform: rotate(180deg);
}

/* FAQ Section */
.nl-seo-faq-section {
    margin-top: 48px;
    border-top: 1px solid var(--nl-border);
    padding-top: 36px;
}

.nl-faq-head {
    margin-bottom: 24px;
    padding-left: 15px;
}

.nl-faq-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--nl-purple);
    background: var(--nl-purple-tint);
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nl-faq-heading {
    font-size: clamp(20px, 2.2vw, 25px);
    font-weight: 800;
    color: var(--nl-text-head);
    margin: 0;
    letter-spacing: -0.01em;
}

.nl-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
}

.nl-faq-card {
    background: var(--nl-bg-card);
    border: 1px solid var(--nl-border);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.nl-faq-card[open] {
    border-color: rgba(91, 37, 153, 0.45);
    box-shadow: 0 4px 18px rgba(91, 37, 153, 0.07);
}

.nl-faq-question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    font-weight: 700;
    font-size: 15px;
    color: var(--nl-text-head);
    user-select: none;
    outline: none;
}

.nl-faq-question::-webkit-details-marker {
    display: none;
}

.nl-faq-question:hover {
    color: var(--nl-purple);
}

.nl-faq-toggle-ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nl-purple-tint);
    color: var(--nl-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.nl-faq-toggle-ico svg {
    stroke: var(--nl-purple);
    transition: stroke 0.2s ease;
}

.nl-faq-card[open] .nl-faq-toggle-ico {
    background: var(--nl-purple);
}

.nl-faq-card[open] .nl-faq-toggle-ico svg {
    stroke: #ffffff;
}

.nl-faq-card[open] .nl-ico-v {
    display: none;
}

.nl-faq-answer {
    padding: 0 18px 18px 18px;
}

.nl-faq-answer-inner {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--nl-text-body);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .nl-why-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .nl-trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nl-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nl-why-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 10px;
    }

    .nl-why-card {
        padding: 18px 16px 16px 16px;
    }

    .nl-why-card-title {
        font-size: 15px;
    }

    .nl-why-card-desc {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .nl-home-seo-section {
        padding: 22px 16px;
        margin: 20px 0 25px 0;
        border-radius: 12px;
    }

    .nl-seo-header {
        text-align: left;
    }

    .nl-seo-main-title {
        font-size: 21px;
    }

    .nl-seo-intro {
        font-size: 17.5px;
    }

    .nl-seo-keywords-wrap {
        margin: 14px 0 20px 0;
    }

    .nl-keywords-list {
        gap: 6px 7px;
    }

    .nl-home-seo-section .nl-keyword-badge {
        font-size: 12px;
        padding: 5px 11px 5px 9px;
    }

    .nl-trust-bar {
        grid-template-columns: 1fr;
        padding: 14px 16px;
        gap: 14px;
    }

    .nl-faq-question {
        font-size: 14px;
        padding: 14px 14px;
    }

    .nl-faq-answer {
        padding: 0 14px 14px 14px;
    }
}