/* Mental Health Section - Mobile Optimized + Original Desktop */

.mental-health-light {
    padding: 3rem 0.01rem;
    background: url('../assets/Background/BackgroundBlurLight.png') center/cover;
    position: relative;
    overflow: hidden;
   
}


.mental-health-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 166, 0.2) 0%, transparent 50%);
    pointer-events: none;
   
}

.mental-health-light .container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-top: 50px;
}

/* Header */
.mental-health-light .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.mental-health-light .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.9rem;
    color: #1a1a2e;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.mental-health-light .section-subtitle {
    font-size: 1rem;
    color: #4a5568;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 0.5rem;
}

/* ========================================
   MOBILE: TAB NAVIGATION
   ======================================== */

.mental-health-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.mental-health-tabs::-webkit-scrollbar {
    display: none;
}

.mental-health-tab {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(0, 191, 166, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mental-health-tab i {
    width: 18px;
    height: 18px;
}

.mental-health-tab:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 191, 166, 0.4);
}

.mental-health-tab.active {
    background: linear-gradient(135deg, #00BFA6, #00D4B8);
    border-color: #00BFA6;
    color: white;
}

/* Tab Content */
.mental-health-content {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.mental-health-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   EVIDENCE SECTION (Tab 1)
   ======================================== */

.mental-health-light .evidence-section {
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.mental-health-light .evidence-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.mental-health-light .evidence-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD23F, #FF6B35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
    color: white;
}

.mental-health-light .evidence-header h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    font-weight: 700;
}

/* Stats Grid - Mobile Stacked */
.mental-health-light .evidence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mental-health-light .stat-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.mental-health-light .stat-card:active {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(0.98);
}

.mental-health-light .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00BFA6, #FFD23F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.mental-health-light .stat-text {
    font-size: 0.9rem;
    color: #2d3748;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.mental-health-light .stat-source {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #718096;
    text-decoration: none;
}

.mental-health-light .stat-source i {
    color: #00BFA6;
    width: 12px;
    height: 12px;
}

/* ========================================
   BENEFITS SECTION (Tab 2) - mit weißem Hintergrund
   ======================================== */

