/* ==========================================================================
   긴급 텍스트 가독성 수정 - EineCosmetics
   ========================================================================== */

/* Hero 섹션 텍스트 강제 가시성 확보 */
.hero {
    background: linear-gradient(135deg, #EF695A 0%, #D54A3B 100%) !important;
    position: relative;
}

/* 더 강한 어두운 오버레이 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%) !important;
    z-index: 1;
}

.hero .container,
.hero-content {
    position: relative;
    z-index: 2;
}

/* 모든 Hero 텍스트 강제 흰색 + 강한 그림자 */
.hero-content,
.hero-content * {
    color: white !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

.hero-badge {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    border: 2px solid white !important;
    font-weight: 700 !important;
    backdrop-filter: blur(10px);
}

.hero-title {
    color: white !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
    font-weight: 900 !important;
}

/* 하이라이트 텍스트 - 밝은 노란색으로 강제 */
.hero-title .highlight {
    color: #FFFF00 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    -webkit-text-fill-color: #FFFF00 !important;
    font-weight: 900 !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFFF00 !important;
    border-radius: 2px;
    box-shadow: 0 3px 10px rgba(255, 255, 0, 0.7) !important;
}

.hero-subtitle {
    color: white !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* 통계 숫자 강제 가시성 */
.stat-number {
    color: #FFFF00 !important;
    font-weight: 900 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.stat-label {
    color: white !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7) !important;
}

.stat-item {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* 버튼 가시성 개선 */
.hero .btn-primary {
    background: white !important;
    color: #EF695A !important;
    font-weight: 700 !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.hero .btn-primary:hover {
    background: #f8f9fa !important;
    color: #D54A3B !important;
    border-color: #f8f9fa !important;
    transform: translateY(-2px) !important;
}

.hero .btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 3px solid white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
    transform: translateY(-2px) !important;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    color: white !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.scroll-line {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* 메인 컨텐츠 섹션 텍스트 확보 */
.section-title .subtitle-en {
    color: #EF695A !important;
    font-weight: 700 !important;
}

.section-title .title-ja {
    color: #1A202C !important;
    font-weight: 900 !important;
}

/* 기능 카드 텍스트 */
.feature-title {
    color: #1A202C !important;
    font-weight: 700 !important;
}

.feature-list li {
    color: #1A202C !important;
    font-weight: 500 !important;
}

.feature-detail {
    color: #EF695A !important;
    font-weight: 700 !important;
}

/* 다크 배경 섹션 텍스트 */
.bg-dark .section-title .subtitle-en {
    color: #EF695A !important;
}

.bg-dark .section-title .title-ja,
.bg-dark h3,
.bg-dark h2 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* 고대비 모드에서 더 강한 대비 */
@media (prefers-contrast: high) {
    .hero::before {
        background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%) !important;
    }
    
    .hero-title .highlight {
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid #FFFF00 !important;
    }
    
    .hero-subtitle {
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid white !important;
    }
}

/* 모바일에서 더 강한 대비 */
@media (max-width: 768px) {
    .hero::before {
        background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%) !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }
}