/* ============================================
   PROBLEM SECTION
   "The Reality of Stroke"
   ============================================ */

/* ---- Section wrapper ---- */
.problem-section {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 24px 120px;
    background: #fffcf7;
    color: #1a1a1a;
    overflow: hidden;
}

/* Decorative gradient circles (teal/sage on beige) */
.problem-section .problem-geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: problemGeoFadeIn 1.2s ease-out forwards;
}

.problem-section .problem-geo-1 {
    width: 280px;
    height: 280px;
    top: 8%;
    right: -100px;
    background: linear-gradient(135deg, rgba(0, 109, 143, 0.08) 0%, rgba(175, 200, 160, 0.12) 100%);
    animation-delay: 0.3s;
}

.problem-section .problem-geo-2 {
    width: 180px;
    height: 180px;
    top: 35%;
    left: -60px;
    background: linear-gradient(135deg, rgba(0, 136, 170, 0.06) 0%, rgba(0, 109, 143, 0.1) 100%);
    animation-delay: 0.5s;
}

.problem-section .problem-geo-3 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    right: 8%;
    border: 1px solid rgba(0, 109, 143, 0.2);
    background: transparent;
    animation-delay: 0.7s;
}

.problem-section .problem-geo-4 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    left: 15%;
    background: linear-gradient(135deg, rgba(175, 200, 160, 0.1) 0%, rgba(0, 109, 143, 0.06) 100%);
    animation-delay: 0.9s;
}

@keyframes problemGeoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---- Inner wrapper ---- */
.problem-section .problem-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- Header block ---- */
.problem-section .problem-header {
    margin-bottom: 60px;
    text-align: left;
}

.problem-section .problem-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 109, 143, 0.8);
    margin-bottom: 16px;
}

.problem-section .problem-title {
    font-size: 3rem;
    font-weight: 300;
    color: #006d8f;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
}

.problem-section .problem-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.78);
    line-height: 1.65;
    max-width: 720px;
    margin: 0;
}

/* ---- Accordion dropdown bars ---- */
.problem-section .problem-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
}

.problem-section .problem-accordion-item {
    border: 1px solid rgba(0, 109, 143, 0.25);
    border-bottom: none;
    border-radius: 0;
}

.problem-section .problem-accordion-item:first-child {
    border-radius: 12px 12px 0 0;
}

.problem-section .problem-accordion-item:last-child {
    border-bottom: 1px solid rgba(0, 109, 143, 0.25);
    border-radius: 0 0 12px 12px;
}

.problem-section .problem-accordion-item:only-child {
    border-radius: 12px;
}

.problem-section .problem-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(0, 109, 143, 0.06);
    border: none;
    border-radius: inherit;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: #006d8f;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.problem-section .problem-accordion-trigger:hover {
    background: rgba(0, 109, 143, 0.12);
}

.problem-section .problem-accordion-trigger:focus-visible {
    outline: 2px solid #006d8f;
    outline-offset: 2px;
}

.problem-section .problem-accordion-trigger[aria-expanded="true"] {
    background: rgba(0, 109, 143, 0.1);
    border-radius: 12px 12px 0 0;
}

.problem-section .problem-accordion-item:last-child .problem-accordion-trigger[aria-expanded="true"] {
    border-radius: 12px 12px 0 0;
}

.problem-section .problem-accordion-title {
    flex: 1;
}

.problem-section .problem-accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.problem-section .problem-accordion-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.problem-section .problem-accordion-trigger[aria-expanded="true"] .problem-accordion-icon {
    transform: rotate(180deg);
}

.problem-section .problem-accordion-panel {
    overflow: hidden;
    background: #fffcf7;
}

.problem-section .problem-accordion-panel[hidden] {
    display: none;
}

.problem-section .problem-accordion-panel > *:first-child {
    margin-top: 0;
}

.problem-section .problem-accordion-panel .problem-hero-stat,
.problem-section .problem-accordion-panel .problem-cascade,
.problem-section .problem-accordion-panel .problem-spectrum-block,
.problem-section .problem-accordion-panel .problem-stats-grid,
.problem-section .problem-accordion-panel .problem-rehab-block,
.problem-section .problem-accordion-panel .problem-urgency {
    margin-bottom: 0;
}

.problem-section .problem-accordion-panel .problem-hero-stat {
    border-top: none;
    padding-top: 0;
}

.problem-section .problem-accordion-panel {
    padding: 24px 24px 32px;
    border-top: 1px solid rgba(0, 109, 143, 0.15);
}