/* ⭐ Wrapper für Benefits (wie Evidence Section) */
.mental-health-light .benefits-wrapper {
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.mental-health-light .how-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mental-health-light .how-section h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.mental-health-light .how-section p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Benefits Grid - Mobile: 2 columns */
.mental-health-light .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mental-health-light .benefit-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mental-health-light .benefit-card:active {
    transform: scale(0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ⭐ Größere Icons für Mobile */
.mental-health-light .benefit-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fe5dcb, #52ffe8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0, 191, 166, 0.2);
}

.mental-health-light .benefit-card:nth-child(2) .benefit-icon-container {
    background: linear-gradient(135deg, #3bffc4, #ffca1d);
}

.mental-health-light .benefit-card:nth-child(3) .benefit-icon-container {
    background: linear-gradient(135deg, #ffde70, #fc8459);
}

.mental-health-light .benefit-card:nth-child(4) .benefit-icon-container {
    background: linear-gradient(135deg, #57ffe9, #ffff44);
}

.mental-health-light .benefit-card:nth-child(5) .benefit-icon-container {
    background: linear-gradient(135deg, #ff6ccb, #ffd856);
}

.mental-health-light .benefit-card:nth-child(6) .benefit-icon-container {
    background: linear-gradient(135deg, #6cceff, #15fdde);
}

.mental-health-light .benefit-icon-container i {
    width: 36px;
    height: 36px;
    color: white;
}

.mental-health-light .benefit-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.mental-health-light .benefit-card p {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

/* ========================================
   RESEARCH FOOTER
   ======================================== */

.mental-health-light .research-footer {
    text-align: center;
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 1.5rem;
}

.mental-health-light .research-footer p {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.7rem;
}

.mental-health-light .research-links-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mental-health-light .research-link-compact {
    font-size: 0.75rem;
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.mental-health-light .research-link-compact:hover {
    color: #00BFA6;
}

.mental-health-light .research-link-compact i {
    width: 12px;
    height: 12px;
    color: rgba(0, 191, 166, 0.7);
}

/* ========================================
   TABLET & DESKTOP (768px+) - ORIGINAL DESIGN
   ======================================== */

@media (min-width: 768px) {
    .mental-health-light {
        padding: 5rem 2rem;
    }

    .mental-health-light .container {
        max-width: 1200px;
    }

    /* ⭐ Tabs verstecken auf Desktop */
    .mental-health-tabs {
        display: none;
    }

    /* ⭐ Alle Content-Bereiche anzeigen */
    .mental-health-content {
        display: block !important;
    }

    /* ⭐ Benefits Wrapper entfernen auf Desktop */
    .mental-health-light .benefits-wrapper {
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    /* Header */
    .mental-health-light .section-header {
        margin-bottom: 4rem;
    }

    .mental-health-light .section-title {
        font-size: 2.8rem;
    }

    .mental-health-light .section-subtitle {
        font-size: 1.15rem;
        max-width: 750px;
        line-height: 1.7;
        padding: 0;
    }

    /* Evidence Section */
    .mental-health-light .evidence-section {
        padding: 3.5rem 3rem;
        border-radius: 24px;
        margin-bottom: 4rem;
    }

    .mental-health-light .evidence-header {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .mental-health-light .evidence-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .mental-health-light .evidence-header h3 {
        font-size: 1.6rem;
    }

    /* Stats Grid - 2 Spalten */
    .mental-health-light .evidence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .mental-health-light .stat-card {
        padding: 2rem 1.8rem;
        border-radius: 18px;
    }

    /* ⭐ HOVER ANIMATIONS zurück */
    .mental-health-light .stat-card:hover {
        background: rgba(255, 255, 255, 0.85);
        border-color: rgba(0, 191, 166, 0.3);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .mental-health-light .stat-number {
        font-size: 3.2rem;
        margin-bottom: 0.8rem;
    }

    .mental-health-light .stat-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .mental-health-light .stat-source {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .mental-health-light .stat-source:hover {
        color: #00BFA6;
    }

    /* ⭐ DIVIDER mit Pfeil */
    .mental-health-light .section-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 4rem 0 3.5rem;
        gap: 1.5rem;
    }

    .mental-health-light .divider-line {
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
    }

    .mental-health-light .divider-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #00ffdd, #1dd9ff);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(0, 191, 166, 0.25);
        color: white;
    }

    /* How Section */
    .mental-health-light .how-section {
        margin-bottom: 3rem;
        text-align: center;
    }

    .mental-health-light .how-section h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .mental-health-light .how-section p {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

    /* Benefits Grid - 3 Spalten */
    .mental-health-light .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .mental-health-light .benefit-card {
        padding: 2.5rem 2rem;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }

    /* ⭐ HOVER ANIMATIONS zurück */
    .mental-health-light .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, transparent, rgba(0, 191, 166, 0.03));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .mental-health-light .benefit-card:hover {
        background: rgba(255, 255, 255, 0.85);
        border-color: rgba(0, 191, 166, 0.3);
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

    .mental-health-light .benefit-card:hover::before {
        opacity: 1;
    }

    .mental-health-light .benefit-icon-container {
        width: 100px;
        height: 100px;
        border-radius: 20px;
        margin-bottom: 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 191, 166, 0.25);
        transition: all 0.4s ease;
    }

    /* ⭐ Icon Glow Effect */
    .mental-health-light .benefit-icon-container::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 22px;
        background: inherit;
        filter: blur(12px);
        opacity: 0.4;
        z-index: -1;
    }

    .mental-health-light .benefit-card:hover .benefit-icon-container {
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 12px 40px rgba(0, 191, 166, 0.35);
    }

    .mental-health-light .benefit-icon-container i {
        width: 44px;
        height: 44px;
    }

    .mental-health-light .benefit-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.8rem;
    }

    .mental-health-light .benefit-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Research Footer */
    .mental-health-light .research-footer {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .mental-health-light .research-footer p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .mental-health-light .research-links-compact {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mental-health-light .research-link-compact {
        font-size: 0.8rem;
    }
}