/* ── Problem section ──────────────────────────────────── */

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

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(15, 134, 248, 0.14), transparent 45%),
        radial-gradient(ellipse at 80% 80%, rgba(220, 38, 38, 0.04), transparent 40%),
        linear-gradient(180deg, rgba(175, 225, 255, 0.5) 0%, rgba(195, 238, 255, 0.35) 50%, rgba(210, 245, 255, 0.25) 100%);
    border-top: 1px solid rgba(15, 134, 248, 0.1);
    border-bottom: 1px solid rgba(15, 134, 248, 0.06);
    pointer-events: none;
}

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

.nq-problem__deco--1 {
    top: 10%;
    right: 8%;
    animation-duration: 10s;
    animation-delay: 0.5s;
}

.nq-problem__deco--2 {
    bottom: 15%;
    left: 5%;
    animation-duration: 12s;
    animation-delay: 3s;
}

.nq-problem__header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__subtitle {
    max-width: 36rem;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    line-height: 1.8;
    color: var(--nq-text-soft);
}

/* Depleted HP bar */
.nq-problem__hp-bar {
    max-width: 28rem;
    margin: 0 auto 3rem;
}

.nq-problem__hp-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nq-text-soft);
}

.nq-problem__hp-value {
    color: #dc2626;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
}

.nq-problem__hp-track {
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 134, 248, 0.06);
    overflow: hidden;
    border: 1px solid rgba(15, 134, 248, 0.05);
}

.nq-problem__hp-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #dc2626, #f97316);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
    animation: nq-hp-pulse 2s ease-in-out infinite 2s;
}

@keyframes nq-hp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.nq-problem__stats {
    display: grid;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto 4rem;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(15, 134, 248, 0.08);
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(73, 222, 255, 0.08), transparent 60%),
        rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 134, 248, 0.1);
}

.nq-problem__stat-ring {
    position: relative;
    width: 7rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nq-problem__stat-ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nq-problem__ring-anim {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__stat-number {
    position: relative;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--nq-text);
}

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__stat-label {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--nq-text-soft);
    max-width: 16rem;
}

.nq-problem__bottom {
    text-align: center;
}

body.nq-homepage-2 .neuroquest-home-2 .nq-problem__pull-quote {
    max-width: 38rem;
    margin: 0 auto;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.7;
    color: #075a9e;
    font-style: italic;
}