/* ---- Hero stat: The big number ---- */
.problem-section .problem-hero-stat {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 109, 143, 0.25);
    border-bottom: 1px solid rgba(0, 109, 143, 0.25);
}

.problem-section .hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 109, 143, 0.1);
    border-radius: 20px;
    flex-shrink: 0;
}

.problem-section .hero-stat-icon svg {
    width: 44px;
    height: 44px;
    stroke: #006d8f;
}

.problem-section .hero-stat-content {
    display: flex;
    flex-direction: column;
}

.problem-section .hero-stat-number {
    font-size: 5rem;
    font-weight: 700;
    color: #006d8f;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.problem-section .hero-stat-label {
    font-size: 1.35rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    max-width: 600px;
}

.problem-section .hero-stat-source {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 12px;
    font-style: italic;
}

/* ---- Problem cascade cards ---- */
.problem-section .problem-cascade {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.problem-section .cascade-card {
    position: relative;
    padding: 32px 28px;
    background: rgba(0, 109, 143, 0.04);
    border-radius: 12px;
    border-left: 4px solid rgba(0, 109, 143, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease, border-left-color 0.25s ease;
}

.problem-section .cascade-card:hover {
    transform: translateY(-4px);
    background: rgba(0, 109, 143, 0.08);
    border-left-color: #006d8f;
}

.problem-section .cascade-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.problem-section .cascade-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 109, 143, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
}

.problem-section .cascade-icon svg {
    width: 26px;
    height: 26px;
    stroke: #006d8f;
}

.problem-section .cascade-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fffcf7;
    background: #006d8f;
    border-radius: 50%;
}

.problem-section .cascade-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.problem-section .cascade-text {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.55;
    margin: 0;
}

/* Connector arrows between cards */
.problem-section .cascade-card::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: rgba(0, 109, 143, 0.5);
    z-index: 2;
}

.problem-section .cascade-card:last-child::after {
    display: none;
}

/* ---- Spectrum section ---- */
.problem-section .problem-spectrum-block {
    margin-bottom: 70px;
}

.problem-section .spectrum-header {
    margin-bottom: 28px;
}

.problem-section .spectrum-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.problem-section .spectrum-text {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.78);
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

/* Visual spectrum bar */
.problem-section .spectrum-visual {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 32px auto;
}

.problem-section .spectrum-bar-wrapper {
    position: relative;
    padding: 0 60px;
}

.problem-section .spectrum-endpoint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.problem-section .spectrum-endpoint--left {
    left: 0;
}

.problem-section .spectrum-endpoint--right {
    right: 0;
}

.problem-section .spectrum-endpoint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 109, 143, 0.08);
    border-radius: 10px;
}

.problem-section .spectrum-endpoint-icon svg {
    width: 22px;
    height: 22px;
}

.problem-section .spectrum-endpoint--left .spectrum-endpoint-icon svg {
    stroke: #f39c12;
}

.problem-section .spectrum-endpoint--right .spectrum-endpoint-icon svg {
    stroke: #3498db;
}

.problem-section .spectrum-bar {
    position: relative;
    height: 12px;
    background: linear-gradient(90deg,
        #e74c3c 0%,
        #f39c12 25%,
        #afc8a0 50%,
        #3498db 75%,
        #2980b9 100%
    );
    border-radius: 6px;
    margin-bottom: 16px;
}

.problem-section .spectrum-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
}

.problem-section .spectrum-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.problem-section .spectrum-label--spastic {
    color: #f39c12;
}

.problem-section .spectrum-label--flaccid {
    color: #3498db;
}

.problem-section .spectrum-note {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 20px;
    background: rgba(0, 109, 143, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(0, 109, 143, 0.35);
    max-width: 700px;
}

/* ---- Stats grid ---- */
.problem-section .problem-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.problem-section .stat-block {
    padding: 28px 24px;
    background: rgba(0, 109, 143, 0.05);
    border-radius: 12px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: background 0.25s ease, border-bottom-color 0.25s ease, transform 0.2s ease;
}

.problem-section .stat-block:hover {
    background: rgba(0, 109, 143, 0.08);
    border-bottom-color: #006d8f;
    transform: translateY(-2px);
}

.problem-section .stat-block:hover .stat-icon {
    transform: scale(1.1);
}

.problem-section .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    background: rgba(0, 109, 143, 0.1);
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.problem-section .stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: #006d8f;
}

.problem-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #006d8f;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.problem-section .stat-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.4;
}

.problem-section .stat-source {
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 8px;
    font-style: italic;
    line-height: 1.3;
}

