/* ── Differentiation section ──────────────────────────── */

.nq-differ {
    position: relative;
    overflow: hidden;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    isolation: isolate;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-differ__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 50% at 18% 20%, rgba(73, 222, 255, 0.20), transparent 55%),
        radial-gradient(ellipse 60% 50% at 88% 75%, rgba(15, 134, 248, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 35% at 50% 0%, rgba(24, 169, 255, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(228, 248, 255, 0.96) 0%, rgba(212, 240, 255, 0.85) 100%);
    pointer-events: none;
    z-index: -2;
}

.nq-differ__rays {
    position: absolute;
    top: 0;
    left: -2rem;
    width: 22rem;
    height: 100%;
    pointer-events: none;
    opacity: 0.50;
    z-index: 0;
    animation: nq-differ-rays-shift 14s ease-in-out infinite;
}

@keyframes nq-differ-rays-shift {
    0%, 100% { transform: translateX(0); opacity: 0.40; }
    50%      { transform: translateX(10px); opacity: 0.65; }
}

.nq-differ__deco {
    position: absolute;
    top: 10%;
    right: 7%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: nq-deco-drift 10s ease-in-out infinite 1.2s;
    animation-fill-mode: both;
}

.nq-differ__header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.nq-differ__heading {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--nq-text);
}

.nq-differ__subtitle {
    max-width: 38rem;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    line-height: 1.8;
    color: var(--nq-text-soft);
}

.nq-differ__table {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.15rem;
    max-width: 62rem;
    margin: 0 auto 2.75rem;
}

.nq-differ__col {
    position: relative;
    padding: 1.6rem;
    border: 1px solid rgba(15, 134, 248, 0.14);
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse 110% 60% at 50% 0%, rgba(73, 222, 255, 0.16), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(240, 252, 255, 0.65));
    backdrop-filter: blur(14px);
    box-shadow:
        0 18px 50px rgba(15, 134, 248, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.nq-differ__col::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #0f86f8, #49deff, #0f86f8, transparent);
    background-size: 200% 100%;
    opacity: 0.7;
    pointer-events: none;
    animation: nq-section-edge-shimmer 4s ease-in-out infinite;
}

.nq-differ__table > .nq-differ__col:nth-child(2)::after { animation-delay: 1s; }
.nq-differ__table > .nq-differ__col:nth-child(3)::after { animation-delay: 2s; }

.nq-differ__col:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 134, 248, 0.28);
    box-shadow:
        0 24px 56px rgba(15, 134, 248, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nq-differ__col--featured {
    background:
        radial-gradient(ellipse 120% 70% at 50% 0%, rgba(73, 222, 255, 0.28), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(228, 246, 255, 0.86));
    border-color: rgba(15, 134, 248, 0.30);
    box-shadow:
        0 24px 64px rgba(15, 134, 248, 0.18),
        0 0 30px rgba(73, 222, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    animation: nq-featured-pulse 4s ease-in-out infinite;
}

@keyframes nq-featured-pulse {
    0%, 100% {
        box-shadow:
            0 24px 64px rgba(15, 134, 248, 0.18),
            0 0 30px rgba(73, 222, 255, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }
    50% {
        box-shadow:
            0 24px 64px rgba(15, 134, 248, 0.28),
            0 0 46px rgba(73, 222, 255, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }
}

.nq-differ__col-top {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.nq-differ__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 1.9rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 134, 248, 0.08);
    color: var(--nq-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nq-differ__badge--featured {
    background: linear-gradient(135deg, rgba(15, 134, 248, 0.14), rgba(73, 222, 255, 0.16));
    color: #0a5da8;
}

.nq-differ__col-title {
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--nq-text);
}

.nq-differ__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.nq-differ__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.94rem;
    line-height: 1.65;
}

.nq-differ__item--neutral {
    color: var(--nq-text-soft);
}

.nq-differ__item--positive {
    color: var(--nq-text);
}

.nq-differ__icon {
    flex-shrink: 0;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.08rem;
}

.nq-differ__icon i {
    font-size: 0.62rem;
    line-height: 1;
    --fa-primary-color: currentColor;
    --fa-secondary-color: #49deff;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.25;
}

.nq-differ__item--neutral .nq-differ__icon {
    background: rgba(15, 134, 248, 0.08);
    color: rgba(7, 56, 104, 0.65);
}

.nq-differ__item--positive .nq-differ__icon {
    background: rgba(73, 222, 255, 0.14);
    color: var(--nq-primary);
    box-shadow: 0 0 18px rgba(73, 222, 255, 0.16);
}

.nq-differ__trust {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    max-width: 60rem;
    margin: 0 auto;
}

.nq-differ__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 134, 248, 0.08);
    color: var(--nq-text-soft);
    font-size: 0.88rem;
    box-shadow: 0 10px 24px rgba(15, 134, 248, 0.05);
}

.nq-differ__trust-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: var(--nq-primary);
    opacity: 0.8;
}

.nq-differ__trust-icon i {
    font-size: 1rem;
    line-height: 1;
    --fa-primary-color: var(--nq-primary);
    --fa-secondary-color: #49deff;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.35;
}

@media (max-width: 767px) {
    .nq-differ {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .nq-differ__rays {
        width: 16rem;
        left: -3rem;
        opacity: 0.32;
    }

    .nq-differ__col {
        padding: 1.4rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nq-differ__rays,
    .nq-differ__col::after {
        animation: none !important;
    }
}
