/* ── Benefits section ─────────────────────────────────── */

.nq-benefits {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.nq-benefits__deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: nq-deco-drift ease-in-out infinite;
    animation-fill-mode: both;
}

.nq-benefits__deco--1 {
    top: 8%;
    left: 6%;
    animation-duration: 9s;
    animation-delay: 1.5s;
}

.nq-benefits__deco--2 {
    bottom: 12%;
    right: 8%;
    animation-duration: 11s;
    animation-delay: 3.5s;
}

.nq-benefits__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nq-benefits__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-benefits__subtitle {
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    line-height: 1.8;
    color: var(--nq-text-soft);
}

.nq-benefits__grid {
    display: grid;
    gap: 1.25rem;
    max-width: 60rem;
    margin: 0 auto;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit {
    position: relative;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(15, 134, 248, 0.08);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 134, 248, 0.1);
    border-color: rgba(15, 134, 248, 0.16);
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(15, 134, 248, 0.18), rgba(73, 222, 255, 0.22), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit:hover::before {
    opacity: 1;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit:hover::after {
    opacity: 1;
    animation: nq-card-shimmer 0.8s ease-out forwards;
}

@keyframes nq-card-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -60% 0; }
}

.nq-benefit__icon {
    width: 3rem;
    height: 3rem;
    padding: 0.6rem;
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nq-benefit__icon svg,
.nq-benefit__icon i {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.nq-benefit__icon i {
    font-size: 1.25rem;
    line-height: 1;
    width: auto;
    height: auto;
    --fa-primary-color: currentColor;
    --fa-secondary-color: #49deff;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.35;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit__icon--cyan {
    background: rgba(73, 222, 255, 0.12);
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(73, 222, 255, 0.1);
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit__icon--violet {
    background: rgba(15, 134, 248, 0.1);
    color: #18a9ff;
    box-shadow: 0 0 20px rgba(15, 134, 248, 0.1);
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit__icon--blue {
    background: rgba(15, 134, 248, 0.1);
    color: var(--nq-primary);
    box-shadow: 0 0 20px rgba(15, 134, 248, 0.1);
}

body.nq-homepage-2 .neuroquest-home-2 .nq-benefit__icon--emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.nq-benefit__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--nq-text);
    margin-bottom: 0.65rem;
}

.nq-benefit__copy {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nq-text-soft);
}

/* XP badge — now uses .nq-xp-pop class from animations.css, always visible on scroll */