/* ---- Rehab gap section ---- */
.problem-section .problem-rehab-block {
    padding: 48px 40px;
    background: rgba(0, 109, 143, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(0, 109, 143, 0.2);
}

.problem-section .rehab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.problem-section .rehab-text {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.78);
    line-height: 1.65;
    max-width: 800px;
    margin: 0 0 32px 0;
}

/* Rehab stats row – 2 stats, equal columns on desktop */
.problem-section .rehab-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 560px;
    margin: 0 auto;
}

.problem-section .rehab-stat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.problem-section .rehab-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 109, 143, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
}

.problem-section .rehab-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: #006d8f;
}

.problem-section .rehab-stat-content {
    display: flex;
    flex-direction: column;
}

.problem-section .rehab-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #006d8f;
    line-height: 1.2;
}

.problem-section .rehab-stat-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.4;
    max-width: 200px;
}

.problem-section .rehab-stat-source {
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 4px;
    font-style: italic;
    line-height: 1.3;
}

/* ---- Bottom CTA / urgency statement ---- */
.problem-section .problem-urgency {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 109, 143, 0.25);
    text-align: center;
}

.problem-section .urgency-text {
    font-size: 1.35rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.problem-section .urgency-text strong {
    color: #006d8f;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE: Tablet (968px)
   ============================================ */
@media (max-width: 968px) {
    .problem-section {
        padding: 80px 20px 100px;
    }

    .problem-section .problem-title {
        font-size: 2.5rem;
    }

    .problem-section .problem-hero-stat {
        flex-direction: column;
        gap: 24px;
    }

    .problem-section .hero-stat-icon {
        width: 64px;
        height: 64px;
    }

    .problem-section .hero-stat-icon svg {
        width: 36px;
        height: 36px;
    }

    .problem-section .hero-stat-number {
        font-size: 4rem;
    }

    .problem-section .problem-cascade {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-section .cascade-card::after {
        content: '↓';
        right: auto;
        left: 50%;
        top: auto;
        bottom: -16px;
        transform: translateX(-50%);
    }

    .problem-section .cascade-card:last-child::after {
        display: none;
    }

    .problem-section .problem-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .problem-section .problem-stats-grid .stat-block:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc((100% - 16px) / 2);
    }

    .problem-section .stat-number {
        font-size: 2rem;
    }

    .problem-section .problem-rehab-block {
        padding: 36px 28px;
    }

    .problem-section .rehab-stats-row {
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE: Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    .problem-section {
        padding: 60px 16px 80px;
    }

    .problem-section .problem-header {
        margin-bottom: 40px;
    }

    .problem-section .problem-title {
        font-size: 2rem;
    }

    .problem-section .problem-subtitle {
        font-size: 1.05rem;
    }

    .problem-section .problem-accordion-trigger {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .problem-section .problem-accordion-title {
        white-space: normal;
        line-height: 1.35;
    }

    .problem-section .problem-accordion-panel {
        padding: 20px 16px 28px;
    }

    .problem-section .problem-hero-stat {
        padding: 32px 0;
        margin-bottom: 40px;
    }

    .problem-section .hero-stat-number {
        font-size: 3rem;
    }

    .problem-section .hero-stat-label {
        font-size: 1.1rem;
    }

    .problem-section .cascade-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .problem-section .cascade-icon {
        width: 40px;
        height: 40px;
    }

    .problem-section .cascade-icon svg {
        width: 22px;
        height: 22px;
    }

    .problem-section .cascade-card {
        padding: 24px 20px;
    }

    .problem-section .spectrum-bar-wrapper {
        padding: 0;
    }

    .problem-section .spectrum-endpoint {
        display: none;
    }

    .problem-section .problem-spectrum-block,
    .problem-section .problem-stats-grid {
        margin-bottom: 50px;
    }

    .problem-section .spectrum-title,
    .problem-section .rehab-title {
        font-size: 1.25rem;
    }

    .problem-section .problem-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .problem-section .problem-stats-grid .stat-block:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc((100% - 12px) / 2);
    }

    .problem-section .stat-block {
        padding: 20px 16px;
    }

    .problem-section .stat-number {
        font-size: 1.75rem;
    }

    .problem-section .stat-label {
        font-size: 0.8rem;
    }

    .problem-section .problem-rehab-block {
        padding: 28px 20px;
    }

    .problem-section .rehab-stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: none;
    }

    .problem-section .problem-urgency {
        margin-top: 40px;
        padding-top: 32px;
    }

    .problem-section .urgency-text {
        font-size: 1.15rem;
    }

    /* Hide some geo circles on mobile */
    .problem-section .problem-geo-3,
    .problem-section .problem-geo-4 {
        display: none;
    }
}
